Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

When import LCA - get unable to compile class for JSP

Avatar

Avatar
Validate 1
Level 3
jb1809
Level 3

Like

1 like

Total Posts

55 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 3
jb1809
Level 3

Like

1 like

Total Posts

55 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
jb1809
Level 3

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

Avatar

Avatar
Validate 1
Level 3
jb1809
Level 3

Like

1 like

Total Posts

55 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 3
jb1809
Level 3

Like

1 like

Total Posts

55 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
jb1809
Level 3

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.