Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!

Ann Person

Greenhorn
+ Follow
since Aug 28, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ann Person

Solved, dont use java 1.5 beta, reverted to 1.4 and all was fine !
Solved, dont use java 1.5 beta, reverted to 1.4 and all was fine !
hello,

I am new to EJB and am experiancing difficlulty getting up and running. I have installed java sdk to C:\java and J2EE to C:\j2sdkee1.3.1 and my path settings are:

ANT_HOME C:\apache-ant-1.6.2
CLASSPATH C:\j2sdkee1.3.1\lib\j2ee.jar
J2EE_HOME C:\j2sdkee1.3.1
JAVA_HOME C:\Java
PATH C:\j2sdkee1.3.1\bin;C:\java\bin;C:\apache-ant-1.6.2\bin

however when I try to execute j2ee -verbose at the command line to start the server I get the following error ... I have reinstalled everything twice and searched around without any luck... I am using windows XP.

When I do "j2ee version" i get

Java 2 Enterprise Edition version 1.3.1, build 1.3.1-b17

so it says to me that the classpath is set. If only I get get the server running I can continue with the book ... which is otherwise brilliant.

Any help greatly appreciated, this is kinda crossposted with https://coderanch.com/t/314801/EJB-JEE/java/Head-First-EJB


Logging for J2EE Server Version: 1.3.1-b17 started at: Sat Aug 28 20:36:53 BST 2004..
Using the Java HotSpot(TM) Client VM and the version number 1.5.0-beta2 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:\Java\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 should have stated that I am running windows xp home edition ...
hello,

I am new to EJB and am experiancing difficlulty getting up and running. I have installed java sdk to C:\java and J2EE to C:\j2sdkee1.3.1 and my path settings are:

ANT_HOME C:\apache-ant-1.6.2
CLASSPATH C:\j2sdkee1.3.1\lib\j2ee.jar
J2EE_HOME C:\j2sdkee1.3.1
JAVA_HOME C:\Java
PATH C:\j2sdkee1.3.1\bin;C:\java\bin;C:\apache-ant-1.6.2\bin

however when I try to execute j2ee -verbose at the command line to start the server I get the following error ... I have reinstalled everything twice and searched around without any luck...


Logging for J2EE Server Version: 1.3.1-b17 started at: Sat Aug 28 20:36:53 BST 2004..
Using the Java HotSpot(TM) Client VM and the version number 1.5.0-beta2 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:\Java\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)



Any help gratefully appreciated!