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

RMI registry

 
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys

is that rmiregistry a inbuilt JNDI service shipped with java and is that possible to run both the JNDI service through rmiregistry and by running a
web-server like jboss (is it possible to run two JNDI service in a single machine)

looking for your replies
 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amirtharaj,

the rmiregistry tool is indeed a simple JNDI service provider. It's probably not as powerful as "real" JNDI services with LDAP backend or something like this but according to Sun it at least offers the JNDI interfaces.

Generally I think there's no problem to run rmiregistry in parallel to JBoss on the same computer. But by default they both use TCP port 1099 for JNDI lookups. So you would have to use another port for at least one of them. With rmiregistry the port to use is simply the first and only command line parameter to it. For JBoss I don't know where to change this. And of course you'll have to change your lookup code in clients to reflect the different port(s)

Marco
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic