"-Djava.endorsed.dirs=" Location/Configuration

Mosior, Benjamin BEMosior at ship.edu
Wed Jul 11 14:17:15 EDT 2012


Unless I'm mistaken, the $TOMCAT_HOME/endorsed directory should be the default value, so no additional adjustment would need to be made outside of creating the endorsed directory itself. 

"Tomcat utilizes this mechanism by including the system property setting -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS in the command line that starts the container. The default value of this option is $CATALINA_HOME/endorsed. This endorsed directory is not created by default."
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html

The docs mentioned say that Tomcat 6 removes automatic inclusion of the endorsed directory. I just checked 6.0.35, and that does not appear to be the case. Could someone else verify?


Benjamin Mosior


-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Ordona, Kenneth C
Sent: Wednesday, July 11, 2012 1:44 PM
To: users at shibboleth.net
Subject: "-Djava.endorsed.dirs=" Location/Configuration

My question is regarding the adjustment of -Djava.endorsed.dirs= so that it includes the endorsed directory in TOMCAT_HOME/.

Basically, I was wondering which .bat I would find this variable in my Tomcat6 directory(setclasspath.bat?) and what I should change it to. I'm guessing "TOMCAT_HOME/endorsed", but wouldn't that cause problems if the variable has already been set?

I'm following this guide if this helps: https://wiki.shibboleth.net/confluence/display/SHIB2/IdPApacheTomcatPrepare

Thank you all for your help,
Ken Ordona


--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list