J2EE server throws exception as it starts up

I just installed j2eesdkv1.4 on Windows 2000 and tried to start the server with command j2ee -verbose. THe server throws an exception:
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
at com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:
253)
at com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202
at com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.j
ava:445)
at com.sun.enterprise.iiop.POAEJBORB.setPersistentServerPort(POAEJBORB.j
ava:418)
at com.sun.enterprise.iiop.POAProtocolMgr.setPersistentServerPort(POAPro
tocolMgr.java:147)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:201)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
J2EE server fatal error
java.lang.RuntimeException:
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:334)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
at com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:
253)
at com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202
at com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.j
ava:445)
at com.sun.enterprise.iiop.POAEJBORB.setPersistentServerPort(POAEJBORB.j
Could somebody let me know what I need to do to get past this problem?

hi friends
i also have the same problem while starting j2ee1.4 server
and Change the property value of "orb.port" in the
%j2ee_home%\config\server-config.xml from 1050 to 1051
but the problem still remain there
plz help me
naveen

Similar Messages

  • J2EE server gives error when i start it.

    Hi, I am Fahad. I installed j2sdkee in the directory c:\javalanguage\j2ee\j2sdkee1.3 and j2sdk at
    c:\javalanguage\jdk1.3
    I am using the latest version of j2sdkee produced by sun and jdk1.3
    I have set the JAVA_HOME and J2EE_HOME path as prescribed by the sun.
    My platform is Windows2000 professional.
    When I start the server writing j2ee it gives me the following list of errors and the server doesnot start.
    c:\javalanguage\j2ee\j2sdkee1.3\bin>j2ee
    No local string for j2ee.listenPort
    J2EE server listen port: 1050
    No local string for enterprise.log.logging.serverversion.started
    No local string for enterprise.log.using.vm.name.version.from
    No local string for enterprise.log.vm's.classpath
    No local string for enterprise.log.j2ee.homedirectory
    No local string for enterprise.log.loggin.serverversion.started
    No local string for enterprise.log.using.vm.name.version.from
    No local string for enterprise.log.vm's.classpath
    No local string for enterprise.log.j2ee.homedirectory
    Redirecting the output and the error stream to the following files:
    c:\javalanguage\j2ee\j2sdkee1.3\logs\fahad\j2ee\j2ee\system.out
    c:\javalanguage\j2ee\j2sdkee1.3\logs\fahad\j2ee\j2ee\system.err
    c:\javalanguage\j2ee\j2sdkee1.3\bin>
    I am very tense and trying to start it since two days. Can anybody help me and explain what's wrong with that. thanks
    Fahad Ahmed

    Hi fahad !
    i know this is common problem when u put j2ee.jar from ee sdk to ur local jdk extension ...now wht u have to is ...remove j2ee.jar from ur jdk's extension and restart the system..then simply start jdkee again .. i m sure no error will be waiting for u :)
    Truly,
    siddiquiHashim
    smartSolutions

  • Delete & recreated SOA managed server - throws exception

    Hi,
    I have a weblogic admin server and soa,osb managed servers running in other machines.
    From weblogic console, I deleted the SOA managed server and created it again. I have lot of deployments and in targets, I added the newly created soa server for only one deployment 'usermessagingserver'.
    When starting the soa server, I get
    <Nov 4, 2010 12:34:24 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Nov 4, 2010 12:34:25 PM CST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'usermessagingserver' due to error weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.sdp.messaging, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false], [Extension-Name: oracle.rules, exact-match: false], [Extension-Name: adf.oracle.domain, exact-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.sdp.messaging, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false], [Extension-Name: oracle.rules, exact-match: false], [Extension-Name: adf.oracle.domain, exact-match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. see log file for complete stacktrace
    Is there a way I can add the newly created soa server in targets for all the deployments with ease?
    What is the resolution for this exception?
    Is there a procedure to follow when deleting and creating managed server from console?
    When i add soa server in target0s for soa-infra, b2b ..... it is also failing with the same exception.
    Any help?
    Thanks in advance.
    Ganesh

    You have to make sure that the libraries,which are references by your application,
    are also targeted to the server.
    In the weblogic-application.xml file of your appllication these libraries are referenced due to
    for example the following entry:
    <library-ref>
            <library-name>oracle.sdp.messaging</library-name>
            <exact-match>false</exact-match>
    </library-ref>You can target the libraries by clicking on the library deployment in question, click on
    the targets tab and choose the servers to which you want to target the library.

  • Can't access SQL Server from a library [SMO Server throws exception]

    I have code that creates a SMO server object and then creates a set of tables in the target database. It works fine, if the code is in the main executable. If the code's in a library, it invariably throws an exception. The code's bog simple,
    SqlConnection connection = new SqlConnection(connectionStringTarget);
    Server server = new Server(new ServerConnection(connection));
    I can open the connection, so I know that there's nothing wonky there. (There's also the fact that it works if compiled into the exe.)
    Here's the error:
    Message: "Connection type is not valid."
    Source: "Microsoft.SqlServer.SqlEnum"
    Stack: "   at Microsoft.SqlServer.Management.Smo.ExecuteSql.InitConnection(Object con)\r\n   at Microsoft.SqlServer.Management.Smo.ExecuteSql..ctor(Object con)\r\n   at Microsoft.SqlServer.Management.Smo.ExecuteSql.GetServerVersion(Object con)\r\n   at Microsoft.SqlServer.Management.Smo.SqlServer.GetServerVersion(Object conn)\r\n   at Microsoft.SqlServer.Management.Smo.Environment.GetServerVersion(Urn urn, Object ci)\r\n   at Microsoft.SqlServer.Management.Smo.Environment.GetObjectsFromCache(Urn urn, Object ci)\r\n   at Microsoft.SqlServer.Management.Smo.Environment.GetData(Request req, Object ci)\r\n   at Microsoft.SqlServer.Management.Smo.Enumerator.GetData(Object connectionInfo, Request request)\r\n   at Microsoft.SqlServer.Management.Smo.Enumerator.Process(Object connectionInfo, Request request)"
    Target: {Void InitConnection(System.Object)}
    I'm developing using Visual Studio 2008, on Windows XP. The database that I'm trying to connect to is SQL Server 2005, and I'm pretty sure that it's current on its patches. I haven't been able to find any help on the "connection type is not valid" error, or why it doesn't work in a library. Any pointers would be appreciated.

    I received the same error message when using the following code:
    using System.Data.SqlClient;  
    using Microsoft.SqlServer.Management.Smo;  
    using Microsoft.SqlServer.Management.Common;  
    sqlConnection = new SqlConnection(DatabaseConnectionString);  
    ServerConnection serverConnection = new ServerConnection(sqlConnection);  
    svr = new Microsoft.SqlServer.Management.Smo.Server(serverConnection);  
    db = svr.Databases["master"]; 
    The "Connection type is not valid" exception would be thrown when trying to execute the last line of code above. In my case, the problem turned out to be with the references I had added to my project. I was using the following references in my project:
    Microsoft.SqlServer.ConnectionInfo  
    Microsoft.SqlServer.Smo  
    Microsoft.SqlServer.SmoEnum  
    Microsoft.SqlServer.SqlEnum 
    On closer inspection I found that I had inadvertently added version 10.0.0.0 of Microsoft.SqlServer.ConnectionInfo instead of version 9.0.242.0. The references for Microsoft.SqlServer.Smo, Microsoft.SqlServer.SmoEnum and Microsoft.SqlServer.SqlEnum were all using version 9.0.242.0. After removing version 10.0.0.0 of Microsoft.SqlServer.ConnectionInfo and replacing it with a reference to version 9.0.242.0 everything worked fine.
    For other people also experiencing this issue I would recommend checking the properties of the Microsoft.SqlServer.* references in your project to make sure they all have matching version numbers.

  • Server throwing Exception as showjobidnull once i try to run reports

    oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://isc9l:8888/reports/rwservlet/showjobidnull

    This is a dedicated forum for Sun WebServer. You may post your question in Tomcat. If you use our WebServer7 for your deployment, you may bring the case here.

  • When starting J2EE server .....

    I have installed j2sdk 1.4 & j2sdkee1.3 on Windows XP. I have set Environment variables.
    When I start j2ee server
    COMMAN PROMPT SAYS
    C:\>j2ee
    Warning: This J2EE SDK release has only been tested on J2SE v1.3
    J2EE server listen port: 1050
    Redirecting the output and error streams to the following files:
    c:\j2sdkee1.3\logs\home\j2ee\j2ee\system.out
    c:\j2sdkee1.3\logs\home\j2ee\j2ee\system.err
    Exception in thread "main"
    C:\>
    SYSTEM.ERR shows
    Logging for J2EE Server Version: 1.3-b16 started at: Wed Apr 07 16:03:55 GMT+05:30 2004..
    Using the Java HotSpot(TM) Client VM and the version number 1.4.0 from Sun Microsystems Inc..
    VM is using the classpath: c:\j2sdkee1.3\lib\system\cloudscape.jar;c:\j2sdkee1.3\lib\system\tools.jar;c:\j2sdkee1.3\lib\cloudscape\RmiJdbc.jar;c:\j2sdkee1.3\lib\cloudscape\client.jar;c:\j2sdkee1.3\lib\classes;c:\j2sdkee1.3\classes;c:\j2sdkee1.3\lib\j2ee.jar;c:\j2sdkee1.3\lib\locale;c:\j2sdk1.4.0\jre\lib\rt.jar;c:\j2sdk1.4.0\lib\tools.jar;.;;c:\j2sdkee1.3\lib\jhall.jar .
    J2EE Home Directory has been set to: c:\j2sdkee1.3.
    java.lang.NoSuchMethodError: loadClass0
         at com.sun.corba.ee.internal.util.JDKClassLoader.specialLoadClass(Native Method)
         at com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoader.java:58)
         at com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:181)
         at com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:84)
         at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.loadClass(Util.java:392)
         at javax.rmi.CORBA.Util.loadClass(Util.java:233)
         at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:179)
         at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:58)
         at com.sun.enterprise.server.J2EEServer.createActivationObjects(../../src/share/com/sun/enterprise/server/J2EEServer.java:397)
         at com.sun.enterprise.server.J2EEServer.run(../../src/share/com/sun/enterprise/server/J2EEServer.java:227)
         at com.sun.enterprise.server.J2EEServer.main(../../src/share/com/sun/enterprise/server/J2EEServer.java:901)
    SYSTEM.OUT shows
    Logging for J2EE Server Version: 1.3-b16 started at: Wed Apr 07 16:03:55 GMT+05:30 2004..
    Using the Java HotSpot(TM) Client VM and the version number 1.4.0 from Sun Microsystems Inc..
    VM is using the classpath: c:\j2sdkee1.3\lib\system\cloudscape.jar;c:\j2sdkee1.3\lib\system\tools.jar;c:\j2sdkee1.3\lib\cloudscape\RmiJdbc.jar;c:\j2sdkee1.3\lib\cloudscape\client.jar;c:\j2sdkee1.3\lib\classes;c:\j2sdkee1.3\classes;c:\j2sdkee1.3\lib\j2ee.jar;c:\j2sdkee1.3\lib\locale;c:\j2sdk1.4.0\jre\lib\rt.jar;c:\j2sdk1.4.0\lib\tools.jar;.;;c:\j2sdkee1.3\lib\jhall.jar .
    J2EE Home Directory has been set to: c:\j2sdkee1.3.
    Naming service started:1050
    I tried changing the port number from 1050 to 10590 (as shown in Sun site) but didn't help. Same problem.
    One more thing, can this problem be b'coz of "Warning: This J2EE SDK release has only been tested on J2SE v1.3" this starting line on start of server.
    Can anyone tell me, y am I facing this problem and how to solve it. Other applications like deploytool, cloudscape r running fine. I didn't try others.
    Looking for help as soon as possible
    Thanks
    Trupti

    You may want to try and use J2SE 1.3 instead of J2SE 1.4. This may alleviate your issue.

  • Com.sap.mw.jco.JCO$Exception starting the J2EE server 620

    We are using J2EE 620 pl26, with the latest JCO, but often trying to acces the J2EE services like Mobile Engine Webconsole 21 or the WebEnabled Sapconsole 640 we recive the message:
    'Dispatche runningbut no server connected'.
    The J2EE dispatcher and server are started at Sap startup. Just after that time the J2EE is working fine, but after some time the J2EE server get down.
    We found this message into the J2EE console_logs:
    "RFCEngine: Server startup error, stopping "SAPProfile:F:\usr\sap\CAM\SYS\profile\CAM_DVEBMGS00_itmif089" :
    com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Fri Oct 15 09:58:20 CEST 2004.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 2 seconds.
    Could not establish the lcom accepted connection: lcomListenCreate failed with rc 9"
    We do not find any Oss notes for that.
    Any advise is wellcome.
    Regards

    Hi Mauro,
    normally when you apply a new SAP Kernel a frfclib.sar file is delivered. This frfclib file need to be copied to the J2EE directory /os_libs and need to be extracted there. This frfclib version must always match to the SAP Kernel version.
    Ciao
    tc

  • J2EE server does not start during installation

    Hi,
    I am installing WebAS JAVA 640 (NW04 SR1) on a Windows 2003/MSSQL server. I am using JAVA SDK 1.4.2_9. The installation stops at step 24/25 whereby the installer waits for the J2EE engine to start. After making 3 attempts to start the J2EE server, the installation process just hangs and I have to Cancel the installation.
    BTW, I am specifying a heap size of 1024 MB and using the "Database Only" option as UME data store during installation.
    Having checked the trace and log files, it seems the UME service fails to start, throws an exception and the message "the start of a core service failed, Web AS will not start".
    According to the information available  <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/20/361941edd5ef23e10000000a155106/content.htm">here</a>, I have checked the settings and it seems that option 2, <b>"User or group data is missing"</b> is causing the problem since database content of UME is missing. I have tried selecting entries from table UME_STRINGS but this table is empty.
    Now, the same link says that I should login to UME web application as SAP* but the problem is that without the J2EE engine starting up, I cannot login and create missing users/groups.
    Any ideas???
    Regards
    Shehryar

    Thanks to all who replied. I have actually tried all options suggested like waiting for retries until the box appears, trying to manually start the server, and reducing heap size. None worked for me. For your information, I have a 2.4 GHz machine with 4GB RAM so I think heap size should not be an issue. I checked SAP Note regarding heap size issues in Win 2003 but that does not seem to apply in my case since my system does not behave abnormally with JVM settings.
    Thanks again and I'll give it another shot.
    Regards
    Shehryar

  • Error in Starting J2EE server

    Hi,
    This is what I get when I start j2ee -verbose.
    I am using JDK1.3 and J2EESDK1.3.1
    Any Help..
    Thanx
    J2EE server listen port: 9999
    Naming service started:9999
    Exception in thread "main" java.lang.NoSuchMethodError
    at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.ja
    va:223)
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178
    at javax.rmi.CORBA.Util.writeAny(Util.java:80)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.rebind(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(NamingManagerImpl.java:192)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:149)
    at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
    at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.java:473)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    ************************************************************************

    you have to use jdk1.3.1_02 (03)

  • ERROR WHILE STARTING J2EE SERVER IN COMMAND PROMPT

    C:\j2sdkee1.3.1\bin>j2ee -verbose
    J2EE server listen port: 1050
    Naming service started:1050
    Exception in thread "main" java.lang.NoSuchMethodError
    at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.java:223)
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178)
    at javax.rmi.CORBA.Util.writeAny(Util.java:80)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.rebind(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(NamingManagerImpl.java:192)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:149)
    at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
    at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.java:473)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
    ANY DETAILS POST
    REGARDS
    VENKAT

    I had the same problem overhere.
    If you would have taken the time to read some topics on this forum you would have found dozens of others having this problem like
    http://forum.java.sun.com/thread.jsp?forum=136&thread=280211
    Which gave the answer for me
    That was: install the jdk141 and UNDEFINE any classpath and cpath in you environment setting.
    HTH
    Xiffy

  • 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 ...

  • Error when starting J2EE server

    I can't start my J2EE server, when I type "j2ee verbose" on windows console, it showed an error like this :
    J2EE server listen port: 1050
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable
         at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
         at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
         at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
         at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
         at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(TransientNameService.java:70)
         at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    I used J2EE 1.3.1 and JDK 1.5.0. I also have set an environment variable like shown below :
    JAVA_HOME=C:\jdk1.5.0
    J2EE_HOME=C:\j2sdkee1.3.1
    PATH=%JAVA_HOME%\bin;%J2EE_HOME%\bin
    CLASSPATH=%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
    all that env. variable have been set in System Properties through control panel in my windows. Plz help me if there anything wrong with my setting or there are another problems that I didn't noticed before. Thank you.
    Irfan R.

    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 while starting NW server and j2ee server is getting stopped.

    Hi,
    I am working in NW04s. It contains ABAP sp5 and java sp9 versions. The server was working find till ten days back. After the gap of ten days, when i started to work on this SAP system, i was not able to start the j2ee server. During the startup of the server itself, j2ee server is getting stopped and dispatcher also. Following is the error bunch I got in trace. If any one has any idea about this, please reply this soon.
    [EXCEPTION]
    #1#com.sap.engine.frame.ServiceException: <Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='UME initialization failed.', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key UME initialization failed.
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:372)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=garden SYSNR=00 GWHOST=garden GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       connection to partner '15.70.176.191:sapgw00' broken
    TIME        Mon Nov 13 12:45:30 2006
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -6
    MODULE      nixxi.cpp
    LINE        4207
    DETAIL      NiIRead
    SYSTEM CALL recv
    ERRNO       10054
    ERRNO TEXT  WSAECONNRESET: Connection reset by peer
    COUNTER     4
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:178)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:356)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:156)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:109)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:56)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:266)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:279)
         ... 6 more
    #1.5#000E7FFD8B5D001D00000011000008540004221BAAB8047C#1163402130490#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_54##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.#

    > ceException: Connect to SAP gateway failed
    > Connect_PM  TYPE=A ASHOST=garden SYSNR=00
    > GWHOST=garden GWSERV=sapgw00 PCS=1
    >
    > LOCATION    CPIC (TCP/IP) on local host with Unicode
    > ERROR       connection to partner
    > '15.70.176.191:sapgw00' broken
    You can ping this machine from your portal-nodes and you can connect to the port "sapgw00" (should be 3300) ?
    > ##0#0#Fatal#1#/System/Server#Plain###Critical
    > shutdown was invoked. Reason is: Core service
    > com.sap.security.core.ume.service failed. J2EE Engine
    > cannot be started.#
    This is the reason why your j2ee-server stops - the portal can't connect to the ume. What did you configured as the ume - the portal database, a ldap-server or a r3-system ?
    Regards
    Norman

  • J2ee server Exception in thread Main java.lang.OutOfMemoryError

    hallo
    i need your help
    first my java j2ee and jdk
    j2ee j2sdkee1.3.1
    jdk j2sdk 1.4
    i nedd the server for jms.
    when i started the server with j2ee -verbose
    i get the error message:
    Starting web service at port: 8000
    Exception in thread "Main" java.lang.OutOfMemoryError
    what can i do to get out off this error message and starting the server normal. please help me to solve the problem!!!
    i read in this forum about -Xms und Xmx but this Commands don't go on my system.
    thx for help!!!

    Hi Warren,
    Still I am not clear with your question. But generally this out of memoryspace error can be rectified by changing the properties which comes in the menubar of your command prompt. Then increasing the virtual memory over there. I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • 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.

Maybe you are looking for