Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi,
Getting Import Failed: com.helloinc.things.helloworld.HelloWorldThing
Can anyone please explain how to create and import extension to thingworx
Thanks,Regards,
Vijayasanthi
Hi @vijay5.
There may be some compatibility issues between the version of ThingWorx you are running and the extension you are trying to import.
Please provide more information around the version of ThingWorx and the extension you are importing so we can validate. Also, please check the ApplicationLog.log for more information on the failure. This file is located in \ThingworxStorage\logs.
Regards.
--Sharon
Hello Team,
When I searched for Application Logs it is showing the error as
Unable to initialize shape for ThingPackage[HelloWorldPackage]
Please help to resolve it
Hi @vijay5.
Please provide more details:
- Which version of ThingWorx are you running?
- What extension are you installing (name and version)?
This error sometimes occurs when an attempt is being made to install an extension that requires an entitlement, but the license does not contain that component. As a partner, you can reach out to your Partner Rep to obtain the needed entitlements, and then the license file will need to be regenerated. However, once you provide answers to the above questions, we will have a better understanding of the issue and can further direct you for resolving it.
Regards.
--Sharon
first verify the compatibility with respect to versions as mentioned by Sharon.
complete installation of ThingWorx eclipse plugin to eclipse and creation of runtime environment( passing in the arguments etc) as mentioned in extension creation document
create your own project using ThingWorx created files( entities) available in eclipse
run that project
after successful execution of project - .zip file is created in mentioned folder
use that zip file to import that as extension on composer
(note : this is a normal routine procedure to create and import extension as been queried)
once you have successful compiled .zip folder(extension) - import that
sometimes consecutive steps made by user to import & delete of extension through composer - creates some older references which still be present in composer and that hampers the import of extension next time.
so before you import extension next time( the compiled one) make sure you remove/clear all references of previous deleted extensions and then proceed with new one
clear that from this folders as well:
1. \ThingworxStorage\extensions
2. \Program Files\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx\WEB-INF\extensions
-- remove only the ones which are deleted from composer