Re: Better explained of my problem with renaming a file in Tomcat

2005-06-22 Thread Kam Lung Leung
Hi, Thank to stdunbar for pointing out the problem that I was having. It turns out that the /tmp and the /alert_messages ware mounted on two different nodes in the file system. After changing the directory for writing the temporary audio file to be the same as the /alert_messages directory. The

Re: Better explained of my problem with renaming a file in Tomcat

2005-06-22 Thread Kam Lung Leung
Hi Jason, Thank very much for helping me to solve this issue. Only the jakarta-tomcat-4.1.30 contains servlet named RenameFile. The other version of tomcat ( jboss-3.2.1_tomcat-4.1.24) is embedded in the Jboss. This version of tomcat does not contais the servlet named RenameFile. A color coded

Re: Better explained of my problem with renaming a file in Tomcat

2005-06-22 Thread Jason Bainbridge
On 6/22/05, Kam Lung Leung <[EMAIL PROTECTED]> wrote: > Hi, > > I have a servlet, RenameFile, that receives audio file via HTTP Post I should have read your post better and realized there was no Java method for RenameFile as that is what I wrongly assumed... How exactly are you ceating the direc

Better explained of my problem with renaming a file in Tomcat

2005-06-22 Thread Kam Lung Leung
Hi, I have a servlet, RenameFile, that receives audio file via HTTP Post and writes it to /tmp/recording.0002002B-0C0022BB-0001.1.20050622.073208.wav. Then it creates directories under /alert_messages directory based on the timing parameters that it get. Finally, it renames the /tmp/recording.000