Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-4110

Multiple servlets map to path stacktraces on startup with MySQL/DB2/MSSQL as repo

    XMLWordPrintable

    Details

    • Target Version/s:
    • Story Points:
      5
    • Sprint:
      OpenIDM Sprint 51, OpenIDM Sprint 52, OpenIDM Sprint 53, OpenIDM Sprint 55
    • Cases:
    • Support Ticket IDs:

      Description

      On initial startup of a system that has never been started before and is first pointed to a repository (mysql) the system throws exceptions like these:

      SEVERE: Bundle: org.forgerock.openidm.api-servlet [123] [org.forgerock.openidm.api-servlet] The activate method has thrown an exception
      java.lang.IllegalStateException: Multiple servlets map to path: /openidm/*: org.ops4j.pax.web.service.spi.model.ServletModel-18,org.ops4j.pax.web.service.spi.model.ServletModel-4
      	at org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1488)
      	at org.eclipse.jetty.servlet.ServletHandler.setServletMappings(ServletHandler.java:1585)
      	at org.eclipse.jetty.servlet.ServletHandler.addServletMapping(ServletHandler.java:1023)
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$2.call(JettyServerImpl.java:329)
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$2.call(JettyServerImpl.java:324)
      	at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
      	at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addServlet(JettyServerImpl.java:323)
      	at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addServlet(ServerControllerImpl.java:290)
      	at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addServlet(ServerControllerImpl.java:110)
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:211)
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:190)
      	at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:175)
      	at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:64)
      	at org.forgerock.openidm.servletregistration.impl.ServletRegistrationSingleton.registerServlet(ServletRegistrationSingleton.java:122)
      	at org.forgerock.openidm.servlet.internal.ServletComponent.activate(ServletComponent.java:162)
      

        Attachments

        1. openidm0.log.0
          303 kB
        2. openidm0.log.0
          284 kB
        3. openidm0-win2008R2-mssql.log.0
          303 kB

          Issue Links

            Activity

              People

              • Assignee:
                alin Alin Brici
                Reporter:
                jason.vincent jason vincent
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: