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 2008/12/05 10:02:36 UTC

DO NOT REPLY [Bug 46347] New: Endorsed option couldn't be overriden

https://issues.apache.org/bugzilla/show_bug.cgi?id=46347

           Summary: Endorsed option couldn't be overriden
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mathieu.larchet@univ-nancy2.fr


The catalina.sh script calls the setclasspath.sh script to define some
environment variables.

Among these variables is the JAVA_ENDORSED_DIRS (line 99):

JAVA_ENDORSED_DIRS="$BASEDIR"/endorsed

There are 2 problems :

- JAVA_ENDORSED_DIRS couldn't be overriden (using -D in the command line)
- In a multi-instance configuration, the default endorsed dir is
CATALINA_HOME/endorsed instead of CATALINA_BASE/endorsed

Here is a proposition to modify setclasspath.sh :

# Set the default -Djava.endorsed.dirs argument
if [ "$JAVA_ENDORSED_DIRS" == "" ]
then
  JAVA_ENDORSED_DIRS="$CATALINA_BASE"/endorsed
fi


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

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


DO NOT REPLY [Bug 46347] Endorsed option couldn't be overriden

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46347


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-12-05 05:37:11 PST ---


*** This bug has been marked as a duplicate of bug 46232 ***


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

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