Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1131

Rest2LDAP fails to start with GlassFish3.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.0.0, 2.8.0
    • Component/s: rest
    • Labels:
    • Sprint:
      Sprint 18

      Description

      I haven't tried with 2.6.0 version as I wanted to use SSL connections.
      And I don't think it's highly important, but I wanted to capture the failure.
      So, the REST2LDAP gateway fails when launching in GlassFish 3.1.

      The exception reported is the following :
      [#|2013-09-02T17:32:23.191+0200|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=113;_ThreadName=Thread-1;|StandardWrapperValve[OpenDJ Commons REST LDAP Gateway]: PWC1406: Servlet.service() for servlet OpenDJ Commons REST LDAP Gateway threw exception
      java.lang.NoSuchMethodError: org.codehaus.jackson.JsonFactory.createJsonGenerator(Ljava/io/OutputStream;)Lorg/codehaus/jackson/JsonGenerator;
      at org.forgerock.json.resource.servlet.HttpUtils.getJsonGenerator(HttpUtils.java:311)
      at org.forgerock.json.resource.servlet.RequestRunner.<init>(RequestRunner.java:75)
      at org.forgerock.json.resource.servlet.HttpServletAdapter.doRequest(HttpServletAdapter.java:539)
      at org.forgerock.json.resource.servlet.HttpServletAdapter.doGet(HttpServletAdapter.java:372)
      at org.forgerock.json.resource.servlet.HttpServlet.doGet(HttpServlet.java:172)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
      at org.forgerock.json.resource.servlet.HttpServlet.service(HttpServlet.java:339)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      at org.forgerock.opendj.rest2ldap.servlet.Rest2LDAPAuthnFilter.doFilter(Rest2LDAPAuthnFilter.java:122)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              ludo Ludovic Poitou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: