Yes and that is just what we are trying to do. On our dev servers all five
different applications share the same database.
So it would seem best to have the resource link in the context.xml and not
complicate things up by putting the database link in each web application's
web.xml.
The idea
On 29/03/2024 21:58, Christopher Schultz wrote:
Rick,
On 3/29/24 14:33, Rick Noel wrote:
Our application is really a suite of 5applications. And the
server.xml I am talking about is on our dev machine, where we want
to run all 5 apps on the one web server.
The context.xml has global
Rick,
On 3/29/24 14:33, Rick Noel wrote:
Our application is really a suite of 5applications. And the
server.xml I am talking about is on our dev machine, where we want
to run all 5 apps on the one web server.
The context.xml has global enviroiment variables (like mail server
related vars)
Yeah I like the idea of using the Resourcelink in the context.xml and then
keep the defining of that datasource in the server.xml
Rick Noel
Systems Programmer | Westwood One
rn...@westwoodone.com
-Original Message-
From: Christopher Schultz
Sent: Friday, March 29, 2024 2:23 PM
To:
Chris,
Our application is really a suite of 5applications. And the server.xml I am
talking about is on our dev machine, where we want to run all 5 apps on the one
web server.
The context.xml has global enviroiment variables (like mail server related
vars) that all the dev applications use.
Rick,
On 3/29/24 14:05, Rick Noel wrote:
Chris,
I found I could use a ResourceLink element and put it in my context.xml file.
The name in that ResourceLink is the name of resource that I have fully defined
in my server.xml.
Sot the context.xml points to the fully define resource which is in
Rick,
On 3/29/24 11:56, Rick Noel wrote:
If have the resource defined in
CATALINA_BASE/conf/context.xml
And
CATALINA_BASE/conf/server.xml
You really shouldn't have anything custom in
CATALINA_BASE/conf/context.xml. That will affect every application
deployed on the server. Perhaps you only
Chris,
I found I could use a ResourceLink element and put it in my context.xml file.
The name in that ResourceLink is the name of resource that I have fully defined
in my server.xml.
Sot the context.xml points to the fully define resource which is in my
server.xml
So snippet from my
If have the resource defined in
CATALINA_BASE/conf/context.xml
And
CATALINA_BASE/conf/server.xml
Rick Noel
Systems Programmer | Westwood One
rn...@westwoodone.com
-Original Message-
From: Christopher Schultz
Sent: Friday, March 29, 2024 11:47 AM
To: users@tomcat.apache.org
Subject:
Rick,
On 3/29/24 09:48, Rick Noel wrote:
Can someone tell me why I need to have my database source defined in
both my context.xml and server.xml? I thought we are suppose to
define it in only one location?
It's definitely not a requirement to specify it in both places.
I can only log into my
10 matches
Mail list logo