Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

j2ee RI configuration

Status
Not open for further replies.

T3x

Technical User
Sep 23, 2003
11
LK
hello
i'm a new guy to this j2ee. i just download the j2se 1.5 and j2ee 1.3.1 versions and isntalled them on a win2000 server with SP4. my j2se works fine. when i try to start the j2ee RI server with the command j2ee it gives an error message that say some "exception in thread main ....:noclassdeffound error". well in short it unable to find the classes. well i have set all the environment variables as required.

if anyone can help me to config this one it'll be a great help.thanks in advance.
 
Which class is it not finding (post the stack trace) ?
Have you included j2ee.jar in our CLASSPATH ?

--------------------------------------------------
Free Database Connection Pooling Software
 
well it doesn't tell which class. i can put the whole error messeage if i can copy and past it from dos window. and yes i have included j2ee.jar and lib\locale to the classpath. i'll try to post the error message
 
Post away !
If you are getting a NoClassDefFound error, then it usually tells you the class name it cannot find ... unless I've been using some weird helpful Java version for the last 4 years :)

--------------------------------------------------
Free Database Connection Pooling Software
 

i hope you can understand this...

Logging for J2EE Server Version: 1.3.1-b17 started at: Sat Apr 23 21:17:20 PDT 2005..
Using the Java HotSpot(TM) Client VM and the version number 1.5.0_02 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\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)
 
ok. i'll use the links to slove the problemo. if you have any more advice pls let me know. thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top