Geronimo is required to ship xerces 2, and the only way to get the JVM to pick up the parser is to set the endorsed dir system property and to adding the xml parser to the manifest class path. We now set the system property in our main boot class based on a manifest entry in the startup jar. This allows us to control the setting of the endorsed property, without having to resort to a messy shell script.

Is there something else you want added to the endorsed directory, or something we need to do differently to make tomcat happy?

-dain

--
Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26

On Feb 16, 2005, at 7:18 AM, Jeff Genender wrote:

I think there has been some discussion about a Geronimo-wide endorsed dir as there actually were some other parts of Geronimo (or supporting tools) that also required it. I think adc and dain were chatting about this not too long ago, so hopefully they can chime in on this. I definately would like them to comment here before we get a patch on this as we may just need to remove the endorsed setting code in the TomcatContainer and this may be fixed.


anita kulshreshtha wrote:
Hi all (Jacek, Jeff),
The latest changes (rev 153934) to include
endorsed dir in lib and starting server.jar with
endorsed dirs option do not work. Currently Tomcat can
not be started without deleting
lib\endorsed\xercesImpl...jar. Having an "endorsed"
property is a good idea. But this is a tomcat feature
and only tomcat should be started with endorsed dir
option. If you want, I can submit a fix for this.
Regards
Anita

__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

-- Jeff Genender http://geronimo.apache.org



Reply via email to