You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ravindra Kshirsagar (JIRA)" <ax...@ws.apache.org> on 2008/06/22 12:31:45 UTC

[jira] Created: (AXIS-2745) Axis 1.4 Thread hanging problem

Axis 1.4 Thread hanging problem
-------------------------------

                 Key: AXIS-2745
                 URL: https://issues.apache.org/jira/browse/AXIS-2745
             Project: Axis
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Axis 1.4 webseervice deployed on the IBM websphere(on Unix mahine)
            Reporter: Ravindra Kshirsagar
            Priority: Blocker


Hi Axis developers,

We are facing a strange problem with Axis 1.4 framework.
We have a webservice (ex. ABC1 webservice) which calls another webservice (ABC2 webservice). We are getting abt 30 transactions per second to our webservice. Till now it was working fine.
Suddenly we are facing one time out problem when calling ABC2 webservice from our webservice. We are getting transactions in our webservice(ABC1) but our webservice is not calling ABC2 webservice immediately. It is waiting for some long period of time and after that it is calling ABC2 webservice.

Below are the sample log time when request is received and response is sent back - 

ABC1 webservice log - 
REQUEST RECEIVED BY ABC1 AT - 2008-06-17 20:37:05
RESPONSE SENT BY ABC1 AT - 2008-06-17 20:38:39 
ABC2 webservice log - 
REQUEST RECEIVED BY ABC2 AT - 2008-06-17 20:38:36,973
RESPONSE SENT BY ABC2 AT - 2008-06-17 20:38:39,478
(Returning with response in: 2.5 seconds)
It is clear from the logs that a request is received at ABC1 webservice at 20:37:05 but it is forwarding to ABC2 at 20:38:36 that means it is waiting to call ABC2 webservice for abt 91 seconds and ABC2 once received request at 20:38:36 returning the response at 20:38:39 i.e. just in 2-3 seconds.
ABC1 is not performing any business logic when it is receiving request. There is only a code to create ABC2 webservice locator object then a stub object and then call method (of ABC2 webservice) on that stub object. 
It is expected that a request should be finished within 4-5 seconds but due to ABC1 threads are waiting to call ABC2 it taking much more time.

We are using Axis 1.4 framework, IBM JDK 1.4 and Websphere application server.
Is there any specific configuration needed for handling multiple simultaneous threads? Or is there any problem in the Axis 1.4 framework, if yes then is there any way to resolve this? Or what else can be done to resolve this issue?

Any help in this would be much much appreciated. 
 
Regards,
Ravi


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org