Contact Us
  
 
 
    SearchSearch   RegisterRegister   Log inLog in 

java.io.IOException: tmpFile.renameTo(classFile) failed

java.io.IOException: tmpFile.renameTo(classFile) failed

 
Post new topic   Reply to topic     Forum Index -> Java,Struts framework, Velocity, JSF, Hibernate, Servlet, JSP, javaBeans
View previous topic :: View next topic  
Author Message
juniormember



Joined: 28 Jun 2008
Posts: 154

PostPosted: Thu Nov 27, 2008 8:43 am    Post subject: java.io.IOException: tmpFile.renameTo(classFile) failed Reply with quote

Hi

I am using Enumeration in my JSP page.
when I run this jsp it is throwing an error

Quote:
java.io.IOException: tmpFile.renameTo(classFile) failed
org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:246)
org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:438)


code I am using in jsp

Code:
<%@ page language="java" import="java.util.Enumeration,java.io.*" errorPage="" %>
<%
  Enumeration enumm=null;
%>
Back to top
View user's profile Send private message
seniormember
Site Admin


Joined: 20 Jul 2008
Posts: 77

PostPosted: Thu Dec 04, 2008 5:59 am    Post subject: Reply with quote

I also got this problem of tmpFile.renameTo in jsp file.

I was deploying my project to tomcat, and i opened my project on web browser. I got this problem. After closing my browser and restart of tomcat web server, i again checked that file on browser. No error found this time.

When deploy project and access jsp page if old page changed in deploying process, this exception comes. It is compiling old jsp which is not found.

http://java.sun.com/javase/6/docs/api/java/io/IOException.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Java,Struts framework, Velocity, JSF, Hibernate, Servlet, JSP, javaBeans All times are GMT
Page 1 of 1

 
Jump to:  
  Quick Post a Reply Topic
     
  Name (required)  
     
  Email Address (will not be published) (required)  
     
  Subject of topic (required)  
     
   
     
   
     
  Advertisement  
     
 
     


  More Links  
 
JSP Introduction
JSP Setup
Simple JSP Example
JSP Variable
Array Declaration in JSP
JSP Forms and User Input
Form Validation
JSP Cookies
JSP Session Object
Loop, content collection, iterator, conditional check in JSP
JSP Application Object
JSP Include
JSP Response Object
JSP Request Object
JSP Error Handling
JSP File Handling Object
JSP Action Tag
JSP Implicit Objects
JSP Declaration
JSP Directive
JDBC Introduction
JDBC Driver
JDBC Connection
JDBC Prepared/Statement
JDBC ResultSet
JDBC Close Connection object
JDBC Insert
JDBC Display Records
JDBC Update
JDBC Delete
JDBC Sorting
JDBC Query
JDBC Exception
JDBC Add Batch
JDBC Transaction/RollBack