Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

No suitable driver error with pre-upgrade environment scanner

SA-18701

Summary



A "No suitable driver" error is observed when running Pega pre-upgrade environment scanner.


Error Messages


Unable to load platform XML java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
Please select a Application Server option from the following:

java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:59)
at java.lang.Integer.parseInt(Integer.java:481)
at java.lang.Integer.parseInt(Integer.java:510)
at application.input.UserInput.validateEmptyIntegerInput(UserInput.java:138)
at application.input.UserInput.handleAppServerInput(UserInput.java:124)
at application.input.UserInput.captureUserInput(UserInput.java:91)
at application.controller.commandline.CLHomeController.establishConnection(CLHomeController.java:160)
at application.CLMain.main(CLMain.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:439)
at java.sql.DriverManager.getConnection(DriverManager.java:467)
at application.utils.DBUtils.getConnection(DBUtils.java:34)
at application.controller.commandline.CLHomeController.establishConnection(CLHomeController.java:163)
at application.CLMain.main(CLMain.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
error message:No suitable driver


Steps to Reproduce



Run the command: java -jar PreUpgradeEnvScannerCMD.jar


Root Cause



A software use or operation error:  The user had not filled out the config.properties file, thus there was no database connection URL specified.

Resolution



The configuration file must be fully filled out. Please see the following article for additional instructions for how to fill it out: https://pdn.pega.com/community/pega-exchange/pre-upgrade-environment-scanner

# ALL PROPERTIES ARE MANDATORY
pega.database.type=[Database type]
pega.jdbc.url=[Connection URL]
pega.jdbc.username=[Database User]
pega.jdbc.password=[Database Password]
pega.prpc.schema.name=[Database Schema]
build.image.path=[Path to Pega Build Image]


 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us