Displaying node or server name in WebSphere portal theme

At end of theme development , may requires to display node name or server name as part of theme  to troubleshoot any issues in cluster environment.

Just include the following line in footer or header

<%=com.ibm.websphere.runtime.ServerName.getDisplayName()%> 
or
<%=com.ibm.websphere.runtime.ServerName.getFullName()%>


Resources 

No comments:

Post a Comment