Troubleshooting
Problem
Spring Boot application fails to start when configured with the Rational Integration Tester (RIT) JDBC driver configured. Spring Boot application JDBC calls cannot be recorded or routed to your JDBC stub.
Symptom
You have followed the documentation to install the RIT JDBC driver and registration.xml file into the Spring Boot application and configured the startup parameters. For example, the files are copied to C:\Dev\SB\RIT and these are some of the starting parameters:
java -Djdbc.drivers=com.greenhat.jdbc.Driver -Dloader.path=c:\DEV\SB\RIT -Ddatasource.db2.username...
The application fails with the following error:
java.net.MalformedURLException: No !/ in spec 'file:/c:/Dev/SB/RIT/registration.xml' at java.net.URL.<init>(URL.java:627) ~[na:1.8.0_161] ... at com.greenhat.jdbc.config.rest.Agent.bootstrap(Unknown Source) [com.ibm.rational.rit.jdbcdriver4.jar!/:na]
The JDBC Agent does not appear in the Rational Test Control Panel (RTCP) Agents or Infrastructure pages.
If registration.xml is relocated, the application starts and the JDBC Agent appears in RTCP. The Agent shows no activity as the application does not use the RIT JDBC driver.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
24 October 2018
UID
ibm10732910