This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsp 1.0 locked file problem

 
nirail rail
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks

- 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
work\%3A8080%2F\FXDeals.class
at com.sun.jsp.compiler.Main.compile(Main.java:224)
at com.sun.jsp.runtime.JspLoader.loadJSP(Compiled Code)
at
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 com.sun.web.server.ConnectionHandler.run(Compiled Code)
[ July 16, 2004: Message edited by: Bear Bibeault ]
 
Shailesh Kini
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

cheers
skini
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic