Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet Cant use RMI when published on APache

 
Crazzy Block
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have an applet that makes a connection via RMI to orbd (naming service)when a button is pressed. It works fine when I view it through IE from my file system. But when I publish this page on apache I get the following error
"Trouble: javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(Unknown Source)"
 
Tim Holloway
Bartender
Posts: 18472
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Crazzy Block"
Welcome to the JavaRanch. We don't have many rules around here, but we do like to pretend like we're a bunch of urbane professionals, so we'd appreciate if you'd change your display name to conform to our Naming Rules. We'd appreciate it. Thanks!
BTW, are you sure you're not being blocked by the Java Sandbox?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!