Error starting J2EE server

I have recently installed the J2EE SDK 1.3.1 and J2SE SDK 1.4.1_02. Upon starting the j2ee server (j2ee -verbose), get the following error message.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:175)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Caused by: java.lang.NullPointerException
at java.net.InetAddress.cacheAddress(InetAddress.java:648)
at java.net.InetAddress.cacheAddress(InetAddress.java:633)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1016)
at java.net.InetAddress.getLocalHost(InetAddress.java:1125)
at com.sun.enterprise.util.Utility.getLocalHost(Utility.java:56)
at com.sun.enterprise.repository.ConfigurationImpl.<clinit>(ConfigurationImpl.java:18)
... 2 more
I am running Linux 7.2, Apache 1.3.27, Tomcat 4.1.24., and have two (2) NICs.
Any ideas on what might cause this issue?

I believe I got the server working. The system may have had an issue recognizing the environmental variables being set in the .bash_profile and the setconfig.sh.
If anyone could clarify the errors above, I would greatly appreciate the information.
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/EstoreDB, 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.RemoteXaDataSource@1c208b0
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
>
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
>
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , 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.

Similar Messages

  • Error starting J2EE server in debug mode

    I am trying to start the Sun 1.4 application server in a debug mode. I get an error
    err:FATAL ERROR in native method: No transports initialized
    : No such file or directory
    Error [2] in bind() call!
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    The setting in config.xml file is:-
    debug-enabled="true" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
    Any help will be appreciated.
    Thanks,
    Milind

    I changed the port number and it worked. Not sure why port 1044 as specified in the Sun documentation doesnot work.
    Milind

  • Error when starting j2ee server, please help

    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system. When I started JMS provider by "j2ee -verbose", I got an exception saying "TCP/IP ports(1050) in use by another process". Then I tried other port numbers like 1051 and 1061, the same error kept coming. What is the best port number I should use or whatelse I should do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee -verbose
    J2EE server listen port: 1081
    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:140)
    at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:488)
    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:110)
    at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:128)
    at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:21)
    at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:2421)
    at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2356)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:193)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    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:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    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:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    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:350)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    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 ...
    ****************************************************************

    Hello.,
    Did you get a resolution to this error ? I get the same error, odd thing is that i had it working for several days and now it won;t start ?
    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system.
    When I started JMS provider by "j2ee -verbose", I got
    an exception saying "TCP/IP ports(1050) in use by
    another process". Then I tried other port numbers like
    1051 and 1061, the same error kept coming. What is
    the best port number I should use or whatelse I should
    do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee
    -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697
    completed: No
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(
    IOPImpl.java:256)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIO
    Impl.java:205)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(G
    OPImpl.java:140)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(
    OAORB.java:488)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(PO
    Impl.java:154)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.ja
    a:112)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB
    java:110)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.
    ava:128)
    at
    at
    at
    t
    com.sun.corba.ee.internal.core.Future.evaluate(Future.j
    va:21)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolveInitialRefer
    nce(ORB.java:2421)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolve_initial_ref
    rences(ORB.java:2356)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :193)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :350)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    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 ...

  • Plz help error while starting j2ee server

    I 'm working on Win xp professional operating system.
    While starting the j2ee server from command line
    with the command
    j2ee -verbose
    earlier it was working perfectly but from 2 days its not starting even...even i have reinstalled the j2ee software ....i think there is some internal problem which is not related to setting up the enviornment variables and incorrectly typing of command... plz help me as soon as possible.. i wil be thankful ....
    I am getting error message as follows
    C:\Documents and Settings\Sunita Khilnaney>j2ee
    java.io.IOException: The system cannot find the path specified
    at java.io.Win32FileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:690)
    at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(C
    onfigurationImpl.java:92)
    at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationI
    mpl.java:45)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:170)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server listen port: 1050
    java.io.FileNotFoundException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (T
    he system cannot find the path specified)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
    at com.sun.enterprise.server.J2EEServer.redirectStreams(J2EEServer.java:
    534)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:209)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.io.FileNotFoundException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (T
    he system cannot find the path specified)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
    at com.sun.enterprise.server.J2EEServer.redirectStreams(J2EEServer.java:
    534)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:209)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (The
    system cannot find the path specified)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:350)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server reported the following error: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\sy
    stem.out (The system cannot find the path specified)
    Error executing J2EE server ...
    C:\Documents and Settings\Sunita Khilnaney>

    Hello sunita,
    do one thing put yoor j2ee server installation in a folder whose name doesn't contain space.
    As you can see there ia a space btwn Documents & and. btwn Sunita & Khilnaney
    C:\Documents and Settings\Sunita Khilnaney>j2ee
    put it in folder like c:\SunitaKhilnaney>j2ee or c:\Sunita_Khilnaney>j2ee
    I hope it'll solve your pblm.
    Thanks,
    Dinesh

  • Error at starting j2ee server (newbie)

    Dear all,
    I am not able to start j2ee server successfully. I keep getting the following error when I try to start the server by typing j2ee:
    C:\Documents and Settings\ali>j2ee
    J2EE server listen port: 1050
    Redirecting the output and error streams to the following files:
    C:\j2sdkee1.3.1\logs\nofear\j2ee\j2ee\system.out
    C:\j2sdkee1.3.1\logs\nofear\j2ee\j2ee\system.err
    Exception in thread "main"
    I have j2sdkee1.3.1 and jdk1.3.0_05 installed in my laptop with the following settings:
    User variable:
    PATH=C:\jdk1.3.0_05\bin;C:\j2sdkee1.3.1\bin;C:\Program Files\Java\jre1.6.0_02\bin;C:\Program Files\Java\jdk1.6.0_02\bin; C:\j2sdkee1.3.1\bin;
    CLASSPATH=.;C:\Program Files\Java\jre1.6.0_02\bin;C:\jdk1.3.0_05\bin;C:\j2sdkee1.3.1\bin;
    System variable:
    PATH=D:\MikTex\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.6.0_02\bin;C:\PROGRA~1\CINDER~1\CINDER~2\Program;C:\Program Files\Java\jre1.6.0_02\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools;C:\WINDOWS\system32\wbem;C:\Program Files\ImageConverter Plus;C:\Program Files\Samsung\Samsung PC Studio 3\;C:\Program Files\QuickTime\QTSystem\;C:\jdk1.3.0_05\bin;C:\j2sdkee1.3.1\bin;
    CLASSPATH= .;C:\jdk1.3.0_05\bin;C:\Program Files\Java\jdk1.6.0_02\bin; C:\Program Files\Java\jre1.6.2_02\bin;C:\Program Files\Java\jdk1.6.0_02\bin;C:\Program Files\Java\jre1.6.0_05\lib\ext\QTJava.zip;C:\j2sdkee1.3.1\bin;C:\j2sdkee1.3.1;
    Java_home= C:\jdk1.3.0_05
    J2ee_home= C:\j2sdkee1.3.1
    Could you please tell me why as I am not able to pass this stage without help?
    Kind regards,
    Al

    Modify your JAVA_HOME to C:\Program%20%Files\j2sdk1.4.2_08
    as spaces are not allowed. Most probably it will work.
    I have installed J2EE SDK 1.3 on my machine. I have
    set
    J2EE_HOME=C:\j2sdkee1.3.1
    JAVA_HOME=C:\Program Files\j2sdk1.4.2_08
    and
    PATH=C:\j2sdkee1.3.1\bin
    CLASSPATH
    =%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
    environmental variables. All the four path seem to
    OK. But when I'm trying to start application server
    using j2ee -verbose command on my dos prompt I'm
    getting following error
    'C:\Program' is not recognized as an internal or
    external command, operable program or batch file.
    I tried j2ee -verbose command from C: prompt as well
    as from C:\j2sdkee1.3.1\bin prompt in which j2ee
    batch file is present.
    Please help/guide on above issue

  • Error message while starting J2EE Server!

    Hi!
    I get this error message when i try to start J2EE server:
    c:\j2ee -verbose
    Exception in thread "main" java.lang.NoSuchMethodError
    at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImp
    l.java:1256)
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(Sh
    utdownUtilDelegate.java:223)
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
    UtilDelegate.java:178)
    at javax.rmi.CORBA.Util.writeAny(Util.java:80)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.re
    bind(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188
    at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202
    at javax.naming.InitialContext.rebind(InitialContext.java:370)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
    erImpl.java:192)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
    erImpl.java:149)
    at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
    at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.ja
    va:473)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    Can someone tell me why?
    Thanks

    You need jsdk 1.3.1_03 or above to run j2ee 1.3.1 Any other version will give you this error.

  • SOS!!!starting j2EE server error

    Hi,everyone.
    I'm using Sun J2EE Server 1.3.1.I met a trouble with it.Now,when i try to start it,it will appear many error message:
    J2EE server listen port: 1050
    java.lang.RuntimeException: Could not initialize j2ee server. Possible cause cou
    ld be another instance of the server already running.
    at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
    r.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 cou
    ld be another instance of the server already running.
    at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
    r.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 cou
    ld 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. Poss
    ible cause could be another instance of the server already running.
    Error executing J2EE server ...
    I donno why.Plz help me.
    Regards,
    Albert Lee

    Solution to Problem: ANother JNDI service is running on the port 1050. It may be Websphere Application server, Weblogic, Websphere test env. or any other service. Stop if any of these service is running and restart your m/c. If still it doesn't work then change the port no. in orb.properties file in J2EEHOME\config.

  • Error starting HTTP-Server: Address in use: JVM_Bind

    I installed J2ee version of Oracle9iAS R2 for windows. When I start my application server, I always get the error "Error starting HTTP-Server: Address in use: JVM_Bind". In the previous version, if I met this message, I can change the port number in "http-web-site.xml", but now, no matter what port number I changed, I always get this error message.
    Could anybody please help me with this issue?
    Can Oracle provides a tool that can automatically free the port?
    Thanks, Jessie

    If you are getting this error while starting the Oracle9iAS by using the NT services or using command line (dcmctl) then there is a port conflict for the HTTP Server. You can go the EM Website and select HTTP Server ->Server properties and select the port# for the HTTP Server.
    OC4J is configured to listen for AJP requests only and the ports are dynamically assigned. The port ranges can be specified : OC4J Instance -> Server Properties
    regards
    Debu Panda
    Oracle

  • Error Executing J2EE server PLZ help

    Hi All
    Im using Windows 2003 professional J2SDK 1.3.0, J2SDKEE1.2.1
    Please help me in this...can't able to start the server.
    When I gave j2ee -verbose, it gave the following result.
    D:\>j2ee -verbose
    J2EE server Listen Port: = 1049
    org.omg.CORBA.INTERNAL: minor code: 1398079495 completed: No
    at com.sun.corba.ee.internal.iiop.Connection.getLocalHost(Connection.jav
    a:171)
    at com.sun.corba.ee.internal.corba.ORB.checkApplicationPropertyDefaults(
    ORB.java:514)
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:246)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:163)
    at org.omg.CORBA.ORB.init(ORB.java:329)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:149)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:62)
    at com.sun.enterprise.server.J2EEServer.createORB(J2EEServer.java:373)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:220)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)
    org.omg.CORBA.INTERNAL: minor code: 1398079495 completed: No
    at com.sun.corba.ee.internal.iiop.Connection.getLocalHost(Connection.jav
    a:171)
    at com.sun.corba.ee.internal.corba.ORB.checkApplicationPropertyDefaults(
    ORB.java:514)
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:246)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:163)
    at org.omg.CORBA.ORB.init(ORB.java:329)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:149)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:62)
    at com.sun.enterprise.util.ORBManager.getORBInitialPort(ORBManager.java:
    80)
    at com.sun.enterprise.server.J2EEServer.createORB(J2EEServer.java:375)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:220)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)
    org.omg.CORBA.INTERNAL: minor code: 1398079495 completed: No
    at com.sun.corba.ee.internal.iiop.Connection.getLocalHost(Connection.jav
    a:171)
    at com.sun.corba.ee.internal.corba.ORB.checkApplicationPropertyDefaults(
    ORB.java:514)
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:246)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:163)
    at org.omg.CORBA.ORB.init(ORB.java:329)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:149)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:62)
    at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:74)
    at com.sun.enterprise.server.J2EEServer.createORB(J2EEServer.java:377)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:220)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)
    java.lang.NullPointerException
    at com.sun.enterprise.iiop.POAProtocolMgr.<init>(POAProtocolMgr.java:84)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:237)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)
    java.lang.RuntimeException
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:348)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)
    Error executing J2EE server ...
    Then if i try to stop the server by j2ee -stop ....the following happens
    D:\>j2ee -stop
    org.omg.CORBA.INTERNAL: minor code: 1398079495 completed: No
    at com.sun.corba.ee.internal.iiop.Connection.getLocalHost(Connection.jav
    a:171)
    at com.sun.corba.ee.internal.corba.ORB.checkApplicationPropertyDefaults(
    ORB.java:514)
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:246)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:163)
    at org.omg.CORBA.ORB.init(ORB.java:329)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:149)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:62)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitC
    ontextFactory.java:36)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    55)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:178)
    at com.sun.enterprise.util.Utility.lookupObject(Utility.java:117)
    at com.sun.enterprise.server.J2EEServer.shutdown(J2EEServer.java:762)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:830)
    org.omg.CORBA.INTERNAL: minor code: 1398079495 completed: No
    at com.sun.corba.ee.internal.iiop.Connection.getLocalHost(Connection.jav
    a:171)
    at com.sun.corba.ee.internal.corba.ORB.checkApplicationPropertyDefaults(
    ORB.java:514)
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:246)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:163)
    at org.omg.CORBA.ORB.init(ORB.java:329)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:149)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:62)
    at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:74)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitC
    ontextFactory.java:37)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    55)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:178)
    at com.sun.enterprise.util.Utility.lookupObject(Utility.java:117)
    at com.sun.enterprise.server.J2EEServer.shutdown(J2EEServer.java:762)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:830)
    Unable to shutdown the J2EE server.
    D:\>
    Please help me in this regard ...
    Thanking you in advance..

    Please help me guys Im really waiting for the solutiion to the problem

  • Error executing J2EE server

    When I try to run the J2EE server, I get an error saying "ERROR executing J2EE server" with the following system.err file: Does anyone know what I need to do ? Thanks.
    Logging for J2EE Server Version: 1.3.1-b17 started at: Sat Nov 01 11:12:21 EST 2003..
    Using the Java HotSpot(TM) Client VM and the version number 1.4.2_01 from Sun Microsystems Inc..
    VM is using the classpath: C:\j2sdkee1.3.1\lib\system\cloudscape.jar;C:\j2sdkee1.3.1\lib\system\tools.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3.1\lib\cloudscape\cloudclient.jar;C:\j2sdkee1.3.1\lib\classes;C:\j2sdkee1.3.1\classes;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdkee1.3.1\lib\toolclasses;C:\j2sdkee1.3.1\lib\j2eetools.jar;C:\j2sdkee1.3.1\lib\locale;;C:\j2sdk1.4.2_01\lib\tools.jar;C:\j2sdkee1.3.1\lib\jhall.jar .
    J2EE Home Directory has been set to: C:\j2sdkee1.3.1.
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:176)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:68)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:70)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:641)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:583)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1007)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:690)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1088)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:981)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2425)
         at com.sun.enterprise.naming.SerialContextProviderImpl.initSerialContextProvider(SerialContextProviderImpl.java:37)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:233)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    java.rmi.RemoteException
         at com.sun.enterprise.naming.SerialContextProviderImpl.initSerialContextProvider(SerialContextProviderImpl.java:46)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:233)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    java.rmi.RemoteException
         at com.sun.enterprise.naming.SerialContextProviderImpl.initSerialContextProvider(SerialContextProviderImpl.java:46)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:233)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    java.lang.RuntimeException
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    Error executing J2EE server ...

    I found out that when I disable my anti-virus software that I was able to bringup the J2EE server. I am using J2sdk1.4.2_01 and J2sdkee1.3.1.

  • Error in J2EE SERVER

    Hi Experts,
    when i starting the j2ee server the error is comming but the visual administrator is working
    1))
    i found the error in
    E:\usr\sap\ECC\DVEBMGS01\j2ee\admin\logviewer-standalone\server
    #1.5#C000AC1F643C0000000001F1005E13AD0004398D9AD41970#1189180257606#com.sapmarkets.bam.jmxadapter.PatternValueDefinition##com.sapmarkets.bam.jmxadapter.PatternValueDefinition#######Thread[main,5,main]##0#0#Warning#1#/System/Server#Plain###Class com.sap.bc.proj.jst.JStartupFramework not found. Plase make sure jStartUp.jar is available.#
    and the SERVER IS NOTABLE TO START JAR FILES :jvmx.jar
    HOME:C:\j2sdk1.4.2_13
    3) THE LOCAL GATEWAY IS NOT CONNECTED
    please guide me the how to resolve this issue
    Thanks&Regards,
    Siva
    Message was edited by:
            siva naidu
    Message was edited by:
            siva naidu
    Message was edited by:
            siva naidu

    Hello Siva,
    When ever you start J2EE server it needs enough memory to start its processes.
    Just see no other processes are occupying memory.
    If you can restart the system once and start J2EE it will work fine.
    When it comes to J2EE processes not running it always boils down to not enough JVM. Kindly look into system so that it doesn't have too many processes starting when system comes up.
    See to it it has enough memory available to start JVM. What happens when you start Java is Jlaunch talks to instance.properties based on this file J2EE looks for several processes and services. Which needs enough memory.
    So I would request you to restart system once and see to kill the processes which are occupying too much of memory.
    Then Restart the Java this will work.
    Thanks & Regards
    Vivek

  • Can't start J2EE server

    I have installed Java 2 SDK, Enterprise Edition version 1.3 on Win NT server. Installation was successfull.
    While starting J2EE server, I am getting following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: COMPUTER\db\

    A few basic steps taken from http://java.sun.com/j2ee/sdk_1.3/install.html#win_soft
    Installing the Windows Bundle
    1. If you have installed a previous version of the J2EE SDK product, you must delete or un-install the previous version from your computer before proceeding with the new version.
    2. Set the environment variables.
    Before running the J2EE SDK, you must set these environment variables:
    J2EE_HOME - the directory where you installed this release.
    JAVA_HOME - the directory where the Java 2 SDK Standard Edition is installed.
    PATH - include the bin directory beneath the directory where you've installed this release.

  • Can't start J2ee server using j2sdkee1.3.1

    When i try to start j2ee server , it shows the following
    Error message.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Context
    at com.sun.enterprise.server.J2EEServer.<clinit>(J2EEServer.java:53)
    I have set all environment variables as follows
    set path=.;c:\jdk1.2.2\bin;c:\j2sdkee1.3.1\bin;
    set classpath=.c:\jdk1.2.2\lib;c:\j2sdkee1.3.1\lib\j2ee.jar
    set JAVA_HOME=c:\jdk1.2.2
    set J2EE_HOME=c:\j2sdkee1.3.
    pls kindly give a solution.

    Try rather using the 1.4 version available here: http://java.sun.com/j2ee/1.4/
    and use this dedicated forum: http://forum.java.sun.com/forum.jsp?forum=136
    -Alexis

  • Problem starting J2EE Server

    I installed J2EE on Windows NT. I am getting the following exceptions when I started J2EE Server....
    1. java.lang.NullPointerException at com.sun.enterprise.server.J2EEServer.....
    2. RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process....
    I tried to change the port no. from the default 1050 to 10500, but it didn't help.
    Any suggestions please?

    Since u r getting the TCP/IP port already in use error, u probably have some other service/server running on that port.Try the following steps:
    1) Start menu >> Control Panel >> Services
    2) See which services are running presently. In case u have any web server,Appln. server running. , stop them and then start J2EE again.
    But, I still think u r missing something in the classpath.

  • Problem starting j2ee server..any expert can help

    Posted this in the JMS Forum...
    Probably..I should ask people in this forum
    Anyone knows why I can't start the j2ee ..which I hope to use it as the JMS provider. I am trying to try the e.g. from JMS tutorial....
    But it seems that I can't start the j2ee in the first place 'cos error say that I have another instance running...(but I didn't start anything in the first place). How should I solve this?
    How could I stop the j2ee server....I tried the command
    j2ee -stop but cannot..
    Anyone can help?
    Thank u in advance
    AG
    G:\jmseg\simple>j2ee -verbose
    J2EE server listen port: 1050
    java.lang.RuntimeException: Could not initialize j2ee server. Possible cause cou
    ld be another instance of the server already running.
    at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
    r.java:134)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:227)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:918)
    java.lang.RuntimeException: Could not initialize j2ee server. Possible cause cou
    ld be another instance of the server already running.
    at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
    r.java:134)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:227)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:918)
    java.lang.RuntimeException: Could not initialize j2ee server. Possible cause cou
    ld be another instance of the server already running.
    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: Could not initialize j2ee server. Poss
    ible cause could be another instance of the server already running.
    Error executing J2EE server ...
    G:\jmseg\simple>

    Alex,
    I have also seen this problem on Win 2K and also Linux. It is not because some other instance of the RI is already running, but because some other application or OS service is using TCP port Number 1050.
    The J2EE RI does not depend on this port, however, there is a config file called orb.properties in the config subdirectory of your installation. In this file, you can change the port number to anything you like as long as it's free. I changed mine to 1051 and everything worked fine.
    Greets,
    Florian.

Maybe you are looking for