javax.xml.parsers.FactoryConfigurationError: Unexpected InvocationTargetException

Hello:

I have a Java Agent(extends AgentBase) which will be used to create XML file. It works fine in OS 390, but when I move the application to the AIX, The Java Agent works fine sometimes but sometimes it throws the following exception:

03/19/2004 10:52:24 Agent error: javax.xml.parsers.FactoryConfigurationError: Unexpected InvocationTargetException

03/19/2004 10:52:24 Agent error: at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:145)

03/19/2004 10:52:24 Agent error: at JavaAgent.NotesMain(JavaAgent.java:83)

03/19/2004 10:52:24 Agent error: at lotus.domino.AgentBase.runNotes(Unknown Source)

03/19/2004 10:52:24 Agent error: at lotus.domino.NotesThread.run(NotesThread.java:208)

I checked the code and it failed on the following point.

DocumentBuilderFactory dbf =DocumentBuilderFactory.newInstance();

I am just wondering if i need to handle multi-thread by myself. Can you help me to figure it out?

Thanks in advance

-Maria