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
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
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
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
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
'
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
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
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
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]
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
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
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
-
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,
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
]
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
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
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
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
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
19 matches
Mail list logo