Re: Problem with updating and checkout under Tomcat 4
Milos Kleint <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Dariusz Drezno wrote: > 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? ;) I'd rather call it a "coincidence", rather then someone's fault.. ;) anyway.. you want to patch the code in the trunk? (please note that it's a bit different from the 3.3.1 code, but not much.. Milos > 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 >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >