wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes problem to start the J2EE server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "problem to start the J2EE server." Watch "problem to start the J2EE server." New topic
Author

problem to start the J2EE server.

Zhou Xiao
Greenhorn

Joined: Jan 07, 2006
Posts: 27
When I start the J2EE server, a exception is thrown. we can solve this problem by using j2sdk 1.4.2_10 instaed of j2sdk 1.5

Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 16 21:33:36 GMT 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:\j2sdkee1.3.1\lib\j2ee.jar;c:\java\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)
[ February 16, 2006: Message edited by: Zhou Xiao ]

Would be an SCBCD
MI Mohammed
Ranch Hand

Joined: Feb 16, 2005
Posts: 146
From the error message, your are using the 5.0 jre. So add the full i.4 jre directory path to your classpath.So that will be your default java runtime.
After this, restart your j2ee -verbose to see the output.

Hope it helps


SCJA(Beta) SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCBCD 5.0 beta <br />The more practice we get, the better we are at the exams and in life in general. Pls join me at My DEN.
 
 
subject: problem to start the J2EE server.
 
Similar Threads
NoClassDefFoundError when starting J2EE Server
Head First EJB
Please help me start J2EE server.
Can't start the server-----please help!
RI Server startup error