-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
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
-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
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.
; - 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.
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
P,
This is everything from server.xml
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
pathname
conf/tomcat-users.xml
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
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
Also, here is a copy of my server.xml.
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
pathname
conf/tomcat-users.xml
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
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
> 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.
-
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
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
-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 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]>
;[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
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
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
(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
21 matches
Mail list logo