Error: "Error starting server AdminServer: weblogic.nodemanager.NMException: Exception while starting server AdminServer" When Running start_Primavera.bat

(Doc ID 1581886.1)

Last updated on JANUARY 04, 2018

Applies to:

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

Symptoms

When attempting to run start_Primavera.bat, the batch window shows error and the domain cannot be started, and logs the following errors:

Errors in the start_Primavera.bat window:

Error starting server AdminServer: weblogic.nodemanager.NMException: Exception while starting server AdminServer
Connecting to t3://localhost:7003 with userid weblogic
Problem invoking WLST - Traceback (innermost last) ...
File "d:\Oracle\...\start_Primavera.py", line 31, in?
File "", line 22, in connect
File "", line 648, in raiseWSLTException
WLSTException: Error occurred while performing connect: Error getting the initial context. There is no server running at t3://localhost:7003
Use dumpStack() to view the full stacktrace

 

 Errors in nodemanager.log:

<02/09/2013 12:26:18> <WARNING> <Exception while starting server 'AdminServer'>
java.io.IOException: Server failed to start up. See server output log for more details.
at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:196)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:609)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:722)

<02/09/2013 12:26:24> <WARNING> <Uncaught exception in server handlerjava.net.SocketException: Connection reset>
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:189)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159)
at java.io.InputStream.read(InputStream.java:101)
at com.certicom.tls.record.ReadHandler.readFragment(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.read(Unknown Source)
at com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.readLine(BufferedReader.java:317)
at java.io.BufferedReader.readLine(BufferedReader.java:382)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:722)

<02/09/2013 12:26:24> <WARNING> <I/O error while closing socket connection>
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at com.certicom.io.OutputSSLIOStream.write(Unknown Source)
at com.certicom.tls.record.WriteHandler.flushOutput(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.closeWriteHandler(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.close(Unknown Source)
at javax.net.ssl.impl.SSLSocketImpl.close(Unknown Source)
at weblogic.nodemanager.server.Handler.run(Handler.java:77)
at java.lang.Thread.run(Thread.java:722)

 

 Errors in AdminServer.log

####<Sep 2, 2013 12:26:17 PM BRT> <Critical> <WebLogicServer> <BIOOPM01> <AdminServer> <main> <> <> <> <1378135577354> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01047: Cannot persist the wallet. Reason oracle.security.jps.service.credstore.CredStoreException: JPS-01047: Cannot persist the wallet. Reason java.io.FileNotFoundException: D:\Oracle\Middleware\user_projects\domains\PrimaveraP6EPPM\config\fmwconfig\bootstrap\cwallet.sso (Access is denied)..
weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01047: Cannot persist the wallet. Reason oracle.security.jps.service.credstore.CredStoreException: JPS-01047: Cannot persist the wallet. Reason java.io.FileNotFoundException: D:\Oracle\Middleware\user_projects\domains\PrimaveraP6EPPM\config\fmwconfig\bootstrap\cwallet.sso (Access is denied)..
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: oracle.security.jps.service.credstore.CredStoreRuntimeException: JPS-01047: Cannot persist the wallet. Reason oracle.security.jps.service.credstore.CredStoreException: JPS-01047: Cannot persist the wallet. Reason java.io.FileNotFoundException: D:\Oracle\Middleware\user_projects\domains\PrimaveraP6EPPM\config\fmwconfig\bootstrap\cwallet.sso (Access is denied)..
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.persist(SspCredentialStore.java:190)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.resetCredential(SspCredentialStore.java:632)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.secureMasterKey(KeyStoreServiceUtil.java:333)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager$2.run(FileKeyStoreManager.java:305)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager$2.run(FileKeyStoreManager.java:303)
at java.security.AccessController.doPrivileged(Native Method)

 


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

  1. Log into server machine where the EPPM is installed
  2. Go to <P6 home folder>\scripts\
  3. Run start_Primavera.bat

 

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