Registry Error: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@281b98fa] does not support XML Schema.
search cancel

Registry Error: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@281b98fa] does not support XML Schema.

book

Article ID: 416601

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Upgrade in Place from DevTest 10.7.2 to DevTest 10.8.4

Registry had this error on startup:

ERROR com.itko.lisa.coordinator.TestRegistryImpl - Parser configuration exception parsing XML from class path resource [applicationContext-security.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@281b98fa] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.

 

Environment

DevTest 10.8.4

Registry is using MySQL external database.

Cause

There was file xerces.jar in the DEVTEST_HOME\lib\shared folder.  This file had been copied over to do some troubleshooting when on DevTest 10.7.2 and was not removed when the upgrade in place was done.  This jar does not work with DevTest 10.8.4

Resolution

After xerces.jar was removed, the Registry started with no errors.

Started the remaining components and was able to use Workstation to connect to the Registry.

NOTE: xercesImpl-2.12.2.jar is delivered with DevTest 10.8.4