Solid Edge Electrical Manager will not stay running.

2021-10-06T23:58:15Z
APPLICATION

Summary


Details

​​​​​​​The end user of Solid Edge Electrical cannot connect to the Electrical Manager server.  


Upon further inspection, the Electrical Manager process starts and then stops shortly there after.



Solution

Upon reviewing the Electrical Manager log file on the server, you might see this user authentication error message highlighted below.
//
​​​​​​​// V2021 SP2012
// Solid Edge Electrical Integration Server V2020.1.SP2012.91 [Build 308] - 1 December 2020 (11:46 IST)
// [Commit: 9d5e1fe7c36c5498db3af8ca7575f73d16076493]
// Copyright Mentor Graphics Corporation 2001-2020.
//   All Rights Reserved.
//
//  Allocated Maximum Heap Size = 1024Mb
//  Application start time <date><time>, using date format yyyy-MM-dd
//  Using JRE version 11.0.4 at C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2021\jreWin64\1.11\jre
//
Using client login plugins from C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2021\clientloginplugins
chs.capitalmanager.persistence.PersistenceException: User authentication failed: invalid username or password
    at chs.capitalmanager.appserver.SignOnAuthenticationStrategy.failOnEmptyCredentialString(SignOnAuthenticationStrategy.java:90)


​​​​​​​


BACKGROUND


Electrical Manager spawns a continuous background sub process(cismaster) that performs database optimization.  If the cismaster fails to connect to the database, then Electrical Manager will shutdown as well. 


The cismaster sub process connects to the database using specific user credentials(name, password)


The user credentials are defined in the clientprops.xml file on the server, in the webserver cisjettyroot statement (approximately at line 213)


<webserver cisjettyroot="${electrical.home}/adaptors/webapps" host="cis" password="7Mv6Zm9fXaK4MQO8XiOVcUFMsuvmquq2fK9xpaioWkw=" port="49901" username="system"/>   
<cismaster application_memory_alloc="1024" delay-between-retries="10" name="localhost" number-of-retries="2" port="49901" timeout="1440">
<slave max-concurrent-tasks="3" name="localhost" port="49901"/>
</cismaster>


CORRECTIVE ACTION


In this specific case, the password(encrypted), that gets cached into the database, has been corrupted and needs to be regenerated.


Using the provided shortcuts, stop the Electrical Manager and Database services.


Eg:  Start Menu > Siemens Solid Edge Electrical Wiring and Harness Design  > Stop Electrical Manager & Database ... Right Click ... More > Run as Administrator. 


Navigate to %Electrical_Home%\bin\ and invoke ElectricalUtility.exe


  • enter the text string of manager in the 'Text to encrypt' field
  • enter the same text string in the 'Confirm text to encrypt' field
  • Select the 'Encrypt' button
  • Select the 'Copy' button to place the encrypted password into the copy/paste buffer.
Replace the current encrypted password string within the clientprops.xml file with the newly generated encrypted password.


Using the provided shortcuts, start the Electrical Manager and Database services.


Eg:  Start Menu > Siemens Solid Edge Electrical Wiring and Harness Design  > Start Electrical Manager & Database ... Right Click ... More > Run as Administrator.


​​​​​​​Note: Wait approximately 1-2 minutes and then review the latest Electrical Manager log file, it should resemble something similar to what is shown below, look for the words that are displayed in bold text.




// V2021 SP2012
// Solid Edge Electrical Integration Server V2020.1.SP2012.91 [Build 308] - 1 December 2020 (11:46 IST)
// [Commit: 9d5e1fe7c36c5498db3af8ca7575f73d16076493]
// Copyright Mentor Graphics Corporation 2001-2020.
//   All Rights Reserved.
//
//  Allocated Maximum Heap Size = 1024Mb
//  Application start time <date><time>, using date format yyyy-MM-dd
//  Using JRE version 11.0.4 at C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2021\jreWin64\1.11\jre
//
Using client login plugins from C:\Program Files\Siemens\Solid Edge Wiring and Harness Design 2021\clientloginplugins
<date><time> INFO Session 1: UIDd8edb12-177ff303bfd-27672acc8f25b9bba48ff095d50201b7 for user [sessionCount: 1], running application Manager is ready.
<date><time> INFO Client session ID: UIDd8edb12-177ff303bfd-27672acc8f25b9bba48ff095d50201b7
<date><time> INFO Session 1: UIDd8edb12-177ff303bfd-27672acc8f25b9bba48ff095d50201b7 for user system, running application Manager and logged in since 2021-03-04 16:41:27.165 was closed by the client.
FEM Master initialized

<date><time> INFO Session 2: UIDd8edb12-177ff303bfe-27672acc8f25b9bba48ff095d50201b7 for user [sessionCount: 2], running application Manager is ready.
<date><time> INFO Session 2: Connected for FEM Administration
<date><time> INFO Client session ID: UIDd8edb12-177ff303bfe-27672acc8f25b9bba48ff095d50201b7
<date><time> INFO Session 2: UIDd8edb12-177ff303bfe-27672acc8f25b9bba48ff095d50201b7 for user system, running application Manager and logged in since 2021-03-04 16:41:32.943 was closed by the client.
<date><time> INFO Session 3: UIDd8edb12-177ff303bff-27672acc8f25b9bba48ff095d50201b7 for user [sessionCount: 3], running application Manager is ready.
<date><time> INFO Session 3: Connected for FEM Administration
<date><time> INFO Client session ID: UIDd8edb12-177ff303bff-27672acc8f25b9bba48ff095d50201b7
<date><time> INFO Session 3: UIDd8edb12-177ff303bff-27672acc8f25b9bba48ff095d50201b7 for user system, running application Manager and logged in since 2021-03-04 16:41:33.495 was closed by the client.
Solid Edge Electrical Integration Server started on non secure port 49901
AppServer Solid Edge Electrical Manager named IManagerLogin.server is ready




POSSIBLE ROOT CAUSE(S)


  • Server was shutdown abruptly while the Electrical Manager and Database services were still running.
  • The Electrical Manager and Database services were shutdown using the Windows Services dialogue box action(ie: Select service, Right Click > Stop) instead of using the provided shortcut.




Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: SOLID_EDGE
Application: SE_ELECTRICAL
Function: OTHER

Ref: 002-8527889

KB Article ID# PL8527889

Contents

SummaryDetails

Associated Components

APPLICATION: SE_ELECTRICAL