Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Error with shibboleth-idp and jetty

Hi,

We have a setup that has a shibboleth-idp with a jetty server. Any requests to the shibboleth-idp is returning an error. I issued the following command:

curl -kvL https://<hostname>/idp and instead of seeing the expected result, I see errors like:

<html>

 http-equiv="Content-Type" content="text/html;charset=utf-8"/>
 Error 500 Server Error

 HTTP ERROR 500
 Problem accessing /idp/. Reason:
 <pre>    Server Errorpre>Caused
 by:<pre>java.lang.IllegalStateException: Not valid for write:
 id=node0xzkusdg1igdt4hol48y607u66 not resident
         at
         org.eclipse.jetty.server.session.Session.checkValidForWrite(Session.java:587)
         at
         org.eclipse.jetty.server.session.Session.setAttribute(Session.java:722)


Looking at some older logs, I could see an error, after which similar errors started appearing:

2017-04-20 05:50:06.059:WARN:oaj.EmbeddedServletOptions:qtp987405879-11:
 The  scratchDir you specified:
 /tmp/jetty-0.0.0.0-443-idp.war-_idp-any-6580006879402156844.dir/jsp is
 unusable.
 2017-04-20 05:50:09.289:WARN:/idp:qtp987405879-11: unavailable
 java.lang.ClassNotFoundException:
 org.apache.jsp.WEB_002dINF.jsp.metadata_jsp
         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:62)


I have checked permissions for the scratch directory, and they seem to be fine. I have also restarted shibboleth-idp several times, but that doesn't seem to solve the problem.
Everytime I issue a request to the idp, I get back the same error as above

Does anyone have any idea as to what has gone wrong and what can be done to solve this issue? (Maybe, rebuild the WAR file?)

Thanks in advance,
Pritha



Back to the top