DevTest 10.8.3.1 Registry Service fails to start with SAXParseException (Spring Schema Connection Timeout)
search cancel

DevTest 10.8.3.1 Registry Service fails to start with SAXParseException (Spring Schema Connection Timeout)

book

Article ID: 443300

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction


The DevTest Registry service fails to initialize completely and remains in a "bad state." The registry.log contains the following error indicating a failure to validate XML bean definitions:

 
WARN  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Ignored XML validation warningorg.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>....Caused by: java.net.ConnectException: Connection timed out

 

Environment

DevTest 10.8.3.1

Cause

 

The Registry service attempted to validate its XML configuration by fetching the Spring schema (spring-beans.xsd) from the internet. The server experienced a network connectivity timeout, preventing it from reaching external URLs. Typically, these schemas should be resolved locally from the application's JAR files; however, an issue in the ActiveMQ library configuration may force an external lookup.

Resolution

To resolve this issue, replace the ActiveMQ library with the attached patched version. 

Steps to Apply Fix:

  1. Stop all DevTest services.
  2. Backup: Navigate to <devtest-home>/lib/shared and move the existing itko-activemq-5.16.7.2.jar to a backup location outside of the DevTest installation directory.
  3. Replace: Place the newly provided itko-activemq-5.16.7.2.jar into the <devtest-home>/lib/shared directory.
  4. Restart: Start the DevTest services (Registry first) and verify that the service initializes without the SAXParseException.

Attachments

itko-activemq-5.16.7.2.jar get_app