File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(newbie) error message when starting the j2ee server

 
alex mueer
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I am a beginner trying to create ejbs using Head first ejb book. I am not able to start my j2ee server.

I keep facing the following error message when trying to start the server using j2ee �verbose command.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\ali>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
Exception in thread "main" java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyIm
l.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(S
utdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdow
UtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.r
bind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:18
)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:20
)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingMana
erImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingMana
erImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.j
va:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)



The followings are the setting on my pc.

user variable

PATH=C:\j2sdk1.4.0\bin;C:\j2sdkee1.3.1\bin;

CLAssPATH=.;C:\jdk1.3.0_02\bin;C:\j2sdkee1.3.1\bin;C:\j2sdkee1.3.1\lib\j2ee.jar;
C:\j2sdkee1.3.1\lib\locale;C:\Program Files\Java\jre1.6.0_02\bin;

system variable

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;
C:\jdk1.3.0_02\bin;C:\j2sdkee1.3.1\bin;

CLASSPATH=.;C:\jdk1.3.0_02\bin;C:\j2sdkee1.3.1\lib\j2ee.jar;
C:\Program Files\Java\jre1.6.2_02\bin;


j2ee_home=C:\j2sdkee1.3.1
java_home=C:\jdk1.3.0_02

Could you please help me as I have been spending more than one week trying to figure it out without any success.

Many thanks in advance.

Al
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic