Re: JDBC/mySQL problem.

2004-03-25 Thread Parsons Technical Services
;ll go back to sleep. - Original Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 4:37 AM Subject: Re: JDBC/mySQL problem. > > Wait.. it's working now... I played around with my server.xml file

Re: JDBC/mySQL problem.

2004-03-25 Thread Kawthar Bt M Sulaiman
>>>> >Kawthar, > >>From what I understand the context is not available from outside >Tomcat. If >you are running this from an IDE or command line you are in a separate >JVM >form Tomcat. You have to be trying your code from a servlet, jsp or >class >w

Re: JDBC/mySQL problem.

2004-03-25 Thread Kawthar Bt M Sulaiman
form Tomcat. You have to be trying your code from a servlet, jsp or >class >within Tomcat to use the context. > >Doug > >- Original Message - >From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, March 25,

Re: JDBC/mySQL problem.

2004-03-25 Thread Brian Brewer
an" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 2:58 AM Subject: Re: JDBC/mySQL problem. Doug, I created a test stand-alone application: TestConnection.java Inside theis class, it has public static void main(Strig[] args) { DatabaseO

Re: JDBC/mySQL problem.

2004-03-25 Thread Kawthar Bt M Sulaiman
ing your code from a servlet, jsp or class within Tomcat to use the context. Doug - Original Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 2:58 AM Subject: Re: JDBC/mySQL problem. > > Doug, &

Re: JDBC/mySQL problem.

2004-03-25 Thread Parsons Technical Services
nal Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 2:58 AM Subject: Re: JDBC/mySQL problem. > > Doug, > > I created a test stand-alone application: TestConnection.java > Inside theis class, it ha

Re: JDBC/mySQL problem.

2004-03-24 Thread Kawthar Bt M Sulaiman
rify what you mean by "inside the main()". Doug - Original Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 9:37 PM Subject: RE: JDBC/mySQL problem. > > Hi folks, > > Sorr

Re: JDBC/mySQL problem.

2004-03-24 Thread Parsons Technical Services
Kawthar, Please clarify what you mean by "inside the main()". Doug - Original Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 9:37 PM Subject: RE: JDBC/mySQL problem. > > Hi fol

RE: JDBC/mySQL problem.

2004-03-24 Thread Kawthar Bt M Sulaiman
Sulaiman [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 6:52 PM To: [EMAIL PROTECTED] Subject: Re: JDBC/mySQL problem. Yes, I have the latest connector inside my /common/lib. mysql-connector-java-3.0.11-stable-bin.jar I even tried naming this without the word "stable" in it,

RE: JDBC/mySQL problem.

2004-03-19 Thread Steve Gums
: Re: JDBC/mySQL problem. Yes, I have the latest connector inside my /common/lib. mysql-connector-java-3.0.11-stable-bin.jar I even tried naming this without the word "stable" in it, and still not working. In my log file, I can see the following: Creating JNDI naming context Resource

Re: JDBC/mySQL problem.

2004-03-18 Thread Francois Dufour
9.1 - Original Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 8:51 PM Subject: Re: JDBC/mySQL problem. > Yes, I have the latest connector inside my /common/lib. > mysql-connector-java-3.0.

Re: JDBC/mySQL problem.

2004-03-18 Thread Kawthar Bt M Sulaiman
om mysql and copied it under your comon /lib +/lib of your aplication ? here everyting works fine and im on tomcat 4.0 - Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thurs

Re: JDBC/mySQL problem.

2004-03-18 Thread Francois Dufour
r > issues. > > Are you running a firewall on the machine? > > What OS are you on? > > What are the rights for the user in the database, can the user gain access > from localhost? > > Doug > > > - Original Message - > From: "Kawthar Bt M Sulaiman&quo

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
TECTED]> Sent: Thursday, March 18, 2004 1:26 AM Subject: Re: JDBC/mySQL problem. > Hi Doug, > > I know basic table creation and simple sql statement.. so I was able to > create the database > and create few tables to get tomcat running with mySQL. I read few > docs (including th

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
Sent: Thursday, March 18, 2004 1:26 AM Subject: Re: JDBC/mySQL problem. > Hi Doug, > > I know basic table creation and simple sql statement.. so I was able to > create the database > and create few tables to get tomcat running with mySQL. I read few > docs (including the > l

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
. > > Are you running a firewall on the machine? > > What OS are you on? > > What are the rights for the user in the database, can the user gain > access > from localhost? > > Doug > > > - Original Message - > From: "Kawthar Bt M Sulaiman&qu

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
fail. > If so use the IP of your machine if you can ping it otherwise you have > other > issues. > > Are you running a firewall on the machine? > > What OS are you on? > > What are the rights for the user in the database, can the user gain > access > from localhost? > > Dou

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
it otherwise you have other issues. Are you running a firewall on the machine? What OS are you on? What are the rights for the user in the database, can the user gain access from localhost? Doug - Original Message - From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> T

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
- From: "Kawthar Bt M Sulaiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 11:46 PM Subject: Re: JDBC/mySQL problem. > Followed your suggestion, but still not working. > > Thnx, > --Kawthar > > >>> [EMAIL PROTE

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
- Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 11:02 PM Subject: Re: JDBC/mySQL problem. > Kawthar, > > Try this context in place of your

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
; <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 11:02 PM Subject: Re: JDBC/mySQL problem. > Kawthar, > > Try this context in place of yours. > > > type="javax.sql.DataSource"/> > > type="

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
Kawthar, Try this context in place of yours. factory org.apache.commons.dbcp.BasicDataSourceFactory username password

JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
Doug, I've removed these params but I still get the same error. --Kawthar >>> [EMAIL PROTECTED] 18/03/2004 10:47:36 AM >>> Kawthar, Remove this from the context: databaseName ecpa pathname conf/tomcat-use

Onjava Example JDBC Realms with MySQL problem?

2002-03-11 Thread Fred Lankovic
i'm trying to run the example about JDBC realms with tomcat and mysql, but when i start tomcat i get this message: java.sql.SQLException: Cannot disable AUTO_COMMIT anyone knows what could be happening? Thanks _ Do You Yahoo!? InformaciĆ³n

Re: MySql Problem

2001-03-19 Thread Jeff Finley
: MySql Problem Hi Dinman,Did you set your classpath to point the location where you place you mmysqldriver?Actually you can place the driver anywhere you like provided that you setthe classpath correctly!Of course ,you have to prefix the driver class with the correct package namee.g

Re: MySql Problem (Error Message) Thanx

2001-03-18 Thread Home_Admin/home
man@i ndya.com To: [EMAIL PROTECTED] cc: 03/19/2001 Subject: MySql Problem (Error Message)

MySql Problem (Error Message) Thanx

2001-03-18 Thread java4dinman
I dont know why its looking for MyODBC Unable to load driver. java.sql.SQLException: [TCX][MyODBC]Can't connect to MySQL server on 'localhost' (10061) at sun.jdbc.odbc.JdbcOdbc.createSQLException (JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)

MySql Problem (Error Message) Thanx

2001-03-18 Thread java4dinman
I dont know why its looking for MyODBC Unable to load driver. java.sql.SQLException: [TCX][MyODBC]Can't connect to MySQL server on 'localhost' (10061) at sun.jdbc.odbc.JdbcOdbc.createSQLException (JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)

Re: MySql Problem

2001-03-18 Thread Rob Tanner
Since I work with MySQL both in servlets and in regular applications, I have the jar file in the lib/ext directory of the jre. But I have no idea what you're referring to by the org.apache class. I know of only two MySQL drivers, twz1.jdbc.mysql and org/gjt/mm/mysql. Of those, only the latt

Re: MySql Problem

2001-03-18 Thread dick
. org.gjt.mm.mysql.Driver Believe it or not, many people mistype the "gjt" package name as "git" and thus result in a Driver not found error! Regards Dick Poon - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 11:51 AM Subjec

Re: MySql Problem

2001-03-18 Thread Home_Admin/home
03/18/2001 Subject: MySql Problem 10:51 PM

MySql Problem

2001-03-18 Thread java4dinman
Hi I am trying to Acces MySql thru JDBC using mmysql driver. But when I run thru Servlets in Tomcat it doesnot read the org.apache class. Can anyone say where should I keep my jar files when I acces the data from Servlets. Thanx in advance. DINMAN Enjoy being an Indyan at http://www.indya.