You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/01/07 05:28:33 UTC

[jira] Created: (GERONIMO-3734) Portlet for Security Realms fails with ClassCastException

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.


[jira] Commented: (GERONIMO-3734) Portlet for Security Realms fails with ClassCastException

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556481#action_12556481 ] 

David Jencks commented on GERONIMO-3734:
----------------------------------------

Fixed in rev 609513 by removing all use of state info.  Since the realm gbean was found by virtue of being in a ReferenceCollection, its running, so showing that its running doesn't provide any information.

I'm leaving this open until I find out if we need to change the resource bundles..

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


[jira] Closed: (GERONIMO-3734) Portlet for Security Realms fails with ClassCastException

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-3734.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Removed unused resource bundle property in rev 609518.

> 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
>             Fix For: 2.1
>
>
> 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.


[jira] Commented: (GERONIMO-3734) Portlet for Security Realms fails with ClassCastException

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ 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.