JBoss 8009 Port in Use BindException Fix

You may want multiple application servers to be deployed into the same server, for example one Tomcat 6/7, one JBoss Application Server 6.x, or three JBoss Application Servers. Assuming Tomcat 6.x is running, when you start JBoss AS 6.1, you might see JBoss 8009 Port in Use BindException in the jboss boot log:

The error means the port 8009 has been used (Another Tomcat instance is using it), and web app inside JBoss cannot start. To fix the issue, you can change JBoss configuration to force AJP connector to used a different unused port, such as 98009.

Solution
Open $JBOSS_AS/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
find

change AJP connector port to 8010

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditShare on StumbleUponEmail this to someoneShare on TumblrDigg this

3 thoughts on “JBoss 8009 Port in Use BindException Fix

  1. Very informative article, i am regular reader of your website. I noticed that your site is outranked by many other blogs in google’s search results. You deserve to be in top10.

Leave a Reply to walkerelrod Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">