<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>5546</bug_id>
          
          <creation_ts>2007-09-11 08:33</creation_ts>
          <short_desc>Endorsing Xerces/Xalan in tomcat</short_desc>
          <delta_ts>2007-10-05 13:26:12</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Java WS Core</product>
          <component>globus_wsrf_core</component>
          <version>4.0.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>ASSIGNED</bug_status>
          
          
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Scavo">trscavo@gmail.com</reporter>
          <assigned_to name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</assigned_to>
          <cc>jwscore-dev@globus.org</cc>

      

      
          <long_desc isprivate="0">
            <who name="Tom Scavo">trscavo@gmail.com</who>
            <bug_when>2007-09-11 08:33:16</bug_when>
            <thetext>In share/globus_wsrf_common/tomcat/tomcat.xml, only xalan.jar is deployed into tomcat&apos;s endorsed directory.  In fact, all the files in $GLOBUS_LOCATION/endorsed should be deployed into tomcat&apos;s endorsed directory.  See the following message thread for details:

http://www.globus.org/mail_archive/gt-user/2007/07/msg00178.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</who>
            <bug_when>2007-10-05 09:53:32</bug_when>
            <thetext>Tom,

In my 4.0 branch install, I only see xalan.jar in $GLOBUS_LOCATION/endorsed and the tomcat script copies that to the right location.

In trunk install, I see 3 jars in $GLOBUS_LOCATION/lib and those are copied correctly on a tomcat deploy too.

Are you seeing different behavior when you deploy 4.0.4 ?

Rachana</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Scavo">trscavo@gmail.com</who>
            <bug_when>2007-10-05 10:12:51</bug_when>
            <thetext>(In reply to comment #1)
&gt; 
&gt; In my 4.0 branch install, I only see xalan.jar in $GLOBUS_LOCATION/endorsed and
&gt; the tomcat script copies that to the right location.

That&apos;s a bug.  OpenSAML requires all three JARs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</who>
            <bug_when>2007-10-05 12:59:32</bug_when>
            <thetext>We haven&apos;t seen any issues with this in Java WS Core. The OpenSAML jar is used by the SAML Authorization callout code and the tests for that work fine with only xalan.jar in endorsed directory. Maybe your install requirements need these additioanl jars in endorsed? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Scavo">trscavo@gmail.com</who>
            <bug_when>2007-10-05 13:15:33</bug_when>
            <thetext>If something else besides the required versions of Xerces/Xalan are endorsed in Tomcat, I can almost guarantee you&apos;ll see problems eventually.  Some tomcats come with endorsed versions of Xerces/Xalan with a known memory leak that will cause tomcat to crash under load.  I have seen this reported time and time again in the Shibboleth mailing lists.  The only versions of Xerces/Xalan that are known to be stable are the ones that ship with GT 4.1.x.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Scavo">trscavo@gmail.com</who>
            <bug_when>2007-10-05 13:26:12</bug_when>
            <thetext>BTW, I don&apos;t think you can automate the endorsement of Xerces/Xalan in tomcat.  If there are *other* versions of Xerces/Xalan already endorsed in tomcat (especially tomcat 5.0.x), these must be removed before endorsing the versions of Xerces/Xalan that ship with GT 4.1.x.  I&apos;m afraid it&apos;s a manual process.  It can not be automated.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>