Yes Resin is running with -Djava.system.class.loader=com.caucho.loader.SystemClassLoader.

And yes, it does "feel" like a class loader issue...




On 09/01/2011 04:42 PM, Paul Cowan wrote:

On Aug 31, 2011, at 6:28 PM, Eric Kreiser wrote:

I have a session listener that I use to clear out certain cached items
etc... on session destroy (some items are in a database).

I  get a "NameNotFoundException" when trying to access any of my db
connection pools if the Session Listener is being executed by
SessionManager.handleAlarm() but things work fine if it is a by product
of SessionManager.removeSession (like when a request thread calls
invalidate on a session).

I have the "database" nodes in the resin config under "web-app", but it
made no difference if I move them all the way up to the "resin" level.

Any help would be appreciated.

Hi Eric,

This sounds like a classloader issue.

Can you verify if Resin is running with -Djava.system.class.loader=com.caucho.loader.SystemClassLoader

Thanks,
Paul



Thanks
Eric S. Kreiser




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com <mailto:resin-interest@caucho.com>
http://maillist.caucho.com/mailman/listinfo/resin-interest

===============================
Paul Cowan, Software Engineer
Caucho Technology
co...@caucho.com <mailto:co...@caucho.com>
http://blog.caucho.com
http://twitter.com/cauchoresin


--

*Eric S. Kreiser* *
* Senior Software Architect


*M**z**inga**
* 5095 Ritter Road . Mechanicsburg, PA  17055
---------------------------------------------------
*Call me:* 717.458.9804
*Fax me:* 717.790.0401
*Email me:* ekrei...@mzinga.com <mailto:ekrei...@mzinga.com>
*Learn more:* http://mzinga.com/v/ekreiser/
*Follow Mzinga:* http://twitter.com/mzinga
*Our Customer Experience Community:*
http://community.omnisocial.mzinga.com/app/signon/

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to