• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problem with servlet connecting RMI

 
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 a peculiar problem..

I have a Server written in RMI and I am able to connect to the RMI server through a servlet provided I have to start the rmiregistry manually. But if I start the rmiregistry programatically I am unable to connect the sevlet to the rmi server.(I use my own port to start the registry)

I have also given grant permission in the catalina.policy file as well as start tomcat with -security option, but its of no use.

One interesting fact is that the same program , if a try to connect the rmi server with a normal client, the code works fine. Like if I try with a console based client it works fine, the client able to connect the rmi server.

I am using AIX box.

any idea,help will be highly appreciated.
 
Ranch Hand
Posts: 1170
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So you cant make remote connections? Only local ones?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic