It can take up to 1/2 hour of heavy load testing on the machine to produce
the error - ie. very sporadic. But one of these errors will occur so its
relatively easy to recreate. Note that the problem *never* occurs on a
single-cpu machine.

Also note that I have seen instances (in a multi-cpu environment) when
performing a (Xalan-2.5.x) stylesheet operation against a DOM, corruption of
namespace caches within the DOM occur. This causes all subsequent operations
(eg. xpath, xslt) to fail with namespace errors. This may or may not be a
related issue.

> -----Original Message-----
> From: Ian Lewis [mailto:[EMAIL PROTECTED]
> Sent: 28 October 2003 13:38
> To: [EMAIL PROTECTED]
> Subject: Re: multi-threaded issues on a multi-cpu machine
> 
> 
> Does it happen every time you run the program or just some of 
> the time?
> Can you easily recreate the problems?
> 
> 
> On Tue, 28 Oct 2003 09:07:15 -0000
> "Smith, Peter (ELSLON)" <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > I have a web application that caches DOMs (for site navigation, page
> > layout etc..) internally. 
> > 
> > I am having problems with exceptions being thrown from within
> > org.apache.xerces.dom.DeferredDocumentImpl when reading the 
> DOMs (eg. in
> > a xpath operation, when applying a stylesheet)
> > 
> > Some examples of the exceptions that are being thrown:
> > - synchronizeData() : NullPointerException
> > - getNodeObject() : java.lang.IllegalArgumentException: type: -1
> > - getNodeValueString() -> java.util.Vector.elementAt():
> > java.lang.ArrayIndexOutOfBoundsException: 4 >= 0
> > 
> > These exceptions only occur when running the application on 
> a multi-cpu
> > machine.
> > 
> > Has anyone seen problems like this before?
> > 
> > Using xerces-2.5.0.
> > 
> > Regards,
> > Peter Smith
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> 
> 
> --
> Ian Lewis
> [EMAIL PROTECTED]
> http://jsxe.sourceforge.net
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS/MU/S/M/! d-(++) s-:-- a21 C++>++++$ UL>++++$ P+>++ L+++ 
> E--- W++ N>++
> o? K->++ w-- O? M- V? PS+ PE- Y+ PGP- t- 5? X- R- !tv-- b+>++ 
> DI+ !D G(-)
> e h@ !r y?
> ------END GEEK CODE BLOCK------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to