• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

JDBC/classpath URGENT!!!!!SOS

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sanjeev
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic