• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

I need help on applet crashing

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I brought this back from the farm where they grow the tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic