Hello I did try and followed the installation instructions as follows...
http://java.sun.com/j2ee/sdk_1.3/install.html
I rebooted the system and as per Kathy sierra's Head first EJB, this particular server has to be started by issuing the following command
%j2ee -verbose
but I get the following output
Cannot write the seed file for fast startup. The next startup will be slow.
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(ConfigurationImpl.java:88)
at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationImpl.java:41)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:175)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
J2EE server listen port: 1050
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(TransientNameService.java:70)
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Caused by: java.lang.ClassNotFoundException: com.sun.corba.se.internal.util.IdentityHashtable
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 8 more
[sugantha@localhost ~]$
For info I am giving the values of the environment variables required in this case
[sugantha@localhost ~]$ echo $J2EE_HOME
/usr/local/j2sdkee1.3.1
[sugantha@localhost ~]$ echo $JAVA_HOME
/usr/java/jdk1.6.0_05
[sugantha@localhost ~]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/games:/usr/java/jdk1.6.0_05/bin:/usr/local/j2sdkee1.3.1/bin:/home/sugantha/bin:/usr/java/jdk1.6.0_05/bin:/usr/local/j2sdkee1.3.1/bin
You guys have already been very kind...Any suggestions or pointers are appreciated...