Re: JNDI Access in Lifecycle Listener

2012-02-14 Thread Sascha Rodekamp
Hey, thanks for the reply. I found a solution. The issue was, that i load my spring xml during the INIT lifecycle event. In this state the jndi context isn't available. I moved my code to the START event and it works as expected. Regards Sascha 2012/2/14 chris derham : >> >> i load a spring xml

Re: JNDI Access in Lifecycle Listener

2012-02-14 Thread chris derham
> > i load a spring xml with my own lifecycle listener. Which works pretty > well actually. > In my spring xml i try to get a datasource from the JNDI context. I > put the definition in the server.xml under . > My lifecycle listener is loaded after the GlobalResourcesLifecycleListener > > During th

JNDI Access in Lifecycle Listener

2012-02-13 Thread Sascha Rodekamp
Hi, i load a spring xml with my own lifecycle listener. Which works pretty well actually. In my spring xml i try to get a datasource from the JNDI context. I put the definition in the server.xml under . My lifecycle listener is loaded after the GlobalResourcesLifecycleListener During the startup c