Help please!
I've bought the Head First
EJB book and keep getting the following exception when running j2ee.bat
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:89
5)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(T
ransientNameService.java:117)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(Trans
ientNameService.java:70)
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
r.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
I've tried in vain to find the solution but no joy. I think it's probably a classpath issue so here's whats setup with them:
CLASSPATHC:\j2sdkee1.3.1\lib\j2ee.jar
J2EE_HOMEC:\j2sdkee1.3.1
JAVA_HOMEC:\jdk1.5.0
PATHC:\j2sdkee1.3.1\bin;C:\jdk1.5.0\bin