This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "problem to start the J2EE server." Watch "problem to start the J2EE server." New topic

problem to start the J2EE server.

Zhou Xiao

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.enterprise.iiop.POAProtocolMgr.initializeNaming(
at com.sun.enterprise.server.J2EEServer.main(
[ 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.
I agree. Here's the link:
subject: problem to start the J2EE server.
It's not a secret anymore!