journaled JDBC - migrating from 5.1.0 -> 5.4.1

2010-10-04 Thread carlosf
It looks like JDBC journaling configuration has changed between 5.1.0 and 5.4.1. As per the 5.4.1 xml schema (http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd) the only likely options appear to be: and, ==journaledJDBC== I attempted to get the first form working because

Re: activemq Log4j usage

2010-10-04 Thread Stan Lewis
You can install and use Pax Logging for this - http://wiki.ops4j.org/display/paxlogging/Pax+Logging On Mon, Oct 4, 2010 at 5:24 PM, Navin Naidu wrote: > Hi, > > I am facing issues configuring log4j with activemq as osgi bundle, I have > created an osgi bundle of activemq Embedded broker and has l

activemq Log4j usage

2010-10-04 Thread Navin Naidu
Hi, I am facing issues configuring log4j with activemq as osgi bundle, I have created an osgi bundle of activemq Embedded broker and has log4j.properties file in its classpath. It creates an empty log file, and prints the INFO on stdout (which is the default logging behaviour). I have also tried

Re: where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Illtud Daniel
Hi Timothy, try it this way: Makes sense to me! However: 2010-10-04 21:46:36,751 | WARN | Nested in org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [uk.org.llgc.testing.HelloWorld] for bean with name 'hello' defined in URL [file:/usr/local/activemq/

Re: where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Timothy Bish
On Mon, 2010-10-04 at 21:20 +0100, Illtud Daniel wrote: > Stan, thank you very much for the prompt reply > > On 04/10/10 20:38, Stan Lewis wrote: > > activemq's lib directory is the right place for it, make sure you > > either put the class in a directory hierarchy that matches the class's > > pac

Re: where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Illtud Daniel
Stan, thank you very much for the prompt reply On 04/10/10 20:38, Stan Lewis wrote: activemq's lib directory is the right place for it, make sure you either put the class in a directory hierarchy that matches the class's package name or build it into a Jar file. Ah, see, now you have already f

Re: where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Stan Lewis
activemq's lib directory is the right place for it, make sure you either put the class in a directory hierarchy that matches the class's package name or build it into a Jar file. On Mon, Oct 4, 2010 at 3:32 PM, Illtud Daniel wrote: > I hope you don't mind me posting this to the activemq, rather t

where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Illtud Daniel
I hope you don't mind me posting this to the activemq, rather than camel, but I'm using the camel that comes with activemq, so the answer I'm looking for is activemq-specific. Where should I be putting my (eg) HelloWorld.class so that I can invoke the code via a bean, declared in camel.xml:

Re: Continuous Transport Failures Moments Before STOMP Connections Close

2010-10-04 Thread John Boyer
Thanks Dejan. Yes, I consider anything with a stack trace to be an error. At first we thought our client was not handling the closing of the connection properly. I'm glad to hear that we no longer need to be concerned about this issue. Regards, John Boyer Sent from my iPhone On Oct 4, 2010, a

Message getting stuck on queue

2010-10-04 Thread nervousbadger
I recently raised https://issues.apache.org/activemq/browse/AMQ-2955, where we are seeing a message get stuck on the queue. Has anyone else encountered this and were you able to work around it by modifying the server configutaration? -- View this message in context: http://activemq.2283324.n4.na

[ANNOUNCE] Apache.NMS.ActiveMQ v1.4.1 Released

2010-10-04 Thread Timothy Bish
Hello The Apache.NMS.ActiveMQ 1.4.0 Release bundle is now available at the following location: This release is based on the Apache.NMS API v1.4.0 and runs on .NET frameworks 2.0+ and Mono 2.0+. This version is a patch release that f

Re: "HTTP ERROR: 503" from Jetty when accessing admin page, versions (5.4.1 and 5.4.0)

2010-10-04 Thread jtruelove
I upgraded the JDK to the 64bit version of 1.6.0_21 for linux and the issue went away so not sure why an older version of java 6 would create this issue but it works now. -- View this message in context: http://activemq.2283324.n4.nabble.com/HTTP-ERROR-503-from-Jetty-when-accessing-admin-page-v

Re: Seeing Spring & Jaxb Errors on Startup (v5.4.1)

2010-10-04 Thread jtruelove
I upgraded the JDK to the 64bit version of 1.6.0_21 for linux and the issue went away so not sure why an older version of java 6 would create this issue but it works now. -- View this message in context: http://activemq.2283324.n4.nabble.com/Seeing-Spring-Jaxb-Errors-on-Startup-v5-4-1-tp2937359

Re: Fetching a message from a queue

2010-10-04 Thread techieguy
Thanks a lot Tobias. It worked. -- View this message in context: http://activemq.2283324.n4.nabble.com/Fetching-a-message-from-a-queue-tp2953864p2954077.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Continuous Transport Failures Moments Before STOMP Connections Close

2010-10-04 Thread Dejan Bosanac
Hi John, this log just indicate that connection is lost, it's no indication of an error. We recently raised the level of these messages to catch some other situations, so they now shows with the INFO level in standard logs. We should probably rethink this and probably hide them again. Cheers -- D

Re: ACTIVEMQ-CPP Error compiling activemq-cpp release SSL

2010-10-04 Thread Oscar Pernas
ok, that's it! 2010/9/29 Ivan Pechorin > 2010/9/28 Oscar Pernas : > > > > ..\src\main\decaf\lang\System.cpp(389) : error C2664: 'strlen' : cannot > > convert parameter 1 from 'LPTSTR' a 'const char *' > > ..\src\main\decaf\lang\System.cpp(395) : error C2664: > > 'std::vector<_Ty>::push_back' :

Fetching a message from a queue

2010-10-04 Thread techieguy
Hi, I`m new to activemq. I have a specific scenario where i need to retrieve a value from a queue may be with an id. I tried with queuebrowser and it works fine. I have got the enumeration elements from the browser and looped through all the elements to get my specific value. But i would like to

Re: Fetching a message from a queue

2010-10-04 Thread Tobias Trelle
What exactly do you mean by a "value"? From an API point of view there are only messages in a queue. But you don't need to browser the whole queue to detect the messages of interest. You can you a JMS selector expression: http://download.oracle.com/javaee/1.3/api/javax/jms/Message.html HTH, Tobi