Is there another way to set this property besides on the command line? I tried
to set the property using the server-config.wsdd with the globalConfiguration
setting:
<parameter name="axis.xml.reuseParsers" value="true"/>
However, when this does not appear to be working. I get:
AxisProperties.getProperty(AxisEngine.PROP_XML_REUSE_SAX_PARSERS) = null
I also get null for any of the other parameters that I am setting in this
section.
Am I missing something? How can I verify the setting is being used?
Thanks,
Ken
-----Original Message-----
From: Jyrki Saarinen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 9:00 AM
To: [email protected]
Subject: Re: performance
On Wednesday 12 October 2005 15:57, Jyrki Saarinen wrote:
> On Saturday 08 October 2005 01:19, Eric Johnson wrote:
> > In Axis 1.2.1, you probably want to set the system property
> > "-Daxis.xml.reuseParsers=true". In Axis 1.3, I believe the code was
> > changed so this is the default.
>
> In case of someone else is interested on this, it isn't on as default:
>
> String value =
> AxisProperties.getProperty(AxisEngine.PROP_XML_REUSE_SAX_PARSERS,
> "" + true);
> if (value.equalsIgnoreCase("true") ||
> value.equals("1") ||
> value.equalsIgnoreCase("yes")) {
> enableParserReuse = true;
> } else {
> enableParserReuse = false;
> }
>
> Jyrki
Äh, sorry. Of course it is on if the property is not specified, in which case
AxisProperties.getProperty() returns "true";
Jyrki
**************************************************************
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, please contact sender immediately by reply
e-mail and destroy all copies. You are hereby notified that any disclosure,
copying, or distribution of this message, or the taking of any action based on
it, is strictly prohibited.
TIAA-CREF
**************************************************************