Hello,
I'm having trouble getting Eclipse to work with Mysql/Tomcat.
In Eclipse, I have set up a project and have added a Tomcat server and added
the project to the server.
The project consists of a simple example of a standard struts architecture for
the MVC.
Model: Artist.java
is, in Eclipse I have also tried setting a data source for this
database.
This also works fine and I can connect to the DB from the data source, but I
still get the error.
So how do you use Eclipse with Tomcat and MySQL? Any ideas?
Thanks in advance for the help,
Kevin
HTTP Status 500
@tomcat.apache.org;
[EMAIL PROTECTED]
Sent: Monday, March 10, 2008 6:42 AM
Subject: Re: Eclipse with tomcat and mysql
What version of Eclipse are you using, and what extensions are you
using for your webapp project (e.g. Web Standard Tools or Sysdeo
Tomcat plug-in)?
--
Len
On Mon, Mar 10, 2008 at 11:32 AM
, March 10, 2008 10:49 AM
Subject: Re: Eclipse with tomcat and mysql
Eclipse (Eurpoa) version 3.1.1
I am using the Web Standard Tools. (The project I created is a Dynamic Web
Project).
I do NOT have the Sysdeo Tomcat plugin. Would this help?
Thanks,
Kevin
- Original Message -
From
, perhaps because of its size.
Be patient.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
enterprises.com]
Sent: Monday, March 10, 2008 11:50 AM
To: Len Popp; Tomcat Users List
Subject: Re: Eclipse with tomcat and mysql
Eclipse (Eurpoa) version 3.1.1
I am
: Monday, March 10, 2008 6:42 AM
Subject: Re: Eclipse with tomcat and mysql
What version of Eclipse are you using, and what extensions are you
using for your webapp project (e.g. Web Standard Tools or Sysdeo
Tomcat plug-in)?
--
Len
On Mon, Mar 10, 2008 at 11:32 AM, [EMAIL
Hello,
I'm having trouble getting Eclipse to work with Mysql/Tomcat.
In Eclipse, I have set up a project and have added a Tomcat server and
added the project to the server. The project consists of a simple
example of a standard struts architecture for the MVC.
Model: Artist.java
Yes the driver is in my project libraries.
Thanks,
Kevin
- Original Message -
Do you have the driver for MySQL added to your project libraries?
-Steve O.
-
To start a new topic, e-mail: users@tomcat.apache.org
- Original Message -
From: Len Popp [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 8:54 AM
Subject: Re: Eclipse with tomcat and mysql
Web Standard Tools makes copies of some of the Tomcat config files,
which might be causing your problem
Kevin--
what version is your MySQL driver?
?
Martin
- Original Message -
Wrom: UFPEGAUTFJMVRESKPNKMBIPBARHDMN
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 1:43 PM
Subject: Re: Eclipse with tomcat and mysql
Yes the driver is in my project libraries
version 5.1.5
Kevin
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 11:20 AM
Subject: Re: Eclipse with tomcat and mysql
Kevin--
what version is your MySQL driver?
?
Martin
- Original
, March 10, 2008 8:54 AM
Subject: Re: Eclipse with tomcat and mysql
Web Standard Tools makes copies of some of the Tomcat config files,
which might be causing your problem. In particular, if you've defined
your JDBC resource in server.xml it might not be seen by Tomcat when
you run
/
/context
Thanks
Kevin
- Original Message -
From: Len Popp [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 4:42 PM
Subject: Re: Eclipse with tomcat and mysql
So you're putting the webapp.xml file into conf/Catalina yourself,
right
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: Eclipse with tomcat and mysql
For the most part -- just remember case matters. It's Context, not
context. Same is true for Logger and Resource as well.
Note that there is no Logger element in 5.5, and the posted resource
[sic
: java.sql.SQLException: No suitable driver
Thanks for your help,
Kevin
- Original Message -
From: David Smith [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 5:52 PM
Subject: Re: Eclipse with tomcat and mysql
For the most part -- just
R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 6:04 PM
Subject: RE: Eclipse with tomcat and mysql
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: Eclipse with tomcat and mysql
For the most part -- just remember case matters. It's Context
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Re: Eclipse with tomcat and mysql
Context path=/musicDB docBase=musicDB
debug=5 reloadable=true crossContext=true
Remove the path and docBase attributes - they're not allowed here.
Resource name=jdbc/musicDB auth
users@tomcat.apache.org
Sent: Monday, March 10, 2008 6:57 PM
Subject: RE: Eclipse with tomcat and mysql
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Re: Eclipse with tomcat and mysql
Context path=/musicDB docBase=musicDB
debug=5 reloadable=true crossContext=true
Remove
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Re: Eclipse with tomcat and mysql
But the funny thing is the docs say to put path and docBase in.
The path and docBase attributes are used only when the Context element
is in server.xml, not when it's in a webapp's META-INF
Ah. Thanks for the clarification. that's a big help.
Kevin
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 10, 2008 7:44 PM
Subject: RE: Eclipse with tomcat and mysql
From: [EMAIL PROTECTED
20 matches
Mail list logo