facebook

Getting Started With EJB 3

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #275098 Reply

    roxello
    Member

    Hello –

    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_10

    No application code in this trace so a bit stuck.
    Any thoughts or suggestions?

    #275100 Reply

    Riyad Kalla
    Member

    What version of Glassfish 2 are you using?

    #275269 Reply

    roxello
    Member

    Hello –

    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

    #275384 Reply

    Riyad Kalla
    Member

    roxello,
    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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Getting Started With EJB 3

You must be logged in to post in the forum log in