Re: tomcat and mysql

2005-10-28 Thread Johan Henselmans


On Oct 28, 2005, at 5:29 PM, Jeremy Matthews wrote:

Anyone out there able to successfully hook up a database (MySQL  
would be nice) under Tomcat 5.5.x (maybe even 5.x.x) ?


If so, let me know how. The app works fine unless deployed under  
Tomcat, and then it logs this:



- Waiting for requests...
Saving new Course{values = {courseDescription = "lkj";  
courseSemester = "lkj"; courseName = "lkj"; courseTeacher =  
"lkj"; courseDate = "lkj"; coursePeriod = "lkj"; teacherfid =  
; }; this =  
"1 0 0 0 1 7 52 -83 -67 -49 -103 29 78 -69>>"; }
- An exception occurred while trying to open a channel:  
com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create  
JDBC driver of class '' for connect URL 'null'


So, Tomcat won't play nice with MySQL. Anyone who knows how to get  
these kids together...well, let me know. Specific instructions  
would help, since Apache's and MySQL's don't seem to be working...


Any info here will be added to our Tomcat 5.5.12 distribution  
installer for mac...I'm sure others would appreciate it!


Download URL's:
http://www.versiontracker.com/dyn/moreinfo/macosx/27151
http://www.macupdate.com/info.php/id/18567
http://mac.softpedia.com/get/Development/Java/Tomcat-by-SW.shtml


Thanks,
jeremy



I would suppose that the mysql jdbc connector is not installed.  
Somewhere in the tomcat path there should be a (`locate mysql | grep  
connector`) mysql-connector-java-3.1.10-bin.jar. If that is not  
available you get that kind of error messages.



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/johan% 
40netsense.nl


This email sent to [EMAIL PROTECTED]


Best Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6273852




smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: tomcat and mysql

2005-10-28 Thread Simon Whitty
maybe try hibernate?  this will take care of all of these intricacies  
for you.


On 29/10/2005, at 1:29 AM, Jeremy Matthews wrote:

Anyone out there able to successfully hook up a database (MySQL  
would be nice) under Tomcat 5.5.x (maybe even 5.x.x) ?


If so, let me know how. The app works fine unless deployed under  
Tomcat, and then it logs this:




- Waiting for requests...
Saving new Course{values = {courseDescription = "lkj";  
courseSemester = "lkj"; courseName = "lkj"; courseTeacher =  
"lkj"; courseDate = "lkj"; coursePeriod = "lkj"; teacherfid =  
; }; this =  
"1 0 0 0 1 7 52 -83 -67 -49 -103 29 78 -69>>"; }
- An exception occurred while trying to open a channel:  
com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create  
JDBC driver of class '' for connect URL 'null'




So, Tomcat won't play nice with MySQL. Anyone who knows how to get  
these kids together...well, let me know. Specific instructions  
would help, since Apache's and MySQL's don't seem to be working...


Any info here will be added to our Tomcat 5.5.12 distribution  
installer for mac...I'm sure others would appreciate it!


Download URL's:
http://www.versiontracker.com/dyn/moreinfo/macosx/27151
http://www.macupdate.com/info.php/id/18567
http://mac.softpedia.com/get/Development/Java/Tomcat-by-SW.shtml


Thanks,
jeremy
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/simon% 
40katadia.com.au


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com