• 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

VAJ 3.5: com.ibm.ivj.control .node. ServerPortNumInUseException

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.
I get the exception "com.ibm.ivj.control.node. ServerPortNumInUseException" and error message: "Specified port is already in use" when I try to start the Persistent Names Server. I use the default bootstrap-port: 900.
I can start the Persistent Names Server with another port, but then my lookup in JNDI doesn't find my entry. I have i.e tried out these entries
in the EJB lookup-panel:
Provider URL: "IIOP://localhost:1500/"
Context factory "com.ibm.ejs.ns.jndi. CNInitialContextFactory"
JNDI name "erikpackage/HelloErik"

It is just my own computer involved (localhost).
My questions are:
a)
How can I find out what other process on my machine is holding up port 900 ?
b)
Is it possible to use another port than 900 on localhost as Persistent Names Server and still get the JNDI-lookup to find my entry ?
 
Erik Lindholm
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found out this myself (with some help).
I post the answer here and hope that nobody have used to much time on this.
a)
It was the IBM WS Adminserver that used port 900.
b)
It is possible to use other ports than 900.
I was so hang up in problem a), that I simple forgot to start up the EJB Server configuration.
Sorry again to have bothered you with these amateur-problems.
reply
    Bookmark Topic Watch Topic
  • New Topic