geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu T George (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-2297) ClassCastException on invoking a non existing/Stopped EJB from a remote client.
Date Tue, 08 Aug 2006 06:47:20 GMT
ClassCastException on invoking a non existing/Stopped EJB from a remote client.
-------------------------------------------------------------------------------

                 Key: GERONIMO-2297
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2297
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: OpenEJB
    Affects Versions: 1.1
         Environment: All Platforms
            Reporter: Manu T George


When I invoke a stopped/nonexisting EJB from an remote client then I get a ClassCastException
instead of an exception saying that the EJB is not started/or does not exist
The exception is shown below

Client Side

java.lang.ClassCastException
        at org.openejb.client.JNDIContext.lookup(JNDIContext.java:277)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at examples.cmp.ProductClient.main(ProductClient.java:28)

Server Side

12:15:12,483 ERROR [JndiRequestHandler] JNDI request error
java.lang.IllegalArgumentException: uri path must be in the form [groupId]/[arti
factId]/[version]/[type] : /ProductRemote
        at org.apache.geronimo.gbean.AbstractNameQuery.<init>(AbstractNameQuery.
java:104)
        at org.openejb.DeploymentIndex.getDeploymentIndex(DeploymentIndex.java:2
06)
        at org.openejb.DeploymentIndex$$FastClassByCGLIB$$d76635c8.invoke(<gener
ated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.openejb.DeploymentIndex$$EnhancerByCGLIB$$7b6484b7.getDeploymentI
ndex(<generated>)
        at org.openejb.server.ejbd.JndiRequestHandler.doLookup(JndiRequestHandle
r.java:175)
        at org.openejb.server.ejbd.JndiRequestHandler.processRequest(JndiRequest
Handler.java:111)
        at org.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:154)
        at org.openejb.server.ejbd.EjbServer.service(EjbServer.java:87)
        at org.openejb.server.ejbd.EjbServer$$FastClassByCGLIB$$d379d2ff.invoke(
<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.activeio.xnet.ServerService$$EnhancerByCGLIB$$c7de235e.service(<g
enerated>)
        at org.activeio.xnet.ServicePool$2.run(ServicePool.java:67)
        at org.activeio.xnet.ServicePool$3.run(ServicePool.java:90)
        at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:172)
        at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:289)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
        at java.lang.Thread.run(Unknown Source)






-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message