[opencms-dev] OpenCms 8.5.0: cache files in ADE modules

Mathias Lin mail at mathiaslin.com
Sun Nov 25 06:03:31 CET 2012


The first comment on 
http://stackoverflow.com/questions/7495985/byte-limit-exceed-problem-when-reloading-a-jsp-page
helps to solve it though.



Mathias Lin wrote:
> 
> Quite related to this posting, so I add my observation to this thread,
> hope you don't mind, Kai. 
> I just upgraded a site from 8.0.4 to 8.5. But the new Acacia editor isn't
> working on my localhost.
> 
> Checking in Firebug, I'm getting a
> 
> Failed to load resource: the server responded with a status of 500
> (Internal Server Error)
> http://localhost:8080/opencms/resources/ade/contenteditor/62E7FF74F38EA4A5BFD8B8F1A041DB39.cache.html
> 
> and the error message is as follows:
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP: An
> error occurred at line: 30 in the generated java file The code of method
> _jspService(HttpServletRequest, HttpServletResponse) is exceeding the
> 65535 bytes limit Stacktrace:
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP: 
> 
> An error occurred at line: 30 in the generated java file
> The code of method _jspService(HttpServletRequest, HttpServletResponse) is
> exceeding the 65535 bytes limit
> 
> Stacktrace:
> 	at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:95)
> 	at
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
> 	at
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:345)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
> 	at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
> 	at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:342)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> 	at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
> 	at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
> 	at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> 
> 
> 
> 
> 
> Kai Schliemann wrote:
>> 
>> Hi list,
>> most ADE modules (e.g. org.opencms.ade.containerpage,
>> org.opencms.ade.contenteditor, org.opencms.ade.editprovider...) hold a
>> lot of cache files in a subfolder "resources".
>> An example file name is "0326AF455425F6065C00E0361659A798.cache.png".
>> Those files are exported during module export as well.
>> 
>> Can anybody please explain, what those files are for?
>> Especially, if they are necessary, when exporting a module.
>> Actually, I don't want to install a module with a lot of temporary files
>> in a customer environment. So I think about deleting those files before
>> exporting the module.
>> 
>> Thanks for your help in advance.
>> 
>> Best regards
>> 
>> Kai
>> 
>> 
> 
-- 
View this message in context: http://old.nabble.com/OpenCms-8.5.0%3A-cache-files-in-ADE-modules-tp34705434p34718691.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list