This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
in file bindings-jboss-beans.xml, which seems to change some ports:
15:16:27,964 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8180 15:16:28,182 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:16:28,182 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:17s:37ms
Starting the other instance with the default port sets leads to:
15:21:56,471 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
15:21:56,471 ERROR [AjpProtocol] Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind /127.0.0.1:8009
So how to get the first instance using another port for the Coyote AJP/1.3 ?