Community Tip - You can change your system assigned username to something more personal in your community settings. X
Am getting this error :
Execution error in service script [NotificationData InsertOrUpdateDeviceNotification] : Wrapped java.lang.RuntimeException: com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.] Cause: com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.]
NotificationData is data table. I tried restarting tomcat but still this error persist. Previously it was working fine.
Am using ThingWorx 7.3.1-b39 and tomcat 8.5.
Solved! Go to Solution.
Hi Nisha Bhagtani,
You are using double slash ( // ) in the platform-settings.json which starts with drive letter C: which indicates a Windows server. There should be single slash ( / ) in windows while defining the Path.
Also, in the main question thread; you mentioned that you are using tomcat 8.5 for ThingWorx 7.3.1-b39. Tomcat 8.5 is not a supported version of Tomcat for ThingWorx 7.3.1-b39. I would recommend you to downgrade to 8.0.x with a minimum of 8.0.33.
Is your database and TWX application on same server ? is database services up ? was there any Db upgrade ?
Yes both database & TWX application are on same server. Using postgress and services are running and there is no upgrade
Hi Nisha,
Please provide more details with enabling the stack trace logging.
Thanks,
Br,
Anna
Please attach your platform setting.json file .
Hi Nisha Bhagtani,
You are using double slash ( // ) in the platform-settings.json which starts with drive letter C: which indicates a Windows server. There should be single slash ( / ) in windows while defining the Path.
Also, in the main question thread; you mentioned that you are using tomcat 8.5 for ThingWorx 7.3.1-b39. Tomcat 8.5 is not a supported version of Tomcat for ThingWorx 7.3.1-b39. I would recommend you to downgrade to 8.0.x with a minimum of 8.0.33.
Nisha it looks like Postgresql setup could you please confirm the same or let us know if it's not PostgreSQL. If it is indeed PostgreSQL could you please share the version and the postgresql.log from the postgresql installation directory?
Version is 9.4.
Log is empty
Nisha Bhagtani , Ankit Gupta pointed out few reasonable changes , Allow default storage and remove // from platform setting and see if it works .
Log is empty because it tries to create storage folder while you launch Tomcat . Also let me know if your storage folder is getting created at the mentioned location.
Further , using un-supported tomcat version against Thingworx might cause certain issue. So would suggest check that as well.
This issue need basic troubleshooting to some extent and I believe this should get fixed.
Degraded tomcat version to 8.0.33
It works fine.
Thanks