3 Replies Latest reply on Dec 19, 2001 2:08 PM by Dorothy Gantenbein

    JBoss-2.4.3 & Jetty-3.1.3 and missing log messages

    Dorothy Gantenbein Newbie

      Hi -

      This is a strange one. I am watching the database connections by turning on the "LoggingEnabled" in the DefaultDS section of jboss.jcml. As expected, I see the connection messages about usage in the console and the server.log file.

      Everything works great until I request my first page using Jetty. I see the message...

      [Jetty] Manager: init

      Then, no more log messages about the database connections are displayed in the console or log file. I have tried adding a LogSink suggested by the Jetty manual but still no log messages.

      Any help is much appreciated. Thanks....
      Dorothy

        • 1. Re: JBoss-2.4.3 & Jetty-3.1.3 and missing log messages
          Jules Gosnell Novice

          Are you particularly tied to 2.4.3. My development effort is targeted at JBoss3/Jetty4 at the moment. If you could confirm that the problem persists in this (you can get it from cvs - co jboss-all) I will take a look as soon as my timw allows. Otherwise it may take a while before I have time to have a look at fixing 2.4.x stuff....

          If you check out the 2.4.3 branch of contrib/jetty you will see that I set up a Jetty LogSink which simply wraps log4j (I think). Perhaps something in this is causing all log4j output to be rerouted....

          If you want to try compiling 2.4.3/Jetty3 from cvs you will need Jetty-3.1.3 and Jetty3Extra-1.0.1 from SourceForge.

          Keep in touch,


          Jules


          P.S.

          You might want to give RH cvs a little while to settle down. Marc has just checked in a load of fundamental changes and it will take a few days for everything to bed down.

          • 2. Re: JBoss-2.4.3 & Jetty-3.1.3 and missing log messages
            Dorothy Gantenbein Newbie

            Hi -

            Thanks for your input. At this point, we cannot switch to JBoss3 because we are less than a month from shipping. Overall we have been thrilled with JBoss.

            I will poke around in the source as you suggested. If I find out what is happening, I will post back.

            Thanks again...
            Dorothy

            • 3. Re: JBoss-2.4.3 & Jetty-3.1.3 and missing log messages
              Dorothy Gantenbein Newbie

              Ah mystery solved. Jetty was not the culprit. We are using Tapestry and Tapestry changes the root category's settings when it starts the servlet.

              Thanks again for your help!

              Dorothy