Problem with updating and checkout under Tomcat 4
"Dariusz Drezno" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <005601c1f66e$78d90ad0$5907840a@pcdrezno> |
Hello,
I use javacvs to create application for cvs web browsing. My jsp page use
bean in which I have:
CheckoutCommand cc = new CheckoutCommand();
cc.setModule(p_module);
if (client.getEventManager() == null) {
client.getEventManager().addCVSListener(new BasicListener());
}
try {
client.executeCommand(cc, globalOption);
} catch (CommandException ce) {
ce.printStackTrace();
}
and it works well under Tomcat 3.3 and doesnt work under Tomcat 4.0.3 :-(.
There is the same problem with LogCommand.
I have got an exception:
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1294)
at java.io.File.createTempFile(File.java:1382)
at java.io.File.createTempFile(File.java:1419)
at
org.netbeans.lib.cvsclient.file.DefaultFileHandler.writeTextFile(DefaultFile
Handler.java:253)
at
org.netbeans.lib.cvsclient.response.UpdatedResponse.process(UpdatedResponse.
java:146)
at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:478)
at
org.netbeans.lib.cvsclient.Client.processRequests(Client.java:442)
at
org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.postExpansionExe
cute(CheckoutCommand.java:365)
at
org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(Checkout
Command.java:280)
at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:521)
Maybe it is question to another mail-group (which?), but I hope somebody
will be able to help me.
Best regards,
DD