• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem transforming using JAXP (StreamResult problem)

 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This code snippet gets a DOMSource as an input and a String file name to which it is supposed to serilizae it to.
But the transformer expects the output file to be present @ the location whereas it is supposed to create it.
It has been workign fine for months now.
It fails only on unix and that directory has write permissions as well.
Infact there is another workflow where a .csv file is written to the same folder and that goes through just fine.

It is throwing a java.io.FileNotFoundException for the file name that i passed.
thoughts?
thanks.
karthik
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!