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.

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.