You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/05/30 06:11:07 UTC
[jira] Assigned: (GERONIMO-4599) EJbs not visible in jndi viewer,
possibly classloading problem
[ https://issues.apache.org/jira/browse/GERONIMO-4599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks reassigned GERONIMO-4599:
--------------------------------------
Assignee: David Jencks
> EJbs not visible in jndi viewer, possibly classloading problem
> --------------------------------------------------------------
>
> Key: GERONIMO-4599
> URL: https://issues.apache.org/jira/browse/GERONIMO-4599
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console, naming, OpenEJB
> Affects Versions: 2.2
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 2.2
>
>
> In both 2.1.4-SNAPSHOT and trunk I can't see any ejbs in the console jndi viewer in the global context. In trunk when I open the jndi viewer portlet page I get a stack trace which might indicate the cause. I'm wondering why we aren't just using xbean for the global context for ejbs?
> 2009-03-22 10:13:45,226 WARN [JNDIViewPortlet] Error listing context
> org.apache.openejb.OpenEJBException: Error copying object into local class loader: org.apache.openejb.core.ivm.IntraVmProxy in classloader org.apache.geronimo.plugins/debugviews-console-jetty/2.2-SNAPSHOT/car
> at org.apache.openejb.core.ivm.naming.NamingException.<init>(NamingException.java:29)
> at org.apache.openejb.core.ivm.naming.CrossClassLoaderJndiReference.getObject(CrossClassLoaderJndiReference.java:38)
> at org.apache.openejb.assembler.classic.LazyEjbReference.getObject(LazyEjbReference.java:91)
> at org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
> at org.apache.xbean.naming.context.ContextUtil.resolve(ContextUtil.java:61)
> at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:122)
> at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:611)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.buildContextSub(JNDIViewPortlet.java:351)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.buildContextSub(JNDIViewPortlet.java:353)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.buildContextSub(JNDIViewPortlet.java:353)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.buildContextSub(JNDIViewPortlet.java:353)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.buildContext(JNDIViewPortlet.java:338)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.buildEJBModule(JNDIViewPortlet.java:195)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.getContextTree(JNDIViewPortlet.java:442)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.getJSONTrees(JNDIViewPortlet.java:114)
> at org.apache.geronimo.console.jndiview.JNDIViewPortlet.doView(JNDIViewPortlet.java:78)
> at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
> at org.apache.geronimo.console.BasePortlet.render(BasePortlet.java:153)
> at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208)
> at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:41)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:66)
> at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
> at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:67)
> at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
> at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:60)
> at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
> at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
> at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
> at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173)
> at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152)
> at jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:102)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:41)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:66)
> at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
> at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:67)
> at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
> at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:60)
> at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
> at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
> at jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspx_meth_c_005fforEach_005f0(default_002dtheme_jsp.java:200)
> at jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspService(default_002dtheme_jsp.java:105)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:41)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:66)
> at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
> at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:67)
> at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
> at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:60)
> at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:334)
> at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
> at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:41)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:66)
> at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
> at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
> at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
> at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
> at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:60)
> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
> at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
> at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:637)
> Caused by: java.lang.ClassNotFoundException: org.apache.openejb.core.ivm.IntraVmProxy in classloader org.apache.geronimo.plugins/debugviews-console-jetty/2.2-SNAPSHOT/car
> at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:401)
> at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:243)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at org.apache.openejb.core.ivm.EjbObjectInputStream.resolveProxyClass(EjbObjectInputStream.java:55)
> at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
> at org.apache.openejb.core.ivm.naming.CrossClassLoaderJndiReference.copy(CrossClassLoaderJndiReference.java:53)
> at org.apache.openejb.core.ivm.naming.CrossClassLoaderJndiReference.getObject(CrossClassLoaderJndiReference.java:36)
> ... 115 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.