cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Unable to connect to an external Database using Thingworx

VV_9240359
12-Amethyst

Unable to connect to an external Database using Thingworx

Hello

With reference to this tip, I am not able to connect to external database 

In properties section of DB Thing it is showing as not connected 

 

But somehow some services are getting executed 

ACCEPTED SOLUTION

Accepted Solutions
VV_9240359
12-Amethyst
(To:Rocko)

Hey Rocko,

Thanks for the suggestion yes the "connectionValidationString" was correct the issue got resolved after restarting Tomcat and the "isConnected" property got checked.

Thanks.

 

View solution in original post

2 REPLIES 2
Rocko
19-Tanzanite
(To:VV_9240359)

First off, if the services are executed as you say, and deliver a result, I think we can consider the DB as connected.

Second, to make the "isConnected" work, you need to provide a proper test query when setting up the DB connection. Check "connectionValidationString" in the configuration tab.

VV_9240359
12-Amethyst
(To:Rocko)

Hey Rocko,

Thanks for the suggestion yes the "connectionValidationString" was correct the issue got resolved after restarting Tomcat and the "isConnected" property got checked.

Thanks.

 

Announcements


Top Tags