RE: JNDI datasource lost on redeploy

2004-02-06 Thread Burgess, Jay S
;unpackWARs" set to "false" in server.xml, so that > the WAR is left intact. > > I noticed that when using this setup, Tomcat pulls context.xml out of > the WAR, renames it .war, and puts it into the > "%CATALINA_HOME%/conf/Catalina/localhost" directory. I

RE: JNDI datasource lost on redeploy

2004-02-05 Thread Hernani Mourao
runstein [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 6 de Fevereiro de 2004 0:50 To: Tomcat Users List Subject: RE: JNDI datasource lost on redeploy Don't know if this is the reason, but this is from the ant manuals war task entry: We regulary receive bug reports that this task is creating the WE

RE: JNDI datasource lost on redeploy

2004-02-05 Thread todd runstein
et "unpackWARs" to "false" which improved the way > the app is loaded. > > Any help will be very much appreciated. > Thanks, > Hernani > > -Original Message- > From: Burgess, Jay S [mailto:[EMAIL PROTECTED] > Sent: quinta-feira, 5 de Fevereir

RE: JNDI datasource lost on redeploy

2004-02-05 Thread Hernani Mourao
t Users List Subject: RE: JNDI datasource lost on redeploy Having just gone through this headache last week, I can provide a solution that works for me (for TC5 only!). First, create a file called context.xml and put it in a directory called "META-INF" at the same level in yo

Re: JNDI datasource lost on redeploy

2004-02-05 Thread Josh Rehman
%CATALINA_HOME%/conf/Catalina/localhost" directory. I just it alone, as it goes away on undeploy. Let me know if this doesn't work for you. Jay -Original Message- From: todd runstein [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 4:51 PM To: [EMAIL PROTECTED] Subject:

RE: JNDI datasource lost on redeploy

2004-02-05 Thread Burgess, Jay S
n undeploy. Let me know if this doesn't work for you. Jay -Original Message- From: todd runstein [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 4:51 PM To: [EMAIL PROTECTED] Subject: JNDI datasource lost on redeploy I've set up a JNDI datasource on my test ser

Re: JNDI datasource lost on redeploy - solved

2004-02-05 Thread todd runstein
Got it! The reference to conf/Catalina/localhost helped me search the archives to find a message from Derek Mahar on 12/15/03 named "JNDI Issue with GlobalNamingResources & DefaultContext Solved". In it, Derek suggests placing the context file in META-INF/context.xml. So I pulled out the node

Re: JNDI datasource lost on redeploy

2004-02-05 Thread Josh Rehman
Can't solve your problem, but two things:first, try posting a war that reproduces the bug. In this case it might be an ant script that undeploys and redeploys a trivial war. Second, it has recently come to light that you aren't supposed to mess with server.xml Contexts anymore with TC5. You sho

JNDI datasource lost on redeploy

2004-02-05 Thread todd runstein
I've set up a JNDI datasource on my test server that works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8, M$_SQL=2000). However, each time I recompile and redeploy the application, I lose my connection pool, recieving the "Cannot create JDBC driver of class '' for connect URL 'null'" error. I hav