wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes First hands on J2EE. Need help ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "First hands on J2EE. Need help !" Watch "First hands on J2EE. Need help !" New topic
Author

First hands on J2EE. Need help !

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Hello World,
I am trying to learn J2EE technology these days. I have downloaded to j2sdkee1.3.1 and I have JDK1.3 installed in my PC. I have two questions.
1). Am I having all the necessary software to work on J2EE. If not what else do I need to download.
2). I tryied to start the J2EE server, but there is an error like this;
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)
I am running on Windows 2000 platform, and as told in the J2EE Tutorial I added jdk1.3\bin and the j2sdkee1.3\bin to the path from controle panel-system-advanced-environment variables.
And created to new variables JAVA_HOME AND J2EE_HOME and added the respective home paths for those directories.
Could you please tell me what I have to do.
THANK YOU.......


SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Bish Ach
Greenhorn

Joined: Oct 06, 2003
Posts: 26
sun's j2sdkee1.3.1 with JDK1.3 gives some problems.. I got the same. U can use j2sdkee1.2.1 instead.. In my case it worked.
But my suggestion is that better download an application server like weblogic/websphere/jboss etc.. Use JBoss application server bcos it comes with an inbuilt HSQL Database..So no hassle to configure ur database...Once u get going with JBoss, try the same with weblogic or websphere.. Go through the documentation of those servers...
Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Thank you very much. I will get the application servers as you have mentioned.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: First hands on J2EE. Need help !