hello i m new to the ejb i tried to run the very simple exaple i was able to compile the following code and deploy them to the j2ee server but i wavs un able to run the cilent program in the same machine
C:\ejb>java -Dorg.omg.CORBA.ORBInitialHost=Localhost -classpath .;c:\j2ee\lib\ j2ee.jar;secondClient.jar client Exception in thread "main" java.lang.NoSuchMethodError: loadClass0 at com.sun.corba.ee.internal.util.JDKClassLoader.specialLoadClass(Native Method) at com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoade r.java:58) at com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:18 0) at com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:83)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.loadClass(Util.java:37 8) at javax.rmi.CORBA.Util.loadClass(Unknown Source) at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(Unknown Sour ce) at javax.rmi.PortableRemoteObject.<clinit>(Unknown Source) at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav a:57) at com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext( SerialInitContextFactory.java:54) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.<init>(Unknown Source) at client.main(client.java:10)