Here's an update: I ran this by hand on a command line without -verbose for java but with the option -Dorg.apache.commons.logging.simplelog.defaultlog=debug
for JspC and this is all I got for output: 2004/06/04 14:38:16:043 PDT [INFO] JspC - -uriRoot implicitly set to "/QIBM/UserData/jakarta-tomcat-5.0.19/webapps/plns" 2004/06/04 14:38:17:811 PDT [DEBUG] JspRuntimeContext - -Parent class loader is: [EMAIL PROTECTED] 2004/06/04 14:38:22:641 PDT [INFO] JspC - -Built File: /RecordJSPs/DONW/QMNUSRC/PWRLOCK/PWRLOCK.jsp The PWRLOCK.jsp.xml fragment was created but no PWRLOCK .java file appears. This seems quite odd since the above messages seem to indcate that everything went fine. Is this a bug in the JspC compiler for 5.0.19? Jason --- Jason Palmatier <[EMAIL PROTECTED]> wrote: > 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] > __________________________________ 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]