3 Replies Latest reply on Feb 11, 2002 11:13 AM by Sjus

    JBoss/Jetty

    Coube Newbie

      I am using JBoss2.4 + Jetty 3.1RC8.

      I deployed an ear file containing a web module. Jetty serves several domain
      names. I would like to tell which one is the target one for the module. How
      can I do that ? The only way I found : running an independent Jetty on port
      80 dispatching requests and one JBoss-Jetty for each domain name on ports
      80XX. Any other solution ?

      Secondly, I have custom tags in one of my jsp. This jsp is not working just
      because of :
      HTTP ERROR: 503 Service Unavailable
      java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo. But I
      checked that javax.servlet.jar from jetty\lib is in the classpath of jboss.
      I have no idea about that.

      Finally, I was using before Jetty on JBoss. I was used to uncomment some
      lines in jboss.conf and jboss.jcml ; it looks like unecessary with the JMX
      approach. Why ?

      Thanks for your answers

      Pascal

        • 1. Re: JBoss/Jetty
          Jules Gosnell Novice

          The first problem look like you are after virtual host support. There has been a thread about this. If I can find the time, I shall look at putting this in soon.

          The second problem should be posted to jetty-discuss@yahoogroups.com, where you will find lots of people using Jetty and JSP.

          The third question, I don't understand. I have no idea which version you are running, which version you used to run, etc..... I sounds like you are now reaping the benefit of the bundled solution, whereas previously, you had to connect the two applications yourself.

          Jules

          • 2. Re: JBoss/Jetty
            Marius Kotsbak Newbie

            > The first problem look like you are after virtual
            > host support. There has been a thread about this. If
            > I can find the time, I shall look at putting this in
            > soon.
            Could you do that? I can't find it.

            Is it possible to specify what virtual hostname a web-app should be bound to. I just see a possiblility to set up this globally for jetty (i'm using it with JBoss RH), not for each war/ear-file.

            >
            > The second problem should be posted to
            > jetty-discuss@yahoogroups.com, where you will find
            > lots of people using Jetty and JSP.
            >
            > The third question, I don't understand. I have no
            > idea which version you are running, which version you
            > used to run, etc..... I sounds like you are now
            > reaping the benefit of the bundled solution, whereas
            > previously, you had to connect the two applications
            > yourself.
            >
            > Jules


            Marius

            • 3. Re: JBoss/Jetty
              Sjus Newbie

              Maybe this could help to solve the 2nd question:

              http://main.jboss.org/thread.jsp?forum=50&thread=7666

              Sjus