• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

rmi thorugh Firewalls

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having an applet client which has to lookup an remote server
object on a server within a firewall.
The firewallport 900 has been given full access.
The server objects are binding to the tnameserver on the same machine.
Even the webserver where my html and applet class file are located also on the same machine .
my client is a IE browser which loads the html file as well as the applet class file successfully.
but the applet gives an exception and the lookup fails
the same code works fine if is run from within firewall
but fails for clients outside the firewall
how can i tunnel through the firewall.
when i bind the object to the tnameserver i am mentioning
java.server.codebase, java.server.hostname, java.server.security.policy,
but still not working
The firewall is PIX Firewall
http ftp etc are working for port 900( tested)
but rmi-iiop fails
when the webserver on port 80 is being contacted by the applet
why the tnameserver on port 900 is not being able to connect
please help me in this matter.
its very urgent!!!
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I once had many problems getting an Applet to communicate remotely with RMI. One reason, IE does not include the java.rmi.* libraries, so any applet running in IE does not have them available. You are able to download them from Microsoft, but every client who uses your applet must have them. A solution I've used is to have your Applet communicate directly with a servlet and the servlet preforms the RMI calls.
Good Luck.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

dear anil,
could you please explain me how to set hostname,codebase and setting policy and all.
or atleast send me a mail at [email protected]
yours
balraj
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic