3 Replies Latest reply on Jan 17, 2012 4:33 PM by mackerman

    Exception with Rest API - Precondition Failed, failed to execute: javax.ws.rs.WebApplicationException

    mackerman

      Hi, i have successfully been using the HornetQ Rest API for sometime in a development environment.  Recently we have started to see these errors:

       

      Server.log:

       

      17:47:44,751 SEVERE [org.jboss.resteasy.core.SynchronousDispatcher] (http--10.81.0.26-8080-8) failed to execute: javax.ws.rs.WebApplicationException

              at org.hornetq.rest.topic.SubscriptionsResource.recreateTopicConsumer(SubscriptionsResource.java:392) [hornetq-rest-2.2.6.Final.jar:]

              at org.hornetq.rest.topic.SubscriptionsResource.findAutoAckSubscription(SubscriptionsResource.java:281) [hornetq-rest-2.2.6.Final.jar:]

      .

      .

      .

       

      the Rest client receives the following error:

       

      (412) Precondition Failed.

       

      Does anyone have any idea what might be going on here?

       

      My environment is JBoss 7.0.2, HornetQ 2.2.6 on Linux

       

      thanks, Mitchell