aspose file tools*
The moose likes JDBC and the fly likes JDBC/classpath URGENT!!!!!SOS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC/classpath URGENT!!!!!SOS" Watch "JDBC/classpath URGENT!!!!!SOS" New topic
Author

JDBC/classpath URGENT!!!!!SOS

Sanjeev Verma
Ranch Hand

Joined: Aug 24, 2000
Posts: 87
Dear friends
We are facing a problem in porting our web site to the server. The
following are the issues we are facing:
1. The development environment we are using is JDK1.2/Oracle thin
driver (Type 4) for JDBC/JavaWebServer2.0 for deployment. The
Server on which our site is to be hosted is not dedicated to us alone.
It already hosts a site using JDK1.3 environment. When we ported our
site to the server, the pages (JSPs')were not able to connect to the
database. On check we found that it is throwing a
java.Security.AccessControlException: Access denied
(java.net.SocketPermission database resolve) when the statement
DriverManager.getConnection(......) gets executed. The relevant
Oracle classes we were using are: classes111.zip, nls_charset11.zip.
2. For debugging, we created the same environment internally and
found that jdk1.3 creates this conflict.
Has anyone faced this before? Any solutions?
We are trying to approach this problem from two perspectives:
1. Search the right Oracle classes and deploy them. We downloaded
classes12.zip and nls_charset12.zip and deployed them, using jdk1.3
environment. It didn't work.
2. Can two applications run on the same machine, using different path
and classpath variables. If so, how.
Please respond ASAP.
Thanx in advance
Sanjeev
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC/classpath URGENT!!!!!SOS