Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Could not initialize j2ee server - selecting a port#?

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,
===ADDENDUM====
I have modified the orb.properties file located in the j2sdkee1.3.1\config directory to start up using a different port (I changed it from 1050 to 1051) and it works now. I still don't know what is making 1050 freeze up now but we'll chalk it up to user ignorance.
I now have a new question, are there any gotcha's as for selecting a new port#?
=============
I have read the 3 message threads that deal with this problem and none of them are helping me out. The peculiar thing is that this was working fine yesterday and I haven't changed anything I am aware of (famous last words). I am running on Win2000 Pro. Here is my error message after inputting: j2ee -verbose
J2EE server listen port: 1050
java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:119)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:119)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
J2EE server reported the following error: Could not initialize j2ee server. Possible cause could be another instance of the server already running.
Error executing J2EE server ...
Here's what I have already done:
1. j2ee -stop
2. Reboot my PC
3. Tried to run j2ee -verbose before I started up any other programs.
4. I have my JAVA_HOME, J2EE_HOME, and ANT_HOME environment variables set to the appropriate location. I have the PATH modified to include the bin directories of j2ee, j2se, and ant.
5. Tried running netstat -n and here are my results (port 1050 seems ok):
Active Connections
Proto Local Address Foreign Address State
TCP 172.16.3.145:1107 172.16.0.20:139 ESTABLISHED
TCP 172.16.3.145:1136 172.16.0.14:1030 ESTABLISHED
TCP 172.16.3.145:1140 172.16.0.24:1212 ESTABLISHED
TCP 172.16.3.145:1143 172.16.0.14:1030 ESTABLISHED
TCP 172.16.3.145:1147 172.16.0.24:1212 ESTABLISHED
Can ANYONE please help me out? I am really stumped! :roll:
Many thanks for any help!
Janet
[ January 08, 2003: Message edited by: Janet Wilson ]
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic