anybody know why j2ee won't start ?
anybody know why j2ee won't start ?
port 1050 is not in use
these are the error messages
C:\>j2ee -verbose
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 ...
C:\>
[2310 byte] By [
JavaDen] at [2007-9-26 2:22:38]

HI,
Try by starting the server from the directory where your j2ee is stored. For Example:
c:\j2sdkee1.2.1\bin>j2ee -verbose.
Hope this will help you
If still facing the same problem please let me know.
Regards,
Anil.
Technical Support Engineer.
> HI,
> Try by starting the server from the directory where
> re your j2ee is stored. For Example:
>
> c:\j2sdkee1.2.1\bin>j2ee -verbose.
>
> Hope this will help you
> If still facing the same problem please let me know.
>
> Regards,
> Anil.
> Technical Support Engineer.
Hey Anil,
Can you be more specific? I mean.. it looks like lotz of people seem to have this problem.. and I am one of em. This error comes and goes.. sometime it works and sometime it won't.. If you can explain why this is happening with little more detail.. I will appreciate
Hi Iam having the similar problem and i started fromc:\j2ee1.3.1\bin and given the command j2ee -verbose and i have also set the class paths the j2ee.jar etc. Still i am getting the problem. help me in this regard
I was experiencing the same problem. The j2ee server will not work with any jdk version. I had j2sdk ver 1.3.1_06, I have uninstalled that jdk and installed j2sdk ver 1.4.0_03. This had solved my problem. Just verify that your JAVA_HOME and J2EE_HOME and CLASSPATH variables are
set up correctly. Also, you might need to modify your JAVA_HOME variable
after you install ver 1.4.0_03.
> I was experiencing the same problem. The j2ee server
> will not work with any jdk version. I had j2sdk ver
> 1.3.1_06, I have uninstalled that jdk and installed
> j2sdk ver 1.4.0_03. This had solved my problem. Just
> verify that your JAVA_HOME and J2EE_HOME and CLASSPATH
> variables are
> set up correctly. Also, you might need to modify your
> JAVA_HOME variable
> after you install ver 1.4.0_03.
Just two follow-up questions. Would you be able to give more information on how to correctly set up the CLASSPATH with regard to J2EE? Is this the environment variable (as in Windows 2000) or the -classpath option? (For example, does the environment variable have to contain the path to any specific bin or class folders...)
Thanks!
Looks like you have a port conflict.
("TCP/IP ports in use by another process")
First, you may already have an instance of the J2EE server running that is using the port...Check your running processes to verify this.
Second, do you have Outlook (or similar programs, such as MS proxy or Eudora client software) running ?
There are also other software, like Norton Anti-Virus Auto-Protect Service that will grab the port.
Third, if all else failed, then try this :
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
The trick is to try modifing 1060 to something else.
Do a "netstat /a" .
If it shows that port 1060 in use, change
1060 to 2060 for example.
First,I think,you should ensure that the fire-wall has been turned off.Then you should check if you have removed the orb.properties int the java_home\jre\lib.
Thanks! Turning off the firewall appears to have done the trick (at least for me on Windows 2000).
But is there any way to run the j2ee server without disabling the firewall? I am just using the server for learning purposes, but ideally I would like to know how the firewall and the j2ee server can coexist, if they can.
Thanks,
javahombre
siri tried as u suggested like trying c:\j2sdkee1.3.1\bin>j2ee -verbose in the where my j2ee is stored. but still the problem is not solvedplease help me
Hi Iam having the similar problem and i started fromc:\j2ee1.3.1\bin and given the command j2ee -verbose and i have also set the class paths the j2ee.jar etc. Still i am getting the problem. help me in this regard
Looks this is a problem most of the people are facing. I am trying to give a solution that should be good for everyone. I am running J2EE 1.2 on my machine successfully. Follow these steps and i am sure that u too will run it.
All settings here are as per my machine. One needs to modify according to his/her machine.
1) Install J2SE 1.4.x
2) Install J2EE 1.3
3) Set JAVA_HOME = c:\javasoft\j2se
3) Set J2EE_HOME = c:\javasoft\j2ee
4) Set path = .;%JAVA_HOME%\bin;%J2EE_HOME%\bin;
5) Set Classpath = .;%JAVA_HOME%\lib\tools.jar;%J2EE_HOME%\lib\j2ee.jar;%JAVA_HOME%\jre\lib\rt.jar;
Once u have done this much... try verifying the same on command line by tryping java(enter) and javac(enter) and also to verify the correct installation of J2EE go to c:\javasoft\j2ee\bin and type j2ee.
If everything is correct this is what you should get to see when u type j2ee
J2EE server listen port: 1050
Redirecting the output and error streams to the following files:
c:\javasoft\j2ee\logs\sdg1007grcu\j2ee\j2ee\system.out
c:\javasoft\j2ee\logs\sdg1007grcu\j2ee\j2ee\system.err
J2EE server startup complete.
The default web server is running on port 8000, the secure webserver is on port 7000. Verify the installation by invoking http://localhost:8000 and https://localhost:7000
It worked for me.
On using j2ee -verbose option this is what you should get to see
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSourc
e@1d88db7
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
J2EE server startup complete.
