You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Patrick Luby <pa...@sun.com> on 2002/01/31 00:08:20 UTC

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/bin setclasspath.bat setclasspath.sh

All,

I have added the required java.endorsed.dirs property to support JDK 1.4
(note: this has no effect with JDK 1.3).

Although I verified that several servlets and JSP pages work without
exceptions runing Tomcat both with and without -security, my testing was
limited. So, those of you using JDK 1.4, please test it out and let me know
if you find any problems.

Thanks,

Patrick

patrickl@apache.org wrote:
> 
> patrickl    02/01/30 15:01:50
> 
>   Modified:    catalina/src/bin setclasspath.bat setclasspath.sh
>   Log:
>   Set java.endorsed.dirs property to common/lib so that the XML parser in common/lib overrides the parser bundled with JDK 1.4. This behavior is needed for Tomcat to behave under JDK 1.4 like it currently behaves in JDK 1.3
> 
>   Revision  Changes    Path
>   1.2       +2 -2      jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat
> 
>   Index: setclasspath.bat
>   ===================================================================
>   RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- setclasspath.bat  15 Jan 2002 02:55:38 -0000      1.1
>   +++ setclasspath.bat  30 Jan 2002 23:01:50 -0000      1.2
>   @@ -1,7 +1,7 @@
>    rem ---------------------------------------------------------------------------
>    rem Set CLASSPATH and Java options
>    rem
>   -rem $Id: setclasspath.bat,v 1.1 2002/01/15 02:55:38 patrickl Exp $
>   +rem $Id: setclasspath.bat,v 1.2 2002/01/30 23:01:50 patrickl Exp $
>    rem ---------------------------------------------------------------------------
> 
>    rem Make sure prerequisite environment variables are set
>   @@ -31,7 +31,7 @@
>    set JAVA_OPTS=
> 
>    rem Set the default -Djava.endorsed.dirs argument
>   -set JAVA_ENDORSED_DIRS=
>   +set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\lib
> 
>    rem Set standard CLASSPATH
>    rem Note that there are no quotes as we do not want to introduce random
> 
> 
> 
>   1.2       +2 -2      jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh
> 
>   Index: setclasspath.sh
>   ===================================================================
>   RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- setclasspath.sh   15 Jan 2002 02:55:38 -0000      1.1
>   +++ setclasspath.sh   30 Jan 2002 23:01:50 -0000      1.2
>   @@ -1,7 +1,7 @@
>    # -----------------------------------------------------------------------------
>    #  Set CLASSPATH and Java options
>    #
>   -#  $Id: setclasspath.sh,v 1.1 2002/01/15 02:55:38 patrickl Exp $
>   +#  $Id: setclasspath.sh,v 1.2 2002/01/30 23:01:50 patrickl Exp $
>    # -----------------------------------------------------------------------------
> 
>    # Make sure prerequisite environment variables are set
>   @@ -30,7 +30,7 @@
>    JAVA_OPTS=
> 
>    # Set the default -Djava.endorsed.dirs argument
>   -JAVA_ENDORSED_DIRS=
>   +JAVA_ENDORSED_DIRS="$BASEDIR"/bin:"$BASEDIR"/common/lib
> 
>    # Set standard CLASSPATH
>    CLASSPATH="$JAVA_HOME"/lib/tools.jar
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 
_____________________________________________________________________
Patrick Luby                          Email: patrick.luby@sun.com
Sun Microsystems                              Phone: 408-276-7471
901 San Antonio Road, USCA14-303
Palo Alto, CA 94303-4900
_____________________________________________________________________

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>