tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Huang <achu...@CS.Stanford.EDU>
Subject RE: Unable to rename class file
Date Tue, 24 Oct 2000 08:37:34 GMT
I don't believe I changed the .jsp before getting the error.  Is the
timestamp the only reason the .class would be regenerated?

I have many gigs free and liberal directory permissions.  Maybe another
connection in my pool is using the old .class so it can't be overwritten?

Thanks,
-alex

On Tue, 24 Oct 2000, Kitching Simon wrote:

> Hi,
> 
> I guess that this is generated because
> tomcat has seen that your jsp file has
> been updated (its timestamp is newer
> than the generated .class file), and so
> is trying to move the class file generated
> from the old .jsp file out of the way so
> it can generate a .class file for the newer
> version of the .jsp.
> 
> Why the rename fails, I don't know.
> Is your disk full? Are the directory
> permissions on the $TOMCAT_HOME/
> work directory stuffed up?
> 
> Regards,
> 
> Simon
> 
> > -----Original Message-----
> > From:	Alex Huang [SMTP:achuang@CS.Stanford.EDU]
> > Sent:	Tuesday, October 24, 2000 10:24 AM
> > To:	tomcat-user@jakarta.apache.org
> > Subject:	Unable to rename class file
> > 
> > Once in a while I'm unable to get a page from Tomcat and seeing the error
> > below in the tomcat.log file.  Does anyone know what this is?  If I
> > request the page again, I get it.  
> > 
> > -alex
> > 
> > Running: Win2000, Apache 1.3.12, Tomcat 3.1 w/pooled connections
> > 
> > Context log: path="" Error in jsp service() : Unable to rename class file
> > C:\Apache\Tomcat\work\localhost_8080\_0002fterms_0002ejspterms_jsp_0.class
> > to
> > C:\Apache\Tomcat\work\localhost_8080\_0002fterms_0002ejspterms.class
> >  org.apache.jasper.JasperException: Unable to rename class file
> > C:\Apache\Tomcat\work\localhost_8080\_0002fterms_0002ejspterms_jsp_0.class
> > to
> > C:\Apache\Tomcat\work\localhost_8080\_0002fterms_0002ejspterms.class
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:263)
> >         at
> > org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> >         at
> > org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
> > Servlet.java:149)
> >         at
> > org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.
> > java:161)
> >         at
> > org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
> >         at
> > org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> > org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:50
> > 3)
> >         at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> >         at
> > org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnecti
> > on(Ajp12ConnectionHandler.java:156)
> >         at
> > org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:366)
> >         at
> > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:411)
> >         at java.lang.Thread.run(Thread.java:484)
> > Context log: path="" <b>Internal Servlet Error:</b><br>
> 


Mime
View raw message