• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

(newbie) error message when starting the j2ee server

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic