• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC/classpath URGENT!!!!!SOS  RSS feed

Sanjeev Verma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!