Skip to main content
Participating Frequently
August 22, 2013
Question

CF10: Address already in use: JVM_Bind

  • August 22, 2013
  • 4 replies
  • 8002 views

After a fresh install of CF 10 multiserver I have made 6 instances.

After a reboot of the server 4 of the instances have an exception:

"Address already in use: JVM_Bind"

java.net.BindException: Address already in use: JVM_Bind

    at java.net.DualStackPlainSocketImpl.bind0(Native Method)

    at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:96)

    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)

    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175)

    at java.net.ServerSocket.bind(ServerSocket.java:376)

    at java.net.ServerSocket.<init>(ServerSocket.java:237)

    at java.net.ServerSocket.<init>(ServerSocket.java:128)

    at coldfusion.server.jrun4.metrics.CfstatServer.run(CfstatServer.java:71)

All the features and applications seem to work. But I'm not convinced.

Can someone please help me?

My server details:

System Information 

Server Details 

Server Product  ColdFusion 

Version  ColdFusion 10,283922 

Tomcat Version  7.0.23.0 

Edition  Enterprise   

Operating System  Windows Server 2008 R2   

OS Version  6.1   

Adobe Driver Version  4.1 (Build 0001)   

JVM Details 

Java Version  1.7.0_15   

Java Vendor  Oracle Corporation   

Java Vendor URL  http://java.oracle.com/ 

This topic has been closed for replies.

4 replies

Charlie Arehart
Community Expert
August 13, 2020

I know this post is 7 years old, but I came across this same problem today: someone running CF10, where it would not start, and the ports reported in the log as "in use" were very clearly NOT in use. And it was the AJP and http ports, so while CF "started", neither the admin nor any web site would work.

 

With no choice, the box (Windows) was rebooted--and lo and behold, now CF started, with no errors, and the admin and sites now worked. FWIW, there were in fact Windows updates "pending a restart". Perhaps something was in an unexpected state.

 

Just sharing this if anyone else ever hits the same situation.

/Charlie (troubleshooter, carehart. org)
Participating Frequently
February 3, 2016

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

rahiech
New Participant
August 19, 2015

Hi,

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?

Thanks.

Christophe

Anit_Kumar
Community Manager
Community Manager
August 22, 2013

Hello Jurriaan,

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.

Regards,

Anit Kumar

Participating Frequently
August 26, 2013

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.

Jurriaan Balleur

Stephane_Chauvin
Participating Frequently
February 28, 2014

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.

Scott


Hi spellbmw,

Did you find out something to sove this problem ?

thanks

Stephane