Problem:
- Product Name: Borland Application Server
- Product Version: All
- Product Component: Web Container (Tomcat)
- Platform/OS Version: All
Tomcat is not able to compile JSPs at runtime.
Following exception is thrown:
2008-04-24 14:39:00,265 ERROR [http-8210-Processor25] org.apache.catalina.core.ContainerBase.[HTTP].[localhost].[/compas].[action] - Servlet.service() for servlet action threw exceptionjava.io.IOException: tmpFile.renameTo(classFile) failed
at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245)
at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:164)
Resolution:
The possible workarounds are:
- Clear the work folder of the web container.
- Change the "fork" parameter to true in the web.xml under jsp.
When the JVM is forked into two processes, the problem of sharing files using a single JVM will no longer exist. - Check whether the path of the work folder is too long. If it is, specify a smaller path for the workDir parameter in the server.xml.
#Security
#VisiBroker
#WebContainer
#BorlandApplicationServer