My Oracle Support Banner

Error "Could not obtain exclusive lock with lockFile' When Running Start_Primavera.bat with SSL Implemented on WebLogic (Doc ID 2614660.1)

Last updated on DECEMBER 11, 2024

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 18.8.9.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to run the <P6 EPPM home>\scripts\start_primavera.bat startup script, the following error occurs in the Command Prompt window.

NMProcess: SEVERE: Fatal error in NodeManager server
NMProcess: java.io.IOException: Could not obtain exclusive lock with lockFile '<WEBLOGIC_HOME>\wlserver\..\user_projects\domains\PrimaveraP6EPPM\nodemanager\nodemanager.process.lck'. This most likely indicates another NodeManager process is already running in this NodeManaagerHome.
NMProcess: at weblogic.nodemanager.server.NMServer.getNMFileLock(NMServer.java:254)
NMProcess: at weblogic.nodemanager.server.NMServer.(NMServer.java:153)
NMProcess: at weblogic.nodemanager.server.NMServer.getInstance(NMServer.java:134)
NMProcess: at weblogic.nodemanager.server.NMServer.main(NMServer.java:589)
NMProcess: at weblogic.NodeManager.main(NodeManager.java:31)
NMProcess:
NMProcess: ( was unexpected at this time.
NMProcess: Stopped draining NMProcess
NMProcess: Stopped draining NMProcess
Connecting to Node Manager ...
PRM-Unable to connect to the Node Manager. It may not be running,
PRM-or communications may be blocked by a firewall.
PRM-Completed. Returned error level: 1

When running the <P6 EPPM home>\scripts\stop_primavera.bat shutdown script, the following error occurs:

javax.naming.CommunicationException: Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
t3s://<SERVERNAME>:<PORT>: Destination 0:0:0:0:0:0:0:1, <PORT>unreachable.; nested exception is:
  java.net.ConnectException: Connection refused: connect; No available router to destination.; nested exception is:
  java.rmi.ConnectException: No available router to destination. [Root exception is java.net.ConnectException: t3s://<SERVERNAME>:<PORT>: Destination<IP_ADDRESS>, <PORT> unreachable.; nested exception is:
  java.net.ConnectException: Connection refused: connect; No available router to destination.; nested exception is:
  java.rmi.ConnectException: No available router to destination.]
Problem invoking WLST - Traceback (innermost last):
  File "<P6_HOME>\scripts\stop_Primavera.py", line 4, in ?
  File "", line 19, in connect
  File "", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Cannot connect via t3s or https. If using demo certs, verify that the -Dweblogic.security.TrustKeyStore=DemoTrust system property is set. : Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
t3s://<SERVERNAME>:<PORT>: Destination 0:0:0:0:0:0:0:1, <PORT> unreachable.; nested exception is:
  java.net.ConnectException: Connection refused: connect; No available router to destination.; nested exception is:
  java.rmi.ConnectException: No available router to destination

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.