Hi,

I see some tck cases related to EJB 2.1 compatibility are failed with this
exception:

02-16-2011 23:49:41:  ERROR: javax.naming.NotContextException:
comp/env/ejb/TestBean
    at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:165)
    at
org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:605)
    at
org.apache.openejb.server.ejbd.JndiRequestHandler.doLookup(JndiRequestHandler.java:188)
    at
org.apache.openejb.server.ejbd.JndiRequestHandler.processRequest(JndiRequestHandler.java:129)
    at
org.apache.openejb.server.ejbd.EjbDaemon.processJndiRequest(EjbDaemon.java:200)
    at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:153)
    at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:71)
    at
org.apache.openejb.server.ejbd.KeepAliveServer$Session.service(KeepAliveServer.java:213)
    at
org.apache.openejb.server.ejbd.KeepAliveServer.service(KeepAliveServer.java:233)
    at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:66)
    at org.apache.openejb.server.ServicePool$2.run(ServicePool.java:91)
    at org.apache.openejb.server.ServicePool$3.run(ServicePool.java:120)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

The exception sounds to me that the EJB 2.1 style object is not correctly
initialized in geronimo ejb container.

However, from the server.log, I can see the EJB test app are successfully
deployed and seems the EJBs are initialized susscessfully.

Any EJB expert can help look into this issue? Lots of traditional ejb cases
are failed with the same exception.

Thanks in advance!

Forrest

Reply via email to