Defining multiple services in server.xml

Solution Verified - Updated -

Issue

  • You see the following lines in your server log after adding a second service to your server.xml:

    ....
    INFO  [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
    INFO  [org.apache.coyote.ajp.AjpProtocol] (main) Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
    INFO  [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-127.0.0.1-XXXX
    INFO  [org.apache.catalina.core.StandardService] (main) Starting service jboss.web
    INFO  [org.apache.catalina.core.StandardEngine] (main) Starting Servlet Engine: JBoss Web/2.1.10
    INFO  [org.apache.catalina.core.StandardService] (main) Starting service $CUSTOM.SERVICE
    ....
    INFO  [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
    

Environment

  • JBoss Enterprise Application Platform
    • 5.1.0

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.