(SAP NW JAVA) Log Viewer: Connection refused. Log files are not loaded yet

You want to perform some troubleshooting on SAP NW AS JAVA platform where Log Viewer is required. Unfortunately, below error is coming out,

Connection refused

Log files are not loaded yet. Press Refresh after short time

Solution

There are multiple SAP Notes which are related to this error and you need to check them based on your SAP NW AS Java version accordingly.

  • 1631616 – Log Viewer displays message “Log files are not loaded yet”
  • 2319551 – Log viewer does not show any logs
  • 1593532 – NWA Logviewer doesn’t work “Connection Refused”
  • 2506964 – Log Viewer displays error messages
  • 1667090 – Log Viewer in SAP NetWeaver 7.02 shows “Connection refused”

For our case, we manage to solve the issue by using the SAP Note 2506964 – Log Viewer displays error messages.

Step 1: Add below parameters.

  • In DEFAULT profile
service/protectedwebmethods = SDEFAULT -GetVersionInfo -ListLogFiles -ReadLogFile -ParameterValue -J2EEGetProcessList
  • In INSTANCE profile
jstartup/service_acl = service:*; library:*; interface:*; sap.com*; com.sap*

Step 2: Stop the SAP instance, restart the services and start the SAP instance.

You May Also Like

Leave a Reply?