I am trying to connect to oracle using jdbc thin drivers from a applet. The applet is stored on the same server as oracle, so there are no problems with remote access. I also use the exact same code for a logon page to get me into this applet and it works just fine. I wrote the logon page in jsp. I am guessing it has something to do with the applet but all the sources I looked up says I have the correct code. It has nothing it do with the classpath because that is set up just fine. and like I said this work with my logon page. Any ideas?
Originally posted by anacedent
Sorry I can't offer any suggestion because you neglected to actually post the SPECIFIC & EXACT error message(s) you are getting.
Can you sucessfully log into this database via any other application
that uses SQL*Net?
Well at first there was no error, that was the problem, but after I changed a bit of logic around I realized I was getting an illegal access error, which means I either have to turn it into a servlet or sign it. Is there any other way around it?
If there isn't another way, how do you go about adding a link to the cert file in your html? Or would it be better to change it to a servlet?
The database does not know or care about any "certificate" nonsense.
The database does not know or care about how the client initiates a connection request (i.e. servlet, jsp, asp, sqlj, etc.)
If/when the connection request is "well formed" and contains a
valid username/password, the client will be connected to the DB.
Until that happens errors will result from a failed connection request.
Well, thank you for pointing that out, I was reading another board and someone mentioned that it might have to be done that way.
Here is the error I am now getting....
java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.server.jserver.version read)
at java.security.AccessControlContext.checkPermission (Unknown Source)
at java.security.AccessController.PropertyAccess(Unkn own Source)
at oracle.jdbc.driver.OracleDriver.getConnectionInsta nce