When import LCA - get unable to compile class for JSP

Avatar

Avatar

jb1809

Avatar

jb1809

jb1809

23-09-2014

Hello

Can you provide insight on this problem?

When trying to import an LCA in admin console, after selecting an LCA and clicking the preview button get an exception:

javax.servlet.ServletException: Unable to compile class for JSP.


Thank you.


Using :  JBoss SP 1 turnkey, windows 7-64 bits

Details:

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

exception:

javax.servlet.ServletException: Unable to compile class for JSP com.adobe.framework.SecurityFilter.doFilter(SecurityFilter.java:214) com.adobe.framework.SessionBundleFilter.doFilter(SessionBundleFilter.java:135) com.adobe.repository.ui.aac.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:76) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause


org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:593) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085) org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398) org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085) org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398) org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) (MORE...)

Replies

Highlighted

Avatar

Avatar

jb1809

Avatar

jb1809

jb1809

25-09-2014

Found a mitigation or workaround.  (1) Searched in Adobe.com using search string:  JSP compilation issues in JBoss.

(2) Hit list contains an article that advises  depending on server runtime condition (development or production),  to  change web.xml for JSP servlet [] by adding an init-parameter named checkInterval with value 60. After doing that and restart, the JSPcompilation error stopped occurring.