Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hey team!
I'm working with one of our integrators to install MFG Apps (release 9.1) in thingworx 9.2 but we're not able to make the import.
We tried troubleshooting it, including changing the import permissions in the settings.JSON file but once we save the changes, tomcat doesn't start.
I looked through the logs but I was hoping you could help me guys to see if I missed anything important related to the errors that appear there.
Thanks in advance!
Solved! Go to Solution.
Hi @hjimene3.
It sounds like you didn't add the extension import policy to the correct location in platform-settings.json. If should be under PlatformSettingsConfig as in this example:
{
"PlatformSettingsConfig": {
"AdministratorUserSettings": {
"InitialPassword": "PtC@1234567890"
},
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"image/svg+xml",
"image/png",
"image/gif",
"image/bmp",
"image/jpeg",
"application/pdf",
"image/vnd.microsoft.icon"
]
}
},
"ExtensionPackageImportPolicy": {
"importEnabled": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowCSSResources": true,
"allowJSONResources": true,
"allowWebAppResources":true,
"allowEntities": true,
"allowExtensibleEntities": true
},
"PersistenceProviderPackageConfigs": {
"MssqlPersistenceProviderPackage": {
"ConnectionInformation": {
"driverClass": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"jdbcUrl": "jdbc:sqlserver://localhost:1433;databaseName=thingworx;applicationName=Thingworx;",
"password": "twadmin@12345",
"username": "twadmin"
}
}
}
}
If it's a syntax error, you can validate the syntax in platform-settings.json at this site, or provide your platform-settings.json here for review.
Regards.
--Sharon
Hi,
Please send your logs to PTC's technical support, here: https://support.ptc.com/apps/case_logger_viewer/cs/auth/ssl/log
Hi @hjimene3.
It sounds like you didn't add the extension import policy to the correct location in platform-settings.json. If should be under PlatformSettingsConfig as in this example:
{
"PlatformSettingsConfig": {
"AdministratorUserSettings": {
"InitialPassword": "PtC@1234567890"
},
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"image/svg+xml",
"image/png",
"image/gif",
"image/bmp",
"image/jpeg",
"application/pdf",
"image/vnd.microsoft.icon"
]
}
},
"ExtensionPackageImportPolicy": {
"importEnabled": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowCSSResources": true,
"allowJSONResources": true,
"allowWebAppResources":true,
"allowEntities": true,
"allowExtensibleEntities": true
},
"PersistenceProviderPackageConfigs": {
"MssqlPersistenceProviderPackage": {
"ConnectionInformation": {
"driverClass": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"jdbcUrl": "jdbc:sqlserver://localhost:1433;databaseName=thingworx;applicationName=Thingworx;",
"password": "twadmin@12345",
"username": "twadmin"
}
}
}
}
If it's a syntax error, you can validate the syntax in platform-settings.json at this site, or provide your platform-settings.json here for review.
Regards.
--Sharon
It was a missing comma, indeed. I appreciate your help slangley!