Error: "The TCP/IP connection to the host $SERVERNAME, port $PORT has failed" is Written to the Application Server Log Files When Starting the P6 Deployment, Connecting to a SQL Server Database, Causing P6 to Be Inaccessible

(Doc ID 1914678.1)

Last updated on JANUARY 10, 2018

Applies to:

Primavera P6 Team Member - Version 8.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to start the deployment of P6, the following error occurs (which is written to the application server logs) causing the deployment to fail, resulting in inability to connect to P6:

ERROR
-----------------------
TIMESTAMP weblogic.application.ModuleException:
  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
  Truncated. see log file for complete stacktrace
Caused By: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host $SERVERNAME, port $PORT has failed. Error: "null. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".

NOTE: This issue may also affect P6 services if P6 is up and running. logs.summarizer.summarization_error may be displayed in the service/job status window.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Start the managed server hosting P6, which will start the deployment.
  2. Note the error which occurs at starting of the deployment.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms