Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.NoSuchMethodError while starting j2ee server  RSS feed

 
Sandeep. Oza
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have installed j2ee server from sun's site. I have set all environment parameters. When I am given foll. command to start j2ee server it throws this error.
Where is the problem. Pl. guide me who knows solution.
Thanks.
Sandeep Oza
C:\>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(AnyImp
l.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(Sh
utdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
UtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.re
bind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188
)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202
)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.ja
va:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
and while stopping it...
C:\>j2ee -stop
Shutting down the J2EE server.
javax.naming.NameNotFoundException: ServerObject not found
<<no stack trace available>>
Unable to shutdown the J2EE server.
C:\>
[ July 19, 2002: Message edited by: Sandeep. Oza ]
[ July 19, 2002: Message edited by: Sandeep. Oza ]
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the latest version of the JDK?
Simon
 
Sandeep. Oza
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Simon,
I am using jdk1.3, j2sdkee1.3.1, j2sdkse1.3.1_02 and jakarta-ant-1.3.
Any problem in version?
I have successfull in making component inspite of getting these errors. But Now I can't get Deploy them. In Wizard Click on Tool.. Click on Deploy...It shows a message that start the server.
May be due to these errors it does not Deploy components.
Pl. Reply..
Thanks..
Sandeep Oza
[ July 19, 2002: Message edited by: Sandeep. Oza ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!