File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Zip Exception while connecting thru JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Zip Exception while connecting thru JNDI" Watch "Zip Exception while connecting thru JNDI" New topic
Author

Zip Exception while connecting thru JNDI

Ravikumar Jambunathan
Ranch Hand

Joined: Aug 25, 2003
Posts: 66
hello there,
While i am trying to connect oracle thru JNDI, i was getting javax.naming.NamingException- unable to create resourse instance. I thought the server may not be able to read the zip file.
Hence, I have unzipped classes12.zip and copied OracleDriver.class into my application directory under WEB-INF/lib after converting it as a jar file. But while starting up the server(tomcat4.1), i am getting some ZipException(unable to opent the zip file).
could anybody help me out to solve this problem?.
thanks in advance.
 
Consider Paul's rocket mass heater.
 
subject: Zip Exception while connecting thru JNDI