Re: [Resin-interest] 4.0.20 - Problem with my HttpSessionListener

2011-09-08 Thread Eric Kreiser

No one else does "cleanup" on session destory?  No one else uses 4.0.20?



On 09/02/2011 08:42 AM, Eric Kreiser wrote:
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 
http://maillist.caucho.com/mailman/listinfo/resin-interest


===
Paul Cowan, Software Engineer
Caucho Technology
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 
*Learn more:* http://mzinga.com/v/ekreiser/
*Follow Mzinga:* http://twitter.com/mzinga
*Our Customer Experience Community:*
http://community.omnisocial.mzinga.com/app/signon/



--

*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 
*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


Re: [Resin-interest] 4.0.20 - Problem with my HttpSessionListener

2011-09-02 Thread Eric Kreiser
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 
http://maillist.caucho.com/mailman/listinfo/resin-interest


===
Paul Cowan, Software Engineer
Caucho Technology
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 
*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


Re: [Resin-interest] 4.0.20 - Problem with my HttpSessionListener

2011-09-01 Thread Paul Cowan

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
> http://maillist.caucho.com/mailman/listinfo/resin-interest

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

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


[Resin-interest] 4.0.20 - Problem with my HttpSessionListener

2011-08-31 Thread Eric Kreiser
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.

Thanks
Eric S. Kreiser




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