The "Address already in use: JVM_Bind" error signifies that, ColdFusion’s internal port are being used by some other process.
Can you check the Server shutdown port in server.xml. <Server port="XXXX" shutdown="SHUTDOWN">, where XXXX is the port number . If that port is already in use by the other instance, please replace XXXX by any other port no it use.
You also need to check the port numbers for <Connector port="XXXX" protocol="AJP/1.3" redirectPort="XXXX" tomcatAuthentication="false" />
Please take a backup of your existing server.xml(s) before making the changes.
After that, try to restart the server and check if you are still facing the issue.
Note:- To check the list of ports in use, please Launch Command prompt as Administrator and type the command netstat –ano.
Due to a few others bugs in CF10 that where not to be fixed by Adobe we downgraded to CF9.
In just 2 hours of installation all our CF10 troubles where gone. CF9 works PERFECTLY for us.
Having the same problem and can find no port conflicts; still the same error even when I change the ports to something else not in use.
"Address already in use: JVM_Bind"
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
Will open a call with CFInstall next week.
You can try Launching Command prompt as Administrator. Type the command netstat –ano and press enter. Please append the output to a text file and check the port usage.
I did that prior to posting in the forum; have dealt with port conflicts in the past, so was used to debugging that way. Unfortunately, there are no port conflicts: none of the ports in use by the CF instance are being used elsewhere on the system as far as the output in the text file shows. I also tried changing the ports (Shutdown, Connector, Redirect) to other ports, but the results were the same error message. I will work on it again this afternoon, and let you know the results.
Did you find out something to sove this problem ?
Here is my config :
instance #1 (cfusion)
<Server port="8007" shutdown="SHUTDOWN">
<Connector port="8012" protocol="AJP/1.3" redirectPort="8445" tomcatAuthentication="false" />
<Server port="8008" shutdown="SHUTDOWN">
<Connector port="8013" protocol="AJP/1.3" redirectPort="8446" tomcatAuthentication="false">
So I stop both instances, then start instance #1 :
none of the instance #2 ports (8008, 8013, 8446) appears in netstat -ano...
Then I start the instance #2 :
I immediately get the "Address already in use: JVM_Bind" entry in exception.log of instance #2...
No, I did not find a resolution to this. I've been working with Adobe CF support on and off for four months now and am not able to get CF10 to cluster with session replication on Windows 2012; still working on it.
I can see the same issue in our Linux (Redhat) CF10 cluster. I tried to change the different ports as suggested but it doesn't change anything.
Do you have more information concerning this issue?
I had this problem, and couldn't find any duplicates checking the ports with
sudo grep -i port /opt/coldfusion10/*/runtime/conf/server.xml
Then i realised that the Jenkins server running on this machine was using port 8009
sudo netstat -lptu|grep 80
sudo netstat -lptu|grep 85