Problem starting j2ee server (new one)!

Please, someone help me - I have an assignment using j2ee!
I'm running XP and use jdk1.3.1.
When I try to start up the
j2ee server using j2sdkee1.3.1 I get this message:
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.crimson.jaxp.SAXParserFactoryImpl could not be instantiated: java.la
ng.SecurityException: sealing violation
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
141)
at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:270)
at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig
.java:731)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:82
3)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:224)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
345)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307
I would be terribly thankful if someone knew :)

I had the problem with starting server too.
error message :
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:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
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 ...
I didn't think my machine was running another process while I attempted to run j2ee server.
But I had installed WebObjects of Apple company.
That's the reason or something else was wrong.
I am very anticipate for your help.

Similar Messages

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

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

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

  • Problem starting j2ee RI

    I've got a problem starting j2ee RI. I've got a NumberFormatException
    Does anyone has an idee?
    j2ee -verbose
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:48)
    at java.lang.Long.parseLong(Long.java:323)
    at java.lang.Long.<init>(Long.java:559)
    at com.sun.enterprise.server.J2EEServer.readSecureSeed(J2EEServer.java:8
    49)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:157)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:48)
    at java.lang.Long.parseLong(Long.java:323)
    at java.lang.Long.<init>(Long.java:559)
    at com.sun.enterprise.server.J2EEServer.readSecureSeed(J2EEServer.java:8
    49)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:157)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    java.lang.RuntimeException: For input string: ""
    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: For input string: ""
    Error executing J2EE server ...

    It appears that there is a file that is @ $J2EE_HOME/lib/security/secure.seed that is corrupted or empty. THE RI doesn't check if the file is valid. The solution is to delete the file and allow the RI to recreate the file.

  • Starting j2ee server from a java Application

    Hi.
    I'm trying to start j2ee server by clicking a button in an application I'm developing. I don't know how to do it. I haven't found In the documentation some topic related. I look at the j2ee.bat but it just call a class named J2EEServer, and the API of this class is not in the API of the j2ee.
    Can you help me please??
    Thanks
    Maucho

    thanks!
    That was my first approach , and it works, but the problem is that I can't kill the process then, cause the method destroy() don't kill j2ee. Maybe it kills the j2ee.bat, but not the server itself. Maybe you know how to do it, I'll really appreciate it.
    Regards

  • Problems Starting Identity Server

    Greetings all,
    I'm attempting to get Identity Server installed and running under Web Server 6.0SP5.
    I've created and installed a war, set the waveset.home option on the JVM, I've imported the init.xml (MySQL DB) and ran through the Demo Org wizard. That all has gone fine until I restarted the web server to login (previoulsy showing the Import Exchange File page.)
    Now when the web server attempts to start up the servlet(s) I get this error:
    info: CORE3282: stdout: Constructing Startup Servlet...
    info: CORE3282: stdout: Initializing Startup Servlet...
    info: CORE3282: stdout: Defining system properties...
    info: CORE3282: stdout: StartupServlet: waveset.home already defined as /opt/SUNWwbsvr/https-spiega.web.pplsi.com/webapps/https-spiega.web.pplsi.com/idm/
    info: CORE3282: stdout: StartupServlet: Defining properties from web.xml
    info: CORE3282: stdout: Starting: Identity Server...
    warning: CORE3283: stderr: java.lang.NullPointerException
    warning: CORE3283: stderr: at org.mozilla.jss.crypto.PBEKeyGenParams.<init>(PBEKeyGenParams.java:67)
    warning: CORE3283: stderr: at org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.makePBEKeyGenParams(JSSSecretKeyFactorySpi.java:106)
    warning: CORE3283: stderr: at org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.engineGenerateSecret(JSSSecretKeyFactorySpi.java:147)
    warning: CORE3283: stderr: at javax.crypto.SecretKeyFactory.generateSecret(DashoA12275)
    warning: CORE3283: stderr: at com.waveset.util.CryptoUtil.generatePBEKey(CryptoUtil.java:196)
    warning: CORE3283: stderr: at com.waveset.util.Encryptor.generateKey(Encryptor.java:350)
    warning: CORE3283: stderr: at com.waveset.security.authn.ServerKeyStore.setKeyEncryptionKey(ServerKeyStore.java:393)
    warning: CORE3283: stderr: at com.waveset.security.authn.ServerKeyStore.startMeUp(ServerKeyStore.java:104)
    warning: CORE3283: stderr: at com.waveset.server.Server.init(Server.java:333)
    warning: CORE3283: stderr: at com.waveset.server.Server.start(Server.java:217)
    warning: CORE3283: stderr: at com.waveset.server.Server.getServer(Server.java:807)
    warning: CORE3283: stderr: at com.waveset.server.Server.getServer(Server.java:784)
    warning: CORE3283: stderr: at com.waveset.server.StartupServlet.startServer(StartupServlet.java:402)
    warning: CORE3283: stderr: at com.waveset.server.StartupServlet.init(StartupServlet.java:93)
    warning: CORE3283: stderr: at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    warning: CORE3283: stderr: at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    warning: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    warning: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    warning: CORE3283: stderr: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    warning: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    warning: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    warning: CORE3283: stderr: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    info: CORE3282: stdout: Problem starting Identity server: com.waveset.util.WavesetException:
    info: CORE3282: stdout: ==> java.lang.NullPointerException:
    info: CORE3282: stdout: ...Finished starting Startup Servlet
    I've downloaded the laters jss4.jar from mozilla and placed it in the $WSHOME/WEB-INF/lib directory and added it to the front of the JVM's class path.
    Any further suggestions. I really appreciate any help.
    Thanks!
    Jeremy

    Jeremy,
    What is the version of IDM you are trying to install/run? Also, what is "Web Server 6.0SP5"? Is that the Sun Web server?
    You may want to check if the version of IDM you are trying to install is supported on the version of web server you are installing on.
    ~Suvesh

  • 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

  • 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

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

  • When starting J2EE server PE8 on Linux

    When starting J2EE server PE8 on Linux Fedora Core 1, the following message is displayed:-
    "Unable to read system environment. No system environment will be used."
    1. Is there any side effect to the J2EE server PE8 performance or functionalities about this warning message?
    2. Is there any way to avoid this issuea in case it does have side effect?
    Regards,
    William

    I find libcliutil.so in $J2EE_HOME/lib and did the followings and got:-
    #> ldd libcliutil.so
    ldd: warning: you do not have execution permission for `./libcliutil.so'
    libpthread.so.0 => /lib/tls/libpthread.so.0 (0x008ad000)
    libdl.so.2 => /lib/libdl.so.2 (0x00782000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00433000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x00913000)
    libstdc++-libc6.2-2.so.3 => not found
    libm.so.6 => /lib/tls/libm.so.6 (0x0075e000)
    libc.so.6 => /lib/tls/libc.so.6 (0x00623000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0060b000)
    Can we infer that the warning message is displayed due to "libstdc++-libc6.2-2.so.3 => not found"?
    Regards,
    William

  • Cannot start J2EE server on Windows 2000 server

    Hi..
    I installed J2EE 1.3(beta) along with J2SE1.3 that comes with the Java Jump start CDs.
    The installation process went fine...I configured the environment variables but when I try to start the J2EE server from command prompt I get the following error.
    E:\>j2ee -verbose
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Context at com.sun.enterprise.server.J2EEServer.<clinit>(J2EEServer.java:59)
    The same error is encountered with other switches(stop, version etc.) of j2ee.
    There is no conflict of port numbers. Can anyone please guide me properly what I have done wrong in the installation process?
    Thanks

    Well...I removed the CLASSPATH variable all together and reinstalled J2SE 1.3 again(refreshed all the environment variables) and then started j2ee server....and it worked this time...
    Thanks alot...

  • Problem with J2EE server start

    hello,
    I install J2EE SDK sever and I want to start this. So I have typed this line:
    J2ee -verbose and I have this error:
    Logging for J2EE Server Version: 1.3.1-b17 started at: Wed Mar 29 15:24:15 CEST 2006..
    Using the Java HotSpot(TM) Client VM and the version number 1.5.0_06 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:\jdk1.5.0_06\lib\tools.jar;C:\j2sdkee1.3.1\lib\jhall.jar .
    J2EE Home Directory has been set to: C:\j2sdkee1.3.1.
    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 have the JDK 1.5.0_06 and the J2sdkee1.3.1.
    Have an idea what is the problem, and what I must modify in order to do working my server?
    thank you for your help
    Antitrust1982

    Hello
    I use this version because I try to execute the tutorial of JMS, but I can't working it. The version porpose are these one : http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/client.html#1025256
    Thank you for your help.

  • Problem in starting J2EE server, Syntax error in DOS

    OS: Windows98
    j2sdkee1.3
    jsdk1.3
    Hi, guys:
    I try to run the example of J2ee Tutorial sample code but I find that that the setenv.bat in j2sdkee1.3\bin has sytax error in MS DOS in the following lines
    set JAAS_OPTIONS=XXX=YYY
    set SSL_OPTIONS=XXX=YYY
    set LISTEN_OPTIONS=XXX=YYY
    I don't understand why they have such a problem. Didn't they even try to run J2ee server on Windows ? Can't believe such irresponsible development is from SUN.
    Can anyone help ? Thanks

    Hi, Guys:
    I found the answer base on my research and other's topic answers, especially thank Laughton Jackson.
    #1) Change setenv.bat
    ***********OLD*****************
    set JAAS_OPTIONS=-Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy
    set SSL_OPTIONS=-Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks
    set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
    set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m %SSL_OPTIONS% %JAAS_OPTIONS%
    change the above to
    **************NEW*****************
    set JAAS_OPTIONS=-Djava.security.auth.policy
    set JAAS_OPTIONS1=%J2EE_HOME%\lib\security\jaas.policy
    set SSL_OPTIONS=-Djavax.net.ssl.trustStore
    set SSL_OPTIONS1=%J2EE_HOME%\lib\security\cacerts.jks
    set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket
    set LISTEN_OPTIONS1=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
    set CLASSPATH=%CLASSPATH%;%CPATH%
    set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m
    Notice that we break those lines of the format
    set XX=YY=ZZ and add set CLASSPATH=%CLASSPATH%;%CPATH%. Those env variables look very confusing at first. Actually they are nothing but tools that the original person who wrote this script uses to saving his typing !
    #2 Change j2ee.bat
    ************OLD********************
    %JAVACMD% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %*
    Change the above to
    ************NEW********************
    %JAVACMD% %SSL_OPTIONS%=%SSL_OPTIONS1% %JAAS_OPTIONS%=%JAAS_OPTIONS1% %LISTEN_OPTIONS%=%LISTEN_OPTIONS1% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% com.sun.enterprise.server.J2EEServer %1 %2
    Notice that we changed "com.sun.enterprise.server.J2EEServer %*" to
    "com.sun.enterprise.server.J2EEServer %1 %2"
    Good luck
    Henry

Maybe you are looking for

  • Infoset Creation on Cubes/DSO, which is better?

    Hi all, Creation of infoset on cubes is better or creation on DSO's is better with respect to  query performance? I would like to use infoset on DSO(created based on view EKBE) and 0FIAP_O03. I am worried of the query performance. Please suggest. Pra

  • Need help in tunnig the query

    Experts, Plz help in tuning this query SELECT DECODE(WSH_DELIVERY_DETAILS.LOT_NUMBER,'5I27164/1U',1, TO_NUMBER(SUBSTR(WSH_DELIVERY_DETAILS.LOT_NUMBER, (LENGTH(WSH_DELIVERY_DETAILS.LOT_NUMBER) - INSTR(REVERSE(WSH_DELIVERY_DETAILS.LOT_NUMBER),'/') + 2)

  • Any Suggestions?

    I know you have seen tons of these questions from students, but mine is a bit different. I am not asking how to do the convertions, I am asking how to remove parens. I have partically done some of the paren removal, but as you can see from my output

  • Need help in combining two similair SQLs into one

    DB Version:10gR2 I need to combine the following two queries into one query and return the following three columns Unprocessed Quantity1,Unprocessed Quantity2, Total Uprocessed Cost Unprocessed Quantity1 can be determined using select t.ITEM, sum(t.Q

  • Is there an upgrade for using Photoshop CS 5 v12.1 x64 with Windows 8?

    I recently upgraded to a new PC with Wndows 8. I installed PS CS5 and some annoying glitches have popped up. Have others had problems and is there a fix available?