KB 065 – Configuration for service group PowerConnectSG failed no endpoints
KB 065 – Configuration for service group [PowerConnectSG] failed.
Error details: [No endpoints found. Check if the service is configured and if its endpoints are available
Symptom
After deploying the PowerConnect agent the UI does not start and in the defaultTrace log you see a connection refused exception similar to the following:
Configuration for service group [PowerConnectSG] failed.
Error details:
[No endpoints found. Check if the service is configured and if its
endpoints are available in the Service:
[{sap_powerconnect_java.ws}LicenseService]
Assigned Provider: [Local
System]
- Service Group: [PowerConnectSG]
- Service Group application: [com.powerconnect5/spcj_wd]
- Service Reference application: [com.powerconnect5/spcj_wd] – com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: errno: 111 (Connection refused), error: Connection refused (port 50000 to address ::ffff:127.0.0.1)
No endpoints found. Check if the service is configured and if its
endpoints are available in the
Service:
[{sap_powerconnect_java.ws}PIService]
Assigned Provider: [Local
System]
- Service Group: [PowerConnectSG]
- Service Group application: [com.powerconnect5/spcj_wd]
- Service Reference application: [com.powerconnect5/spcj_wd] – com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: errno: 111 (Connection refused), error: Connection refused (port 50000 to address ::ffff:127.0.0.1)
Problem
The PowerConnect Agent UI is bound to the “local provider” system which resolves to a localhost hostname. If the SAP Netweaver profile has been configured with the HOST parameter e.g.
icm/server_port_0 = PROT=HTTP, PORT=5$(SAPSYSTEM)00,HOST=myhost
The SAP NetWeaver system will not be accessible via the local provider and therefore the UI will not work.
Solution
This is fixed in 5.026, workaround is below
To solve this we need to tell the UI to use the IP address or hostname of the machine rather than localhost. We do this by updating the PowerConnectSG Service Group with a new provider:
- Log into the NetWeaver Administrator
- Click SOA tab
- Click the Application and Scenario Communication tab
- Click Application Communication
- Select com.powerconnect5/POWERCONNECT-JAVA in the Configuration table
- In the Consumed Service Groups tab select the PowerConnectSG service group and click the Edit button
- In the Provider System drop down click <create…>
- Enter the System Name
- Enter the Host Name that the NetWeaver system is bound to and the system port
- Click next and enter an Administrator login credentials when promted
- The Test Connection screen should show a successful connection
- Click Finish and you will be taken back to the Application Communication screen
- Click the Save button on the PowerConnectSG service group table
- Click the Refresh button and the Process State should show successfully Processed
- Restart the PowerConnect Agent and the UI should now work