Creating a WebSphere Version 5 Server Attach server

You can create a server to identify the run time environment that you want to use for debugging your project resources.

You can create a WebSphere® v5 Server Attach server from the New Server wizard. For information about launching this wizard, see the creating a server (manually) help topic. In addition, you can access the wizard pages for creating a new server when you choose the Debug on Server action.

Once in the new server wizard page, complete these steps:

  1. In the Server's host name field, specify the name of the host on which the application server is running. If the application server is running on your local machine, then leave the default of localhost in the Server's host name field. If the application server is running on a remote machine, then enter the name or IP address of that machine in the Server's host name field.
  2. In the Select the server type section, choose the WebSphere v5 Server Attach node.
  3. Click Next to proceed to the server configuration page of the wizard.
  4. In the WebSphere v5 Server Attach Configuration page, complete these steps:
    1. In the JVM debug port field, enter the port number that the WebSphere Application Server JVM is listening on. The default value of this field is 7777.
    2. In the HTTP port field, enter the HTTP port number that has been assigned to the application server. The default value of this field is 9080.
    3. If you are creating a server for a Java™ application that you are adding JavaScript™ to, select the Enable JavaScript debugging check box and then enter the Bean Scripting Framework debug port in the BSF debug port field. The default value of this field is 4444. If the Enable JavaScript debugging check box is not selected, JavaScript debugging will not be enabled and the BSF debug port field will be unavailable.
    4. If you want to switch to the Debug perspective when the debug session begins, select the Automatically switch to Debug Perspective check box.
  5. Click Next to proceed to the Add and Remove Projects page of the wizard. In this page, you can select existing projects to configure them for the server that you are creating.
  6. Click Finish to create the new server.
Related tasks
Using WebSphere Version 5 Server Attach to debug
Starting the application server in debug mode
Debug on Server
Editing a WebSphere Version 5 Server Attach server

Feedback