Re: Hot deploy deletes my context file...

2008-05-02 Thread Michael Burbidge
deleting the .war file. Michael- On May 1, 2008, at 11:14 PM, Mark Thomas wrote: Michael Burbidge wrote: I have a context file that is associated with my web application. My context file is in $CATALINA_HOME/conf/Catalina/localhost/ mytest.xml. My war is called mytest.war and my servlet is

Hot deploy deletes my context file...

2008-05-01 Thread Michael Burbidge
I have a context file that is associated with my web application. My context file is in $CATALINA_HOME/conf/Catalina/localhost/mytest.xml. My war is called mytest.war and my servlet is mytest. If I deploy my war with tomcat shutdow my context file is not deleted on startup and the resources

Re: Where to define Context element...

2008-04-29 Thread Michael Burbidge
Chuck, On Apr 29, 2008, at 8:37 AM, Caldarale, Charles R wrote: From: Michael Burbidge [mailto:[EMAIL PROTECTED] Subject: Where to define Context element... The Tomcat documentation lists several different places that you can define a Context element. Would you like us to guess what Tomcat

Where to define Context element...

2008-04-29 Thread Michael Burbidge
I'm trying to define a JNDI resource for a datasource. The Tomcat documentation lists several different places that you can define a Context element. I don't want to define it in my app's web.xml and I don't want to modify tomcat config files. I want to define a companion file for my app, b

DOMImplementationRegistry and Tomcat...

2008-04-24 Thread Michael Burbidge
I'm trying to retrieve a DOM implementation from my servlet. The following code works fine when I deploy it to tomcat within JBoss, but when I deploy it to standalone tomcat, the second line returns null. domRegistry = DOMImplementationRegistry.newInstance(); domImp