Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6210

IllegalArgumentException when creating a SQL-based security realm

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-1
    • Fix Version/s: 3.0.0, 3.0-beta-2
    • Component/s: security
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              john xiao Yi Xiao
              Reporter:
              chi runhua Chi Runhua
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: