<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Failed to load FlxCore Library in ThingWorx Developers</title>
    <link>https://community.ptc.com/t5/ThingWorx-Developers/Failed-to-load-FlxCore-Library/m-p/515114#M11473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue with starting up a Thingworx composer with Tomcat and the only error i'm getting in the Thingworx application log is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;[L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Failed to load FlxCore library. Ensure it's in PATH (Windows) or LD_LIBRARY_PATH(other platforms) or set with the VM arg, -Djava.library.path. Error message : com.flexnet.licensing.DllEntryPoint.entry([B)I&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off, a couple of points to note.&amp;nbsp; The machine i'm working on at the moment hasn't been used in about 3 months, but it previously had an instance of Thingworx running on it previously with no issues at all.&amp;nbsp; It was primarily used for testing things in a dev environment and hasn't been touched or updated in that time.&amp;nbsp; Also I've double checked the PATH and added both the "&amp;lt;tomcat&amp;gt;/webapps/Thingworx/WEB-INF/extensions" directory and the same but with the FlxCore64.dll on the end and neither of these solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of other discussions i see on here list that the issue might lie with Java.&amp;nbsp; the Java version on the machine is 1.8 64bit :&lt;/P&gt;&lt;P&gt;java version "1.8.0_141"&lt;/P&gt;&lt;P&gt;Java(TM) SE Runtime Environment (build 1.8.0_141-b15)&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now since nobody has used this machine in several months, and Thingworx worked just fine on here before, i doubt there's anything wrong with any configuration.&amp;nbsp;&amp;nbsp; I currently suspect it might be an issue with the license.bin file after reading several support articles:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.thingworx.com/thingworx-blogpost/1384"&gt;7.4 ThingWorx does not launch due to license error in Windows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS275395&amp;amp;source=Article%20viewer#_ga=2.142987445.1298148644.1516281456-1232768700.1516281456" title="https://www.ptc.com/en/support/article?n=CS275395&amp;amp;source=Article%20viewer#_ga=2.142987445.1298148644.1516281456-1232768700.1516281456"&gt;https://www.ptc.com/en/support/article?n=CS275395&amp;amp;source=Article%20viewer#_ga=2.142987445.1298148644.1516281456-1232768700.1516281456&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS259533" title="https://www.ptc.com/en/support/article?n=CS259533"&gt;https://www.ptc.com/en/support/article?n=CS259533&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, none of the solutions presented by these articles have worked.&amp;nbsp; Is it actually an issue with the license? Is there any way i can check? could there be something else I have not noticed in one of the logs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 15:21:41 GMT</pubDate>
    <dc:creator>dgawthorpe</dc:creator>
    <dc:date>2018-01-18T15:21:41Z</dc:date>
    <item>
      <title>Failed to load FlxCore Library</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Failed-to-load-FlxCore-Library/m-p/515114#M11473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue with starting up a Thingworx composer with Tomcat and the only error i'm getting in the Thingworx application log is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;[L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Failed to load FlxCore library. Ensure it's in PATH (Windows) or LD_LIBRARY_PATH(other platforms) or set with the VM arg, -Djava.library.path. Error message : com.flexnet.licensing.DllEntryPoint.entry([B)I&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off, a couple of points to note.&amp;nbsp; The machine i'm working on at the moment hasn't been used in about 3 months, but it previously had an instance of Thingworx running on it previously with no issues at all.&amp;nbsp; It was primarily used for testing things in a dev environment and hasn't been touched or updated in that time.&amp;nbsp; Also I've double checked the PATH and added both the "&amp;lt;tomcat&amp;gt;/webapps/Thingworx/WEB-INF/extensions" directory and the same but with the FlxCore64.dll on the end and neither of these solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of other discussions i see on here list that the issue might lie with Java.&amp;nbsp; the Java version on the machine is 1.8 64bit :&lt;/P&gt;&lt;P&gt;java version "1.8.0_141"&lt;/P&gt;&lt;P&gt;Java(TM) SE Runtime Environment (build 1.8.0_141-b15)&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now since nobody has used this machine in several months, and Thingworx worked just fine on here before, i doubt there's anything wrong with any configuration.&amp;nbsp;&amp;nbsp; I currently suspect it might be an issue with the license.bin file after reading several support articles:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.thingworx.com/thingworx-blogpost/1384"&gt;7.4 ThingWorx does not launch due to license error in Windows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS275395&amp;amp;source=Article%20viewer#_ga=2.142987445.1298148644.1516281456-1232768700.1516281456" title="https://www.ptc.com/en/support/article?n=CS275395&amp;amp;source=Article%20viewer#_ga=2.142987445.1298148644.1516281456-1232768700.1516281456"&gt;https://www.ptc.com/en/support/article?n=CS275395&amp;amp;source=Article%20viewer#_ga=2.142987445.1298148644.1516281456-1232768700.1516281456&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS259533" title="https://www.ptc.com/en/support/article?n=CS259533"&gt;https://www.ptc.com/en/support/article?n=CS259533&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, none of the solutions presented by these articles have worked.&amp;nbsp; Is it actually an issue with the license? Is there any way i can check? could there be something else I have not noticed in one of the logs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:21:41 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Failed-to-load-FlxCore-Library/m-p/515114#M11473</guid>
      <dc:creator>dgawthorpe</dc:creator>
      <dc:date>2018-01-18T15:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to load FlxCore Library</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Failed-to-load-FlxCore-Library/m-p/515115#M11474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i have the same error, but on linux machines.&lt;/P&gt;&lt;P&gt;You can try the solution, wich worked for me, from the official installation document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;NOTE: If you get an error, create a new file in the tomcat /bin file named setenv.sh&lt;/P&gt;&lt;P&gt;CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=/usr/share/tomcat8.5/8.5.23/webapps/Thingworx/WEB-INF/extensions"&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case you probably need to create a setenv.bat with the following content (&lt;STRONG&gt;Attention&lt;/STRONG&gt; syntax could be different on windows (don't know windows commandline very well!)):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;set &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;CATALINA_OPTS&lt;/SPAN&gt;="%&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;CATALINA_OPTS&lt;/SPAN&gt;% &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;-Djava.library.path=/usr/share/tomcat8.5/8.5.23/webapps/Thingworx/WEB-INF/extensions&lt;/SPAN&gt;"&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;replace the part "&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;/usr/share/tomcat8.5/8.5.23/" with the path to your Tomcat installation (e.g. C:\Tomcat.....)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 08:38:33 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Failed-to-load-FlxCore-Library/m-p/515115#M11474</guid>
      <dc:creator>Chrischhan</dc:creator>
      <dc:date>2018-02-05T08:38:33Z</dc:date>
    </item>
  </channel>
</rss>

