• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Java 2EE Probelems

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all, I am trying to get the J2EE server running and running into a few problems

I have installed the SUN-JDK and SUN-JRE(1.5.0.11) and the J2EE platform(1.3.1-r3)

my Environment variables are as follows

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.5.0.11/bin:/opt/sun-jre-bin-1.5.0.11/bin:/mirror/oracle/product/10.2.0.1/bin:/opt/sun-j2ee-1.3.1/bin
CLASSPATH=.:/mirror/oracle/product/10.2.0.1/jdbc/lib/classes12.zip:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.1/lib/locale
J2EE_HOME=/opt/sun-j2ee-1.3.1
JAVA_HOME=/etc/java-config-2/current-system-vm


when I try and start the j2ee server(j2ee -verbose) I get the following exception

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: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)

Has any run into this problem, or managed to get this working?

Thanks
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not to state the obvious, but something is looking for com/sun/corba/se/internal/util/IdentityHashtable, and it is not there. Beyond that, I can't be very helpful. Is this happening during configuration, installation, or when trying to run a web application?
 
Andrew Nisbet
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This occurs when I try and start the j2ee server.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are using J2EE 1.3 RI , which might not work properly with Java 5 .. try upgrading JEE or get the old Java.

Let me know if that solves the problem.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI ,

PLease email me <snip> if you can find solution for this

Help me ....Very Urgent i also face same issue ... can you help me in resolving this issue
MY system variables are as follows


CLASSPATH=.;C:\JDK1.6\JDK\bin;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdkee1.3.1\bin;.;

PATH=;C:\JDK1.6\JDK\bin;C:\j2sdkee1.3.1\bin;.;

J2EE_HOME = C:\j2sdkee1.3.1

JAVA_HOME =C:\JDK1.6\JDK



C:\>j2ee -verbose
J2EE server listen port: 1050
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte
rnal/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)
Caused by: java.lang.ClassNotFoundException: com.sun.corba.se.internal.util.Iden
tityHashtable
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 8 more



I have JDK 1.6 and J2ee=1.3.1 in folder C:\JDK1.6\JDK and C:\j2sdkee1.3.1 respectively

when i launch command prompt and type
Capture.JPG
[Thumbnail for Capture.JPG]
ERROR FILE
 
Sheriff
Posts: 22504
122
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Santhosh Baby wrote:PLease email me <snip> if you can find solution for this


Let's not post your email address. First of all, if a spammer finds it you're going to regret it. Secondly, UseTheForumNotEmail.

Very Urgent


Please EaseUp.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a reason why you are using a relatively old J2EE version (1.3.1)?

If you are not tied to this old version, try something newer, such as Java EE 6 or Java EE 5. You can download those here.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic