bronbrew
asked on
Problem with applets and Java Plug-in 1.6.0_13
I recently upraded to the latest JRE but now I get this error when I click on button that runs an applet. Why would I have this problem after the upgrade. Other users with older JRE versions are not having this problem?
Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\me
--------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
--------------------------
load: class javachart.applet.dateLineA
java.lang.ClassNotFoundExc
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
Caused by: javax.net.ssl.SSLException
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at java.security.AccessContro
... 7 more
Exception: java.lang.ClassNotFoundExc
load: class javachart.applet.dateLineA
java.lang.ClassNotFoundExc
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
Caused by: javax.net.ssl.SSLException
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at java.security.AccessContro
... 7 more
Exception: java.lang.ClassNotFoundExc
Maybe you need to reinstall a "javachart" java extension.
>>x: clear classloader cache
First of all, try that and then reload the applet
First of all, try that and then reload the applet
ASKER
The applet class is on a server. Other user with older versions of the JRE are not having problems. Could it be a security issue with the newer JRE. In the error msg above it says:
Caused by: javax.net.ssl.SSLException : Received fatal alert: unexpected_message
Is there an ssl problem? Could it have something to do with the advanced security settings in the Java Control Panel?
Caused by: javax.net.ssl.SSLException
Is there an ssl problem? Could it have something to do with the advanced security settings in the Java Control Panel?
What happened when you tried my suggestion?
ASKER
I opened the java console and deleted temperary files. Is that different the class loader cache?
Well i don't really get you there as there's no option to delete temporary files at the plugin console. Option x on the keyboard clears the cache. Yes, they *could* be different
ASKER
I used option x to clear the cache and it still does not work.
OK. Please turn up the trace to 5 and then post the result here after reloading
ASKER
It works on our dev server but not prod. On dev I get an SSL certificate warning, but on prod I do not get the warning.
I turned the trace up to five and I changed the url to have [OurServer] instead of the actual address.
User home directory = C:\Documents and Settings\nhessefort
-------------------------- ---------- ---------- ------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
-------------------------- ---------- ---------- ------
basic: Added progress listener: sun.plugin.util.GrayBoxPai nter$GrayB oxProgress Listener@b ad8a8
network: Cache entry not found [url: https://[OurServer]/javachart/appl et/dateLin eApp.class , version: null]
network: Connecting https://[OurServer/javachart/apple t/dateLine App.class with proxy=DIRECT
network: Connecting http://[OurServer:443/ with proxy=DIRECT
network: Cache entry not found [url: https://www.[OurServer/javachart/appl et/dateLin eApp/class .class, version: null]
network: Connecting https://[OurServer/javachart/apple t/dateLine App/class. class with proxy=DIRECT
network: Connecting http://[OurServer:443/ with proxy=DIRECT
basic: load: class javachart.applet.dateLineA pp.class not found.
load: class javachart.applet.dateLineA pp.class not found.
java.lang.ClassNotFoundExc eption: javachart.applet.dateLineA pp.class
at sun.plugin2.applet.Applet2 ClassLoade r.findClas s(Unknown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.plugin2.applet.Plugin2 ClassLoade r.loadCode (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager.cr eateApplet (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager$Ap pletExecut ionRunnabl e.run(Unkn own Source)
at java.lang.Thread.run(Unkno wn Source)
Caused by: javax.net.ssl.SSLException : Received fatal alert: unexpected_message
at com.sun.net.ssl.internal.s sl.Alerts. getSSLExce ption(Unkn own Source)
at com.sun.net.ssl.internal.s sl.Alerts. getSSLExce ption(Unkn own Source)
at com.sun.net.ssl.internal.s sl.SSLSock etImpl.rec vAlert(Unk nown Source)
at com.sun.net.ssl.internal.s sl.SSLSock etImpl.rea dRecord(Un known Source)
at com.sun.net.ssl.internal.s sl.SSLSock etImpl.per formInitia lHandshake (Unknown Source)
at com.sun.net.ssl.internal.s sl.SSLSock etImpl.sta rtHandshak e(Unknown Source)
at com.sun.net.ssl.internal.s sl.SSLSock etImpl.sta rtHandshak e(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection .getRespon seCode(Unk nown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r.getBytes (Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r.access$0 00(Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r$1.run(Un known Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
... 7 more
Exception: java.lang.ClassNotFoundExc eption: javachart.applet.dateLineA pp.class
I turned the trace up to five and I changed the url to have [OurServer] instead of the actual address.
User home directory = C:\Documents and Settings\nhessefort
--------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
--------------------------
basic: Added progress listener: sun.plugin.util.GrayBoxPai
network: Cache entry not found [url: https://[OurServer]/javachart/appl
network: Connecting https://[OurServer/javachart/apple
network: Connecting http://[OurServer:443/ with proxy=DIRECT
network: Cache entry not found [url: https://www.[OurServer/javachart/appl
network: Connecting https://[OurServer/javachart/apple
network: Connecting http://[OurServer:443/ with proxy=DIRECT
basic: load: class javachart.applet.dateLineA
load: class javachart.applet.dateLineA
java.lang.ClassNotFoundExc
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
Caused by: javax.net.ssl.SSLException
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at com.sun.net.ssl.internal.s
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at java.security.AccessContro
... 7 more
Exception: java.lang.ClassNotFoundExc
ASKER
Here is all I see in the log when it works on dev:
Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\nhessefort
-------------------------- ---------- ---------- ------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
-------------------------- ---------- ---------- ------
Loaded image: https://OurDev/java/javachart/html/images/ball_red.gif
Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\nhessefort
--------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
--------------------------
Loaded image: https://OurDev/java/javachart/html/images/ball_red.gif
>>. On dev I get an SSL certificate warning,
What is that warning - can you post it? You probably might need to import the cert into your new JRE
What is that warning - can you post it? You probably might need to import the cert into your new JRE
ASKER
See attached image. On the security settings of the advanced tab of the java console wet checked:
Use SSL 2.0 compatible client hello format
Use SSL 3.0
Use TLS 1.0
Then the applet works.
JavaControlPanel.jpg
Use SSL 2.0 compatible client hello format
Use SSL 3.0
Use TLS 1.0
Then the applet works.
JavaControlPanel.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
One of our own admin actually helped with the settings in the Java console, but I appreciate the help anyway.