roehmdo1 Absent Member.
Absent Member.
1569 views

New install sspr 3.2

Just installed sspr 3.2 on a sles 11 sp4 server (not oes).. extended the schema and did the edirectory rights ldif files.. when I go to the site:
http://servername:8080/sspr and click on the configuration editor - I immediately get the following error... any ideas ??
type Exception report

message org.apache.jasper.JasperException: Unable to compile class for JSP

description The server encountered an internal error that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: org.apache.jasper.JasperException: Unable to compile class for JSP
password.pwm.SessionFilter.processFilter(SessionFilter.java:230)
password.pwm.SessionFilter.doFilter(SessionFilter.java:78)
password.pwm.GZIPFilter.doFilter(GZIPFilter.java:63)
password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:71)



root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:604)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
password.pwm.util.ServletHelper.forwardToJsp(ServletHelper.java:711)
password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:104)
password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:82)
password.pwm.servlet.TopServlet.outputUnrecoverableException(TopServlet.java:233)
password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:136)
password.pwm.servlet.TopServlet.doGet(TopServlet.java:63)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)
password.pwm.SessionFilter.processFilter(SessionFilter.java:227)
password.pwm.SessionFilter.doFilter(SessionFilter.java:78)
password.pwm.GZIPFilter.doFilter(GZIPFilter.java:63)
password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:71)



root cause
java.io.FileNotFoundException: /usr/share/tomcat6/work/Catalina/localhost/sspr/org/apache/jsp/WEB_002dINF/jsp/error_jsp.java (Permission denied)
java.io.FileOutputStream.<init>(FileOutputStream.java:233)
java.io.FileOutputStream.<init>(FileOutputStream.java:122)
org.apache.jasper.compiler.Compiler.setupContextWriter(Compiler.java:298)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:230)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
password.pwm.util.ServletHelper.forwardToJsp(ServletHelper.java:711)
password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:104)
password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:82)
password.pwm.servlet.TopServlet.outputUnrecoverableException(TopServlet.java:233)
password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:136)
password.pwm.servlet.TopServlet.doGet(TopServlet.java:63)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)
password.pwm.SessionFilter.processFilter(SessionFilter.java:227)
password.pwm.SessionFilter.doFilter(SessionFilter.java:78)
password.pwm.GZIPFilter.doFilter(GZIPFilter.java:63)
password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:71)



note The full stack trace of the root cause is available in the Apache Tomcat/6.0.45 logs.


Apache Tomcat/6.0.45
0 Likes
9 Replies
Knowledge Partner
Knowledge Partner

Re: New install sspr 3.2

Seems like the issue might be this part:

root cause
java.io.FileNotFoundException:
/usr/share/tomcat6/work/Catalina/localhost/sspr/org/apache/jsp/WEB_002dINF/jsp/error_jsp.java
(Permission denied)

So what file permissions does the sspr.war file have? Make it the same
as whatever tomcat is running as, delete the sspr directory, and restart
Tomcat.

On 12/12/2016 10:06 AM, roehmdo wrote:
>
> Just installed sspr 3.2 on a sles 11 sp4 server (not oes).. extended
> the schema and did the edirectory rights ldif files.. when I go to the
> site:
> http://servername:8080/sspr and click on the configuration editor - I
> immediately get the following error... any ideas ??
> type Exception report
>
> message org.apache.jasper.JasperException: Unable to compile class for
> JSP
>
> description The server encountered an internal error that prevented it
> from fulfilling this request.
>
> exception
> javax.servlet.ServletException: org.apache.jasper.JasperException:
> Unable to compile class for JSP
> password.pwm.SessionFilter.processFilter(SessionFilter.java:230)
> password.pwm.SessionFilter.doFilter(SessionFilter.java:78)
> password.pwm.GZIPFilter.doFilter(GZIPFilter.java:63)
> password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:71)
>
>
>
> root cause
> org.apache.jasper.JasperException: Unable to compile class for JSP
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:604)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> password.pwm.util.ServletHelper.forwardToJsp(ServletHelper.java:711)
> password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:104)
> password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:82)
> password.pwm.servlet.TopServlet.outputUnrecoverableException(TopServlet.java:233)
> password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:136)
> password.pwm.servlet.TopServlet.doGet(TopServlet.java:63)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)
> password.pwm.SessionFilter.processFilter(SessionFilter.java:227)
> password.pwm.SessionFilter.doFilter(SessionFilter.java:78)
> password.pwm.GZIPFilter.doFilter(GZIPFilter.java:63)
> password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:71)
>
>
>
> root cause
> java.io.FileNotFoundException:
> /usr/share/tomcat6/work/Catalina/localhost/sspr/org/apache/jsp/WEB_002dINF/jsp/error_jsp.java
> (Permission denied)
> java.io.FileOutputStream.<init>(FileOutputStream.java:233)
> java.io.FileOutputStream.<init>(FileOutputStream.java:122)
> org.apache.jasper.compiler.Compiler.setupContextWriter(Compiler.java:298)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:230)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> password.pwm.util.ServletHelper.forwardToJsp(ServletHelper.java:711)
> password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:104)
> password.pwm.util.ServletHelper.forwardToErrorPage(ServletHelper.java:82)
> password.pwm.servlet.TopServlet.outputUnrecoverableException(TopServlet.java:233)
> password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:136)
> password.pwm.servlet.TopServlet.doGet(TopServlet.java:63)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)
> password.pwm.SessionFilter.processFilter(SessionFilter.java:227)
> password.pwm.SessionFilter.doFilter(SessionFilter.java:78)
> password.pwm.GZIPFilter.doFilter(GZIPFilter.java:63)
> password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:71)
>
>
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/6.0.45 logs.
>
>
> Apache Tomcat/6.0.45
>
>


0 Likes
roehmdo1 Absent Member.
Absent Member.

Re: New install sspr 3.2

that did the trick - thanks
0 Likes
Knowledge Partner
Knowledge Partner

Re: New install sspr 3.2

May I ask why you use 3.2 when 3.3 and even 4 is out?
0 Likes
roehmdo1 Absent Member.
Absent Member.

Re: New install sspr 3.2

Well - my entitled software is only for 3.2 or 3.3 (we are licensed thru a SLA)...I guess I could use the 3.3 version if that is a better product..I am setting it up now on a sandbox server so once I see exactly how we want it configured, I guess I could export the config and import it into a 3.3 install ??... on a side note, I have been trying to figure out in which config file the java heap memory line goes into.. have been reading posts some saying create a setenv.sh and put export statements in that ?? and some people say tomcat.conf file.. any suggestions ??
0 Likes
Knowledge Partner
Knowledge Partner

Re: New install sspr 3.2

Not sure where to set the Java Heap. I would read the Tomcat documentation as suggested in the SSPR documentation.

When it comes to the differences I can recommend browsing through the release docs at https://www.netiq.com/documentation/self-service-password-reset-33/
For some information.
Then an example sandbox is of cause the best to actually look at.

Good luck
0 Likes
roehmdo1 Absent Member.
Absent Member.

Re: New install sspr 3.2


I know the documentation says sspr is compatible with windows and suse
linux and redhat.. any idea if it will run on ubuntu ?


--
roehmdo
------------------------------------------------------------------------
roehmdo's Profile: https://forums.netiq.com/member.php?userid=1488
View this thread: https://forums.netiq.com/showthread.php?t=57051

0 Likes
Knowledge Partner
Knowledge Partner

Re: New install sspr 3.2

It probably will. From what I understand it requires a web service like jboss.

The documentation usually states the tested and supported environments.

Be aware that if you use Ubuntu you will use an unsupported system.
0 Likes
roehmdo1 Absent Member.
Absent Member.

Re: New install sspr 3.2

thanks - appreciate your help
0 Likes
Micro Focus Contributor
Micro Focus Contributor

Re: New install sspr 3.2

roehmdo;2446417 wrote:
Well - my entitled software is only for 3.2 or 3.3 (we are licensed thru a SLA)...I guess I could use the 3.3 version if that is a better product..I am setting it up now on a sandbox server so once I see exactly how we want it configured, I guess I could export the config and import it into a 3.3 install ??... on a side note, I have been trying to figure out in which config file the java heap memory line goes into.. have been reading posts some saying create a setenv.sh and put export statements in that ?? and some people say tomcat.conf file.. any suggestions ??


3.2 has known security vulnerabilities that were fixed in the latest 3.3 release and beyond. Running anything before 3.3.1.2 is not recommended.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.