3 Replies Latest reply on Mar 23, 2012 10:55 AM by Justin Bertram

    This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6(class javax.jms.IllegalStateException)

    Peter Fry Newbie

      Is it possible to configure HornetQ in JBoss AS 7.1 so that the

       

      org.hornetq.ra.HornetQRASession.checkStrict

       

      Method does not error? I believe this use to be possible in Jboss 5.x .

       

      The particular forbidden method call is

       

         ERROR #0323105324581: Failed to send and receive message on queue PSEUDO_INTERACTIVE

         [0] Caused By .. This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6(class javax.jms.IllegalStateException)

                 at org.hornetq.ra.HornetQRASession.checkStrict(HornetQRASession.java:1403)

                 at org.hornetq.ra.HornetQRAMessageConsumer.setMessageListener(HornetQRAMessageConsumer.java:130

       

      Peter.