<?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 Re: tomcat server stop working after pasting Thingworx.war in web in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632786#M40094</link>
    <description>&lt;P&gt;Hi Vangne,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for the support, i have given all the permissions for all the folders,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are no&amp;nbsp;ThingworxStorage and&amp;nbsp;ThingworxBackupStorage folder created ( May be somthing happened when i uninstalled and reinstalled again from the start ).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also why is this error generating ( Version: jdk 1.7.0 / Tomcat 8.5.47 / Thingworx 8.3)&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;FAIL - Application at context path [/Thingworx] could not be started
FAIL - Encountered exception [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Thingworx]]]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I repeated this same installations for another PC (PC_2). In this, i am again getting the same old Tomcat automatic stopping issue. I am attaching both Apache logs and Thingworxstorage Application logs of PC_2. can you have a look.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 10:29:33 GMT</pubDate>
    <dc:creator>Sri1</dc:creator>
    <dc:date>2019-10-23T10:29:33Z</dc:date>
    <item>
      <title>tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632451#M40040</link>
      <description>&lt;P&gt;I am working with windows 10.&amp;nbsp; "&lt;SPAN&gt;ThingWorx-Platform-Postgres-8-3-9&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did the installation as specified in the guide.&lt;/P&gt;
&lt;P&gt;The Tomcat server was working fine until,&amp;nbsp; i pasted the&amp;nbsp; "Thingworx.war" in&amp;nbsp; "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps".&lt;/P&gt;
&lt;P&gt;The server starts for some time and stop, the below links dosen't work.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://ptc-training.ptc.com:9090/Thingworx/" target="_blank" rel="noopener"&gt;http://ptc-training.ptc.com:9090/Thingworx/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://localhost:9090/" target="_blank" rel="noopener"&gt;http://localhost:9090/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some suggested to add setenv.bat in bin folder of tomcat, but still the issues is not resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;setenv.bat -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"# Java Options&lt;/P&gt;
&lt;P&gt;export JAVA_OPTS="-Djava.awt.headless=true - Djava.net.preferIPv4Stack=true -Dserver -Dd64 - XX:+UseNUMA -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8 -Djava.library.path=C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx\WEB-INF\extensions "&lt;/P&gt;
&lt;P&gt;export JRE_HOME=C:\Program Files\Java\jdk1.8.0_231\jre&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do i fix this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 12:44:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632451#M40040</guid>
      <dc:creator>Sri1</dc:creator>
      <dc:date>2019-10-21T12:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632471#M40045</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/307628"&gt;@Sri1&lt;/a&gt;&amp;nbsp;Are you seeing any errors in the tomcat logs? Please provide the logs&amp;nbsp;&lt;A href="https://www.ptc.com/en/support/article?n=CS268517&amp;amp;source=Case%20Viewer" target="_blank" rel="noopener"&gt;Location of Tomcat logs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, you may refer to this article for more information&amp;nbsp;&lt;A href="https://www.ptc.com/en/support/article?n=CS195506" target="_blank"&gt;https://www.ptc.com/en/support/article?n=CS195506&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Vibhuti&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 14:57:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632471#M40045</guid>
      <dc:creator>vangne</dc:creator>
      <dc:date>2019-10-21T14:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632561#M40063</link>
      <description>&lt;P&gt;Hi vangne,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the link that you sent.&lt;/P&gt;
&lt;P&gt;I was using higher version of jre(1.8) which i downgraded to 1.7 according to the document(also changed at env variable ).&lt;/P&gt;
&lt;P&gt;Then i reinstalled the Tomcat 8.5 according to the guide. Pasted the Thingworx.war file in&amp;nbsp;C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This time the Apache server didn't stop, but the link&amp;nbsp;&lt;A href="http://ptc-training.ptc.com:9090/Thingworx/" target="_blank"&gt;http://ptc-training.ptc.com:9090/Thingworx/&lt;/A&gt;&amp;nbsp;is not working and not error is showing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The link i check for tomcat error:C:\Program Files\Apache Software Foundation\Tomcat 8.5\logs\tomcat8-stderr.2019-10-22.log&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 06:54:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632561#M40063</guid>
      <dc:creator>Sri1</dc:creator>
      <dc:date>2019-10-22T06:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632563#M40064</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/307628"&gt;@Sri1&lt;/a&gt;&amp;nbsp; Thanks for the update.&lt;/P&gt;
&lt;P&gt;From your tomcat installation directory,i.e.&amp;nbsp;&lt;STRONG&gt;\\&amp;lt;TomcatInstallation&amp;gt;\logs, c&lt;/STRONG&gt;an you please provide/attach below logs?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;catalina.&amp;lt;date&amp;gt;.log&lt;/LI&gt;
&lt;LI&gt;tomcatx-stderr.&amp;lt;date&amp;gt;.log&lt;/LI&gt;
&lt;LI&gt;localhost.&amp;lt;date&amp;gt;.log&lt;/LI&gt;
&lt;LI&gt;localhost_access_log.&amp;lt;date&amp;gt;.txt&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Vibhuti&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 07:24:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632563#M40064</guid>
      <dc:creator>vangne</dc:creator>
      <dc:date>2019-10-22T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632734#M40087</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;vangne&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have attached the logs that you requested.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I uninstalled and re-installed the whole setup again. This time the Apache is working properly but the link&amp;nbsp;&lt;A href="http://ptc-training.ptc.com:9090/Thingworx" target="_blank" rel="noopener"&gt;http://ptc-training.ptc.com:9090/Thingworx&lt;/A&gt;&amp;nbsp;is still not working.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- This time i give NETWORK SERVICE authentication permission for ThingworxPlatform folder also.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Also checked at Applications table of link&amp;nbsp;&lt;A href="http://localhost:9090/manager/html" target="_blank" rel="noopener"&gt;http://localhost:9090/manager/html&lt;/A&gt;&amp;nbsp;, found&amp;nbsp;&lt;A href="http://localhost:9090/Thingworx/" target="_blank" rel="noopener noreferrer"&gt;/Thingworx&lt;/A&gt;&amp;nbsp; and tried to start it,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i got the following error message:&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE border="1" cellspacing="0" cellpadding="3"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="row-left"&gt;
&lt;PRE&gt;FAIL - Application at context path [/Thingworx] could not be started
FAIL - Encountered exception [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Thingworx]]]&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 05:19:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632734#M40087</guid>
      <dc:creator>Sri1</dc:creator>
      <dc:date>2019-10-23T05:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632754#M40090</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/307628"&gt;@Sri1&lt;/a&gt;&amp;nbsp;Great to hear that your tomcat is working now. For the mentioned errors, can you check the resolution section of below two articles?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS216802" target="_blank"&gt;https://www.ptc.com/en/support/article?n=CS216802&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS305796" target="_blank"&gt;https://www.ptc.com/en/support/article?n=CS305796&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the issue still persists, Can you also share application logs? You can get this from ThingWorxStorage -&amp;gt; logs -&amp;gt; ApplicationLog.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, this could be the permissions issue. Please ensure both Tomcat and ThingworxPlatform folders have relevant read/write permissions. Refer to this:&amp;nbsp;&lt;A href="https://community.ptc.com/t5/ThingWorx-Developers/FAIL-Application-at-context-path-Thingworx-could-not-be-started/m-p/505860#M3962" target="_blank" rel="noopener"&gt;Community Post 1&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;A href="https://community.ptc.com/t5/ThingWorx-Developers/Facing-problem-on-deploying-thingworx-even-the-server-started/m-p/616731#M37311" target="_blank" rel="noopener"&gt;Community Post 2&amp;nbsp;&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.ptc.com/t5/IoT-Tech-Tips/Frequently-Seen-Errors-upon-launching-the-ThingWorx-application/m-p/533607" target="_blank" rel="noopener"&gt;Frequently Seen Errors upon launching the ThingWorx application &lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Vibhuti&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 08:00:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632754#M40090</guid>
      <dc:creator>vangne</dc:creator>
      <dc:date>2019-10-23T08:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632786#M40094</link>
      <description>&lt;P&gt;Hi Vangne,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for the support, i have given all the permissions for all the folders,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are no&amp;nbsp;ThingworxStorage and&amp;nbsp;ThingworxBackupStorage folder created ( May be somthing happened when i uninstalled and reinstalled again from the start ).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also why is this error generating ( Version: jdk 1.7.0 / Tomcat 8.5.47 / Thingworx 8.3)&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;FAIL - Application at context path [/Thingworx] could not be started
FAIL - Encountered exception [org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Thingworx]]]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I repeated this same installations for another PC (PC_2). In this, i am again getting the same old Tomcat automatic stopping issue. I am attaching both Apache logs and Thingworxstorage Application logs of PC_2. can you have a look.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 10:29:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/632786#M40094</guid>
      <dc:creator>Sri1</dc:creator>
      <dc:date>2019-10-23T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server stop working after pasting Thingworx.war in web</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/633255#M40159</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Issue resolved!&lt;/P&gt;
&lt;P&gt;I Installed the higher version of postgress.&lt;/P&gt;
&lt;P&gt;Also had to add the below lines in java options in the java tab of configure tomcat.&lt;/P&gt;
&lt;P&gt;-Dserver -D64&lt;BR /&gt;-XX:+UseG1GC&lt;BR /&gt;-Dfile.encoding=UTF-8&lt;BR /&gt;-Djava.library.path=&amp;lt; Apache Tomcat location&amp;gt;\webapps\Thingworx\WEB-INF\extensions&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 10:56:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/tomcat-server-stop-working-after-pasting-Thingworx-war-in-web/m-p/633255#M40159</guid>
      <dc:creator>Sri1</dc:creator>
      <dc:date>2019-10-25T10:56:39Z</dc:date>
    </item>
  </channel>
</rss>

