Hi all,
Could anyone explain to me why I am getting this stacktrace, I upgraded from jetty-9.4.20 to jetty-9.4.33. Why do I need AuthenticatorFactory?
2020-11-08 17:26:01,012 [main] WARN SecurityHandler - Error while loading AuthenticatorFactory with ServiceLoader
java.util.ServiceConfigurationError: org.eclipse.jetty.security.Authenticator$Factory: Provider org.eclipse.jetty.security.jaspi.JaspiAuthenticatorFactory could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:243) ~[?:1.8.0]
at java.util.ServiceLoader.access$100(ServiceLoader.java:196) ~[?:1.8.0]
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:395) ~[?:1.8.0]
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:415) ~[?:1.8.0]
at java.util.ServiceLoader$1.next(ServiceLoader.java:491) ~[?:1.8.0]
at org.eclipse.jetty.security.SecurityHandler.<clinit>(SecurityHandler.java:88) [jetty-security-9.4.33.v20201020.jar:9.4.33.v20201020]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:83) ~[?:1.8.0]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57) ~[?:1.8.0]
at java.lang.reflect.Constructor.newInstance(Constructor.java:437) [?:1.8.0]
at org.eclipse.jetty.servlet.ServletContextHandler.newSecurityHandler(ServletContextHandler.java:331) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.servlet.ServletContextHandler.getSecurityHandler(ServletContextHandler.java:396) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:240) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:162) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.webapp.WebAppContext.<init>(WebAppContext.java:278) [jetty-webapp-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.webapp.WebAppContext.<init>(WebAppContext.java:207) [jetty-webapp-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.providers.WebAppProvider.createContextHandler(WebAppProvider.java:322) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.App.getContextHandler(App.java:99) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.bindings.StandardDeployer.processBinding(StandardDeployer.java:39) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:517) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:157) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:173) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:427) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:66) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:784) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:753) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:641) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:540) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:146) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:605) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:252) [jetty-deploy-9.4.33.v20201020.jar:9.4.33.v20201020]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) [jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020]
at com.sterlingcommerce.hadrian.system.jetty.JettyHttpServiceImpl.startJetty(JettyHttpServiceImpl.java:442) [sspconfig.jar:?]
at com.sterlingcommerce.hadrian.system.jetty.JettyHttpServiceImpl.start(JettyHttpServiceImpl.java:155) [sspconfig.jar:?]
at $ServiceWithLifecycle_175a9f74f4b.start($ServiceWithLifecycle_175a9f74f4b.java) [?:?]
at $ServiceWithLifecycle_175a9f74f41.start($ServiceWithLifecycle_175a9f74f41.java) [?:?]
at com.sterlingcommerce.hadrian.system.ServiceManagerImpl.initStartGlobalServices(ServiceManagerImpl.java:201) [sspconfig.jar:?]
at com.sterlingcommerce.hadrian.system.ServiceManagerImpl.start(ServiceManagerImpl.java:70) [sspconfig.jar:?]
at $ServiceManager_175a9f74f26.start($ServiceManager_175a9f74f26.java) [?:?]
at $ServiceManager_175a9f74f24.start($ServiceManager_175a9f74f24.java) [?:?]
at com.sterlingcommerce.hadrian.Main.main(Main.java:354) [sspconfig.jar:?]
Caused by: java.lang.NoClassDefFoundError: javax.security.auth.message.AuthException
at java.lang.J9VMInternals.newInstanceImpl(Native Method) ~[?:2.9 (04-02-2020)]
at java.lang.Class.newInstance(Class.java:1852) ~[?:2.9 (04-02-2020)]
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:391) ~[?:1.8.0]
... 41 more
Caused by: java.lang.ClassNotFoundException: javax.security.auth.message.AuthException
at java.net.URLClassLoader.findClass(URLClassLoader.java:610) ~[?:1.8.0]
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:944) ~[?:2.9 (04-02-2020)]
at java.lang.ClassLoader.loadClass(ClassLoader.java:889) ~[?:2.9 (04-02-2020)]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0]
at java.lang.ClassLoader.loadClass(ClassLoader.java:872) ~[?:2.9 (04-02-2020)]
at java.lang.J9VMInternals.newInstanceImpl(Native Method) ~[?:2.9 (04-02-2020)]
at java.lang.Class.newInstance(Class.java:1852) ~[?:2.9 (04-02-2020)]
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:391) ~[?:1.8.0]
... 41 more