aspose file tools*
The moose likes Tomcat and the fly likes Apache Tomcat - JDBC error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Tomcat - JDBC error" Watch "Apache Tomcat - JDBC error" New topic
Author

Apache Tomcat - JDBC error

A Sam
Greenhorn

Joined: Aug 21, 2001
Posts: 13
Hi,
I am using Jbuilder 6.0 with tomcat 4.0.1 for testing.
When I compile there is no error for the jdbc driver I am using (which is the latest with the patch from oracle website).
I checked the following:
1. classes12.zip is in Jbuilder/lib directory
and is included in making the war file.
2. classes12.zip gets copied over to tomcat web-
inf/lib directory.
Please help!
But I get the following error message:


-- edited by MC to use code tags
[ March 22, 2003: Message edited by: Mike Curwen ]
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

rename the file to classes12.jar. Tomcat doesn't load *.zip files.
Jeff Grant
Ranch Hand

Joined: Dec 19, 2001
Posts: 169
I tried that with the classes12.zip and just renaming it to classes12.jar. It didn't work for me.
I also unzipped it and jar'd it into classes12.jar which also didn't work.
There was, however, a classes12.jar (as well as a classes12.zip) in the Oracle folder which worked fine.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

That's interesting. I've never had a problem with simply renaming classes12.zip (on both Windows and Solaris). Perhaps it was a corrupt zip file?
Jeff Grant
Ranch Hand

Joined: Dec 19, 2001
Posts: 169
Originally posted by Mike Curwen:
That's interesting. I've never had a problem with simply renaming classes12.zip (on both Windows and Solaris). Perhaps it was a corrupt zip file?

I've seen stranger things.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Tomcat - JDBC error