File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes I need help on applet crashing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "I need help on applet crashing" Watch "I need help on applet crashing" New topic
Author

I need help on applet crashing

Jasmine kaur
Ranch Hand

Joined: Nov 25, 2003
Posts: 157
Hello Everybody ,
Well in our appliaction I developed an Applet RMI communication and it was rynning well but once Firewalls has been indtalled in windows its is throwing this exception ,applet is getting loaded but after after that ist throws this exception and nothing works , so can any body can assist me on this.

classloader: sun.plugin.ClassLoaderInfo@933bcb, refcount=1 Loading applet ... Initializing applet ... Starting applet ... Finding information ...
Releasing classloader: sun.plugin.ClassLoaderInfo@1dec1dd, refcount=0 Done ... TwMenuApplet se připojuje na: server02.twinsoft.cz testuji port 1499 java.rmi.ConnectException: Connection refused to host: 10.0.0.3; nested exception is:
java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at tw.webbase.TwMenuRemoteObject_Stub.getMenuVector(Unknown Source) at tw.webbase.TwMenuApplet.generMenuFromBean(Unknown Source) at tw.webbase.TwMenuApplet.jbInit(Unknown Source) at tw.webbase.TwMenuApplet.init(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.ConnectException: Connection timed out: 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 java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source) ... 10 more


Please help me its urgent.
Thanks


jasmine kaur
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Well, as you say, there's a firewall; RMI isn't going to work unless you deal with that. [URL= http://java.sun.com/developer/onlineTraining/rmi/RMI.html#FirewallIssues]Here's[/URL] some useful information on the topic.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I need help on applet crashing
 
Similar Threads
java.net.ConnectException with RMI
About LDAP and JNDI
java.net.ConnectException: Connection timed out: connect
Active Directory Issue
javax.naming.CommunicationException