JBoss EAP failed to start due to Port already in use.

Solution Verified - Updated -

Issue

  • During start up the JBoss EAP instance, it throws an error "Port 8083 already in use".
  • Errors coming while trying to start Jboss 5.1 JVM
Error in logs:-
DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.web.deployment:war=/ROOT" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/admin-console" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/invoker" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/jbossws" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/jmx-console" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/ABC" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")
  Deployment "jboss.web.deployment:war=/web-console" is missing the following dependencies:
    Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")

DEPLOYMENTS IN ERROR:
  Deployment "WebServer" is in error due to the following reason(s): LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [125] Address already in use
  Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **

User does not see any port conflicting with other JVM.

  • Unable to start the JBoss EAP 5 due to Port 8083 already in use. How to resolve this issue ?
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss:service=WebService state=Create mode=Manual requiredState=Installed
   java.lang.Exception: Port 8083 already in use.
       at org.jboss.web.WebServer.start(WebServer.java:233)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
    • 6.x

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.