You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/04/25 17:25:56 UTC

DO NOT REPLY [Bug 34603] New: - Tomcat adding none .jar files to classpath when compiling JSPs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34603

           Summary: Tomcat adding none .jar files to classpath when
                    compiling JSPs
           Product: Tomcat 5
           Version: 5.0.16
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: cb@ing.iac.es


I have a properties file for a third party extension in the directory
jre/lib/ext of my JDK distribution which is version 1.5. When I deploy a WAR
file and tomcat attempts to compile the JSPs which are associated with that WAR,
it includes the .properties file as part of the compile path to the java
compiler and as such fails. 


Apr 25, 2005 2:04:02 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Env: Compile:
javaFileName=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/work/Catalina/localhost/FilterDatabase//org/apache/jsp/astronomer/ManageBlank_jsp.java
   
classpath=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/classes/:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/activation.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-beanutils.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-collections.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-dbcp-1.1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-el.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-fileupload-1.0-beta-1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-pool-1.1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabas
 e/WEB-INF/lib/imap.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jcommon-0.8.0.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jfreechart-0.9.8.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mail.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mailapi.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/pop3.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/smtp.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/work/Catalina/localhost/FilterDatabase:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/classes/:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/activation.jar:/wht/ObservingSystemSupport
 Packages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-beanutils.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-collections.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-dbcp-1.1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-el.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-fileupload-1.0-beta-1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-pool-1.1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/imap.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jcommon-0.8.0.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jfreechart-0.9.
 8.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mail.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mailapi.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/pop3.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/smtp.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/shared/classes/:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/classes/:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/endorsed/xercesImpl.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/endorsed/xmlParserAPIs.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jasper-compiler.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jmx-remote-tools.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common
 /lib/commons-dbcp-1.1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jmx.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-el.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-collections.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-java.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-pool-1.1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jmx-remote.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jasper-runtime.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-factory.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/servlet-api.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-resources.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/ant.jar:/wht/ObservingSystemSu
 pportPackages/jakarta-tomcat-5.0.16/common/lib/naming-common.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jsp-api.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-fileupload-1.0-beta-1.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/postgresql.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/pg73jdbc3.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jdbc7.1-1.2.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-beanutils.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/tools.jar:/wht/ObservingSystemSupportPackages/jdk1.5.0_01/lib/tools.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/bin/bootstrap.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/bin/commons-logging-api.jar:/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/wht/Observing
 SystemSupportPackages/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/localedata.jar:/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/gnu.io.rxtx.properties
   
cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/lib/tools.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/bin/bootstrap.jar:/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/bin/commons-logging-api.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/classes
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/activation.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-beanutils.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-collections.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-dbcp-1.1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-el.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-fileupload-1.0-beta-1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-pool-1.1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/imap.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jcommon-0.8.0.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jfreechart-0.9.8.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mail.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mailapi.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/pop3.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/smtp.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/work/Catalina/localhost/FilterDatabase
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/classes
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/activation.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-beanutils.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-collections.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-dbcp-1.1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-el.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-fileupload-1.0-beta-1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/commons-pool-1.1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/imap.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jcommon-0.8.0.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/jfreechart-0.9.8.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mail.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/mailapi.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/pop3.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/webapps/FilterDatabase/WEB-INF/lib/smtp.jar
    cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/shared/classes
    cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/classes
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/endorsed/xercesImpl.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/endorsed/xmlParserAPIs.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jasper-compiler.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jmx-remote-tools.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-dbcp-1.1.jar
    cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jmx.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-el.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-collections.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-java.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-pool-1.1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jmx-remote.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jasper-runtime.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-factory.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/servlet-api.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-resources.jar
    cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/ant.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/naming-common.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jsp-api.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-fileupload-1.0-beta-1.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/postgresql.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/pg73jdbc3.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/jdbc7.1-1.2.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/commons-beanutils.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/common/lib/tools.jar
    cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/lib/tools.jar
    cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/bin/bootstrap.jar
   
cp=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/bin/commons-logging-api.jar
   
cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar
    cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar
    cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/dnsns.jar
    cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/localedata.jar
   
cp=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/gnu.io.rxtx.properties
    work
dir=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/work/Catalina/localhost/FilterDatabase
    extension dir=/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext
   
srcDir=/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/work/Catalina/localhost/FilterDatabase
    include=org/apache/jsp/astronomer/ManageBlank_jsp.java

Apr 25, 2005 2:04:02 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Error compiling file:
/wht/ObservingSystemSupportPackages/jakarta-tomcat-5.0.16/work/Catalina/localhost/FilterDatabase//org/apache/jsp/astronomer/ManageBlank_jsp.java
    [javac] Compiling 1 source file

error: error reading
/wht/ObservingSystemSupportPackages/jdk1.5.0_01/jre/lib/ext/gnu.io.rxtx.properties;
java.util.zip.ZipException: error in opening zip file
1 error

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org