3 Replies Latest reply on Dec 19, 2002 8:49 AM by Darrel Riekhof

    how o disable Jetty in JBoss3?

    David Treves Newbie

      Hi there,

      I have checked in all configuration files, and couldn't figure what to do in order to shut down Jetty. i am using JBoss3 alpha, it comes with integrated Jetty webserver.


        • 1. Re: how o disable Jetty in JBoss3?
          Adrian Brock Master

          The WebContainer is hot-deployed in 3.0

          You will find the jetty deployment (for 3 alpha) in

          It is also referenced in deploy/j2eedeployment-service.xml
          for war deployment inside ears.
          I think you have to remove the line?


          • 2. Re: how o disable Jetty in JBoss3?
            Adrian Brock Master


            I didn't answer your question.
            Remove the jetty deployment.


            • 3. Re: how o disable Jetty in JBoss3?
              Darrel Riekhof Newbie

              I'm have tomcat running in separate JVM on 8080. As long as I start tomcat first, everything seems to work. But I get the hopefully harmless stacktrace below when starting JBoss.

              I can't find the files mentioned in the this thread for latest JBoss (3.0.4). How do I turn Jetty off, or at least make it run on a different port so I don't get the startup stacktrace below?

              05:43:19,169 WARN [jbossweb] WARNING: Failed to start: SocketListener@
              05:43:19,227 WARN [jbossweb] WARNING: Failed to start: AJP13Listener@
              05:43:19,263 ERROR [JettyService] multiple exceptions...
              05:43:19,304 ERROR [JettyService] exception
              java.net.BindException: Address already in use
              at java.net.PlainSocketImpl.socketBind(Native Method)
              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
              at java.net.ServerSocket.bind(ServerSo
              blah blah blah
              puke puke puke