• 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

j2ee Server Error

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I finally got all the enviroment variables set corretly and when I went to run the j2ee.bat file and it tells me that it is running on port 1050 then it crashes and tells me that it can not create an ORB
J2EE server listen port: 1050
org.omg.CORBA.INTERNAL: minor code: 1398079697 completed: No
at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:
256)
at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:205
)
at com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(GIOPImpl.java:1
40)
at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:48
4)
at com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(POAImpl.java:154
)
at com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.java:112)
at com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB.java:109)
at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:127)
at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:23)
at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:
2396)
at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.ja
va:2347)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:198)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:918)
java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP
ports in use by another process
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:208)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:918)
java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP
ports in use by another process
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:208)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:918)
java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP
ports in use by another process
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:355)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:918)
J2EE server reported the following error: Unable to create ORB. Possible causes
include TCP/IP ports in use by another process
Error executing J2EE server ...
E:\j2sdkee1.3\bin>
Any Help?
------------------
Sun Certified Programmer on the Java 2 Platform
 
Author
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check what else you have running on your system, if like me you have lot's of different app servers installed sometime they can use each other's resources. For example, the RI uses the Tomcat engine so if you have Tomcat running that might be a problem.
Alternatively, I have seen similar errors for no good reason but usually a reboot fixes that.
Finally, you can always change the port the server runs under in the config files.
------------------
Craig Berry
Author of Professional EJB
 
Tom Ben
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Craig. Yes I have to much stuff running on that box. I will check the config files for that. Again thanks for the help.

------------------
Sun Certified Programmer on the Java 2 Platform
 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
J2EE server worked for me successfully. I did not find that error.
 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using Solaris or Linux or WIndows NT/2000 you can use netstat -a command and search for any entry with LISTEN. This way you can find out the ports are already being used by other processes.
Faisal
 
Tom Ben
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks faisal that has helped me alot. I appreciate all the feed back I am getting from everyone this is great.
------------------
Sun Certified Programmer on the Java 2 Platform
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could try the following solution that worked for me
C:\j2sdkee1.3\bin\setenv.bat contains the following
set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
try modifing 1060 to something else
In my case "netstat /a" showed port 1060 in use, so I changed
1060 to 2060 and now everything works just fine
-----------------------------------------------
Sun Certified Programmer on the Java 2 Platform
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had to change both the port number in orb.properties in the config directory, and the PERSISTENT_SSL parameter for LISTEN_OPTIONS in the setenv.bat file (bin directory).
Stating the obvious: both port numbers had to remain different from each other
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys, how nice it is to get such wonderful help! I was trying to run JMS Server using j2ee -verbose. At the first time I had a problem that was saying
java.Land.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process........
Error executing J2EE server....
After carefully read what you have suggested I run netstat -a (my machine is win 2000 professional) and I found that port 1060 was in use so I changed 1060 to 2060 in setenv.bat for PERSISTENT_SSL which is located at j2sdkee1.3.1\bin and it worked�
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic