users@glassfish.java.net

can't access ejbs after switching to netbeans 6.0 platform

From: haluk <haluk_at_teknoset.com>
Date: Thu, 10 Jan 2008 03:18:31 -0800 (PST)

 
I had no problem calling ejbs 3.0 under 5.5 netbeans platform but after
switching to 6.0 I can't access my ejbs any more.
 
I run netbeans 6.0 platform with :
 
run.args.extra=-J-Dorg.netbeans.ProxyClassLoader.level=1000 -J-da \
                -J-Dorg.omg.CORBA.ORBInitialHost=192.168.1.40
-J-Dorg.omg.CORBA.ORBInitialPort=3700 \
                -cp:a
${appserver.home}/lib/appserv-rt.jar:${appserver.home}/lib/appserv-ext.jar:\
                     
${appserver.home}/lib/appserv-deployment-client.jar:${appserver.home}/lib/javaee.jar:\
                      ${appserver.home}/lib/jmxremote_optional.jar
 
I get this error message:
 
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:231)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at
com.sun.corba.ee.impl.util.JDKBridge.loadClass(JDKBridge.java:75)
         at
com.sun.corba.ee.impl.javax.rmi.CORBA.Util.loadClass(Util.java:630)
         at
com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase.createStubFactory(StubFactoryFactoryDynamicBase.java:43)
Caused: org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 235
completed: Maybe
         at
com.sun.corba.ee.impl.logging.ORBUtilSystemException.classNotFound3(ORBUtilSystemException.java:786)
         at
com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase.createStubFactory(StubFactoryFactoryDynamicBase.java:45)
         at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:820)
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:827)
         at
com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:219)
         at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
         at
com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:324)
         at
com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:61)
         at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at
com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:320)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at
com.teknoset.centrome.zigbee.commandtool.ZigBeeRequesThreat.lookupZigBeeCommandRequestRemote(ZigBeeRequesThreat.java:72)
         at
com.teknoset.centrome.zigbee.commandtool.ZigBeeRequesThreat.run(ZigBeeRequesThreat.java:40)
javax.naming.NamingException: ejb ref resolution error for remote business
interfacecom.teknoset.centrome.request.session.ZigBeeCommandRequestRemote
[Root exception is java.lang.NullPointerException]
         at
com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:348)
         at
com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:61)
         at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at
com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:320)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at
com.teknoset.centrome.zigbee.commandtool.ZigBeeRequesThreat.lookupZigBeeCommandRequestRemote(ZigBeeRequesThreat.java:72)
         at
com.teknoset.centrome.zigbee.commandtool.ZigBeeRequesThreat.run(ZigBeeRequesThreat.java:40)
Caused by: java.lang.NullPointerException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:340)
         ... 6 more
SEVERE [global]
java.lang.NullPointerException
[catch] at
com.teknoset.centrome.zigbee.commandtool.ZigBeeRequesThreat.run(ZigBeeRequesThreat.java:45)
 
I'm stock to this and didn't found something in the internet.
-- 
View this message in context: http://www.nabble.com/can%27t-access-ejbs-after-switching--to-netbeans-6.0-platform-tp14731160p14731160.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.