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 12108] New: - setclasspath.sh and catalina.sh should not used java.endorsed.dirs
Date Tue, 27 Aug 2002 21:31:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12108

setclasspath.sh and catalina.sh should not used java.endorsed.dirs

           Summary: setclasspath.sh and catalina.sh should not used
                    java.endorsed.dirs
           Product: Tomcat 4
           Version: 4.1.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ide@nlm.nih.gov


The current mechanism used by catalina.sh and setclasspath.sh to set
and then use environment symbol JAVA_ENDORSED_DIRS prevents users 
from having their own endorsed directory -- and even prevents using
the j2sdk "default" endorsed dir of j2sdk/jre/lib/endorsed.

We have chosen to put our "endorsed" jar files into the sun advertised
location of j2sdk/jre/lib/endorsed -- but catalina.sh and setclasspath.sh
are ignoring that.

One option would be to have setclasspath.sh APPEND 
to JAVA_ENDORSED_DIRS if it already exists, and if it doesn't, to
add the official sun location (jre/lib/endorsed) to the list before
adding the catalina specific directories.

(I don't love this solution, but I also don't love the entire "endorsed"
mechanism that sun has implemented.)

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


Mime
View raw message