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

Mosior, Benjamin BEMosior at ship.edu
Wed Jul 11 16:06:49 EDT 2012


Ok, then this page may need to be updated/corrected: https://wiki.shibboleth.net/confluence/display/SHIB2/IdPApacheTomcatPrepare 
"Note: Tomcat 6 has removed automatic inclusion of the endorsed directory so you have to add it by adjusting the -Djava.endorsed.dirs= parameter of your launch scripts."


Benjamin Mosior


-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Chad La Joie
Sent: Wednesday, July 11, 2012 3:38 PM
To: Shib Users
Subject: Re: "-Djava.endorsed.dirs=" Location/Configuration

If I recall what Tomcat removed was the directory itself from the distribution but would still load files from there if you created the directory and added files.

On Wed, Jul 11, 2012 at 2:17 PM, Mosior, Benjamin <BEMosior at ship.edu> wrote:
> 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/IdPApacheTomcatPr
> epare
>
> Thank you all for your help,
> Ken Ordona
>
>
> --
> To unsubscribe from this list send an email to 
> users-unsubscribe at shibboleth.net
> --
> To unsubscribe from this list send an email to 
> users-unsubscribe at shibboleth.net



--
Chad La Joie
www.itumi.biz
trusted identities, delivered
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list