[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Update: Saxon java call works in my script but get an
We fixed the problem. Had to change the command within the script to the following. Old Saxon call within script logic java -cp $SAXON_JAR net.sf.saxon.Transform -s:$FinesrvDataDir/Library_Invoice_Interface.xml -xsl:$FinesrvCronDir/LibrXML2CSV_stylesheet.xsl -o:$FinesrvDataDir/Library_Invoice_Interface.csv 1) New Saxon call within script logic /usr/java5/bin/java -cp $SAXON_JAR net.sf.saxon.Transform -s:$FinesrvDataDir/Library_Invoice_Interface.xml -xsl:$FinesrvCronDir/LibrXML2CSV_stylesheet.xsl -o:$FinesrvDataDir/Library_Invoice_Interface.csv 2) We also had to change the shell from "sh" to "ksh" For some reason the Systems group indicated that the cron job was overriding the java class path so in the script itself we had to change it to the above line of code so it is executing the proper java and it now works. Because the class path has all kinds of other paths Systems did not want to try and figure out what the problem was. They wanted to make sure I was using the Java I needed so this is how we corrected it. _____________________________________________________________________ Catherine Wilbur | Senior Application Programmer | IT Services 401 Sunset Avenue, Windsor ON Canada N9B 3P4 (T) 519.253.3000 Ext. 2745 | (F) 519.973.7083 | (E) cwilbur@xxxxxxxxxxx www.uwindsor.ca/its
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|