-
1. Re: activemq-broker.xml is waiting for dependencies
ffang Feb 22, 2012 7:59 AM (in response to paul.berry)Hi,
The error indicates that aries transaction manager bundle isn't available, did you change any configuration for your FUSE ESB? What's the exact version for your FUSE ESB?
Could you post the result of
list -t 0|grep Aries
Btw, generally just remove $FUSE_ESB/data(this remove the bundle cache) folder you can get a clean env again if you didn't change any configuration.
Freeman
-
2. Re: activemq-broker.xml is waiting for dependencies
paul.berry Feb 22, 2012 8:10 AM (in response to ffang)Thanks for the quick reply...
output from list -t 0|grep Aries
Apache Aries Proxy Bundle (0.3.0)
Apache Aries Blueprint Bundle (0.3.1)
Apache Aries JMX Blueprint Bundle (0.3.0)
Apache Aries JMX Bundle (0.3.0)
Apache Aries Transaction Manager (0.2.0.incubating)
Apache Aries Transaction Manager (0.3.0)
Apache Aries Transaction Enlisting JDBC Datasource (0.3.0)
Apache Aries Transaction Blueprint (0.3.0)
How do I reset sevicemix if I have made configuration changes? (I assume you mean installed bundles using features:install). where is the list of installed features kept?
Edited by: paul.berry on Feb 22, 2012 1:10 PM
-
3. Re: activemq-broker.xml is waiting for dependencies
paul.berry Feb 22, 2012 8:57 AM (in response to paul.berry)hmm, I seem to have stopped the exception by:
installing the 0.3 version of the transaction manager:
osgi:install -s mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3
uninstalling the old version
osgi:uninstall 53
and restarting servicemix.
However, That was just a guess so I don't know if that's the right way to fix this issue or not. Will try deploying my route now and see if it works.
-
4. Re: activemq-broker.xml is waiting for dependencies
paul.berry Feb 22, 2012 11:43 AM (in response to paul.berry)Okay, more info on this problem:
I started again from scratch (completely clean install directory).
First attempt to launch service mix hung at 'activemq-broker.xml awaiting namespace handlers'
I got bored waiting and killed the process.
Second attempt I didn't get an exception but I didn't see anything about the message broker starting. Shutdown and restart again...
On this attempt it hung at 'activemq-broker.xml is waiting for dependencies (javax.transaction.TransactionManager)'
I then run the following commands:
osgi:uninstall 53
osgi:install -s mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3
shutdown / restart and the message broker finally starts (yay!)
-
5. Re: activemq-broker.xml is waiting for dependencies
ffang Feb 22, 2012 7:02 PM (in response to paul.berry)Hi,
Thanks for the investigation.
OK, the default activemq feature use old version(0.2-incubating) of org.apache.aries.transaction.manager bundle, we should use 0.3 instead.
I'll create an internal jira ticket and fix it soon.
As a workaround, you can edit $FUSE_ESB/./system/org/apache/activemq/activemq-karaf/5.5.1-fuse-01-20/activemq-karaf-5.5.1-fuse-01-20-features.xml
change
then remove $FUSE_ESB/data folder and restart FUSE ESB.
Freeman
Edited by: ffang on Feb 23, 2012 12:01 AM
-
6. Re: activemq-broker.xml is waiting for dependencies
paul.berry Feb 23, 2012 4:32 AM (in response to ffang)Thanks Freeman.
I'm now having another issue with actually deploying my bundle into servicemix, but I'll open another thread for that.
-
7. Re: activemq-broker.xml is waiting for dependencies
paul.berry Feb 24, 2012 4:14 AM (in response to paul.berry)Hmm, it looks like I spoke too soon. Even after making this change I was still having issues with the activemq-broker.
I 'fixed' my issues by downloading and using 4.4.0 instead of the 4.4.1 I had been trying to use. I don't know what changed between those two versions but 4.4.1 would hang / refuse to start with one of a number of errors at least 75% of the time and I was completely unable to get it working conistently and reliably. 4.4.0 works without a problem.
Some issues I had with 4.4.1:
The console doesn't 'remember' commands between sessions. eg: start servicemix, enter a command (osgi:list), then shut down and restart servicemix. Press 'up' and the last command is not shown in 4.4.1. In 4.4.0 it is.
activemq broker refusing to start either due to 'waiting for dependencies' or 'waiting for namespace handlers'
Everything appearing to start up correctly (ie: no exceptions in the log) but the majority of bundles showing 'resolved' rather than installed or active
Obviously some or all of these might be issues with my setup (although I saw the same issues on 2 different installations, 1 windows and 1 linux) but for now I'll stick to 4.4.0.
-
8. Re: activemq-broker.xml is waiting for dependencies
moacsjr_moacsjr Feb 29, 2012 7:55 AM (in response to paul.berry)Hello Paul,
I also noticed these same problems.
Moa.