RE: JNDI datasource lost on redeploy

2004-02-06 Thread Burgess, Jay S
ary 05, 2004 6:19 PM To: Tomcat Users List Subject: Re: JNDI datasource lost on redeploy That's a really nice write up, Jay. Would it be convenient for you to post a simple project that does this with a build file? Sounds like something that could make it into the FAQ. If that's too mu

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
That's a really nice write up, Jay. Would it be convenient for you to post a simple project that does this with a build file? Sounds like something that could make it into the FAQ. If that's too much trouble I can produce a project zip perhaps. Burgess, Jay S wrote: Having just gone through thi

RE: JNDI datasource lost on redeploy

2004-02-05 Thread Burgess, Jay S
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 your source hierarchy as WEB-INF. context.xml should contain your and definitions

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