4 Replies Latest reply: Feb 23, 2009 6:56 PM by 843830 RSS

    HTTP BC randomly hangs on reply action

    843830
      I have a very simple test case where a BPEL process, providing a simple 'echo' service, is accessible trough a SOAP/http BC. However, the soap binding component regulary hangs on sending the reply back to the caller. This might occur after 9 messages have been processed, but it might as well happen after 573 messages have been processed. The only solution is to reboot Glassfish, after wich the BC will work again, for a little while at least.

      When enabling finest logging on the HTTP BC, i get:

      [#|2008-02-29T11:12:09.826+0100|WARNING|sun-appserver9.1|com.sun.jbi.engine.bpel.core.bpel.trace.BPELTraceManager|_ThreadID=26;_ThreadName=BPELSEInOutThread0;_RequestID=e15b497b-cb50-45f6-a2be-960bcebcef48;|REPLY-STARTSimpleEchoMessage|#]

      [#|2008-02-29T11:12:09.827+0100|FINE|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.OutboundReceiver|_ThreadID=43;_ThreadName=Thread-27112;ClassName=com.sun.jbi.httpsoapbc.OutboundReceiver;MethodName=run;_RequestID=a9b0bd54-613f-41e3-96ac-8f93dcf7c8ab;|Got a message with SOAP binding; id: 214360751627735-52994-134235727298070151|#]

      [#|2008-02-29T11:12:09.827+0100|FINE|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.OutboundAction|_ThreadID=56;_ThreadName=HTTPBC-OutboundReceiver-3;ClassName=com.sun.jbi.httpsoapbc.OutboundAction;MethodName=run;_RequestID=b7a01a29-8764-457a-9d73-2d8ea201701d;|Processing started for message exchange 214360751627735-52994-134235727298070151|#]

      [#|2008-02-29T11:12:09.828+0100|FINE|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=56;_ThreadName=HTTPBC-OutboundReceiver-3;ClassName=com.sun.jbi.httpsoapbc.OutboundMessageProcessor;MethodName=processMessage;_RequestID=b7a01a29-8764-457a-9d73-2d8ea201701d;|Response for exchange 214360751627735-52994-134235727298070151 received (10 ms}|#]

      [#|2008-02-29T11:12:09.828+0100|FINE|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=56;_ThreadName=HTTPBC-OutboundReceiver-3;ClassName=com.sun.jbi.httpsoapbc.OutboundMessageProcessor;MethodName=processMessage;_RequestID=b7a01a29-8764-457a-9d73-2d8ea201701d;|Processing message exchange 214360751627735-52994-134235727298070151 as inbound; pattern is http://www.w3.org/2004/08/wsdl/in-out|#]

      [#|2008-02-29T11:12:09.829+0100|FINER|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=56;_ThreadName=HTTPBC-OutboundReceiver-3;ClassName=com.sun.jbi.httpsoapbc.OutboundMessageProcessor;MethodName=getInboundEndpoint;_RequestID=b7a01a29-8764-457a-9d73-2d8ea201701d;|Getting inbound info for {SimpleEchoCompositeAppWoJMS}casaService1 casaPort1|#]

      [#|2008-02-29T11:12:09.829+0100|FINE|sun-appserver9.1|sun-http-binding.com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider|_ThreadID=56;_ThreadName=HTTPBC-OutboundReceiver-3;ClassName=com.sun.jbi.httpsoapbc.util.DebugLog;MethodName=debugLog;_RequestID=b7a01a29-8764-457a-9d73-2d8ea201701d;|Denormalizing received msg:
      <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://newmedia.geisha.ibbt.be" type="msgns:echoResponseMessage" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><ns1:echoResponse xmlns:ns1="http://newmedia.geisha.ibbt.be/xsd"><ns1:return>SimpleEchoMessage</ns1:return></ns1:echoResponse></jbi:part></jbi:message>|#]

      But after this line, the BC just seems to stop doing anything.

      I'm using the latest build available on the download page: Build 20080214.

      Is there any way to solve this problem?
        • 1. Re: HTTP BC randomly hangs on reply action
          843830
          Log is not much helpful. This could be regression. Can you file a issue at https://open-jbi-components.dev.java.net/servlets/ProjectIssues. Don't forget to attach you project to the ticket also detail the steps to reproduce and the input message used for testing.

          I suppose there is no user error in your test case. If you think that could be possible, please provide some more details on your project here.
          • 2. Re: HTTP BC randomly hangs on reply action
            843830
            Was an issue ever logged for this? We are experiencing the same problem. I would like to know if/how the issue was resolved.

            It appears to be an issue with error handling in the HTTP BC. When we turned on profiling, we noticed the HTTPBC-JAXWS-Engine and HTTPBC-OutboundReceiver threads were locking. However, I can't tell 1) if the BPEL SE is producing bad data that is causing the HTTP BC to go down, 2) why an issue in one thread for lock the other threads, and 3) why the issue is intermittent and not more consistent.
            • 3. Re: HTTP BC randomly hangs on reply action
              805007
              I reported this some months ago. As far as I am aware troubleshooting work has been done and the engineers know what the issue is and how to address it. I don't knw if the issue was formally logged or wha the issue number is. Your best bet is to as about this at users@open-esb.dev.java.net list.

              Regards

              Michael
              • 4. Re: HTTP BC randomly hangs on reply action
                843830
                https://open-esb.dev.java.net/issues/show_bug.cgi?id=1303 is fixed, will you please test with the latest build?

                Regards
                Murali