tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Crook <tjcr...@yahoo.com>
Subject jspc precompilation works in tomcat 3.2.3 but fails in tomcat-4.0-b7
Date Fri, 31 Aug 2001 07:02:39 GMT
I successfully ran the following command to precompile our struts-based 
application under tomcat 3.2.3:

 /opt/tomcat/bin/jspc.sh -webinc jspc.xml -webapp .

Can anyone give me suggstions as to why it fails like this when I 
attempt to run it under jakarta-tomcat-4.0-b7?
The non-precompiled app itself runs fine under 4.0-b7, but judging by 
the output ,jspc appears to not be finding the .tlds.


FAILED PRECOMPILATION OUTPUT UNDER TOMCAT 4.0-B7
=================================================
/opt/tomcat/bin/jspc.sh -webinc jspc.xml -webapp .
Using CLASSPATH: 
:/opt/tomcat/classes:/opt/tomcat/lib/crimson.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/lib/jasper-runtime.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/lib/jaxp.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/lib/namingfactory.jar:/opt/tomcat/common/lib/servlet.jar:/opt/tomcat/jasper/jasper-compiler.jar:/opt/tomcat/common/lib/servlet.jar
2001-08-31 05:39:09 - ERROR-the file '/analysis.jsp' generated the 
following general exception: java.lang.NullPointerException
java.lang.NullPointerException
    at 
org.apache.jasper.CommandLineContext.getTldLocation(CommandLineContext.java:365)
    at 
org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1146)
    at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:755)
    at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1126)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
    at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.JspC.parseFile(JspC.java:385)
    at org.apache.jasper.JspC.parseFiles(JspC.java:651)
    at org.apache.jasper.JspC.main(JspC.java:699)



Mime
View raw message