Skip to main content
10-Marble
June 27, 2017
Question

Error on running two thingworx instance on two different tomcat instances

  • June 27, 2017
  • 1 reply
  • 1445 views

Dear Team,

I have two  thingworx instance running on two different tomcat instance( two different ports 8080 and 9090) on same system using H2.

Whichever tomcat instance start first in that instance all entities are displayed and on another instance getting error.

Suppose I have started tomcat running on 8080 port then its working properly

Later when starting tomcat running on 9090 , its gives  error and it show no entities.

    1 reply

    20-Turquoise
    June 27, 2017

    Have you checked *all* of the ports using tomcat? Including AJP and shutdown?

    bgupta-210-MarbleAuthor
    10-Marble
    June 28, 2017

    Hi Polina,

    All ports are different.

    Tomcat 8080

    <Server port="8005" shutdown="SHUTDOWN">

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

     

    Tomcat 9090

    <Server port="9005" shutdown="SHUTDOWN">

      <Connector port="9009" protocol="AJP/1.3" redirectPort="8443" />

    20-Turquoise
    June 28, 2017

    Could you please open your browser developer tools in the second Thingworx instance window and try running it again? Note if any errors would show.

    Also, anything in the application log?