Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002896 [Hessian] major always 09-03-08 00:12 09-23-08 14:01
Reporter pgrigoro View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.2.0
Summary 0002896: Using Hessian Binary Web Service Protocol with the AJP protocol (Apache Tomcat Connector)
Description Hello everyone,

I have a problem regarding Hessian protocol. I am using the Hessian Binary Web Service Protocol (in a Demo Application) with the following configuration:

The Client (SWT Application) sends a (web Service) request to the Server (Tomcat) through an intermediate Server (Apache), which uses the AJP protocol to redirect the requests to the Tomcat Server. The application works fine, but after some time of usage, while the application tries to receive data from the Web Service, throws the following Exception:
com.caucho.hessian.client.HessianConnectionException: 500: Connection reset
            at com.caucho.hessian.client.HessianProxy.invoke(
            at $Proxy0.receive(Unknown Source)
            at com.caucho.ria.examples.client.Client.receiveDataFromWebService(
            at com.caucho.ria.examples.client.ClientMainScreen$1.selectDataFromWS(
            at com.caucho.ria.examples.client.ClientMainScreen$1.widgetSelected(
            at org.eclipse.swt.widgets.TypedListener.handleEvent(
            at org.eclipse.swt.widgets.EventTable.sendEvent(
            at org.eclipse.swt.widgets.Widget.sendEvent(
            at org.eclipse.swt.widgets.Display.runDeferredEvents(
            at org.eclipse.swt.widgets.Display.readAndDispatch(
            at com.caucho.ria.examples.client.ClientMainScreen.main(
Caused by: Connection reset
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at$ Source)
            at Method)
            at Source)
            at Source)
            at com.caucho.hessian.client.HessianProxy.invoke(
            ... 11 more
Caused by: Connection reset
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at Source)
            at com.caucho.hessian.client.HessianProxy.invoke(
            ... 11 more

There is no problem with the network connection, because we tried again to execute the request from the client (after the exception) and we received the data from the web service. But, the same problem occurred after a while.

Changing the configuration and sending the requests directly (from the client) to the Tomcat Server then the above problem disappears.

Have you any idea why this happens with the AJP protocol?
Additional Information
Attached Files

- Relationships

- Notes
09-23-08 14:01

This just looks like a socket timeout. You might look at modifying the timeouts on both the server and client side.

- Issue History
Date Modified Username Field Change
09-03-08 00:12 pgrigoro New Issue
09-23-08 14:01 ferg Note Added: 0003475

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker