N
nymus
Hello gurus,
I started apache on my machine and then my browser https://...
The web page appears and on the java browser console comes this
messages:
....
getLocalCert() : start
getLocalCert() failed
ERROR
java.security.AccessControlException: access denied
(java.net.SocketPermission <ip_address>:<port> connect,resolve)
java.security.AccessControlException: access denied
(java.net.SocketPermission <ip_address>:<port> connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.checkPermission(Unknown
Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(DashoA6275)
at WelcomeFrame.getLocalCert(WelcomeFrame.java:2222)
at WelcomeFrame.start(WelcomeFrame.java:1033)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.security.AccessControlException: access denied
(java.lang.RuntimePermission exitVM)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExit(Unknown Source)
at java.lang.Runtime.exit(Unknown Source)
at WelcomeFrame.getLocalCert(WelcomeFrame.java:2330)
at WelcomeFrame.start(WelcomeFrame.java:1033)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Now, I'm learning java(newbie), I don't have wrote this program
applets/servlets BUT I should running it well.
Actually my problem is that I don't known how to begin to debug...
For me this error means that he couldn't receive the right certificat
and denied his access? Is it right? I don't understand more...
Could someone help to find the way... or some tricks to find a
solutions.
regards,
nymus
I started apache on my machine and then my browser https://...
The web page appears and on the java browser console comes this
messages:
....
getLocalCert() : start
getLocalCert() failed
ERROR
java.security.AccessControlException: access denied
(java.net.SocketPermission <ip_address>:<port> connect,resolve)
java.security.AccessControlException: access denied
(java.net.SocketPermission <ip_address>:<port> connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.checkPermission(Unknown
Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(DashoA6275)
at WelcomeFrame.getLocalCert(WelcomeFrame.java:2222)
at WelcomeFrame.start(WelcomeFrame.java:1033)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.security.AccessControlException: access denied
(java.lang.RuntimePermission exitVM)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExit(Unknown Source)
at java.lang.Runtime.exit(Unknown Source)
at WelcomeFrame.getLocalCert(WelcomeFrame.java:2330)
at WelcomeFrame.start(WelcomeFrame.java:1033)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Now, I'm learning java(newbie), I don't have wrote this program
applets/servlets BUT I should running it well.
Actually my problem is that I don't known how to begin to debug...
For me this error means that he couldn't receive the right certificat
and denied his access? Is it right? I don't understand more...
Could someone help to find the way... or some tricks to find a
solutions.
regards,
nymus