You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Sideleau <pa...@yahoo.com> on 2006/02/23 20:46:01 UTC

JSP Compiler error Windows XP Tomcat 5.5.9

I am getting the following JSP compiler error when
running tomcat 5.5.9 with JDK 1.5_05 on Windows XP
Professional Service Pack 1:

java.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)
	at
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:267)
	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
	at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

The work directory contains a .classtmp file after the
error occurs. This problem does not happen for every
JSP page and the JSP page usually compiles if I hit
the refresh button. It doesn't always fail on the same
JSP page. I have not changed any tomcat JSP
configuration settings in the \conf\web.xml file. 

Has anyone else experienced this problem? If so, is
there a workaround?

Thank you. 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JSP Compiler error Windows XP Tomcat 5.5.9

Posted by Eric Lee <er...@gmail.com>.
I get the same thing. I posted a bug about it:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38713

No responses so far.

On 2/23/06, Paul Sideleau <pa...@yahoo.com> wrote:
> I am getting the following JSP compiler error when
> running tomcat 5.5.9 with JDK 1.5_05 on Windows XP
> Professional Service Pack 1:
>
> java.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)
>         at
> org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:267)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>         at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>         at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>         at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>
> The work directory contains a .classtmp file after the
> error occurs. This problem does not happen for every
> JSP page and the JSP page usually compiles if I hit
> the refresh button. It doesn't always fail on the same
> JSP page. I have not changed any tomcat JSP
> configuration settings in the \conf\web.xml file.
>
> Has anyone else experienced this problem? If so, is
> there a workaround?
>
> Thank you.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org