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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]