RE: JDBC problems with MySQL

2004-03-19 Thread Steve Gums
still want me to help let me know. Steve -Original Message- From: Kawthar Bt M Sulaiman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 9:52 PM To: [EMAIL PROTECTED] Subject: RE: JDBC problems with MySQL I've changed the driver to com.mysql.jdbc.Driver. Which jdbc jar fi

RE: JDBC problems with MySQL

2004-03-17 Thread Kawthar Bt M Sulaiman
Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 11:01 AM To: 'Tomcat Users List' Subject: RE: JDBC problems with MySQL Importance: High Dear Steve, I posted this problem around 3 months back and I am daily reading the forum, hoping that one day

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
t' Subject: RE: JDBC problems with MySQL I am new to this list as of today, so I don't know if anyone has already answered your question. Tomcat will not connect to mysql unless you have a password and of course rights to the database. Here is an example. Use these mySQL commands mysql -u

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
elp let me know. Steve -Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 11:01 AM To: 'Tomcat Users List' Subject: RE: JDBC problems with MySQL Importance: High Dear Steve, I posted this problem around 3 months back and I am daily

RE: JDBC problems with MySQL

2004-03-17 Thread Tom K
-Original Message- From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 12:01 PM To: 'Tomcat Users List' Subject: RE: JDBC problems with MySQL Importance: High Dear Steve, I posted this problem around 3 months back and I am daily

Re: JDBC problems with MySQL

2004-03-17 Thread Adrian Lanning
son, but it is working now. Steve <<< Check the archives... Adrian Lanning - Original Message - From: "Kumar Abhay-CAK203C" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 16, 2004 1:01 PM Subjec

RE: JDBC problems with MySQL

2004-03-17 Thread Kumar Abhay-CAK203C
Dear Steve, I posted this problem around 3 months back and I am daily reading the forum, hoping that one day somebody will give a solution. I will deeply appreciate you if u share the solution with me if u r able to find. Good Luck Best Regards Abhay Kumar -Original Message- From: St

RE: JDBC problems with MySQL

2004-03-17 Thread Kumar Abhay-CAK203C
Gums [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 9:21 AM To: 'Tomcat Users List' Subject: RE: JDBC problems with MySQL I tried removing the directory tag and it doesn't appear in the default logs directory. I tried it with the absolute path and still nothing. I w

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
nd it works fine. Steve -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 7:59 AM To: Tomcat Users List Subject: RE: JDBC problems with MySQL Hi, >Does the META-INF directory in a war file sit next to the WEB-INF >directory? Yes (a WA

RE: JDBC problems with MySQL

2004-03-17 Thread Shapira, Yoav
Hi, >Does the META-INF directory in a war file sit next to the WEB-INF >directory? Yes (a WAR is just a special JAR, and the JAR spec controls the location of the META-INF directory). >One other thing. In the context file that is currently working can you >tell me why the logger doesn't? > >

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
currently working can you tell me why the logger doesn't? The log never shows up. Thanks Steve -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:34 AM To: Tomcat Users List Subject: Re: JDBC problems with MySQL Steve, like Wendell

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
Bt M Sulaiman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 9:09 PM To: [EMAIL PROTECTED] Subject: RE: JDBC problems with MySQL I got the same error message as yours. Still trying to figure out myself. --Kawthar >>> [EMAIL PROTECTED] 17/03/2004 05:46:43 AM >>> It

Re: JDBC problems with MySQL

2004-03-17 Thread Adam Hardy
es as requested in just a sec. Thanks for your help. Steve -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:07 PM To: Tomcat Users List Subject: Re: JDBC problems with MySQL Steve, post the Resource & ResourceParams tags from your contex

RE: JDBC problems with MySQL

2004-03-16 Thread Kawthar Bt M Sulaiman
driverClassName com.mysql.jdbc.Driver url jdbc:mysql://localhost/javatest?autoReconnect=true [wolfgang]# -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:38 PM To: 'Tomcat Users List' Subject: RE: JDBC problems with

RE: JDBC problems with MySQL

2004-03-16 Thread Steve Gums
ubject: RE: JDBC problems with MySQL I think with Tomcat 5.0.x, you need to put the context.xml file under /conf/Catalina/localhost as .xml -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:38 PM To: 'Tomcat Users List' Subject: RE

RE: JDBC problems with MySQL

2004-03-16 Thread Wendell Holmes
I think with Tomcat 5.0.x, you need to put the context.xml file under /conf/Catalina/localhost as .xml -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:38 PM To: 'Tomcat Users List' Subject: RE: JDBC problems with MySQL The .cap f

RE: JDBC problems with MySQL

2004-03-16 Thread Steve Gums
: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:38 PM To: 'Tomcat Users List' Subject: RE: JDBC problems with MySQL The .cap file can be open with notepad or whatever. I have it in the META-INF directory. If I copy the contents of this into the server.xml file it

RE: JDBC problems with MySQL

2004-03-16 Thread Steve Gums
] Sent: Tuesday, March 16, 2004 2:07 PM To: Tomcat Users List Subject: Re: JDBC problems with MySQL Steve, post the Resource & ResourceParams tags from your context for the webapp. State whether it's in a context.xml file, server.xml or whatever. Perhaps we can spot something. Adam

RE: JDBC problems with MySQL

2004-03-16 Thread Steve Gums
//META-INF/context.xml ? I will post these files as requested in just a sec. Thanks for your help. Steve -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:07 PM To: Tomcat Users List Subject: Re: JDBC problems with MySQL Steve, post the Resource

Re: JDBC problems with MySQL

2004-03-16 Thread Adam Hardy
Steve, post the Resource & ResourceParams tags from your context for the webapp. State whether it's in a context.xml file, server.xml or whatever. Perhaps we can spot something. Adam ps this email has got some weird font - my mail reader is up the creek at the mo'. sorry On 03/16/2004 09:47 P

RE: JDBC problems with MySQL

2004-03-16 Thread Steve Gums
Just an update. I included a file, that works great on my webapp that is already running on an old system, and you can see the change I made, which allows the app to run. Not sure if this helps anyone. package com.voast.vkey.utils; import java.io.*; import java.sql.*; import javax.sql.*; import