1 2 3 Previous Next 32 Replies Latest reply on Nov 6, 2008 5:28 AM by kconner Go to original post
      • 15. Re: replyTo in jBPM calls
        kconner

        I think we would need to see your logs to see what is happening.

        It could be that your process is taking too long, getting stuck, or that there is a configuration error.

        Things to check for would include replies from the referenced services (testowe/testingResponseNew), JMS configuration etc.

        The following is the configuration we use in our qa test, http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml

        • 16. Re: replyTo in jBPM calls
          tereus

          Ok, i will do this as fast as i can, that means tomorrow morning (3PM now). The process, seems to be ok itself - at every node i print message payload and add a word. It let me see if messages are where there should be. The strange thing is the process runs more than once - the bigger timeout limit in invoker.deliverSync, the more times message travels through process nodes.
          What do you meen by JMS configuration?
          I'll store logs tomorrow and testowe/testingResponseNew conf tomorrow.
          Thanks,
          Piotr

          • 17. Re: replyTo in jBPM calls
            tereus

            OK, here are things i needed to provide:

            Configuration of service:

            <service category="testowe" name="testingResponseNew" description="Testowanie zwrotki">
             <listeners>
             <jms-listener busidref="testingSomeChannelGwNew" name="TestingGW" is-gateway="false"/>
             </listeners>
             <actions>
             <action name="addField"
             class="com.winuel.energy.soa.esb.testing.actions.TestJMSListenerAction">
             </action>
             </actions>
             </service>
            


            the queue testingSomeChannelGwNew:

            <jms-bus busid="testingSomeChannelGwNew">
             <jms-message-filter dest-type="QUEUE"
             dest-name="queue/testing_some_gwgw_new"/>
             </jms-bus>
            


            is configured as an MBean.
            The body of process method of this service:

            public Message process(Message msg) {
             String payload = msg.getBody().get("payload").toString();
             msg.getBody().add("payload", payload+"-- another hit --");
             System.out.println("*********"+msg.getBody().get("payload"));
             return msg;
             }
            


            When i set timeout to 10sec i got this in my logs on the console (process def. and esb config in previous posts):

            2008-10-20 09:58:21,141 INFO [STDOUT] *********Original payload ends here.-- another hit --
            2008-10-20 09:58:21,962 INFO [STDOUT] *********Original payload ends here.-- another hit ---- another hit --
            2008-10-20 09:58:30,474 INFO [org.jboss.soa.esb.client.ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='a4274a92-21c5-42bc-96f6-a300560a41a9'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]
            2008-10-20 09:58:31,385 INFO [STDOUT] *********Original payload ends here.-- another hit --
            2008-10-20 09:58:32,828 INFO [STDOUT] *********Original payload ends here.-- another hit ---- another hit --
            2008-10-20 09:58:40,559 INFO [org.jboss.soa.esb.client.ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='a4274a92-21c5-42bc-96f6-a300560a41a9'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]
            2008-10-20 09:58:41,640 INFO [STDOUT] *********Original payload ends here.-- another hit --
            2008-10-20 09:58:42,431 INFO [STDOUT] *********Original payload ends here.-- another hit ---- another hit --
            2008-10-20 09:58:50,623 INFO [org.jboss.soa.esb.client.ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='a4274a92-21c5-42bc-96f6-a300560a41a9'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]
            2008-10-20 09:58:51,354 INFO [STDOUT] *********Original payload ends here.-- another hit --
            2008-10-20 09:58:52,125 INFO [STDOUT] *********Original payload ends here.-- another hit ---- another hit --
            2008-10-20 09:59:00,708 INFO [org.jboss.soa.esb.client.ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='a4274a92-21c5-42bc-96f6-a300560a41a9'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]
            2008-10-20 09:59:00,728 INFO [org.jboss.soa.esb.client.ServiceInvoker] Delivering message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='a4274a92-21c5-42bc-96f6-a300560a41a9'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]] to DLQ.
            2008-10-20 09:59:00,788 ERROR [STDERR] org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/testing_second_jBPM_esb_newly_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='a4274a92-21c5-42bc-96f6-a300560a41a9'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]] to Service [BPM:BPMStarter]. Check for errors.
            2008-10-20 09:59:00,838 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:361)
            2008-10-20 09:59:00,838 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:198)
            2008-10-20 09:59:00,848 ERROR [STDERR] at com.winuel.energy.soa.esb.ws.abstr.AbstractRequestResponseWebServiceFacade.routeToService(AbstractRequestResponseWebServiceFacade.java:47)
            2008-10-20 09:59:00,848 ERROR [STDERR] at com.winuel.energy.soa.esb.ws.TestingWSFacadeService.returnSome(TestingWSFacadeService.java:36)
            2008-10-20 09:59:00,858 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            2008-10-20 09:59:00,858 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            2008-10-20 09:59:00,868 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            2008-10-20 09:59:00,868 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
            2008-10-20 09:59:00,878 ERROR [STDERR] at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102)
            2008-10-20 09:59:00,878 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
            2008-10-20 09:59:00,888 ERROR [STDERR] at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
            2008-10-20 09:59:00,888 ERROR [STDERR] at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
            2008-10-20 09:59:00,898 ERROR [STDERR] at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
            2008-10-20 09:59:00,898 ERROR [STDERR] at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
            2008-10-20 09:59:00,908 ERROR [STDERR] at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
            2008-10-20 09:59:00,908 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            2008-10-20 09:59:00,908 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            2008-10-20 09:59:00,928 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            2008-10-20 09:59:00,938 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            2008-10-20 09:59:00,948 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            2008-10-20 09:59:00,958 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            2008-10-20 09:59:00,968 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            2008-10-20 09:59:00,968 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            2008-10-20 09:59:00,968 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
            2008-10-20 09:59:00,978 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            2008-10-20 09:59:00,978 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            2008-10-20 09:59:00,988 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            2008-10-20 09:59:00,988 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
            2008-10-20 09:59:00,998 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            2008-10-20 09:59:00,998 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            2008-10-20 09:59:01,008 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            2008-10-20 09:59:01,008 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            2008-10-20 09:59:01,018 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            2008-10-20 09:59:01,018 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
            
            


            Ofcourse, it's all i see on the console. There's a lot more in file, but it seems like few MBs, so i'd post it only if it's necessary.

            Hope it will helps solve my problem.

            thanks,
            Piotr

            • 18. Re: replyTo in jBPM calls
              kconner

              What is TestingWSFacadeService?

              • 19. Re: replyTo in jBPM calls
                tereus

                I don't think it could be relevant. It's a name of a webservice, which starts the process. It's done fully by hand, and the code inside, starting the process was provided be me few posts aerlier.

                • 20. Re: replyTo in jBPM calls
                  kconner

                  It is very relevant if your webservice is wrapped in a transaction. This would prevent the outgoing JMS message from being sent until after the transaction had been committed (i.e. after the unresponsive EPR message).

                  We have an outstanding issue that will help identify these circumstances, https://jira.jboss.org/jira/browse/JBESB-2049.

                  • 21. Re: replyTo in jBPM calls
                    tereus

                    I personally didn't made any steps towards transactions, so if JBoss does it by default with WebService calls, that's the matter for sure.
                    If so, what should i do? It's a simple use case - web service endpoint for a jBPM orchiestrated process.

                    Thanks for your kindness and help,
                    Piotr

                    • 22. Re: replyTo in jBPM calls
                      kconner

                      It all depends on how you have implemented the webservice. Could you send me the code?

                      • 23. Re: replyTo in jBPM calls
                        tereus

                        Ofcourse !

                        The class is defined like this:

                        @WebService(name = "TestingWSFacadeService", targetNamespace="http://webservice_producer/testingwsfacade")
                        public class TestingWSFacadeService extends AbstractRequestResponseWebServiceFacade
                        {
                        

                        The abstract class defines some methods, let's go further.

                        The web method is as follows:
                        @WebMethod
                         public String returnSome(@WebParam(name="message")String str) {
                         String retval = str+"|||->";
                         try {
                         this.routeToService(str);
                         retval += this.getResponse().toString();
                         } catch (Exception e) {
                         retval += e.getMessage();
                         e.printStackTrace();
                         return retval;
                         }
                         return retval;
                         }
                        


                        Wherre this.routeToService stands for :
                        @Override
                         protected void routeToService(Object msg) throws NamingException, JMSException
                         {
                         try {
                         System.setProperty("javax.xml.registry.ConnectionFactoryClass","org.apache.ws.scout.registry.ConnectionFactoryImpl");
                        
                         ServiceInvoker invoker = new ServiceInvoker(this.getTargetCategory(), this.getTargetService());
                         Message requestMessage = MessageFactory.getInstance().getMessage(MessageType.JBOSS_XML);
                         requestMessage.getBody().add(PAYLOAD_NAME,msg);
                        
                         Message replyMessage = invoker.deliverSync(requestMessage, 10000);
                         this.response = replyMessage.getBody().get(PAYLOAD_NAME);
                         System.out.println("Reply Message: " + this.response);
                         }
                         catch (Exception e) {
                         e.printStackTrace();
                         }
                         }
                        

                        And sets the response property of this class, so that getResponse() returns what went from process.
                        If you need some configuration, i'l provide it asap.

                        Piotr

                        • 24. Re: replyTo in jBPM calls
                          tereus

                          So guys, any ideas?

                          Cheers,
                          Piotr

                          • 25. Re: replyTo in jBPM calls
                            tfennelly

                            Piotr, I'm no expert on the jBPM integration, but if you zip up something that demonstrates the issue (i.e. by modifying one of the quickstarts to reproduce the issue) and send it to me, I'll have a look.

                            • 26. Re: replyTo in jBPM calls
                              tereus

                              Ok Tom, i'll send it right away. The mail will contain an .esb zip file, which you can deploy easilly (and check configs inside it), process definition file to deploy as well, example message you can send to WebService in there, and some source files that could be usefull.
                              I'm really gratefull for your help

                              cheers,
                              Piotr

                              • 27. Re: replyTo in jBPM calls
                                kconner

                                Hiya Piotr.

                                Apologies but I have been away on vacation. Could you also send a copy of your esb to me?

                                Thanks

                                • 28. Re: replyTo in jBPM calls
                                  tereus

                                  Hi Kevin,

                                  Thanks for reply and i hope i didn't disturbed your rest. Unfortunately i can do it just tomorow morning (1 PM now). I hope it would be a good moment for you, and i could get some help with my JBoss problem. I still have hope i can use JBoss ESB as a fundament in my system and take benefits from its strengths.
                                  Thanks,
                                  Piotr

                                  • 29. Re: replyTo in jBPM calls
                                    tereus

                                    Hi there all,

                                    I'm sorry I'm speeding up, but that's a matter of decideing weather to still get involved in JBoss technology, or not.
                                    I just wanted to know, if there's someone between you guys trying to solve this mystery?
                                    The ESB and BPMN collaboration in JBoss seems great, but, with those supressing problems, I'm not sure if there's any reason to fight any more, as it doesn't seem to do what is should.
                                    Thanks for all the time you've spent trying to help.
                                    Cheers,
                                    Piotr