-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Karaf / Activemq connection issues #649
Comments
FWIW This was resolved by cycling the
|
Is the API-X JMS broker inside Karaf? Because I'm starting to think that is not a great idea. |
@whikloj not sure. I don't see an embedded OSGI broker being configured. I was more in the impression it was using the fcrepo one? Maybe i'm looking at the wrong component Also, if the connection to tcp://localhost:61616 is being refused, maybe fcrepo's broker is not available when api-x feature boots -deploys- ? (probably wrong word that boot. do features "boot" ? ) |
Right...right. I should know that. So is fcrepo-api-x missing some sort of JMS failover to keep trying to connect if the connection is not available when it starts up? Have to look into that later. |
@whikloj We're using the Activemq embedded within Fedora, as @DiegoPino suggested. It seems to be a bug where fcrepo-service-activemq doesn't restart correctly after a configuration change. @acoburn mentioned it here: fcrepo4-labs/fcrepo-api-x#106 (comment) That's def a better idea than cycling the feature, but either should do the trick. |
@dannylamb have you tried sticking the |
I've just been cycling our features. Was about to try that out tho and if it worked, issue a PR. Have you tried yourself and are running into issues? |
No not really, I'm still behind on my API-X integration knowledge. Just wondering if adding that to the claw_vagrant build would be an easy fix. |
In theory, yes. You should just have to curl down the cfg fie from Github before installing any features. Otherwise you just have to cycle all the features that use fcrepo-service-activemq.
Which is what I've been doing manually and works fine, but that list will grow as we pile on more features. |
FYI, I just tried it by curling down the config file beforehand and it didn't work for me. Looks lke cycling the features is the way to go. Gosh I hate that but I'll live with it for now. |
After spinning up a new vagrant, Karaf cannot connect to activemq anymore. Error message from the logs:
This is probably related to us merging in features for Api-X yesterday.
The text was updated successfully, but these errors were encountered: