Mantis - Resin
Viewing Issue Advanced Details
1584 minor always 01-24-07 13:13 05-31-07 14:47
geira  
ferg  
normal  
closed 3.0.19  
fixed  
none    
none 3.1.2  
0001584: Problem with Hessian and Spring
I am using Hessian together with Spring and HessianProxyFactoryBean. When a webapp is configured to access another webapp within the same Resin instance, - the whole Resin instance freezes during startup. This is caused by the method with signature: Object create(Class api, String urlName) in the HessianProxyFactory class. It happens when the HttpURLConnection tries to open an inputstream through InputStream is = conn.getInputStream(); before the "Hessian-server" webapp is up running...

I solved this problem myself by extending the HessianProxyFactoryBean and overriding the create method, -and implement setReadTimeout(readTimeout); to the connection object.

This should be taken care of in the standard build of the HessianProxyFactoryBean.

Rgds.

Geir A.

Notes
(0001981)
ferg   
05-31-07 14:47   
HessianProxyFactory now has a setReadTimeout (i.e. a <read-timeout>) value.

Also, Resin Pro 3.1.2 will not listen for events until the web-app has completed startup.