You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/11/18 20:43:28 UTC

DO NOT REPLY [Bug 46232] New: Can't override XML parser implementation using endorsed mechanism

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: russ@hawaii.edu


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46232] Can't override XML parser implementation using endorsed mechanism

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46232


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Mark Thomas <ma...@apache.org>  2008-12-31 05:49:51 PST ---
This has been fixed in 6.0.x and will be included in 6.0.19 onwards.


-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46232] Can't override XML parser implementation using endorsed mechanism

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46232





--- Comment #2 from Mark Thomas <ma...@apache.org>  2008-12-05 06:42:35 PST ---
This has been fixed in trunk and proposed for 6.0.x.
I modified the proposed patch to cover the .bat file and to use the same method
as elsewhere in the .sh scripts to test for an environment variable.


-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46232] Can't override XML parser implementation using endorsed mechanism

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46232


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.larchet@univ-
                   |                            |nancy2.fr




--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-12-05 05:37:11 PST ---
*** Bug 46347 has been marked as a duplicate of this bug. ***


-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org