Schalk,
glad you solved it.
Michael Ludwig schrieb:
Then I suspect a typo in your resource definition. I once had
Resource/@url instead of Resource/@uri with the MySQL driver.
The error was just:
For posterity, I got this the wrong way around: Resource/@url is
correct, Resource/@uri is
From: sch...@afrigis.co.za [mailto:sch...@afrigis.co.za]
Subject: Strange problem with data source Tomcat 6.0.18
I also have the MySQL connector/j driver inside my own apps lib
as well as inside the server's lib(same version).
Don't ever do that. A given class must appear in only *one*
sch...@afrigis.co.za schrieb am 31.08.2009 um 23:16:48 (+0200):
I have set-up a data source using the context.xml file located inside
my META-INF and added the relevant entry in the web apps web.xml. I
also have the MySQL connector/j driver inside my own apps lib as well
as inside the
from you.
--
Kind Regards
Schalk Neethling
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 31 August 2009 11:26 PM
To: Tomcat Users List
Subject: RE: Strange problem with data source Tomcat 6.0.18
From: sch...@afrigis.co.za [mailto:sch
: 31 August 2009 11:28 PM
To: users@tomcat.apache.org
Subject: Re: Strange problem with data source Tomcat 6.0.18
sch...@afrigis.co.za schrieb am 31.08.2009 um 23:16:48 (+0200):
I have set-up a data source using the context.xml file located inside
my META-INF and added the relevant entry in the web
sch...@afrigis.co.za schrieb am 31.08.2009 um 23:57:07 (+0200):
Hi there Michael,
Ok, I removed the mysql jar from my app and left it in tomcat/lib
I also undeployed and then redeployed the war file via the manager app
but the problem persists.
Then I suspect a typo in your resource
Regards
Schalk Neethling
-Original Message-
From: Michael Ludwig [mailto:mil...@gmx.de]
Sent: 01 September 2009 12:13 AM
To: Tomcat Users List
Subject: Re: Strange problem with data source Tomcat 6.0.18
sch...@afrigis.co.za schrieb am 31.08.2009 um 23:57:07 (+0200):
Hi there Michael,
Ok
sch...@afrigis.co.za schrieb am 01.09.2009 um 00:29:34 (+0200):
I am starting to think it might very well have to do with my
context.xml file. I just saw in the logs that Tomcat was actually
giving error saying that it could not deploy myapp.xml. After reading
some on the web I discovered
To: Tomcat Users List
Subject: Re: Strange problem with data source Tomcat 6.0.18
sch...@afrigis.co.za schrieb am 01.09.2009 um 00:29:34 (+0200):
I am starting to think it might very well have to do with my
context.xml file. I just saw in the logs that Tomcat was actually
giving error saying
, the path as
well as docbase and walla! Thanks again!
--
Kind Regards
Schalk Neethling
-Original Message-
From: Michael Ludwig [mailto:mil...@gmx.de]
Sent: 01 September 2009 12:56 AM
To: Tomcat Users List
Subject: Re: Strange problem with data source Tomcat 6.0.18
sch...@afrigis.co.za
From: Michael Ludwig [mailto:mil...@gmx.de]
Subject: Re: Strange problem with data source Tomcat 6.0.18
Try capitalizing context to Context.
Also make sure there is no conf/Catalina/[host]/myapp.xml file lying around; if
so, it will override your META-INF/context.xml file. The copy
From: sch...@afrigis.co.za [mailto:sch...@afrigis.co.za]
Subject: RE: Strange problem with data source Tomcat 6.0.18
I technically do not have to include the Context definition bit
at all in the context.xml and can basically just use the Resource
definitions on its own and Tomcat
12 matches
Mail list logo