You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/06/23 09:26:27 UTC

[jira] Closed: (GERONIMO-248) WAR can't find class for ejb-local-ref

Message:

   The following issue has been closed.

   Resolver: Jeremy Boynes
       Date: Wed, 23 Jun 2004 12:25 AM

Patch applied
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-248

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-248
    Summary: WAR can't find class for ejb-local-ref
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Apache Geronimo
 Components: 
             web
   Versions:
             1.0-M2

   Assignee: 
   Reporter: Simon Godik

    Created: Mon, 21 Jun 2004 8:03 PM
    Updated: Wed, 23 Jun 2004 12:25 AM

Description:
IllegalStateException thrown by naming proxy as it can't find the classes for an ejb-jar located in the same ear.

javax.naming.NamingException: could not look up : env/ejb/Hello [Root exception
is java.lang.IllegalStateException: ejb-local-ref class not found: foo.Hello]
        at org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContex
t.java:209)
        at org.apache.geronimo.naming.java.RootContext.lookup(RootContext.java:5
5)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at com.gluecode.util.Ejb.init(Ejb.java:30)
        at javax.servlet.GenericServlet.init(GenericServlet.java:168)
        at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
:298)
        at org.mortbay.jetty.servlet.Invoker.service(Invoker.java:166)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
12)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1442)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:490)
        at org.apache.geronimo.jetty.JettyWebApplicationContext.handle(JettyWebA
pplicationContext.java:193)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1394)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:821)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:988)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:838)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
212)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:315)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:510)
Caused by: java.lang.IllegalStateException: ejb-local-ref class not found: foo.H
ello
        at org.openejb.proxy.ProxyRefAddr.loadClass(ProxyRefAddr.java:120)
        at org.openejb.proxy.ProxyRefAddr.getEJBProxyFactory(ProxyRefAddr.java:1
00)
        at org.openejb.proxy.ProxyRefAddr.getContent(ProxyRefAddr.java:87)
        at org.openejb.proxy.ProxyObjectFactory.getObjectInstance(ProxyObjectFac
tory.java:73)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
01)
        at org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContex
t.java:205)
        ... 21 more


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Closed: (GERONIMO-248) WAR can't find class for ejb-local-ref

Posted by Mike Kramer <mk...@rightangles.com>.
How do I get off this list?

----- Original Message -----
From: <de...@geronimo.apache.org>
To: <de...@geronimo.apache.org>
Sent: Wednesday, June 23, 2004 3:26 AM
Subject: [jira] Closed: (GERONIMO-248) WAR can't find class for
ejb-local-ref


> Message:
>
>    The following issue has been closed.
>
>    Resolver: Jeremy Boynes
>        Date: Wed, 23 Jun 2004 12:25 AM
>
> Patch applied
> ---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/GERONIMO-248
>
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: GERONIMO-248
>     Summary: WAR can't find class for ejb-local-ref
>        Type: Bug
>
>      Status: Closed
>    Priority: Major
>  Resolution: FIXED
>
>     Project: Apache Geronimo
>  Components:
>              web
>    Versions:
>              1.0-M2
>
>    Assignee:
>    Reporter: Simon Godik
>
>     Created: Mon, 21 Jun 2004 8:03 PM
>     Updated: Wed, 23 Jun 2004 12:25 AM
>
> Description:
> IllegalStateException thrown by naming proxy as it can't find the classes
for an ejb-jar located in the same ear.
>
> javax.naming.NamingException: could not look up : env/ejb/Hello [Root
exception
> is java.lang.IllegalStateException: ejb-local-ref class not found:
foo.Hello]
>         at
org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContex
> t.java:209)
>         at
org.apache.geronimo.naming.java.RootContext.lookup(RootContext.java:5
> 5)
>         at javax.naming.InitialContext.lookup(InitialContext.java:347)
>         at com.gluecode.util.Ejb.init(Ejb.java:30)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:168)
>         at
org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
> :298)
>         at org.mortbay.jetty.servlet.Invoker.service(Invoker.java:166)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
> )
>         at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
> onHandler.java:471)
>         at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
> 12)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1442)
>         at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
> Context.java:490)
>         at
org.apache.geronimo.jetty.JettyWebApplicationContext.handle(JettyWebA
> pplicationContext.java:193)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1394)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at
org.mortbay.http.HttpConnection.service(HttpConnection.java:821)
>         at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:988)
>         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:838)
>         at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
> 212)
>         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:315)
>         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:510)
> Caused by: java.lang.IllegalStateException: ejb-local-ref class not found:
foo.H
> ello
>         at org.openejb.proxy.ProxyRefAddr.loadClass(ProxyRefAddr.java:120)
>         at
org.openejb.proxy.ProxyRefAddr.getEJBProxyFactory(ProxyRefAddr.java:1
> 00)
>         at org.openejb.proxy.ProxyRefAddr.getContent(ProxyRefAddr.java:87)
>         at
org.openejb.proxy.ProxyObjectFactory.getObjectInstance(ProxyObjectFac
> tory.java:73)
>         at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
> 01)
>         at
org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyContex
> t.java:205)
>         ... 21 more
>
>
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> 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
>
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
>
>
>