A http-trace of the soap-message would be helpful. (tcpmon) Is the server configured to request authentication? If so, which method? Cheers Wolfgang Krpelan
--- Jaliya Ekanayake <[EMAIL PROTECTED]> wrote: > Hi Nuno, > > Can you please check the scenario with Axis only. > Then if it works add Sandesha module. > Please send us the results. > > Are you using non-anonymous ReplyTo address for the > service invocation? > > Thanks, > -Jaliya > ----- Original Message ----- > From: Nuno Rodrigues > To: axis-dev@ws.apache.org ; > sandesha-dev@ws.apache.org > Sent: Monday, September 11, 2006 8:09 AM > Subject: Client hangs and server gets unavailable > > > > > Hello all, > > > > I'm using Axis2 and Sandesha2 and I'm having a > strange problem and I don't know if it's due to Axis > or due to Sandesha. > > > > I have a client that wants to make 10000 requests > but at the middle of all these requests (sometimes > it only makes 300 requests, other times it makes > 700,1000,.) the server crashes and there's no more > availability from the server side. I must say that > the client doesn't throw any kind of exception. > > > > > ---------------------------------------------------------------------------------------------------------------------------- > > > > If I browse to http://host:8080/axis2 everything > seems ok but if I click the listServices link I get: > > > > HTTP Status 500 - > > > > type Status report > > > > message > > > > description The server encountered an internal > error () that prevented > > it from fulfilling this request. > > > > Apache Tomcat/5.5.17 > > > > > > > ---------------------------------------------------------------------------------------------------------------------------- > > > > Looking at apache Logs I have: > > > > (.) > > INFO: Server startup in 4749 ms > > > > (This is where the server hangs) > > > > - I/O exception > (org.apache.commons.httpclient.NoHttpResponseException) > caught when processing request: The server > 192.168.200.40 failed to respond > > - Retrying request > > - I/O exception (java.net.ConnectException) caught > when processing request: Connection refused > > - Retrying request > > - I/O exception (java.net.ConnectException) caught > when processing request: Connection refused > > - Retrying request > > > > (Down here is when I try to access the list > Services link) > > > > - Servlet.service() for servlet jsp threw > exception > > java.lang.NullPointerException > > at > org.apache.jsp.axis2_002dweb.listServices_jsp._jspService(listServices_jsp.java:133) > > (.) > > - Error dispatching request > /axis2/services/listServices > > java.lang.reflect.InvocationTargetException > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > (.) > > > > > > > ---------------------------------------------------------------------------------------------------------------------------- > > > > > > The client code is: > > > > //Generate Payload > > OMFactory fac = > OMAbstractFactory.getOMFactory(); > > OMNamespace omNs = > fac.createOMNamespace("http://client.org/calculator2", > "calculator2"); > > payload = fac.createOMElement("add", > omNs); > > rand1=(int)(Math.random()*100); > > rand2=(int)(Math.random()*100); > > > > // Send num1 num2 timestamp message id > > payload.setText(rand1+" "+rand2+" "+ > System.currentTimeMillis()+" "+i); > > > > if (i==NUM_REQUESTS-1) > > > clientOptions.setProperty(SandeshaClientConstants.LAST_MESSAGE,"true"); > > > > // Async invocation > > > serviceClient.sendReceiveNonBlocking(payload,callback); > > > > //Wait till the callback receives the > response. > > while (!callback.isComplete()) { > > Thread.sleep(1); > > } > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]