Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] "503 Service not available" after update from Jetty 9.4.25 to 9.4.44

Hi,

Before taking the task to update to Jetty 10 in my application, I've tried to
update to the most recent version of Jetty 9.4. After that trying to
access / I get an

HTTP ERROR 503 Service Unavailable
URI:	/
STATUS:	503
MESSAGE:	Service Unavailable
SERVLET:	-
Powered by Jetty:// 9.4.44.v20210927

When looking into the server log I can see the following exception:

2021-11-29 16:44:19 WARNING: Failed startup of context o.e.j.w.WebAppContext@497ed877{root,/,file:///D:/MyApp_devel/webapps/root/,UNAVAILABLE}{D:\MyApp_devel\webapps\root}
java.lang.NoClassDefFoundError: Could not initialize class org.apache.geronimo.components.jaspi.model.JaspiXmlUtil
	at org.apache.geronimo.components.jaspi.AuthConfigFactoryImpl.<init>(AuthConfigFactoryImpl.java:72)
	at org.apache.geronimo.components.jaspi.AuthConfigFactoryImpl.<init>(AuthConfigFactoryImpl.java:79)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at java.base/java.lang.Class.newInstance(Class.java:584)
	at javax.security.auth.message.config.AuthConfigFactory$3.run(AuthConfigFactory.java:66)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.message.config.AuthConfigFactory.getFactory(AuthConfigFactory.java:62)
	at org.eclipse.jetty.security.jaspi.JaspiAuthenticatorFactory.getAuthenticator(JaspiAuthenticatorFactory.java:90)
	at org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:388)
	at org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:417)
	[...]

org.apache.geronimo.components.jaspi.model.JaspiXmlUtil is in geronimo-jaspi-2.0.0.jar and is part
of the classpath, so I assume that something else happened but I ran out of ideas what that might
be or how to find out what it is.

Java being used when starting: zulu8.58.0.13-ca-jdk8.0.312-win_x64

Any help is appreciated.


Thanks and cheers, Lothar


Back to the top