Hi George,

On Mon, 2005-11-28 at 18:41 +0530, Rethesh George wrote:
> In our application which uses commons digester library, we are getting
> the following issue. We are using the v 1.2 - commons-digester.jar and
> this error occurs mainly when the number of users of the application is
> very high.

Firstly, if you are indeed using version 1.2 of this library then you're
unlikely to get much help: that's an ancient version.

> Caused by: org.apache.commons.digester.xmlrules.XmlLoadException
> 
> at
> org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(Fro
> mXmlRuleSet.java:151)
> 
> at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
> 
> at
> org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(Diges
> terLoader.java:91)

And unfortunately the xmlrules module doesn't have good support either.

> 
> Please advice on this issue. Do we need to upgrade the digester
> libraries, if in that case what could be the version that needs to be
> selected and what are the dependencies?

The latest version is always the best. Dependencies and binary API
changes are listed in the release notes for each version. Note that
1.a.b is binary compatible with 1.a.c, but 1.a is NOT necessarily
compatible with 1.b, meaning that code changes may be required when the
library is updated.

Of course the problem may not be in digester at all. Digester
documentation is very clear that a single digester instance must not be
shared across threads; if the "com.infosys.*" code is breaking that rule
then no upgrade of digester will resolve your issue.

I have been working with Digester for a few years, and don't remember
any thread-related issues having been reported or fixed. The bugtracker
system, however, is the best resource for checking about that.


And finally, please try to use more informative subject lines for your
emails. This helps people in the future find emails in the archives that
may be related to an issue they are facing. Oh, and for this commons
list the particular project should be listed at the start of the subject
like this:
  subject:   "[digester] summary of the problem"
as you will see from even a quick glance at the archives for this list.

Regards,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to