Re: Problem with updating and checkout under Tomcat 4
"Dariusz Drezno" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <011301c1f755$df394dc0$5907840a@pcdrezno> |
Hello Milos, You were right. It works! :) Thank you very much. But I still dont know why my application worked under old Tomcat and as an independent program?? It was my bug or yours? ;) Best regards, Grateful DD ----- Original Message ----- From: "Milos Kleint" <[email protected]> To: <[email protected]> Sent: Thursday, May 09, 2002 11:10 AM Subject: Re: [javacvs-dev] Problem with updating and checkout under Tomcat 4 > Dariusz Drezno wrote: > > Hello, > > > > > > LocalPath is set OK, because when I call my method in main() as separate > > program it works... > > so, the problem doesn't seem to be in your code, but in some enviroment > settings that the library canot handle? > > > When I use it in JSP page - it fails. (I start Tomcat as root - with all > > rights). > > I think if file were not writable, I would get another exception - i.e. > > "permission denied". > > I have no idea ... > > me neither :( could you try the following (just to be sure).. replace > the line where the error appears and directly specify the directory > where the temporary file should reside.. > > File tempFile = File.createTempFile("cvsCRLF", "tmp", > f.getParentFile()); > > > hope that works (*fingers crossed*) > > Milos >