• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error starting J2EE 1.3 RI server

 
Conan King
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting this error when I try to start the RI server. I am having JDK1.3 and j2sdkee1.3.1 in my system.

Error ***

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)

Could one of let me know what has to be done to get this resolved. Do I need to add some jar to the classpath? Also I have set the JAVA_HOME and J2EE_HOME to proper values.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Conan King:
Hi,
Do I need to add some jar to the classpath? Also I have set the JAVA_HOME and J2EE_HOME to proper values.


Well, as you didn't mention it explictly did you add %J2EE_HOME%\lib\j2ee.jar to your CLASSPATH?
 
Conan King
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if we need to do it explicitly. I was studying the C:\j2sdkee1.3.1\bin\setenv.bat in the j2sdkee1.3.1 executables. There the j2ee.jar is added to the classpath.
setenv.bat is called by the j2ee.bat which we execute.

There should be something else wrong. Any suggestions.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!