tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34856] - MacOSX 10.4 and Java 5 jnilibs causes ZipException when Tomcat loads non-jars
Date Tue, 14 Jun 2005 17:07:26 GMT
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=34856>.
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=34856





------- Additional Comments From pratik.solanki.ml@gmail.com  2005-06-14 19:07 -------
The issue is two-fold.

Jasper/Tomcat seems to be adding all the files found under /System/Library/Java/Extensions
to the 
classpath. The log file has 

classpath= ....../System/Library/Java/Extensions/libJ3DAudio.jnilib:/System/Library/Java/Extensions/
libJ3DUtils.jnilib:...

This is wrong. It should not be adding jnilib files to the classpath

The second issue is that the javac compiler is expected to ignore such invalid files in the
classpath. 1.4 
did that. 1.5 is throwing an exception. This seems to be a regression in javac. AFAICT, this
should be 
happening on all platforms and not just on MacOSX. Can anyone confirm or deny this? Does Tomcat/
Jasper work fine on Linux/Windows/Solaris with 1.5?

A few comments on the original bug report.

(In reply to comment #0)
> Tiger includes all the jnilib JNI extensions in the classpath of the JVM.

No. Jasper/Tomcat does that.

> Jasper attempts to read the jnilib as a jar since it's in the classpath, and that doesn't
work.

No. javac 1.5 on Tiger attempts to read the jnilib as a jar. This is a bug in javac.

-- 
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


Mime
View raw message