Problem trying to follow instructions for Shakespeare installation
I am trying to learn how the Shakespeare-pm app provides the side-by-side display because I would like to do a similar thing with some work that I am doing. I am following the instructions in https://gitlab.existsolutions.com/tei-publisher/shakespeare-pm but when I try to access the /cantaloupe URL I get
`HTTP ERROR 503 Problem accessing /cantaloupe/. Reason:
Service Unavailable`
Investigating as to why this happens I see a problem with the activation of cantaloupe in the file logs/exist.log.
I realise that this may actually be a problem that I may need to take up with Cantaloupe but since I am following the instructions on the TEI publisher site I thought I would take it up here first in the hope that you may have seen the problem before.
I am using Java 1.8.0_152 on Linux, eXist-db 3.6.1, TEI Publisher 3.0.1 and Cantaloupe 3.4.
I would like to ask what versions of eXist/TEI Publisher/Cantaloupe/Java you have made the scenario work for?
The log file says
2018-01-14 22:22:12,128 [main] WARN (WebAppContext.java [doStart]:554) - Failed startup of context o.e.j.w.WebAppContext@1e6dad8{/cantaloupe,file:///tmp/jetty-0.0.0.0-8081-cantaloupe.war-_can taloupe-any-1245395279920486250.dir/webapp/,UNAVAILABLE}{/cantaloupe.war} org.eclipse.jetty.util.MultiException: Multiple exceptions at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:450) ~[jetty-annotations-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:363) ~[jetty-annotations-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:517) ~[jetty-webapp-9.4.7.v20170914.jar:9.4.7.v20170914]
And goes on to say
Caused by: java.lang.RuntimeException: Error scanning entry org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.class from jar file:///tmp/jetty-0.0.0.0-8081-cantaloupe.war-_cantaloupe-any-1245395279920486250.dir/webapp/WEB-INF/lib/jetty-alpn-java-server-9.4.7.v20170914.jar at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:911) ~[jetty-annotations-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:857) ~[jetty-annotations-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159) ~[jetty-annotations-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:462) ~[jetty-annotations-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) ~[jetty-util-9.4.7.v20170914.jar:9.4.7.v20170914] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) ~[jetty-util-9.4.7.v20170914.jar:9.4.7.v20170914] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_152] Caused by: java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm-5.1.jar:5.1] at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm-5.1.jar:5.1] at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm-5.1.jar:5.1]
I assume that the error I see accessing the cantaloupe URL is because this fault is being thrown while Jetty is deploying Cantaloupe.
I've tried researching the problem and it looks like it is something to do with the version of the JDK and the asm module.
Chris Selwyn