Hi , I have added JDBC step in the VSM and deployed the service on the server . while testing the connection in the jdbc step we are getting connection successful but while hitting the service url we are getting the below error.
java.sql.SQLException: Connections could not be acquired from the underlying database!
This leads to socket timed out exception . Could you please advise . Same stub working with oracle driver but not working with DB2 (com.ibm.db2.jcc.DB2Driver )
Can you share the entire stack trace ? Also, what version of Devtest are you seeing this?
There is a couple of reasons why you can get this error:
1. The credentials you are using are not valid with DB2.
2. You do not have access from the VSE of where the VSM is running to the DB2 database.
Is the above error showing in the vse.log?
Did Marcy and Shiney's comments help you?
yes it solved