- This topic has 3 replies, 2 voices, and was last updated 17 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
roxelloMemberHello –
After building/deploying this project or using the prefab version Glassfish reports –
javax.naming.NameNotFoundException: com.myeclipseide.ejb3.MyBeanRemote not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:116)
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:585)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)This is with and without replacing the @stateless annotation with @Stateless(name=”MyBean”, mappedName=”ejb/MyBean”) in MyBean.
Am using myeclipse 5.5 on winXP with jdk 1.5_10No application code in this trace so a bit stuck.
Any thoughts or suggestions?
Riyad KallaMemberWhat version of Glassfish 2 are you using?
roxelloMemberHello –
asadmin version reports
Sun Java System Application Server Platform Edition 9.0_01
The glassfish installer I used is glassfish-installer-v1_ur1-p01-b02.jar
roxello
Riyad KallaMemberroxello,
Try using Glassfish 2 build 58 or later, the JPA/EJB3/Deployment stuff has been under heavy flux but seems to be working pretty consistently now in Build 58 or later -
AuthorPosts