geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Xiao (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6210) IllegalArgumentException when creating a SQL-based security realm
Date Tue, 27 Dec 2011 10:12:30 GMT

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

Yi Xiao commented on GERONIMO-6210:
-----------------------------------

After investigate the issue, find NameFactory.JCA_RESOURCE's mapping value of JCAManagedConnectionFactory's
objectName is changed.
The SecurityRealmPortlet just uses the value to construct the artifact object, so using NameFactory.RESOURCE_ADAPTER_MODULE
replace with JCA_RESOURCE.
                
> IllegalArgumentException when creating a SQL-based security realm
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-6210
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6210
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 3.0-beta-1
>            Reporter: Chi Runhua
>            Assignee: Yi Xiao
>            Priority: Minor
>         Attachments: IllegalArgumentExceptionWhenCreatingSQL-basedSecurityRealm_6210.patch
>
>
> Following the instruction on G3.0 doc at https://cwiki.apache.org/GMOxDOC30/database-sql-realm.html
> After clicking the deploy button, the console shows exception as following:
> java.lang.IllegalArgumentException: id must be in the form groupId/artifactId/version/type
: tranql-connector-db2-xa-1.6
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61)
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51)
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.actionGeneratePlan(SecurityRealmPortlet.java:458)
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.actionSaveRealm(SecurityRealmPortlet.java:526)
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.processAction(SecurityRealmPortlet.java:221)
> org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117)
> org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84)
> org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112)
> org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359)
> org.apache.pluto.container.driver.PortletServlet.doPost(PortletServlet.java:267)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233)
> org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101)
> org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251)
> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135)
> org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:205)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116)
> org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
> org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message