Faulty Port-Check in JBoss EAP 6.0.0 init script

Solution Verified - Updated -

Issue

We are running apache as a reverse proxy server which results in lingering connections on port 8080 (not listening) even after jbossas has been stopped. For example:

netstat -apntl|grep ":8080"
tcp        1      0 10.10.10.10:58777         10.10.10.10:8080          CLOSE_WAIT  21825/httpd
  • When we try to start JBoss it gives below error :
#/etc/init.d/jbossas start
Starting jbossas:                                     [FAILED]
Port 8080 is busy, is there a Tomcat running?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • JBoss EAP 6.0.0 GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content