Trouble with karaf installation steps - maybe latest versions issue

105 views
Skip to first unread message

D G Teed

unread,
Oct 27, 2020, 12:24:21 PM10/27/20
to isla...@googlegroups.com

I'm following the manual install on Debian buster, which is fairly similar to the documented Ubuntu platform.

I'm at the karaf steps.  Version 4.2.10 binary runtime installed.  I've noticed the karaf client will hang until it times out at 30 minutes.  So I watch the karaf log and then ^D the client once the connection has closed.  Seems to be a known karaf bug (6422).


Using the latest versions at maven, the commands become:

  /opt/karaf/bin/client repo-add mvn:org.apache.activemq/activemq-karaf/5.16.0/xml/features
  /opt/karaf/bin/client repo-add mvn:org.apache.camel.karaf/apache-camel/3.6.0/xml/features
  /opt/karaf/bin/client repo-add mvn:ca.islandora.alpaca/islandora-karaf/LATEST/xml/features
  /opt/karaf/bin/client repo-add mvn:org.apache.jena/jena-osgi-features/3.16.0/xml/features

When run this command from the guide, I see errors in the karaf log:

/opt/karaf/bin/client feature:install camel-blueprint 

The traceback errors are in the attachment.

A notice in the install guide said someone should know when there are dependency issues, which I think is the issue here.

How should we proceed?

karaf-errors.txt

D G Teed

unread,
Oct 28, 2020, 12:26:24 PM10/28/20
to isla...@googlegroups.com

There has been no response to my question.  It seems the karaf logs may spew
backtrace messages for many failures, yet not be significant.  Even the install notes
around karaf seem unsure whether the thing works and dependencies are working
properly.

I plowed ahead anyway.  I restarted karaf service a couple of times when it seemed
it wasn't happy according to the logs.  Lots of "connection failed, reattempting" types
of messages appeared in karaf's log file.

The karaf client test at the end showed the pieces were active:

karaf@root()> la | grep islandora                                                                             
116 │ Active   │  80 │ 0.0.0                               │ ca.islandora.alpaca.connector.ocr.blueprint.xml
117 │ Active   │  80 │ 0.0.0                               │ ca.islandora.alpaca.connector.houdini.blueprin
118 │ Active   │  80 │ 0.0.0                               │ ca.islandora.alpaca.connector.fits.blueprint.x
119 │ Active   │  80 │ 0.0.0                               │ ca.islandora.alpaca.connector.homarus.blueprin
karaf@root()> la | grep fcrepo                                                                                
244 │ Active   │  80 │ 5.0.0                               │ fcrepo-service-activemq
263 │ Active   │  50 │ 5.0.0                               │ fcrepo-camel
264 │ Active   │  50 │ 0.4.0                               │ fcrepo-java-client
268 │ Active   │  80 │ 5.0.0                               │ fcrepo-indexing-triplestore
269 │ Active   │  80 │ 5.0.0                               │ fcrepo-indexing-triplestore-blueprint
270 │ Active   │  80 │ 5.0.0                               │ fcrepo-service-camel

Should anything more be tested regarding karaf functionality?


Danny Lamb

unread,
Oct 29, 2020, 12:01:31 PM10/29/20
to islandora
Hi D G,

If everything has deployed and is "Active", you should be fine.  The true test is to make an object, upload an original file, and see if derivatives are made.  But from the looks of it, you're alright.

Your specific errors are around the http4 camel component, which you _should_ have.  It _should_ be pulled down for you as a dependency of our bundles.  You can confirm if it's there with `feature:list | grep http4` from the Karaf console.  If you get no hits, you can install it manually with `feature:install camel-http4`.

--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/CAMNR8_PsrXd2%2BvzNQZLmhhkD648F1cRoWnkroVpdUzF0_VNYtw%40mail.gmail.com.


--
- Daniel Lamb

Tech Lead
Islandora Foundation
http://islandora.ca

D G Teed

unread,
Oct 29, 2020, 3:55:26 PM10/29/20
to isla...@googlegroups.com

Thanks for the response.  I checked and it came back with camel-http4 listed and in state "Started", 
so I expect we are good.  Thanks again.

Reply all
Reply to author
Forward
0 new messages