I've looked at the Issue Tracker reports for V2.1.1 and v2UR2 but didn't see Issue# 6655 listed there.
(v2.1.1 -
http://wiki.glassfish.java.net/Wiki.jsp?page=PlanForGlassFishV2.1.1)
(v2.1 -
http://wiki.glassfish.java.net/Wiki.jsp?page=PlanForGlassFishV2.1)
This seems to be causing a problem for me. I'm using a NetBeans 6.7.1 RCP client for a JavaEE5 EJB sitting on a remote GF v2.1.1 server. I'm hitting the exception reported below.
SEVERE [org.netbeans.modules.mercurial]: execEnv(): execEnv(): IOException java.io.IOException: Cannot run program "hg": CreateProcess error=2, The system cannot find the file specified
WARNING [javax.enterprise.resource.corba.ee._CORBA_.util]: "IOP01211405: (BAD_OPERATION) Exception in loadStub"
java.lang.ClassNotFoundException: com.sun.ejb.codegen.GenericEJBHome_Generated
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 org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:257)
Caused: java.lang.ClassNotFoundException: com.sun.ejb.codegen.GenericEJBHome_Generated starting from ModuleCL_at_1bde392[com.mrc.myserv_ejb] with possible defining loaders [ModuleCL_at_781dd4[com.mrc.libs.glassfish]] and declared parents [ModuleCL_at_781dd4[com.mrc.libs.glassfish]]
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.sun.corba.ee.impl.util.JDKBridge.loadClass(JDKBridge.java:104)
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.loadClass(Util.java:683)
at com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase.createStubFactory(StubFactoryFactoryDynamicBase.java:72)
Caused: org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 235 completed: Maybe
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.classNotFound3(ORBUtilSystemException.java:787)
at com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase.createStubFactory(StubFactoryFactoryDynamicBase.java:74)
at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:849)
Caused: org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 1405 completed: No
[catch] at com.sun.corba.ee.impl.logging.UtilSystemException.exceptionInLoadStub(UtilSystemException.java:179)
at com.sun.corba.ee.impl.logging.UtilSystemException.exceptionInLoadStub(UtilSystemException.java:197)
at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:856)
at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:248)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:354)
at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:74)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:414)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.mrc.myserv_client_executor.Installer.connect2(Installer.java:75)
at com.mrc.myserv_client_executor.Installer.restored(Installer.java:34)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:440)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
at org.netbeans.ModuleManager.enable(ModuleManager.java:917)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:225)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:168)
at org.netbeans.core.startup.Main.start(Main.java:309)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:111)
at java.lang.Thread.run(Thread.java:619)
[Lookup Error]
EXPLANATION: ejb ref resolution error for remote business interfacecom.mrc.myserv.core.api.testResult.TestResultRemote
CAUSE: java.lang.NullPointerException
RESOLVED NAME: null
[Message sent by forum member 'ksingh' (ksingh.us_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=370519