Does anyone know how to get jspc to display compile errors it encounters when compiling a jsp to a .java file? I haven't been able to get it to work with 4.1.18 or 5.0.19. I've looked through the source code for JspC and it seems like it should be throwing JasperExceptions if it encounters an error but I get nothing. No .java file and no errors. I'm calling jspc.sh which calls jasper.sh which then invokes the org.apache.jasper.JspC class with the appropriate parameters. Here's an example of the command jasper.sh submits (echo-ed right before it is submitted from jasper.sh, with some classpath trimming for easier reading):
/QIBM/ProdData/Java400/jdk13/bin/java -verbose -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.defaultlog=info -Dorg.apache.commons.logging.simplelog.showdatetime=true -Djava.endorsed.dirs=/qibm/userdata/jakarta-tomcat-5.0.19/bin:/qibm/userdata/jakarta-tomcat-5.0.19/common/endorsed -classpath /QIBM/ProdData/Java400/jdk13/lib/tools.jar:/qibm/userdata/jakarta-tomcat-5.0.19/common/endorsed/xercesImpl.jar: ... a giant classpath here ... /qibm/userdata/jakarta-tomcat-5.0.19/webapps/plns/WEB-INF/lib/commons-lang.jar -Djasper.home=/qibm/userdata/jakarta-tomcat-5.0.19 org.apache.jasper.JspC jspc -l -v -d /qibm/userdata/jakarta-tomcat-5.0.19/webapps/plns -p com.powertech.plns.RecordJSPs.DONW.QMNUSRC.PWRLOCK -webinc /qibm/userdata/jakarta-tomcat-5.0.19/webapps/plns/RecordJSPs/DONW/QMNUSRC/PWRLOCK/PWRLOCK.jsp.xml /qibm/userdata/jakarta-tomcat-5.0.19/webapps/plns/RecordJSPs/DONW/QMNUSRC/PWRLOCK/PWRLOCK.jsp This produces no useful output even though it fails to create a .java file. I am at my wits end. Jason __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]