Re: Different JDBC sources?

2005-09-13 Thread Hassan Schroeder
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 t

Re: Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
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

Re: Different JDBC sources?

2005-09-13 Thread Hassan Schroeder
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

RE: Different JDBC sources?

2005-09-13 Thread Allistair Crossley
ut it's nevertheless 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

Re: Different JDBC sources?

2005-09-13 Thread Stephen Caine
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 st

Re: Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
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 appli

RE: Different JDBC sources?

2005-09-13 Thread Allistair Crossley
; To: Tomcat Users 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 clas

Different JDBC sources?

2005-09-13 Thread Vsevolod (Simon) Ilyushchenko
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 standa