| You can run and optionally debug a portlet application running on a remote WebSphere Portal system accessible through a network connection. The recommended steps to implement this function are as follows : -
Prepare Portal server for Remote Server Attach. -
Install WebSphere Portal on a remote machine. In this scenario, it has already been installed for you. -
Configure JVM in the WebSphere Application Server Administrative Console. -
Configure WebSphere Studio for Remote Server Attach. -
Select WebSphere Portal 5.0 Remote Server Attach . -
Specify the Host (Portal server), JVM debug port, HTTP port. -
If needed, install a portlet application in Portal for Remote Server Attach. -
Build and export a portlet application project as a WAR file. -
Manually install and configure the portlet application (WAR file) using Portal Administration functions. -
Add the portlet to a Portal page using Portal Administration functions. -
Run and debug the portlet application using Remote Server Attach. -
Select the portlet application project. -
Select Debug on Server from the context menu. -
Debug the portlet running in the remote Portal server. Figure 16-2. Remote Server Attach sample scenario |