Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004254 [Resin] minor always 10-08-10 17:03 10-13-10 12:48
Reporter ferg View Status public  
Assigned To ferg
Priority urgent Resolution fixed  
Status closed   Product Version 4.0.9
Summary 0004254: session/hessian classloader issue 4.0.9
Description (rep by Steven Nicholai)

I?ve added the following logger to resin.xml


   <logger name=? level=?finer?/>


We?re seeing these errors when the browser is left alone for 45+ minutes (much longer than the 30 minute session timeout.)


[10-10-06 22:30:56.192] {http://*:8080-9} [^] Hessian/Burlap: '' is an unknown class in EnvironmentClassLoader[system:]:

                                          java.lang.ClassNotFoundException: in EnvironmentClassLoader[system:]

[10-10-06 22:30:56.203] {http://*:8080-9} [^] java.lang.ClassNotFoundException: in EnvironmentClassLoader[system:]

                                                at com.caucho.loader.DynamicClassLoader.loadClass(

                                                at com.caucho.loader.DynamicClassLoader.loadClass(

                                                at java.lang.Class.forName0(Native Method)

                                                at java.lang.Class.forName(






                                                at com.caucho.server.session.HessianSessionDeserializer.readObject(

                                                at com.caucho.server.session.SessionImpl.load(

                                                at com.caucho.server.session.SessionImpl.load(

                                                at com.caucho.server.session.SessionManager.createSession(

                                                at com.caucho.server.http.AbstractCauchoRequest.createSession(

                                                at com.caucho.server.http.AbstractCauchoRequest.getSession(

                                                at com.caucho.server.http.AbstractCauchoRequest.finishRequest(

                                                at com.caucho.server.http.HttpServletRequestImpl.finishRequest(

                                                at com.caucho.server.http.AbstractHttpRequest.finishRequest(

                                                at com.caucho.server.http.HttpRequest.finishRequest(

                                                at com.caucho.server.http.HttpRequest.handleRequest(







                                                at com.caucho.env.thread.ResinThread.runTasks(



It seems that resin is trying to reconstitute the timedout session using the system classloader rather than the webapp classloader, which fails.


Any hints for debugging classloader issues in resin?

Additional Information
Attached Files

- Relationships

- Notes
10-13-10 12:48


- Issue History
Date Modified Username Field Change
10-08-10 17:03 ferg New Issue
10-13-10 12:48 ferg Note Added: 0004791
10-13-10 12:48 ferg Assigned To  => ferg
10-13-10 12:48 ferg Status new => closed
10-13-10 12:48 ferg Resolution open => fixed
10-13-10 12:48 ferg Fixed in Version  => 4.0.12

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