activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffreyyin <>
Subject log4j-jms example comes with version 5.3 doesn't work
Date Sun, 15 Nov 2009 14:25:27 GMT

After start the activemq server, I tried to run the jmsappender example comes
with activemq version 5.3. The program hangs, below is the debug info:

C:\apache\apache-activemq-5.3.0>cd example

C:\apache\apache-activemq-5.3.0\example>ant log4j-jms
Buildfile: build.xml



     [echo] Running a Log4j JMS Appender example
     [java] log4j: Trying to find [] using context
classloader sun.misc.Launcher$AppClassLoader@11b86e7.
     [java] log4j: Using URL
for automatic log4j configuration.
     [java] log4j: Reading configuration from URL
     [java] log4j: Parsing for [root] with value=[INFO, stdout, jms].
     [java] log4j: Level token is [INFO].
     [java] log4j: Category root set to INFO
     [java] log4j: Parsing appender named "stdout".
     [java] log4j: Parsing layout options for "stdout".
     [java] log4j: Setting property [conversionPattern] to [%d %-5p %c -
     [java] log4j: End of parsing for "stdout".
     [java] log4j: Parsed "stdout" options.
     [java] log4j: Parsing appender named "jms".
     [java] log4j: Setting property [initialContextFactoryName] to
     [java] log4j: Setting property [topicBindingName] to [logTopic].
     [java] log4j: Setting property [topicConnectionFactoryBindingName] to
     [java] log4j: Setting property [providerURL] to
     [java] log4j: Getting initial context.
     [java] log4j: Looking up [ConnectionFactory]
     [java] log4j: About to create TopicConnection.
     [java] log4j: Creating TopicSession, non-transactional, in

The program hangs overhere, doing nothing and not report any error/exception

Am I doing something wrong? 

Any help is appreaciated!

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message