Javax.xml.parsers problem after server upgrade

We have an database with one agent that calls an external xml-feed and creates documents. On the “old” server running 6.5.4 we had no problems. Now, we have moved the DB to a new server running 7.0.3 and the agent will not run on the new server. It casts this error:

The error message in the log.nsf:

2008-03-11 16:41:29 Agent Manager: Agent error: java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory: method getSchema()Ljavax/xml/validation/Schema; not found

2008-03-11 16:41:29 Agent Manager: Agent error: at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.(Unknown Source)

2008-03-11 16:41:29 Agent Manager: Agent error: at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)

2008-03-11 16:41:29 Agent Manager: Agent error: at PressReleaseDAOXML.getNodes(PressReleaseDAOXML.java:94)

2008-03-11 16:41:29 Agent Manager: Agent error: at PressReleaseDAOXML.load(PressReleaseDAOXML.java:22)

2008-03-11 16:41:29 Agent Manager: Agent error: at PressReleaseDAOXML.(PressReleaseDAOXML.java:18)

2008-03-11 16:41:29 Agent Manager: Agent error: at JavaAgent.NotesMain(JavaAgent.java:47)

2008-03-11 16:41:29 Agent Manager: Agent error: at lotus.domino.AgentBase.runNotes(Unknown Source)

2008-03-11 16:41:29 Agent Manager: Agent error: at lotus.domino.NotesThread.run(Unknown Source)

We have had an issue with another call-out on the same server and that was resolved by one agant setting a proxy.

The problem, besides that the agent crash, is that I inherited the DB, have no real control over the server… so I don’t even know if it is something due to the new domino version, the code, if we are missing some external jar-files or if there is somethiong else.

The import is:

import lotus.domino.*;

import java.io.*;

import java.net.*;

import java.util.*;

import java.text.*;

import javax.xml.parsers.* ;

import java.lang.reflect.*;

import org.w3c.dom.*;

The line that breaks the agent is:

        PressReleaseDAO dao = new PressReleaseDAOXML(url);      

Any ideas in where to start looking? Is it a connection problem or a code problem?

Subject: javax.xml.parsers problem after server upgrade

The jvm gets update from 1.3x (version 6.x) to 1.4x(version 7.x). Your external packages need to be compatible with the newer jvm.