trouble with status page in IDP 4, and tomcat 8
Jeff Chapin
jeff.chapin at uni.edu
Wed Feb 22 18:56:49 UTC 2023
I was getting the error:
org.springframework.web.util.NestedServletException: Handler dispatch
failed; nested exception is java.lang.NoClassDefFoundError:
javax/servlet/jsp/jstl/core/Config
in my log files every time I hit the status page on my newly installed IDP
4. After a little research, I added jstl-1.2.jar to
edit-webapp/WEB-INF/lib/ , and ran bin/build.sh, and redeployed/restarted.
The NoClassDefFoundError is now gone, but I am getting:
An error occurred at line: [1] in the generated java file:
[/local/shib/shib01/apache/tomcat/apache-tomcat-8.5.81/work/Catalina/localhost/idp/org/apache/jsp/WEB_002dINF/jsp/status_jsp.java]
The type net.shibboleth.idp.module.ModuleContext cannot be resolved. It is
indirectly referenced from required .class files
An error occurred at line: [33] in the generated java file:
[/local/shib/shib01/apache/tomcat/apache-tomcat-8.5.81/work/Catalina/localhost/idp/org/apache/jsp/WEB_002dINF/jsp/status_jsp.java]
The import net.shibboleth.idp.module.ModuleContext cannot be resolved
An error occurred at line: [54] in the jsp file: [/WEB-INF/jsp/status.jsp]
ModuleContext cannot be resolved to a type
51: out.println();
52: out.println();
53: out.println("enabled modules: ");
54: final ModuleContext moduleContext =
55: new ModuleContext(((Environment)
request.getAttribute("environment")).getProperty("idp.home"));
56: for (final IdPModule module : ServiceLoader.load(IdPModule.class)) {
57: if (module.isEnabled(moduleContext)) {
An error occurred at line: [55] in the jsp file: [/WEB-INF/jsp/status.jsp]
ModuleContext cannot be resolved to a type
52: out.println();
53: out.println("enabled modules: ");
54: final ModuleContext moduleContext =
55: new ModuleContext(((Environment)
request.getAttribute("environment")).getProperty("idp.home"));
56: for (final IdPModule module : ServiceLoader.load(IdPModule.class)) {
57: if (module.isEnabled(moduleContext)) {
58: out.println("\t" + module.getId() + " (" +
module.getName(moduleContext) + ")");
I'm not sure where to go from here -- the java class that appears to
provide that seems to be present in the webapp:
$ grep -ri net.shibboleth.idp.module.ModuleContext
$CATALINA_HOME/webapps/idp/
/local/shib/shib01/apache/tomcat/latest/webapps/idp/WEB-INF/jsp/status.jsp:<%@
page import="net.shibboleth.idp.module.ModuleContext" %>
Binary file
/local/shib/shib01/apache/tomcat/latest/webapps/idp/WEB-INF/lib/idp-admin-api-4.2.1.jar
matches
I'm not sure if I am going down the wrong path, or if I am on the right
one, where to go from here.
Thanks in advance for any help.
--
Jeff Chapin,
Panther eSports Adviser
Systems/Applications Administrator
ITS-IS, University of Northern Iowa
Phone: 319-273-3162 Email: Jeff.Chapin at uni.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230222/8f3339ec/attachment.htm>
More information about the users
mailing list