Skip to main content
1-Visitor
March 22, 2016
Question

An error occurred while registering resources

  • March 22, 2016
  • 2 replies
  • 4397 views

Hi,

We have installed 7.0.0 version of ThingWorx. We have setup corresponding tomcat and postgres locally on our mac book.

We wanted to use extensions. We have followed the instructions in the ThingWorx extension development guide 3.1 to install the eclipse plugin. We have written the Authentication extension. Used the ant file build-extensions.xml to create the extension zip file.

When we upload the file into ThingWorx composer, we got an error saying "not enough permission to create directory extensions under tomcat home/webapps/Thingworx/WEB-INF'. We resolved this by giving write permissions on that folder for everyone.

Then when we import the zip file we get this error "An error occurred while registering resources". There is no other relevant error messages in any logs - from the composer UI and from the logs directory in tomcat.

Could you please provide any direction on this error? We are stuck at this point.

Thanks

Pavan

2 replies

1-Visitor
March 22, 2016

Some logs

Starting entity import of /ThingworxStorage/extensions/temp/ThingWorxSecurityExt_13eefbc2-fd0c-4c79-ae6c-7bda117db8ac/ThingWorxSecurityExt/metadata.xml

Successfully added for import /ThingworxStorage/extensions/temp/ThingWorxSecurityExt_13eefbc2-fd0c-4c79-ae6c-7bda117db8ac/ThingWorxSecurityExt/metadata.xml

Export file missing version information.  No migration will be performed.

Unable to delete GEThingWorxSecurityExt:1.0.0. This is likely due to other errors: ERROR - un-installing Extension Package: GEThingWorxSecurityExt

Unable to delete Extension: [GEThingWorxSecurityExt] ERROR - un-installing Extension Package: GEThingWorxSecurityExt

ERROR - un-installing Extension Package: GEThingWorxSecurityExt

Thanks

Pavan

1-Visitor
March 22, 2016

Is there a way to troubleshoot this? such as enabling verbose logging or database tables to look at?

Thanks

Pavan

5-Regular Member
March 22, 2016

Pavan, do you already have an older version of the extension, or any conflicting extension imported in the platform? Can you retry after removing that from the platform?

1-Visitor
April 5, 2016

To give more information.

When we import the extension into ThingWorx, the table 'authenticator_model' is not being populated. We cannot find the reason for this. If anyone could please let us know how to turn on debugging this that would help.

Thanks