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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.