2 Replies Latest reply on May 5, 2010 10:25 AM by bob.breitling

    Jboss will not hot deploy jboss-log4j.xml

    bob.breitling

      I change the jboss-log4j.xml and it will not hot deploy.

       

      I have the Log4J configuration in the jboss-server.xml file configured properly to refresh every 60 seconds.

       

      Is there something else that controls this?

       

      TIA,

       

      Bob

        • 1. Re: Jboss will not hot deploy jboss-log4j.xml
          jaikiran

          Which version of JBoss AS?

           

          Robert Breitling wrote:

           

          I change the jboss-log4j.xml and it will not hot deploy.

           

          Should be working as far as I know. How do you verify that it's not reconfigured? And how do you "hot deploy" that file?

          • 2. Re: Jboss will not hot deploy jboss-log4j.xml
            bob.breitling

            JBoss 4.2.0.GA.

             

            I was expecting to see a message in the server.log abour rereading the file and the logging changes are not taking effect.  This is what happens on my other Jboss installations when I do this.

             

            I edit the file and change it.  Sometimes I also touch (unix) it to give it a new mod date. This tecnique works on others servers running the same version of Jboss and configured simularily.

             

            Unfortunately this is a production system so I can not just restart or I'd have done that already.

             

            Thanks,

             

            Bob