By: Connor Gallic user 15 Sep 2020 at 10:07 a.m. CDT

6 Responses
Connor Gallic gravatar
I recieve a 503 error when trying toget to the saml metadata page. I saw you had posted a fix for rhel, but wanted to know if there was also a fix on Ubuntu or a patch so I wouldn't have to reinstall the server? ``` Failed startup of context o.e.j.w.WebAppContext@6acdbdf5{Shibboleth Identity Provider,/idp,file:///opt/jetty-9.4/temp/jetty-localhost-8086-idp_war-_idp-any-7814671892536454348.dir/webapp/,UNAVAILABLE}{/opt/gluu/jetty/idp/webapps/idp.war} java.lang.UnsupportedClassVersionError: net/shibboleth/ext/spring/context/DelimiterAwareApplicationContext has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at org.eclipse.jetty.webapp.WebAppClassLoader.foundClass(WebAppClassLoader.java:649) at org.eclipse.jetty.webapp.WebAppClassLoader.loadAsResource(WebAppClassLoader.java:622) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:534) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.springframework.util.ClassUtils.forName(ClassUtils.java:282) at org.springframework.web.context.ContextLoader.determineContextClass(ContextLoader.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:332) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:279) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:930) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:553) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:889) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:356) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1445) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:822) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:275) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:513) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:154) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:173) at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:441) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:66) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:784) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:753) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:641) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:540) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:146) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:599) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:249) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) at org.eclipse.jetty.server.Server.start(Server.java:407) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) at org.eclipse.jetty.server.Server.doStart(Server.java:371) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:1888) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.start.Main.invokeMain(Main.java:218) at org.eclipse.jetty.start.Main.start(Main.java:491) at org.eclipse.jetty.start.Main.main(Main.java:77) 2020-09-15 14:38:48.218:INFO:oejs.AbstractConnector:main: Started ServerConnector@7a1234bf{HTTP/1.1,[http/1.1]}{localhost:8086} 2020-09-15 14:38:48.219:INFO:oejs.Server:main: Started @7490ms 2020-09-15 14:47:40.886:INFO:oejs.AbstractConnector:Thread-1: Stopped ServerConnector@7a1234bf{HTTP/1.1,[http/1.1]}{localhost:8086} 2020-09-15 14:47:40.887:INFO:oejs.session:Thread-1: node0 Stopped scavenging 2020-09-15 14:47:40.900:INFO:oejsh.ContextHandler:Thread-1: Stopped o.e.j.w.WebAppContext@6acdbdf5{Shibboleth Identity Provider,/idp,null,UNAVAILABLE}{/opt/gluu/jetty/idp/webapps/idp.war} ```

By Michael Schwartz Account Admin 15 Sep 2020 at 12:55 p.m. CDT

Michael Schwartz gravatar
Yes, we fixing this in Gluu Server 4.2.1... apparently this occured on the Ubuntu 18 distro. @HARJINDER.DHANJAL might be able to suggest a workaround in the meantime. 4.2.1 will be released this coming Monday.

By Michael Schwartz Account Admin 24 Sep 2020 at 9:52 p.m. CDT

Michael Schwartz gravatar
There will be an upgrade script coming out. Also make sure that the idp is running. For example, in the container, run `#service idp status` and `ps -ef | grep idp`

By Mohib Zico Account Admin 01 Oct 2020 at 3:59 a.m. CDT

Mohib Zico gravatar
Fixed in latest 4.2.1.

By Jerry Brower Account Admin 15 Oct 2020 at 10:09 p.m. CDT

Jerry Brower gravatar
I am getting a similar issue. Is there a fix for CentOS 8? We are already running 4.2.1.Final.

By Mohib Zico Account Admin 15 Oct 2020 at 10:13 p.m. CDT

Mohib Zico gravatar
>> I am getting a similar issue. Is there a fix for CentOS 8? That should be fixed as well for CentOS 8. I'll do a quick check...

By Mohib Zico Account Admin 16 Oct 2020 at 11:31 p.m. CDT

Mohib Zico gravatar
Just tested a CentOS8 installation with 4.2 latest. It's looking good. Thanks!