Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2024.2

...

Table of Contents
maxLevel12

Configuring the Web Server Port

The default port for DTP Server is port 80 for Windows and 8080 for Linux, but you can change the port by editing the server.xml file.

  1. Stop DTP Server services (see Stopping DTP Services).
  2. Open the server.xml file located in the <DTP_INSTALL>/tomcat/conf/ directory.
  3. Locate the following element and change the value of the port property: 

    Code Block
    languagexml
    <Service name="PST">
    <Connector port="80" 
  4. Restart DTP services.

Configuring the Data Collector Port

DTP can receive data from any software product that supports the data format used by DTP. Data from testing tools is sent to Data Collector, which listens on port 8082 by default. You can change the default port by editing the DCServerConfig.xml file:

  1. Open the DCServerConfig.xml file located in the <DTP_DATA_DIR>/conf/ directory.
  2. Locate the following element and change the value:

    Code Block
    languagexml
    <dc-server-port>8082</dc-server-port>
  3. Save the file.
  4. Restart Data Collector.

Configuring the JMS Events Broker Port

The JMS events broker provides real-time information about events that occur in DTP. The default port is 61617, but you can change it by editing the EventsConfig.xml file:

  1. Open the EventsConfig.xml file located in the <DTP_DATA_DIR>/conf/ directory.
  2. Locate the following element and change the value of the port property: 

    Code Block
    <transport-connector port="61617" />
  3. Save the file.
  4. Restart DTP services.

See Subscribing To to DTP Events, for more information about using the JMS events broker, including topics currently available for subscription.

Configuring Session Database Server Port

The HyperSQL database server is responsible for session management data. The server uses port 9003 by default, but you can configure DTP to use a different port number.

  1. Stop DTP Server services (see Stopping DTP Services).
  2. Open the PSTRootConfig.xml file located in the <DTP_DATA_DIR>/conf/ directory.
  3. Uncomment the <session-database-port> element and specify a different port number.
  4. Save the file.
  5. Start DTP services.

Disabling Port 2002 on License Server

Insure++ communicates with License Server over port 2002. All other Parasoft tools communicate with License Server over the standard HTTP/HTTPS ports. If you are not using License Server or are only using License Server with other Parasoft tools, you can disable port 2002 as a security best practice within your DTP infrastructure. The following instructions describe how to disable port 2002. 

  1. Stop DTP Server services (see Stopping DTP Services).
  2. Open the ls.conf file located in the <DTP_DATA_DIR>/LicenseServer/conf directory.
  3. Add an <enabled>false</enabled> element to the <Server> element:

    Code Block
    languagexml
    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
        <Server>
            <enabled>false</enabled>
            <port>2002</port>
            <concurrent_connections_limit>100</concurrent_connections_limit>
            <start_deactivated>true</start_deactivated>
        </Server>
        ...
    </Root>
  4. Save the file and restart DTP services. 

Changing Port 8005 on DTP
Anchor
ChangingPort8005
ChangingPort8005

Port 8005 is the default Tomcat shutdown port, but you can run into a port conflict on some Windows servers. To resolve this:

  1. Stop DTP services.
  2. Open the server.xml file found in <DTP_INSTALL_DIR>/tomcat/conf/.
  3. Find the element <Server port="8005" shutdown="SHUTDOWN"> and change the port value to a port that is not being used (for example, 8006).
  4. Save the file and restart DTP services.