Paul,
I appreciate the clarification, I am using Netbeans as my IDE. I am
basically trying to send my send my log4j messages from one application to
be consumed by another application. So, I thought the best way would be to
send them through a MQ to the other application so that from there I can
probably display it if somebody wants to look at the logs without digging
into the directories. I shall try and run the JUnit test from Netbeans..:).

Regards,
-Misty.


On 6/27/07, Paul Smith <[EMAIL PROTECTED]> wrote:


On 27/06/2007, at 1:29 PM, Misty Thornton wrote:

> Paul,
>
> Thanks a lot for guiding me through this process. I have tested
> your Test
> class in a project mode and it passes the test. I just added a main
> (is this
> even the right way to test it:)) and created an instance of the
> Test class
> and it ran smoothly, is there any way where I can send the message
> to a
> different application rather than seeing it in jconsole? Thanks
> again for
> the immense help.
>
>    public static void main(String args[])
>    {
>        JMSAppenderTest mytest = new JMSAppenderTest();
>        System.out.println("**constructor executed**");
>    }
>
err, that's going to have done nothing at all.  If you have Eclipse,
you can right click on the class and choose Run->Junit test.  That's
actually going to execute the test.  The above does nothing but
create a new instance of the class...

Can I ask a more basic question?  What exactly are you trying to
achieve here?  What is the end result that you want to be able to do
with log4j Logging Events?

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to