Article - CS345816

"Failed to initialize component [Connector[HTTP/1.1-<ThingWorx Platform Port>]]" "Caused by: java.net.SocketException: Permission denied" is seen when installing ThingWorx Platform via Installer on Linux

Modified: 25-Mar-2025   


Applies To

  • ThingWorx Platform 8.5 to 9.7
  • Linux

Description

  • Cannot successfully install ThingWorx Platform (aka ThingWorx Foundation) on Linux based Operation System
  • ThingWorx Platform fails to completely install and then instantly removes itself
  • Apache Tomcat port specified for the ThingWorx Platform does not successfully bind
  • Unable to start ThingWorx Platform following install
  • ThingWorx Platform is configured correctly to use SSL, but ThingWorx is not accessible on port 443
  • ThingWorx installer fails to complete with an error towards the end of the installation process
  • One of the following errors are observed within the Apache Tomcat catalina.out file:
    • SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-<ThingWorx Platform Port>]]
          org.apache.catalina.LifecycleException: Protocol handler initialization failed
              at org.apache.catalina.connector.Connector.initInternal(Connector.java:1042)
              at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
              at org.apache.catalina.core.StandardService.initInternal(StandardService.java:533)
              ...
          Caused by: java.net.SocketException: Permission denied
              at java.base/sun.nio.ch.Net.bind0(Native Method)
              at java.base/sun.nio.ch.Net.bind(Net.java:455)
              at java.base/sun.nio.ch.Net.bind(Net.java:447)
              ..
      SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-<ThingWorx Platform Port>]]
              org.apache.catalina.LifecycleException: Protocol handler initialization failed
                      at org.apache.catalina.connector.Connector.initInternal(Connector.java:1042)
                      at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
                      at org.apache.catalina.core.StandardService.initInternal(StandardService.java:533)
                      ...
              Caused by: java.lang.IllegalArgumentException: <Path to Keystore>
                      at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:99)
                      at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:71)
                      at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:216)
                      ...
              Caused by: java.io.FileNotFoundException: <Path to Keystore>
                      at java.base/java.io.FileInputStream.open0(Native Method)
                      at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
                      at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
                      ...
This is a printer-friendly version of Article 345816 and may be out of date. For the latest version click CS345816