Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4183

Jackrabbit standalone jar isn't working under JDK 8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.3, 2.15.6
    • Fix Version/s: 2.16, 2.15.7, 2.14.4, 2.12.9, 2.10.8, 2.8.8
    • Component/s: jackrabbit-standalone
    • Labels:
      None
    • Environment:
      Microsoft Windows 10, build 15063
      Oracle JSSE 1.8.0_141, build 1.8.0_141-b15

      Description

      Jackrabbit standalone jar isn't working under Windows 10 and JDK 8

      Just download Jackrabbit standalone jar file and execute command(java -jar jackrabbit-standalone-2.14.3.jar) in Windows CMD, I get the following error in Jetty log:

      Then I modify statndalone jar file name from "jackrabbit-standalone-2.14.3.jar" to "jackrabbit-standalone.jar", execute command(java -jar jackrabbit-standalone.jar), I get the following error(see attached screenshot) on browser.

      _2017-09-14 16:09:19.746 INFO [main] Slf4jLog.java:67 jetty-6.1.x
      2017-09-14 16:09:19.762 WARN [main] Slf4jLog.java:76 Web application not found jackrabbit-standalone.jar
      2017-09-14 16:09:19.762 WARN [main] Slf4jLog.java:89 Failed startup of context org.mortbay.jetty.webapp.WebAppContext@2ef9b8bc

      {/,jackrabbit-standalone.jar}

      java.io.FileNotFoundException: jackrabbit-standalone.jar
      at org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:997) ~[jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.webapp.WebAppContext.getWebInf(WebAppContext.java:832) ~[jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.webapp.WebInfConfiguration.configureClassLoader(WebInfConfiguration.java:62) ~[jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489) ~[jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) [jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.jetty.Server.doStart(Server.java:224) [jackrabbit-standalone-2.14.3.jar:na]
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.14.3.jar:na]
      at org.apache.jackrabbit.standalone.Main.run(Main.java:173) [jackrabbit-standalone-2.14.3.jar:na]
      at org.apache.jackrabbit.standalone.Main.main(Main.java:60) [jackrabbit-standalone-2.14.3.jar:na]_

        Attachments

        1. 2017-09-14 17_05_40-Settings.png
          152 kB
          Peter Yuan
        2. 2017-09-18 20_37_20-Photos.png
          87 kB
          Peter Yuan

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                peteryuan Peter Yuan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: