activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: log4j-jms example comes with version 5.3 doesn't work
Date Wed, 18 Nov 2009 15:10:05 GMT
Hi,

see comment on https://issues.apache.org/activemq/browse/AMQ-2495

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Nov 18, 2009 at 3:39 AM, jeffreyyin <jy1999us@hotmail.com> wrote:

>
> Anybody can provide any thoughts on this?
>
> Thanks,
>
> Jeffrey
>
>
> jeffreyyin wrote:
> >
> > 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
> >
> > init:
> >
> > compile:
> >
> > log4j-jms:
> >      [echo] Running a Log4j JMS Appender example
> >      [java] log4j: Trying to find [log4j-jms.properties] using context
> > classloader sun.misc.Launcher$AppClassLoader@11b86e7.
> >      [java] log4j: Using URL
> >
> [file:/C:/apache/apache-activemq-5.3.0/example/target/classes/log4j-jms.properties]
> > for automatic log4j configuration.
> >      [java] log4j: Reading configuration from URL
> >
> file:/C:/apache/apache-activemq-5.3.0/example/target/classes/log4j-jms.properties
> >      [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 -
> > %m%n].
> >      [java] log4j: End of parsing for "stdout".
> >      [java] log4j: Parsed "stdout" options.
> >      [java] log4j: Parsing appender named "jms".
> >      [java] log4j: Setting property [initialContextFactoryName] to
> > [org.apache.activemq.jndi.ActiveMQInitialContextFactory].
> >      [java] log4j: Setting property [topicBindingName] to [logTopic].
> >      [java] log4j: Setting property [topicConnectionFactoryBindingName]
> to
> > [ConnectionFactory].
> >      [java] log4j: Setting property [providerURL] to
> > [tcp://localhost:61616].
> >      [java] log4j: Getting initial context.
> >      [java] log4j: Looking up [ConnectionFactory]
> >      [java] log4j: About to create TopicConnection.
> >      [java] log4j: Creating TopicSession, non-transactional, in
> > AUTO_ACKNOWLEDGE mode.
> >
> > The program hangs overhere, doing nothing and not report any
> > error/exception either.
> >
> > Am I doing something wrong?
> >
> > Any help is appreaciated!
> >
> > Jeffrey
> >
>
> --
> View this message in context:
> http://old.nabble.com/log4j-jms-example-comes-with-version-5.3-doesn%27t-work-tp26359540p26401533.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message