-
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 has
public static void main(Strig[] args
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)
{
DatabaseOperation op = DatabaseOperation.newInstance();
op.selectOperation()
...
}
When DatabaseOperation
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,
I created a test stand-alone application: TestConnection.java
Inside theis class
: JDBC/mySQL problem.
Doug,
I created a test stand-alone application: TestConnection.java
Inside theis class, it has
public static void main(Strig[] args)
{
DatabaseOperation op = DatabaseOperation.newInstance();
op.selectOperation()
...
}
When DatabaseOperation is initialized
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,
I created a test stand-alone application: TestConnection.java
Inside theis class, it has
.
- 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
and change the path to empty () and it's working!
--Kawthar
M 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, and still
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 folks,
Sorry to bring back this issue I still
- 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,
Sorry to bring back this issue I still cannot make my connection
pooling to work... arrrgghh...
I got
: 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, and still
not
working.
In my log file, I can see
, 2004 12:29 AM
Subject: Re: JDBC/mySQL problem.
Kawthar,
As for Steve's concerns:
It is the same one. The short story: Mark Mathews wrote it MySQL liked it
and adopted it and him. So it went from org.gjt.mm to com.mysql. Both
names
will work fine but to be up to date use the com.mysql
:29 AM
Subject: Re: JDBC/mySQL problem.
Kawthar,
As for Steve's concerns:
It is the same one. The short story: Mark Mathews wrote it MySQL
liked it
and adopted it and him. So it went from org.gjt.mm to com.mysql.
Both
names
will work fine but to be up to date use the com.mysql
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.11-stable-bin.jar
I even tried naming
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:
parameter
namedatabaseName/name
valueecpa/value
/parameter
parameter
Kawthar,
Try this context in place of yours.
Context path=/db docBase =ROOT debug=9 reloadable=true
Resource auth=Container description=JDBC Connection to
MySQL v4.0.18 name=mySQLDatabase scope=Shareable
type=javax.sql.DataSource/
Resource name=jdbc/mySQLDatabase auth=Container
Users List [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 11:02 PM
Subject: Re: JDBC/mySQL problem.
Kawthar,
Try this context in place of yours.
Context path=/db docBase =ROOT debug=9 reloadable=true
Resource auth=Container description=JDBC Connection to
MySQL v4.0.18 name
jdbc/ .
Doug
- 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 yours.
Context path=/db docBase =ROOT
PROTECTED]
Sent: Wednesday, March 17, 2004 11:46 PM
Subject: Re: JDBC/mySQL problem.
Followed your suggestion, but still not working.
Thnx,
--Kawthar
[EMAIL PROTECTED] 18/03/2004 12:18:00 PM
Kawthar,
Change:
Resource auth=Container description=JDBC Connection to
MySQL v4.0.18 name
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]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 11:46 PM
Subject: Re: JDBC/mySQL problem.
Followed your suggestion
]
Sent: Wednesday, March 17, 2004 11:46 PM
Subject: Re: JDBC/mySQL problem.
Followed your suggestion, but still not working.
Thnx,
--Kawthar
[EMAIL PROTECTED] 18/03/2004 12:18:00 PM
Kawthar,
Change:
Resource auth=Container description=JDBC Connection to
MySQL v4.0.18
for the user in the database, can the user gain
access
from localhost?
Doug
- Original Message -
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
, 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
link you gave to get me started).. but other advance stuff
]
Sent: Wednesday, March 17, 2004 11:46 PM
Subject: Re: JDBC/mySQL problem.
Followed your suggestion, but still not working.
Thnx,
--Kawthar
[EMAIL PROTECTED] 18/03/2004 12:18:00 PM
Kawthar,
Change:
Resource auth=Container description=JDBC Connection
23 matches
Mail list logo