To any of you on HP-UX 11 using the xalan-j_2_3_1  to do an xml to html
conversion ..

As root on HP-UX 11 box, I try to run a script as a cron job " 25 14 * * 0-6
/home/meta32/myxslt/run_prodstats.sh"
-rwxrwxrwx  1  root  sys  280 Aug 14 17:11
/home/meta32/myxslt/run_prodstats.sh

The /var/mail/root contains the following error message indicating the
process failed to run.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/Process

The shell script  run_prodstats.sh contains just thes lines ..
#!/usr/bin/sh
cd /home/meta32/myxslt
/opt/java1.3/bin/java  org.apache.xalan.xslt.Process -in
../myxsql/prodstats.xml -xsl StatsStyle.xsl -out
/usr/local/apache/htdocs/Metaphase/prodstats.html  ( all on one line )

The same command on command line works correctly.
root@m020cad3:/home/meta32/myxslt>/opt/java1.3/bin/java
org.apache.xalan.xslt.Process -in ../myxsql/prodstats.xml -xsl
StatsStyle.xsl -out /usr/local/apache/htdocs/Metaphase/prodstats.html  ( all
on one line )

I will appreciate if any one could help me with this situation
Thanks
Raj











To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to