axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jyrki Saarinen <jyrki.saari...@valimo.com>
Subject Re: performance
Date Wed, 12 Oct 2005 12:57:33 GMT
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

Mime
View raw message