This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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
Sun Certified Programmer on the Java 2 Platform
Craig Berry
Author
Greenhorn
Joined: Aug 02, 2001
Posts: 25
posted
0
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
Craig Berry<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/1861005083/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional EJB</a>
Tom Ben
Ranch Hand
Joined: Aug 17, 2001
Posts: 109
posted
0
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
ruilin yang
Ranch Hand
Joined: Feb 25, 2001
Posts: 334
posted
0
J2EE server worked for me successfully. I did not find that error.
faisal mahmood
Ranch Hand
Joined: Nov 30, 2000
Posts: 349
posted
0
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
Joined: Aug 17, 2001
Posts: 109
posted
0
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
Manisha S C
Greenhorn
Joined: Oct 10, 2001
Posts: 2
posted
0
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
Conor D'Arcy
Greenhorn
Joined: Jul 16, 2002
Posts: 1
posted
0
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
Goitom Tesfaye
Greenhorn
Joined: Mar 19, 2004
Posts: 1
posted
0
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�
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.