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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Not able to delete the Extension Package after removing dependency

rohitk
1-Newbie

Not able to delete the Extension Package after removing dependency

We are facing error while deleting the “Sampler ExtensionPackage”. we have tried all options, but not able to found the appropriate clean option to perform this action. Kindly help and let us know if we are missing anything.

We have import one extension(any extension e.g. Twilio) and then we use/implement that extension in the Newly Created “Thing” and after that we have deleted that particular “Thing” and trying to remove the extension. We are getting error and Thingworx not deleting that extension but its showing message “Extension Package Successfully Removed”.



followed the below steps.

  • Create the new thing “MySampleThing” implements “SamplerThing” Thing Template (comes automatically with the extension)
  • Method/Services has been executed successfully under the “MySampleThing”

  1. Delete the “MySampleThing” (To remove the dependency)
  2. Try to delete the “Sampler_ExtensionPackage.zip” (Configuration  Manage Extension)
  3. Getting Message “Extension Package Successfully Removed” (Screen Shot Attached)
  4. Still we able to see that ThingTemplate (“SamplerThing”)  and it does not have any dependency  (It should have deleted automatically with extension)

The only option I have found to delete the extension is to “stop the Tomcat, un-deploy the thingworx.war and remove the storage. Setup again the thingworx.“



Environment:
Windows 7
Firefox 26.0
Tomcat 7.0
ThingWorx4.2
java version "1.7.0_45"



Below are the log messages

Unable to get
Extension details: null
Unable to get Extension details: null
[context: [ method = POST, action =
INVOKE, target =
/Thingworx/Resources/ServerPlatformServices/Services/GetExtensionPackageDetails
]][message: Unable to Invoke Service GetExtensionPackageDetails on
ServerPlatformServices : null]
[context: [ method = POST, action =
INVOKE, target =
/Thingworx/Resources/ServerPlatformServices/Services/GetExtensionPackageDetails
]][message: Unable to Invoke Service GetExtensionPackageDetails on
ServerPlatformServices : null]
Unable to get Extension details: null
[context: [ method = POST, action =
INVOKE, target =
/Thingworx/Resources/ServerPlatformServices/Services/GetExtensionPackageDetails
]][message: Unable to Invoke Service GetExtensionPackageDetails on
ServerPlatformServices : null]

Unable to delete Extension:  /Sampler_ExtensionPackage Cannot Delete This Entity - It Is Referenced By 1  Other Entities

4 REPLIES 4
paic
1-Newbie
(To:rohitk)

What build of Thingworx are you using? Thanks.

rohitk
1-Newbie
(To:paic)

4.2.0 Build 15

adam11
5-Regular Member
(To:rohitk)

Hi Rohit,

It is my understanding that you were able to resolve this issue? Please let me know if this is the case.


Thanks,

Adam



rohitk
1-Newbie
(To:adam11)

No,The only option I have found to delete the extension is to “stop the
Tomcat, un-deploy the thingworx.war and remove the storage. Setup again
the thingworx.“



Top Tags