File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

First hands on J2EE. Need help !

 
Ransika deSilva
Ranch Hand
Posts: 524
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.......
 
Bish Ach
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 524
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. I will get the application servers as you have mentioned.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic