[ 
http://issues.apache.org/jira/browse/GERONIMO-1262?page=comments#action_12359286
 ] 

Joe Bohn commented on GERONIMO-1262:
------------------------------------

Yes, I thought about making this change ...but after discussing this with Aaron 
it wasn't the right way to fix this.  Instead I'm changing the code to use the 
management APIs via the PortletManager.  This listing part of the portlet was 
easy and I had this working a while ago but it's taking me a little longer to 
figure out what is necessary to import a new jar using the WriteableRespository 
... but I think I've almost got it. 

> Common Libraries portlet fails with a GBeanNotFoundException
> ------------------------------------------------------------
>
>          Key: GERONIMO-1262
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1262
>      Project: Geronimo
>         Type: Bug
>   Components: console
>     Reporter: Rick McGuire
>     Assignee: Joe Bohn
>  Attachments: GERONIMO-1262.patch
>
> Selecting Common Libraries from the main console page fails with the 
> following exception:
> Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: 
> geronimo.server:J2
> EEApplication=null,J2EEModule=org/apache/geronimo/System,J2EEServer=geronimo,j2e
> eType=GBean,name=Repository not found
>         at 
> org.apache.geronimo.kernel.basic.BasicRegistry.getGBeanInstance(Basic
> Registry.java:110)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 179)
>         at 
> org.apache.geronimo.console.repository.RepositoryViewPortlet.init(Rep
> ositoryViewPortlet.java:77)
>         ... 116 more
> Nested Exception is
> org.apache.geronimo.kernel.GBeanNotFoundException: 
> geronimo.server:J2EEApplicati
> on=null,J2EEModule=org/apache/geronimo/System,J2EEServer=geronimo,j2eeType=GBean
> ,name=Repository not found
>         at 
> org.apache.geronimo.kernel.basic.BasicRegistry.getGBeanInstance(Basic
> Registry.java:110)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 179)
>         at 
> org.apache.geronimo.console.repository.RepositoryViewPortlet.init(Rep
> ositoryViewPortlet.java:77)
>         at org.apache.pluto.core.PortletServlet.init(PortletServlet.java:106)
>         at 
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
> a:383)
>         at 
> org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
> :329)
>         at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405
> )
>         at 
> org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolde
> r.java:99)
>         at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
> WebApplicationHandler.java:830)
>         at 
> org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171
> )
>         at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
> WebApplicationHandler.java:821)
>         at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
> onHandler.java:471)
>         at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:277)
>         at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)

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

Reply via email to