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 2003/03/11 06:51:32 UTC

DO NOT REPLY [Bug 17860] New: - JAVA_ENDORSED_DIRS overrides jdk1.4's default java.endorsed.dirs property

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=17860>.
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=17860

JAVA_ENDORSED_DIRS overrides jdk1.4's default java.endorsed.dirs property

           Summary: JAVA_ENDORSED_DIRS overrides jdk1.4's default
                    java.endorsed.dirs property
           Product: Tomcat 4
           Version: 4.1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: amoebaworks@yahoo.ca


PROBLEM:
~~~~~~~~
The default property for JDK1.4's 'java.endorsed.dirs' property is /install-
path/j2sdk/jre/lib/endorsed (or $JAVA_HOME/jre/lib/endorsed). Catalina's start-
up scripts do not preserve this value and overrides/replaces it with whatever 
is defined in bin/setclasspath.sh (and bin/setclasspath.bat).

FIX: (setclasspath.sh: line: 30)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
from:
JAVA_ENDORSED_DIRS="$BASEDIR"/bin:"$BASEDIR"/common/endorsed
to:
JAVA_ENDORSED_DIRS="$JAVA_HOME"/jre/lib/endorsed:"$BASEDIR"/bin:"$BASEDIR"/commo
n/endorsed

FIX: (setclasspath.bat: line: 36)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
from:
set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\endorsed
to:
set JAVA_ENDORSED_DIRS=%JAVA_HOME%\jre\lib\endorsed;%BASEDIR%\bin;%BASEDIR%
\common\endorsed

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