You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2020/07/08 09:47:00 UTC

[jira] [Commented] (JCR-4537) MalformedURLException: Nested JAR URLs are not supported

    [ https://issues.apache.org/jira/browse/JCR-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153446#comment-17153446 ] 

Julian Reschke commented on JCR-4537:
-------------------------------------

trunk: (2.21.2) [r1879143|http://svn.apache.org/r1879143]
2.20: [r1879632|http://svn.apache.org/r1879632]


> MalformedURLException: Nested JAR URLs are not supported
> --------------------------------------------------------
>
>                 Key: JCR-4537
>                 URL: https://issues.apache.org/jira/browse/JCR-4537
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-standalone
>            Reporter: Alex T
>            Priority: Major
>              Labels: candidate_jcr_2_18
>             Fix For: 2.22, 2.21.2, 2.20.2
>
>         Attachments: jackrabbit.log_IS_UNDEFINED, jackrabbit.log_IS_UNDEFINED
>
>
> Hi!
> I'm new in jackrabbit, I'm try to start with jackrabbit from standalone app. I use ubuntu 18 OS and openjdk 13 (and openjdk 11 - I got same result).
> I try to start with command java -jar ./jackrabbit-standalone-2.20.0.jar, then get this output:
> {code:java}
> java -jar ./jackrabbit-standalone-2.20.0.jar
> Welcome to Apache Jackrabbit!
> -------------------------------
> Using repository directory jackrabbit
> Writing log messages to jackrabbit/log
> Starting the server...
> Apache Jackrabbit is now running at http://localhost:8080/
> {code}
> But it browser I got
> h2. HTTP ERROR: 503
> Problem accessing /. Reason:
> Service Unavailable
>  
> ----
> _Powered by Jetty://_
>  
> So, next I check logs, file jackrabbit.log_IS_UNDEFINED. In this file exception:
> {code:java}
> 2020-03-15 22:59:50.753 DEBUG [main] MetaInfConfiguration.java:166     jar:file:/data/apps/webdav/jr/jackrabbit-standalone-2.20.0.jar!/WEB-INF/lib/FastInfoset-1.2.16.jar META-INF/resources checked
> 2020-03-15 22:59:50.754 WARN  [main] Resource.java:191                 Bad Resource: jar:jar:file:/data/apps/webdav/jr/jackrabbit-standalone-2.20.0.jar!/WEB-INF/lib/FastInfoset-1.2.16.jar!/META-INF/resources
> 2020-03-15 22:59:50.755 WARN  [main] WebAppContext.java:514            Failed startup of context o.e.j.w.WebAppContext@c8e4bb0{/,jar:file:/data/apps/webdav/jr/jackrabbit-standalone-2.20.0.jar!/,null}{/data/apps/webdav/jr/jackrabbit-standalone-2.20.0.jar}
> java.net.MalformedURLException: Nested JAR URLs are not supported
> 	at java.base/java.net.URL.<init>(URL.java:702)
> 	at java.base/java.net.URL.<init>(URL.java:564)
> 	at java.base/java.net.URL.<init>(URL.java:511)
> 	at org.eclipse.jetty.util.resource.Resource.newResource(Resource.java:166)
> 	at org.eclipse.jetty.util.resource.Resource.newResource(Resource.java:149)
> 	at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForResources(MetaInfConfiguration.java:176)
> 	at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:133)
> 	at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:86)
> 	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468)
> 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> 	at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
> 	at org.eclipse.jetty.server.Server.start(Server.java:387)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:354)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> 	at org.apache.jackrabbit.standalone.Main.run(Main.java:184)
> 	at org.apache.jackrabbit.standalone.Main.main(Main.java:59)
> Caused by: java.lang.NullPointerException: Nested JAR URLs are not supported
> 	at java.base/sun.net.www.protocol.jar.Handler.parseURL(Handler.java:159)
> 	at java.base/java.net.URL.<init>(URL.java:697)
> 	... 23 common frames omitted
> {code}
> I think problem in this exception. Full log attached.
> Can anybody help me with this issue?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)