Hi,
As a relative Tomcat newbie, I can't find anything about how to use two
different JDBC sources with the same codebase. I'd like to have two
different URLs that use the same classes and JSP pages, but reference
two different databases (test and production). Is there a standard way
List
Subject: Different JDBC sources?
Hi,
As a relative Tomcat newbie, I can't find anything about how
to use two
different JDBC sources with the same codebase. I'd like to have two
different URLs that use the same classes and JSP pages, but reference
two different databases (test
Allistair Crossley wrote on 09/13/2005 11:49 AM:
The standard way is 2 servers running their own Tomcat. Each Tomcat is then
configured with the datasource with differing connection strings.
Allistair,
And then I would publish my code into two places? (Or alternatively I
can have two
Simon,
As a relative Tomcat newbie, I can't find anything about how to use
two different JDBC sources with the same codebase. I'd like to have
two
different URLs that use the same classes and JSP pages, but
reference two different databases (test and production). Is there a
standard way
the standard way.
Allistair.
-Original Message-
From: Vsevolod (Simon) Ilyushchenko [mailto:[EMAIL PROTECTED]
Sent: 13 September 2005 17:01
To: Tomcat Users List
Subject: Re: Different JDBC sources?
Allistair Crossley wrote on 09/13/2005 11:49 AM:
The standard way is 2 servers
Vsevolod (Simon) Ilyushchenko wrote:
As a relative Tomcat newbie, I can't find anything about how to use two
different JDBC sources with the same codebase. I'd like to have two
different URLs that use the same classes and JSP pages, but reference
two different databases (test and production
Hassan Schroeder wrote on 09/13/2005 12:33 PM:
Vsevolod (Simon) Ilyushchenko wrote:
As a relative Tomcat newbie, I can't find anything about how to use
two different JDBC sources with the same codebase. I'd like to have
two different URLs that use the same classes and JSP pages
Vsevolod (Simon) Ilyushchenko wrote:
Presumably these are two different Contexts; put the appropriate
Resource in each ${context}.xml file...
Thanks! How will different contexts be invoked depending on the URL?
Well, maybe I misunderstood the original question :-)
My presumption was that