aspose file tools*
The moose likes JSP and the fly likes Jsp 1.0 locked file problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Jsp 1.0 locked file problem" Watch "Jsp 1.0 locked file problem" New topic

Jsp 1.0 locked file problem

nirail rail
Ranch Hand

Joined: Nov 14, 2003
Posts: 39
Hey all,

I am getting this weird error using jsp1.0.
To get rid of it, I have to restart the server. Probably
the server locks the file and then is trying to rename it.
Did anyone have this problem before?
Is there a workaround?


- Kostik

com.sun.jsp.JspException: Unable to rename class file
work\%3A8080%2F\C_0003a\jsp1_0\webpages\isp\FXDeals\FXDeals_jsp_20.class to
at com.sun.jsp.compiler.Main.compile(
at com.sun.jsp.runtime.JspLoader.loadJSP(Compiled Code)
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
at com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
at com.sun.jsp.runtime.JspServlet.serviceJspFile(Compiled Code)
at com.sun.jsp.runtime.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.web.core.ServletWrapper.handleRequest(Compiled Code)
at com.sun.web.core.Context.handleRequest(Compiled Code)
at Code)
[ July 16, 2004: Message edited by: Bear Bibeault ]
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
Instead of restarting the server you could always delete all the files in the work folder. This is a temp folder that the webserver uses to compile the jsp.


Shailesh Kini.
I agree. Here's the link:
subject: Jsp 1.0 locked file problem
Similar Threads
URGENT handler thread problem
HANDLER THREAD PROBLEM and unhandled error
session.setAttribute() not working
Is there anybody used to develop application by using JCRAFT (SFTP for Java)
jsp newbie having problem with response.sendRedirect