[ 
https://issues.apache.org/jira/browse/GERONIMO-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556479#action_12556479
 ] 

Jarek Gawor commented on GERONIMO-3734:
---------------------------------------

I just updated a test for the security portlet to ensure that the test actaully 
fails if the portlet does not generate any output (just like it happened when 
this ClassCastException occurred).  Changed committed to trunk (revision 
609510).


> Portlet for Security Realms fails with ClassCastException
> ---------------------------------------------------------
>
>                 Key: GERONIMO-3734
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3734
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.1
>            Reporter: Jarek Gawor
>            Assignee: David Jencks
>
> The Security Realms fails with ClassCastException:
> 22:58:32,312 ERROR [SecurityRealmPortlet] Unable to render portlet
> java.lang.ClassCastException: 
> org.apache.geronimo.security.realm.GenericSecurityRealm
>         at 
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList(SecurityRealmPortlet.java:565)
>         at 
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView(SecurityRealmPortlet.java:256)
>         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
>         at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
>         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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
>         at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
>         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._jspx_meth_pluto_005fportlet_005f0(portlet_002dskin_jsp.java:100)
>         at 
> jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:76)
> Looks like this was caused when the proxies were disabled in the kernel.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to