Topic
4 replies Latest Post - ‏2011-11-03T07:57:32Z by Jeff_chi
SystemAdmin
SystemAdmin
2233 Posts
ACCEPTED ANSWER

Pinned topic Cannot create security realm in CE 3.0

‏2011-10-19T09:35:57Z |
Hello all,

It looks like there is a problem when creating a global security realm in CE 3.0. When I click the deploy button, I get the following error:

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)

But the realm is going to be server-wide, and I see no such naming for the pre-defined geronimo-admin domain?

Alex Rasmussen
Updated on 2011-11-03T07:57:32Z at 2011-11-03T07:57:32Z by Jeff_chi
  • Jeff_chi
    Jeff_chi
    62 Posts
    ACCEPTED ANSWER

    Re: Cannot create security realm in CE 3.0

    ‏2011-10-21T07:15:41Z  in response to SystemAdmin
    Can you describe the steps and values you inputed on each step?

    Jeff
    • SystemAdmin
      SystemAdmin
      2233 Posts
      ACCEPTED ANSWER

      Re: Cannot create security realm in CE 3.0

      ‏2011-10-25T07:11:31Z  in response to Jeff_chi
      Hi jeff,

      Please see the attached screenshots. I am trying to create a SQL realm using an existing jdbc connection. The jdbc connection works perfectly, and the realm will create just fine on CE 2.1.1.5

      Alex
      • David_Frahm
        David_Frahm
        38 Posts
        ACCEPTED ANSWER

        Re: Cannot create security realm in CE 3.0

        ‏2011-11-02T14:33:22Z  in response to SystemAdmin
        Any updates on this?

        We use a lot of SQL security realms, so I'm curious to learn more about this before we try upgrading to 3.0.
      • Jeff_chi
        Jeff_chi
        62 Posts
        ACCEPTED ANSWER

        Re: Cannot create security realm in CE 3.0

        ‏2011-11-03T07:57:32Z  in response to SystemAdmin
        I was able to reproduce the exception and opened a JIRA to track this problem.

        https://issues.apache.org/jira/browse/GERONIMO-6210

        Jeff