RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
The differences I can see are in the Context element and the url param value. The question is what difference is significant. I would try making the second config more similar to the first, and see when it starts working. Eg. Is it because the url lookup is failing? Is it because it is no

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: The differences I can see are in the Context element and the url param value. The question is what difference is significant. The URL have been switched back and forth, but with the same result. This goes for all the other parameters also - but in the end it's always the

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
So you can change any parameter and it still fails? Have you tried playing with the attributes in the context element? -Original Message- From: Stig Stavik [mailto:[EMAIL PROTECTED] Sent: 27 March 2004 10:15 To: Tomcat Users List Subject: Re: Same data source config on two contexts

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: So you can change any parameter and it still fails? Have you tried playing with the attributes in the context element? No, I haven't. What sort of playful attributes do you recomend? :) -- StSt - To

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
Reloadable Docbase Path In that order. Martin -Original Message- From: Stig Stavik [mailto:[EMAIL PROTECTED] Sent: 27 March 2004 10:32 To: Tomcat Users List Subject: Re: Same data source config on two contexts, different result Martin Alley wrote: So you can change any parameter

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
' Subject: RE: Same data source config on two contexts, different result Reloadable Docbase Path In that order. Martin -Original Message- From: Stig Stavik [mailto:[EMAIL PROTECTED] Sent: 27 March 2004 10:32 To: Tomcat Users List Subject: Re: Same data source config on two contexts, different

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: Do you have the driver class in the right place so it can be found when docroot is ROOT? As long as the connector is to be found in tomcats classpath, it should be ok, shouldn't it? Ok. New approach - total chaos. I removed the v-host and created a new one using the

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
What version of tomcat are you using? -Original Message- From: Stig Stavik [mailto:[EMAIL PROTECTED] Sent: 27 March 2004 11:23 To: Tomcat Users List Subject: Re: Same data source config on two contexts, different result Martin Alley wrote: Do you have the driver class in the right

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: What version of tomcat are you using? 5.0.16 -- StSt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Same data source config on two contexts, different result

2004-03-27 Thread Remy Maucherat
Stig Stavik wrote: Context docBase=ROOT path=/ reloadable=true The path should be an empty String. That's the likely cause of the problems. -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
I believe the driver either needs to be in WEB-INF/lib or $CATALINA_HOME/common/lib Martin -Original Message- From: Stig Stavik [mailto:[EMAIL PROTECTED] Sent: 27 March 2004 11:23 To: Tomcat Users List Subject: Re: Same data source config on two contexts, different result Martin Alley

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Remy Maucherat wrote: Context docBase=ROOT path=/ reloadable=true The path should be an empty String. That's the likely cause of the problems. Thanks. That cleaned up the errorlog, though it made no other difference ... -- StSt -

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: I believe the driver either needs to be in WEB-INF/lib or $CATALINA_HOME/common/lib The driver is in $CATALINA_HOME/common/lib -- StSt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
To: Tomcat Users List Subject: Re: Same data source config on two contexts, different result Martin Alley wrote: I believe the driver either needs to be in WEB-INF/lib or $CATALINA_HOME/common/lib The driver is in $CATALINA_HOME/common/lib -- StSt

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
] Sent: 27 March 2004 11:49 To: 'Tomcat Users List' Subject: RE: Same data source config on two contexts, different result Is that where your other context is finding it also? Where else is the driver? If you remove it from $CATALINA_HOME/common/lib does the other context fail in the same way

Re: Same data source config on two contexts, different result

2004-03-27 Thread Parsons Technical Services
source config on two contexts, different result Martin Alley wrote: I believe the driver either needs to be in WEB-INF/lib or $CATALINA_HOME/common/lib The driver is in $CATALINA_HOME/common/lib -- StSt - To unsubscribe

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: Can you validate your config against a DTD? Well, when I made a new context on the v-host, tomcat makes a config for me. Context docBase=/home/stig/blablabla/ path= useNaming=false /Context I haven't touched it - and I recon tomcat should be able to read its own config

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
I'm confused! An attribute that never should have been there??? I agree with Doug, please post full configs and the relevant code. -Original Message- From: Stig Stavik [mailto:[EMAIL PROTECTED] Sent: 27 March 2004 12:03 To: Tomcat Users List Subject: Re: Same data source config on two

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
I agree with Doug, please post full configs and the relevant code. Ok, here goes: /usr/tomcat/conf/server.xml: ?xml version='1.0' encoding='utf-8'? Server Listener className=org.apache.catalina.mbeans.ServerLifecycleListener/ Listener