• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache Tomcat - JDBC error

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
rename the file to classes12.jar. Tomcat doesn't load *.zip files.
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic