"file:///root1/myfile2.txt;append=true"
The whole string is considered to be a filename, and as such it is not a valid filename.
Check the documentation, at some point you can tell the method you use to append. I usually use a filewriter and you can set an append flag when creating the file object. Don't know with connector and outputstream but should be simular.
http://java.sun.com/j2se/1.4.2/docs/...ileWriter.html
Method: FileWriter(String fileName, boolean append)
if the link doesn't work then google "filewriter java"