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

           Summary: Can't override XML parser implementation using endorsed
                    mechanism
           Product: Tomcat 6
           Version: 6.0.18
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22887)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22887)
Patch to setclasspath.sh to not set JAVA_ENDORSED_DIRS if already defined

I can't override the XML parser implementation by setting the
java.endorsed.dirs system property when using start.sh which calls catalina.sh.
catalina.sh calls setclasspath.sh which sets this system property to point to
"$BASEDIR"/endorsed via the JAVA_ENDORSED_DIRS environment variable and BASEDIR
is set to CATALINA_HOME in catalina.sh.

I was able to override the XML parser implementation by modifying
setclasspath.sh to not set JAVA_ENDORSED_DIRS if it is already defined.


-- 
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]

Reply via email to