Re: Data Sources Overwritten

2007-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott, [EMAIL PROTECTED] wrote: > Using your method of including the context within the application how do > you adjust for different environments (dev vs production)? Different > WARs? We use ant for deployment, and we have a "release type". The re

RE: Data Sources Overwritten

2007-06-19 Thread ScottAnders
10:35 AM To: Tomcat Users List Subject: Re: Data Sources Overwritten -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, You have not followed my suggestions: 1. Remove all JNDI datasource information from server.xml and never put it back in. 2. Use a META-INF/context.xml file and bundle it

Re: Data Sources Overwritten

2007-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, You have not followed my suggestions: 1. Remove all JNDI datasource information from server.xml and never put it back in. 2. Use a META-INF/context.xml file and bundle it into your WAR file for deployment. context.xml should include 100% of the

Re: Data Sources Overwritten

2007-06-14 Thread Pid
Jeffrey C. Baldwin wrote: P, (our messages crossed, I think) Looks like you've got the context setup in the server.xml AND the external file. You only need one location, comment out the Context definition in server.xml and we'll work on getting the auto-deploy to work from the WAR/webapp.

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
; - Original Message - From: "Christopher Schultz" >> <[EMAIL PROTECTED]> >> To: "Tomcat Users List" >> Sent: Thursday, June 14, 2007 7:06 PM >> Subject: Re: Data Sources Overwritten >> >> > Jeffrey, > > Jeffrey C.

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
gt; > >> - Original Message - From: "Christopher Schultz" >> <[EMAIL PROTECTED]> >> To: "Tomcat Users List" >> Sent: Thursday, June 14, 2007 7:06 PM >> Subject: Re: Data Sources Overwritten >> >> > Jeffrey, > &g

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
P, This is everything from server.xml factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml

Re: Data Sources Overwritten

2007-06-14 Thread Pid
Jeffrey C. Baldwin wrote: Chris, Thank you for the time. However, I'm still not having any luck... What's in your Host definition in server.xml, can you post that too? p Again, I have the entries in server.xml, so if I restart the Tomcat service AFTER deploying the app, all is well. Howev

Re: Data Sources Overwritten

2007-06-14 Thread Pid
g restarts, and overwritten by the one in your webapp. p - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 14, 2007 7:06 PM Subject: Re: Data Sources Overwritten -BEGIN PGP SIGNED MESSAG

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
Also, here is a copy of my server.xml. factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
Chris, Thank you for the time. However, I'm still not having any luck... Again, I have the entries in server.xml, so if I restart the Tomcat service AFTER deploying the app, all is well. However, I want the application developers to be able to deploy their app and not have to, or need to contact

Re: Data Sources Overwritten

2007-06-14 Thread Johnny Kewl
will make the pool and thats probably why it kills the pool every time its started. good luck... - Original Message - From: "Jeffrey C. Baldwin" <[EMAIL PROTECTED]> To: Sent: Thursday, June 14, 2007 4:46 PM Subject: Data Sources Overwritten (Tomcat 5.0.28 runn

RE: Data Sources Overwritten

2007-06-14 Thread wxcd sxdez
> the war, or the app maybe it can be put into context.xml, but are you > > sure? Sure it should be done in this way ! So, you don't need to restart your entire server when you need to add/ change the datasource configuration. Context.xml is part of your webapp, and not of your tomcat.

Re: Data Sources Overwritten

2007-06-14 Thread Johnny Kewl
- From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 14, 2007 7:06 PM Subject: Re: Data Sources Overwritten -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, Jeffrey C. Baldwin wrote: I appreciate all the input gu

Re: Data Sources Overwritten

2007-06-14 Thread Johnny Kewl
POOL for ALL web apps... Magic... nice way to make them... see, getting stuck can help ;) - Original Message - From: "Jeffrey C. Baldwin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 14, 2007 6:19 PM Subject: Re: Data Sources Overwritten

Re: Data Sources Overwritten

2007-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, Jeffrey C. Baldwin wrote: > I appreciate all the input guys. I put everything into server.xml and > the application is working great. You should put that setup into META-INF/context.xml in your webapp directory (or your WAR file) instead of

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
re it should have happened. > ie when the server starts up, it will make the pool and thats > probably why it kills the pool every time its started. > > good luck... > > > > - Original Message - From: "Jeffrey C. Baldwin" > <[EMAIL PROTECTED]>

Re: Data Sources Overwritten

2007-06-14 Thread Johnny Kewl
;[EMAIL PROTECTED]> To: Sent: Thursday, June 14, 2007 4:46 PM Subject: Data Sources Overwritten (Tomcat 5.0.28 running on CentOS 4.4 using Java 1.4.2_14-b05) Hello All, I have a problem with my understanding of data sources within Tomcat. I have an application (MRS). I deploy MRS using the To

Re: Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
David, Where do I put this context.xml file? I noticed that when I deploy the app using manager, then configure the data sources using the admin tool... that a file names mrs.xml (mrs is the name of the application I am deploying) is created (/usr/local/tomcat/conf/Catalina/localhost), it contain

Re: Data Sources Overwritten

2007-06-14 Thread David Smith
Best bet is to configure it manually in the context.xml for the webapp. I've never had good luck with the administration webapp in the very few times I've tried to use it. You describe tomcat as over-writing the config submitted via the admin webapp. It's more likely the admin webapp is chan

Data Sources Overwritten

2007-06-14 Thread Jeffrey C. Baldwin
(Tomcat 5.0.28 running on CentOS 4.4 using Java 1.4.2_14-b05) Hello All, I have a problem with my understanding of data sources within Tomcat. I have an application (MRS). I deploy MRS using the Tomcat Manager. I then open up Tomcat Administration and I see MRS under: Tomcat Server - Service