Posted: 30 Sep 2019 12:23 EDT Last activity: 2 Oct 2019 17:18 EDT
RDB-List when processed with Wait shape not finding jdbc driver
We have a scenario where we queue the case to wait shape. So ideally when the wait time has reached, system is suppose to resume the flow and make Connect-SQL call.
The issue is, when wait shape is processing Connect-SQL, we are seeing the below error.
Problem encountered when getting connection for database externaldb: code: 0 SQLState: 08001 Message: No suitable driver found for jdbc:oracle:thin..........
However, when I resume the wait manually (user choose to continue process), I do not see this error and RDB-List executes just fine.
Note: this is only happening in one env. Moreover, we moved our external db from oracle to redshift. We did not see this when we are using the redshift. Apparently, we are seeing this only after we moved to oracle
***Edited by Moderator Marissa to update platform capability tags; update SR Details****
I had to import the ojdbc8.jar for this. The external DB is Oracle DB. Again, this is working fine for user. We are only seeing this error when user context is Service Level. In other upgraded env, we are seeing different error for the same process mentioned above
You could have class conflict, what is your Pega platform db? I know your external DB is Oracle. It is likely that you have oracle driver classes in separate locations (e.g., one ojdbc jar on disk and one in pega database).
Could be. But if that's the case, I should see the error when I manually execute connect-sql (like searches from UI or executing stand alone activity) right. I believe ours is postgres (we are on pega cloud)
Would it be something with nodes? Like Service Level event runs on a different node (background) rather than WebUser node? (or may be remote node versus the one user logged into)
Posted: 1 year ago
Posted: 2 Oct 2019 13:00 EDT
Kevin Zheng (KevinZheng_GCS)
Director, Software Solutions Engineering