Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Claus Ibsen
Hi If you want to remote debug a JVM then you can in Eclipse setup a little maven project and add AMQ 5.5.1 as dependency. And then Eclipse has a "button" to download sources. And you should be able to remote debug with the source code. You would not need to build the JARs again from source or to

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Christopher Shannon
That is an error that was fixed in later versions of ActiveMQ. ActiveMQ 5.8.0 should work because the interface methods in MapContainer have been changed to fix that error. It has to do with the compiler checking type erasure and it seems that maybe the newer compilers are stricter about that. I

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread bbuzzard
Thanks, your instructions were very helpful. I've use Eclipse for over 15 years and I've use Maven, off and on, for at least 10 years, but never together. This whole process was far more painful than I expected. I managed to clear all of the errors except the following and I'm not sure how to

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Christopher Shannon
So there's a few things you'll probably need to do to make it work in Eclipse. First, build the project on the command line using Maven (this important for step 3 so generated code is available) Second, after importing as a Maven project into Eclipse, to fix issues with maven in eclipse go to Mav

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread bbuzzard
I have ActiveMQ-5.5.1 on a production machine and I would like to remotely troubleshoot a specific camel route on it. I have tried to Build ActiveMQ-5.8.0, but I seem to be running into similar problems. I am using Eclipse Luna 4.4.2. Internally Luna is using the EMBEDDED Maven 3.2.1/1.5.2.20150

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Christopher Shannon
I'm not entirely sure why it's giving that error, but it could be related to your version of maven. Just out of curiosity, why are you trying to build a version that is so old? Would it be possible to upgrade to a more modern version of ActiveMQ? On Tue, Jun 16, 2015 at 2:02 PM, bbuzzard wrote:

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-16 Thread bbuzzard
I switched to JDK6 and almost everything compiled. Still having some problem trying to compile activemq-core. It looks like the "target/generated-sources" code has a common error. The package is "org.apache.activemq.store.kahadb.data" by the fix message says it needs to be changed to "proto.org.

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-12 Thread Christopher Shannon
You can't use JDK 8 to build a version that old, try using JDK 6. JDK 7 support was added in ActiveMQ 5.7.0 and JDK 8 support was added in ActiveMQ 5.10.0 On Fri, Jun 12, 2015 at 11:54 AM, bbuzzard wrote: > Yes I know there are newer versions, but I'm trying to build ActiveMQ-5.5.1 > from sourc