467,182 Members | 1,038 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,182 developers. It's quick & easy.

Java Applet Display Problem.


I am having applet display problem on my PC and the same thing working fine on some of my colleagues PC's. When I cross checked content through view source its exactly same on both the PC's. Something related to JRE is not allowing to display this applet through browser. Even I tried by uninstalling & reinstalling JRE and ended up with same problem. Can anyone tell whats problem on my PC.
Here is the error which I am getting in java console.

load: class CallDep not found.
java.lang.ClassNotFoundException: CallDep
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNew HttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainC onnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connec t(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more

Feb 21 '08 #1
  • viewed: 2171
2 Replies
The class CallDep is not being found on the class path. Is it in a jar on another machine? Can you access that other machine?
Feb 21 '08 #2
CallDep class is residing under specific path where web server is hosted. Infact I can access this applet from other PC which is under same network. Am just wondering will browser download this class archive onto my PC while accessing applet. If so any specific directory i need to cross check. Is there any some kind of settings which i need to make sure under java security/policy file?
Feb 21 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by apchar | last post: by
3 posts views Thread by Al | last post: by
2 posts views Thread by Tim Murray | last post: by
3 posts views Thread by Jimbo | last post: by
1 post views Thread by dishal | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.