RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > A final note on this thread. I'm wondering about the purpose > of having both a web.xml in DBTest/WEB-INF and a context.xml > in DBTest/META-

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread cuco2772
previous errors >>>>> Jan 14, 2008 5:26:24 PM org.apache.tomcat.util.digester.Digester >>>>> fatalError >>>>> SEVERE: Parse Fatal Error at line 20 column 2: The markup in the >>>>> document >>&

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread cuco2772
line >>>> looks to be : >>>> >>>> >>> debug="5" reloadable="true" crossContext="true"> >>>> >>>> Could the path attribute be incorrect ? I followed the directions >>>> exactly. >>>> >>>&

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > Which bit do you think is broken? I don't think the doc is actually broken in this area, just a bit misleading. The examples in the JNDI Dataso

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Mark Thomas
Christopher Schultz wrote: Cuco, cuco2772 wrote: | So it seems to be complaining about my context.xml. The offending line | looks to be : | | | | Could the path attribute be incorrect ? I followed the directions | exactly. I think those instructions have been (sadly) broken for a long time. I

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Mark Thomas
Christopher Schultz wrote: Cuco, cuco2772 wrote: | So it seems to be complaining about my context.xml. The offending line | looks to be : | | | | Could the path attribute be incorrect ? I followed the directions | exactly. I think those instructions have been (sadly) broken for a long time. I

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread David Smith
.14/lib/mysql-connector-java-5.0.8 (I also have the mysql-connector-java-5.0.8-bin.jar file copied to /lib, but not in mysql-connector-java-5.0.8. Caldarale, Charles R wrote: From: cuco2772 [mailto:[EMAIL PROTECTED] Subject: Re: how to configure (server.xml) for mysql dev with tomca

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
where else in your tomcat >>> installation including any of your webapps, please remove it from all >>> those other places. It can be either in tomcat's lib directory OR your >>> webapp's WEB-INF/lib directory -- never both. >>> >>> -

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread David Smith
al/tomcat/apache-tomcat-6.0.14/lib/mysql-connector-java-5.0.8 (I also have the mysql-connector-java-5.0.8-bin.jar file copied to /lib, but not in mysql-connector-java-5.0.8. Caldarale, Charles R wrote: From: cuco2772 [mailto:[EMAIL PROTECTED] Subject: Re: how to configure (se

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
>>> /usr/lib/jvm/java-6-sun-1.6.0.00/imq/demo/jdbc/config.properties.mysql >>> >>> Would it be in this directory in tomcat ?: >>> >>> [EMAIL >>> PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/lib/mysql-connector-java-5.0.8 >>> &

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cuco, cuco2772 wrote: | So it seems to be complaining about my context.xml. The offending line | looks to be : | | | | Could the path attribute be incorrect ? I followed the directions | exactly. I think those instructions have been (sadly) broken

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
t ?: >> >> [EMAIL >> PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/lib/mysql-connector-java-5.0.8 >> >> >> (I also have the mysql-connector-java-5.0.8-bin.jar file copied to /lib, >> but >> not in >> mysql-connector-java-5.0.8. >> >

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread David Smith
ile copied to /lib, but not in mysql-connector-java-5.0.8. Caldarale, Charles R wrote: From: cuco2772 [mailto:[EMAIL PROTECTED] Subject: Re: how to configure (server.xml) for mysql dev with tomcat/JDBC I gathered from that doc that you would put a element directly in conf/context.

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > Thats the directory that the binary download extracted into. There's no "binary download" of the MySQL driver - the .zip (or .tar.gz) fil

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
/lib. I decided to move the mysql-connector-java-5.0.8 directory to /apache-tomcat-6.0.14/lib also, in case some of those files were needed. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: RE: how to configure (server.xml) for mysql dev

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > Would it be in this directory in tomcat ?: > /usr/local/tomcat/apache-tomcat-6.0.14/lib/mysql-connector-java-5.0.8 I don't know why you would cr

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
/lib/mysql-connector-java-5.0.8 (I also have the mysql-connector-java-5.0.8-bin.jar file copied to /lib, but not in mysql-connector-java-5.0.8. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: Re: how to configure (server.xml) for mysql dev with

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > I gathered from that doc that you would put a > element directly in conf/context.xml, and not in > server.xml, as previously. No. The element i

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
I read the docs at the link you provided but have a few questions. I gathered from that doc that you would put a element directly in conf/context.xml, and not in server.xml, as previously. Do you need to somehow reference your webapp within the context, in other words, do you need separate >>

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cuco, cuco2772 wrote: | Thanks for the link. Under the DBCP heading it states 'Versions of mysql | ...that have been known to work'. I dont see any mention of my | version, 5.0. Could that possibly be an issue as far as things like JDBC? | I'

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Thanks for the link. Under the DBCP heading it states 'Versions of mysql ...that have been known to work'. I dont see any mention of my version, 5.0. Could that possibly be an issue as far as things like JDBC? I'd prefer to resolve any version issues before I attempt this. David Smith-

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread David Smith
There is also a copy in ...webapps/examples/WEB-INF/lib/, not sure if thats correct Remove this one. It will conflict with the one in tomcat's lib directory. export setCLASSPATH=/usr/local/tomcat/apache-tomcat-6.0.14/lib/ mysql-connector-java-5.0.8-bin.jar:$CLASSPATH Don't ever set the

how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Hello all; I'm in need of some help in setting up my environment correctly. I have mysql 5.0, tomcat 6, and am running tomcat through apache2. I downloaded mysql-connector-java-5.0.8-bin.jar and put it in /usr/local/tomcat/apache-tomcat-6.0.14/lib There is also a copy in ...webapps/examples/W