KB 94 - Stopping and Starting PowerConnect From Command Line
KB 94 (Java NW): Stopping and Starting PowerConnect From Command Line
Category: Information
Platform: Java (NW)
Priority: Normal
Version: 1 from 23.03.2021
Description
If you want to stop or start the PowerConnect Java agent, and have no access to the NetWeaver administrator /nwa, you can stop or start the app from the command line. This can be done using SAP J2EE telnet.
Start PowerConnect From Command Line
Please the following steps:
telnet <J2EE host> 5<XX>08 # XX is instance number
<login as admin user>
![](../__attachments/3076587542/image-20210504-193214.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
lsc # Check node list, where ID is displayed
![](../__attachments/3076587542/image-20210504-193249.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
jump <ID of problematic server node>
![](../__attachments/3076587542/image-20210504-193304.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
Use the following command to display the applications
To get the status of a PowerConnect application
list_app | grep -i power
![](../__attachments/3076587542/image-20210504-193503.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
To get all references for this application
app_refs_graph <app_name>
![](../__attachments/3076587542/image-20210504-193428.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
To start the PowerConnect Java application execute the following commands:
start_app com.powerconnect5/spcj_wd
start_app com.powerconnect5/spcj_app
![](../__attachments/3076587542/image-20210504-193537.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
Stop PowerConnect From Command Line
telnet <J2EE host> 5<XX>08 # XX is instance number
<login as admin user>
![](../__attachments/3076587542/image-20210504-193214.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
lsc # Check node list, where ID is displayed
![](../__attachments/3076587542/image-20210504-193249.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
jump <ID of problematic server node>
![](../__attachments/3076587542/image-20210504-193304.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
Use the following command to display the applications
To get the status of a PowerConnect application
list_app | grep -i power
![](../__attachments/3076587542/image-20210504-193503.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
To get all references for this application
app_refs_graph <app_name>
![](../__attachments/3076587542/image-20210504-193428.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
To start the PowerConnect Java application execute the following commands:
stop_app com.powerconnect5/spcj_wd
stop_app com.powerconnect5/spcj_app
![](../__attachments/3076587542/image-20210504-193704.png?inst-v=cc5d1456-4022-4264-b658-e73cfc9f0416)
Product version
Product | From | To |
PowerConnect [NW,S4HANA,S4HANA Cloud] | [Affected version from] | [Affected version to] |
[SAP product version]
Product | Component | From | To |