r Frey [mailto:rainer.f...@inxmail.de]
Sent: Tuesday, July 21, 2009 2:40 AM
To: Tomcat Users List
Subject: Re: Context.xml not updating dataSource
On Monday 20 July 2009 17:08:15 Mike Frohme wrote:
> > > >> Edit the copy of the context.xml file and all will work as you
> > &
Rainer Frey wrote:
> On Monday 20 July 2009 17:08:15 Mike Frohme wrote:
>
>> Edit the copy of the context.xml file and all will work as you
>> expect.
1. In production, the operations folks don't have to unpack the app,
edit the context file and re-pack the app to edit the config
On Monday 20 July 2009 17:08:15 Mike Frohme wrote:
> > > >> Edit the copy of the context.xml file and all will work as you
> > > >> expect.
> > >
> > > 1. In production, the operations folks don't have to unpack the app,
> > > edit the context file and re-pack the app to edit the configuration.
>
process.
--
Mike
-Original Message-
From: Rainer Frey [mailto:rainer.f...@inxmail.de]
Sent: Tuesday, June 23, 2009 3:07 AM
To: Tomcat Users List
Subject: Re: Context.xml not updating dataSource
On Monday 22 June 2009 13:53:47 Mark Thomas wrote:
> >> Edit the copy of the context
On Monday 22 June 2009 13:53:47 Mark Thomas wrote:
> >> Edit the copy of the context.xml file and all will work as you expect.
> >
> 1. In production, the operations folks don't have to unpack the app,
> edit the context file and re-pack the app to edit the configuration.
>
> 2. When a new version
On Monday 22 June 2009 13:53:47 Mark Thomas wrote:
> Rainer Frey wrote:
> > On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
> >> You are editing the wrong file. When a web application is first
> >> deployed, any META-INF/context.xml is copied to
> >> CATALINA_BASE/conf// (usually
> >> CATALINA_B
Rainer Frey wrote:
> On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
>
>> You are editing the wrong file. When a web application is first
>> deployed, any META-INF/context.xml is copied to
>> CATALINA_BASE/conf// (usually
>> CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg
On Monday 22 June 2009 12:02:49 Mark Thomas wrote:
> You are editing the wrong file. When a web application is first
> deployed, any META-INF/context.xml is copied to
> CATALINA_BASE/conf// (usually
> CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg
> for a war file named myap
Brilliant, I didn't see this in any of the documentation that read.
Thanks for the help
Francis
Mark Thomas wrote:
Francis Judge wrote:
I'm editing the context.xml in the application's MET-INF directory. The
following is what it contains:
Resource name="*DB/TMS*" auth="*Container*"
type="*
Francis Judge wrote:
> I'm editing the context.xml in the application's MET-INF directory. The
> following is what it contains:
> Resource name="*DB/TMS*" auth="*Container*"
> type="*javax.sql.DataSource*" username="*" password="*"
> driverClassName="*net.sourceforge.jtds.jdbcx.Jtds
I'm editing the context.xml in the application's MET-INF directory. The
following is what it contains:
Resource name="*DB/TMS*" auth="*Container*"
type="*javax.sql.DataSource*" username="*" password="*"
driverClassName="*net.sourceforge.jtds.jdbcx.JtdsDataSource*"
url="*jdbc:jtd
I am using Tomcat 6.0.18 on Windows Vista (dev) and Server 2003 R2
(test) and am using jTDS to connect to SQL Server 2005. The application
is working fine in development (I'm using Netbeans 6.5) and I build the
WAR from the IDE at the moment. When I deploy the WAR to the test server
I update th
Francis Judge wrote:
> I am using Tomcat 6.0.18 and am using jTDS to connect to SQL Server
> 2005. The application is working fine in development (I'm using Netbeans
> 6.5) and I build the WAR from the IDE at the moment. When I deploy the
> WAR to the test server
How do you deploy your WAR? Is unp
I am using Tomcat 6.0.18 and am using jTDS to connect to SQL Server
2005. The application is working fine in development (I'm using Netbeans
6.5) and I build the WAR from the IDE at the moment. When I deploy the
WAR to the test server I update the context.xml to point the database
connection UR
14 matches
Mail list logo