Sun Java System Application Server Platform Edition 9 Troubleshooting Guide

Port Conflicts Debugging Multiple Instances on the Same Server

Description

Port conflict errors can occur when debugging multiple instances on the same server that are part of the same cluster.

Solution

Modify the domain.xml file to remove the address attribute from the -Xrunjdwp option in the java-config element for the cluster. This results in the JVM choosing a random debug port for the instance. The port number chosen for the instance is displayed in the server log when it is started; for example: