Re: Strange problem with data source Tomcat 6.0.18

2009-09-01 Thread Michael Ludwig
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Caldarale, Charles R
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*

Re: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Michael Ludwig
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Schalk
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Schalk
: 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

Re: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Michael Ludwig
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Schalk
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

Re: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Michael Ludwig
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Schalk
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Schalk
, 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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Caldarale, Charles R
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

RE: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Caldarale, Charles R
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