Jetty 9.3.22.v20171030
Joseph Fischetti
Joseph.Fischetti at marist.edu
Tue Nov 7 14:31:55 EST 2017
I'm currently working on a new deployment and I'm planning to use Jetty instead of tomcat per the project's recommendation (our production system right now uses apache/tomcat). Using the documentation from the site [1] I downloaded the newest stable Jetty 9.3 (9.3.22.v20171030) release and have a fresh shibboleth-idp installation. Jetty starts but fails to load the war file. The errors are below [2].
The same configuration with Jetty 9.3.21.v20170918 (from [3])starts fine.
I have /opt/jetty configured as a sym link to either jetty version, so it's easy for me to switch back and forth to reproduce.
I've spent some time searching, but I don't see this mentioned anywhere else. I don't think it's user error, but there's always that potential.
- Joe
[1] https://wiki.shibboleth.net/confluence/display/IDP30/Jetty93
[2]
14:16:52.972 - WARN [org.eclipse.jetty.webapp.WebAppContext:531] - Failed startup of context o.e.j.w.WebAppContext at 4e41089d{/idp,[file:///opt/shibboleth-idp-3.3.2/jetty-base/tmp/jetty-0.0.0.0-8080-idp.war-_idp-any-5264530943576852385.dir/webinf/, file:///opt/shibboleth-idp-3.3.2/jetty-base/tmp/jetty-0.0.0.0-8080-idp.war-_idp-any-5264530943576852385.dir/webapp/],UNAVAILABLE}{/opt/shibboleth-idp-3.3.2/war/idp.war}
org.eclipse.jetty.util.MultiException: Multiple exceptions
at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:539)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:448)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:496)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1363)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:458)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561)
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:422)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:389)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1540)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1462)
Suppressed: java.lang.NullPointerException: null
at org.eclipse.jetty.util.MultiReleaseJarFile.<init>(MultiReleaseJarFile.java:92)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:926)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:890)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:164)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:551)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
Suppressed: java.lang.NullPointerException: null
at org.eclipse.jetty.util.MultiReleaseJarFile.<init>(MultiReleaseJarFile.java:92)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:926)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:890)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:164)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:551)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
at org.eclipse.jetty.util.MultiReleaseJarFile.<init>(MultiReleaseJarFile.java:92)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:926)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:890)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:164)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:551)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
14:16:52.983 - INFO [org.eclipse.jetty.server.AbstractConnector:278] - Started ServerConnector at 564fabc8{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
14:16:53.169 - INFO [org.eclipse.jetty.util.ssl.SslContextFactory:290] - x509=X509 at 747edf66(xxxx.xxxx.xxxx,h=[xxxx.xxxx.xxxx],w=[]) for SslContextFactory at 3d1cfad4(file:///opt/shibboleth-idp-3.3.2/credentials/idp-browser.p12,null)
14:16:53.212 - INFO [org.eclipse.jetty.server.AbstractConnector:278] - Started ServerConnector at 15aab8c6{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
14:16:53.212 - INFO [org.eclipse.jetty.server.Server:414] - Started @3798ms
[3] http://central.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.3.21.v20170918/
Joseph Fischetti
Linux System Administrator
Marist College
More information about the users
mailing list