Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE Start up Problem?

 
Asadullah Timiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hv download the j2sdkee1.3.1 in my system.
I hv set the below in setenv.bat as
JAVA_HOME = c:\jdk1.3
J2EE_HOME = c:\j2sdkee1.3.1
I hv set the below in userconfig.bat
set J2EE_CLASSPATH=c:\j2sdkee1.3.1\lib\j2ee.jar;c:\jdk1.3\lib
set JAVA_HOME=c:\jdk1.3
Even I added the Java & J2EE home in environment vairables.
But while starting the J2EE server, Below were the errors.
C:\j2sdkee1.3.1\bin>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)
Can any one suggest please how we could resolve this problem.
Asadullah
 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your Operating System
Bye
 
Asadullah Timiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Operating System is Windows 2000 Professional edition.
Pls let me know where iam missing the set up configuration to start J2EE?
:roll:
Thanks
Asadullah
 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've a problem equals but was in Windows 98, and was because the Environment Variable.
Did you set the J2EE_CLASSPATH on Environment Variable?
Bye.
 
Asadullah Timiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I did set the JAVA_CLASSPATH. But the problem was not solved. I think we need to install JDK1.3.1 or latest version to set JAVA_HOME from which the problem would solve. I'll try this approach and let you know. Good Luck!
Asad
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Asadullah",
We don't have a lot of rules here at the JavaRanch but we do have some. One of those is the naming policy and your current name does not comply. You can change it here.
Thank you and welcome to the 'ranch!
 
Asadullah Timiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isaias,
The J2EE startup Problem was solved. What I did was? I downloaded the jdk1.3.1_09 from the below URL and configured the Java & J2ee HOME , Path, Class Path. It works fine.................

Thanks
Asadullah
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic