2 Replies Latest reply on Mar 8, 2002 3:45 PM by fyeomans

    JBoss Logging to JMS

    fyeomans

      I am attempting to set up JBoss (2.4.4) to log to JMS via the log4j JMSAppender.

      I am running into a problem that at the time that the logging service starts up, the topic does not exist, nor does the naming service to allow me to look it up.

      Is there a way around this, or can I only log to a JMS instance running outside of the JBoss instance I am logging from?

      thx
      Fred

        • 1. Re: JBoss Logging to JMS

          I did this once in the 2.2.x line and then I ended up writing an MBean that configured the JMS appendender, and that was loaded later after the JMS stuff.

          //Peter

          • 2. Re: JBoss Logging to JMS
            fyeomans

            Would you be able to show some sample code for this? I have an MBean written, and I appear to create the topic, and create the appender etc.

            But there does not appear to be anything in the topic when I run a client to subscribe to it.

            thx
            Fred