Re: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-10 Thread Federico Spinazzi
James Lewis wrote: always perform such a lookup successfully, but when I try from a ContextListener contextInitialized method it fails: the same code WILL NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what I do pretty much. I have a LifeCycleListener specified in the webapps//WEB

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Shapira, Yoav
Tomcat Users List >Subject: RE: [tomcat] RE: JNDI datasource non available in >ServletContextListener.contextInitialized > >> always perform such a lookup successfully, but when I try from a >> ContextListener contextInitialized method it fails: the same code WILL >> NOT FAI

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
> always perform such a lookup successfully, but when I try from a > ContextListener contextInitialized method it fails: the same code WILL > NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what I do pretty much. I have a LifeCycleListener specified in the webapps//WEB-INF/web.xml like

Re: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Federico Spinazzi
James Lewis wrote: - define the resource in server.xml (this is a little 'limitating' for me) - deploy the applications in unpacked format (i.e. not from a war file: this is quite limiting, however) Yep, not good to stick them in server.xml. Your .xml file containing your resources should

RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
- define the resource in server.xml (this is a little 'limitating' for me) > - deploy the applications in unpacked format (i.e. not from a war file: > this is quite limiting, however) Yep, not good to stick them in server.xml. Your .xml file containing your resources should be in the webapps/ dir