starting j2ee server

I am new to j2ee and as per the j2ee tutorials

1. I have installed j2ee sdk,

2. installed jdk 1.3.1

3. installed ant

4. set JAVA_HOME

5. set J2EE_HOME

6. set ANT_HOME,

but when I try to start the j2ee server on my command prompt, I am geting follwoing error, what am I missing ? Please help.

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)

[1745 byte] By [bthirnrayana] at [2007-9-28 1:46:02]
# 1

I presume you have installed this on Windows 98;

You may or may be aware that this is an unsupported platform for J2EE and consequently requires some tweaking to get it to work correctly.

There are a few very good solutions to this on the Enterprise JavaBeans forum on this site that can guide you as to how to do this. It is a bit fiddly but it does work in the end.

try this link which I used to get this sorted on windows 98

http://forum.java.sun.com/thread.jsp?forum=13&thread=21673

rjhurst0361a at 2007-7-7 21:19:01 > top of Java-index,Other Topics,Patterns & OO Design...