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

Tobias Herrmann t.herrmann at alkacon.com
Thu Nov 29 10:07:48 CET 2012


Hi Mathias,

the file http://localhost:8080/opencms/resources/ade/contenteditor/62E7FF74F38EA4A5BFD8B8F1A041DB39.cache.html

should not be compiled to as a JSP. It is a static resource that is exported to the real file system. You should check, why tomcat tries to handle it as a JSP.


Greetings, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com
http://www.opencms.org

Am 25.11.2012 17:01, schrieb Deiverson Silveira:
> I think problem with compiler jsp in server app, try compile in tomcat 6, and jboss 4.2.2.
>
> Good luck,
>
> 2012/11/25 Mathias Lin <mail at mathiaslin.com <mailto:mail at mathiaslin.com>>
>
>
>     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.
>
>     _______________________________________________
>     This mail is sent to you from the opencms-dev mailing list
>     To change your list options, or to unsubscribe from the list, please visit
>     http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
>
> -- 
> /
> /
> /
> /www.solutioncms.com <http://www.solutioncms.com>/
> /
> //
> /
> //
> /The Brazilian //
> //
> /Official Provider OpenCms/
> //
> /
> //
> /
> //
> /
> /
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20121129/a7b37312/attachment.htm>


More information about the opencms-dev mailing list