-
1. Re: 5.5.0 issues
davsclaus Jun 16, 2011 9:24 AM (in response to topikpl)When you say "started a connection to the broker". Do you mean as a client to connect to a remote broker?
The stacktrace indicate you need slf4j-api.jar on the client side. And possible also the slf4j-log4j12.jar if you want to use log4j as the target logger.
-
2. Re: 5.5.0 issues
topikpl Jun 16, 2011 9:49 AM (in response to davsclaus)I mean I've got a client application that has activemq-all-5.5.0-fuse-00-27.jar on classpath and (let's assume) does not depend on anything else, does not use logging etc. And when I call:
new ActiveMQConnectionFactory(dest).createConnection()
I get the error and stack trace. The broker is not even started, so the problem sits in activemq-all-5.5.0-fuse-00-27.jar - unless some other jar must be included, but it was not the case with previous ActiveMQ release, and I believe I haven't seen any additional requirements in the release note (although I might have missed something).
I guess I'm not the only one with such problem: http://activemq.2283324.n4.nabble.com/Problem-with-SLF4J-td3531330.html. Unfortunatelly problem was not solved in the thread.
Cheers
-
3. Re: 5.5.0 issues
dejanb_dejan Jun 16, 2011 10:52 AM (in response to topikpl)Hi,
the solution in that thread should work for you. The user resolved slf4j classpath issue and the rest of the thread was regarding other issue.
So, in 5.5.0 we use slf4j for logging. We provide slf4j-api in activemq-all, but your application should include one of the binders (as explained at http://www.slf4j.org/codes.html#StaticLoggerBinder).
-
4. Re: 5.5.0 issues
topikpl Jun 17, 2011 2:30 AM (in response to dejanb_dejan)I checked first and last post of the thread and infered the problem was not solved - my bad. Thanks for the hints. I guess with slf4j 1.6 where there will be a default binder there will be less confusion. Problem solved.
-