OBR START command not found? - osgi

I'm trying to follow this tutorial: http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
However when I try to use the OBR START command I get this:
As you can see, my HELP command list also states that there is no obr:start command installed.
I'm using felix framework 4.4.0 that I just downloaded from the website.
What am I missing?
Thanks!

At some point the obr:start command was moved to the felix namespace. You can type felix:start or simply start.
Unfortunately, a lot of Felix documentation is out of date.

Related

How to Install JSONNET tools on Windows-10?

I need to use this library since its a project requirements.
I am referring to official release website : https://jsonnet.org/learning/tools.html
But sadly no way find out for installation on Windows.
Need help for this topic.
Thanks in advance !
You can find multi-arch jsonnet CLI releases at https://github.com/google/go-jsonnet/releases, in particular as of now:
go-jsonnet_0.18.0_Windows_armv6.tar.gz
go-jsonnet_0.18.0_Windows_i386.tar.gz
go-jsonnet_0.18.0_Windows_x86_64.tar.gz
It's available in Scoop.
Run: scoop install go-jsonnet

Installation of asciidoctor on osx 10.11.5 for newbie?

I tried to follow the installation process defined at: http://asciidoctor.org/docs/install-asciidoctor-macosx/#rvm-procedure-recommended but it failed with the error message
Error running 'requirements_osx_brew_update_system ruby-2.3.0',
showing last 15 lines of
/Users/richardcoffre/.rvm/log/1466510618_ruby-2.3.0/update_system.log
Because I am a newbie, but want to use asciidoc format, I need an updated and detailed installation process to install asciidoctor.
Best regards
Richard
Install Homebrew
brew install ruby
Open new terminal tab/window
which gem, it should print /usr/local/bin/gem
gem install asciidoctor
We should probably create a Homebrew package for Asciidoctor, it's unnecessary complicated now.
I am aware this does not exactly answer your question...
An alternative to this installation approach is to use an Application like AsciidoctorFX:
Or even simpler the preview extension for chrome:
If you are a developer, there is a good integration with several build system (maven, gradle, rake, gulp, grunt...). In that case the package manager will download Asciidoctor and the dependencies for you.

Elasticsearch use icu_tokenizer from ICU Analysis plugin

I am trying to install ICU Analysis plugin manually in Elasticsearch 1.4.0. I have downloaded elasticsearch-analysis-icu-2.4.1.jar, lucene-analyzers-icu-4.10.2.jar and icu4j-54.1.1.jar. The plugin appears normally in the console, but when I try to use icu_tokenizer, I get the following error:
NoClassDefFoundError[Could not initialize class org.apache.lucene.analysis.icu.segmentation.DefaultICUTokenizerConfig]
This class actually exists in lucene-analyzers-icu. Is there something I am missing?
Did you try using the plugin installer instead of downloading the jar files manually as suggested in the documentation?
./bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.6.0
Run the command and restart the server. The plugin will be registered and functional.
Document
sudo bin/elasticsearch-plugin install analysis-icu

Why does executing debug in 0.13.7 fail with "Could not find agent library jdwp:transport on the library path"?

After update from 0.13.6 to 0.13.7 I cannot debug with SBT.
It is installed using Homebrew. I tried to reinstall it, brew doctor shows nothing.
I did not change/reinstall Java between SBT update.
lgr$ sbt -v -jvm-debug 5005 "project webapp" run
[process_args] java_version = '1.8.0_25'
# Executing command line:
java
-Xms1024m
-Xmx1024m
-XX:ReservedCodeCacheSize=128m
-XX:MaxMetaspaceSize=256m
-agentlib:jdwp:transport=dt_socket,server=y,suspend=n,address=5005
-jar
/usr/local/Cellar/sbt/0.13.7/libexec/sbt-launch.jar
"project webapp"
run
Error occurred during initialization of VM
Could not find agent library jdwp:transport on the library path, with error: dlopen(libjdwp:transport.dylib, 1): image not found
I am unsure whether SBT is missing some library, or brew formula didn't install properly.
I will be helpful for any idea how to fix it.
Reinstalled Java, didn't help.
Workaround I downloaded SBT 0.13.6 and it works without problem, so I start to consider this as a sbt bug. Can anyone help to clarify if it is?
To piggyback on Eugene's answer above, since the fix is in a bash script, it is pretty easy to apply the fix from https://github.com/sbt/sbt-launcher-package/pull/85/files manually. Just edit bin/sbt-launch-lib.bash to have this:
addJava "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=$1"
Instead of this:
addJava "-agentlib:jdwp:transport=dt_socket,server=y,suspend=n,address=$1"
(Mind the : not = between jdwp and transport).
It is installed using Homebrew.
Homebrew install is sanctioned by sbt project as a recommended way to install on Mac, but we (I'm one of the sbt devs) currently don't control it. We do however have the official package sbt/sbt-launcher-package, and last I checked Homebrew is also using it.
Looking at git blame of the relevant part of the script, it seems like the debug option was "fixed" in sbt/sbt-launcher-package#83:
In sbt-launch-lib.bash, -Xdebug option is used for debugging. We should use -agentlib option for Java 5+.
Maybe your issue should be tracked as a bug in sbt/sbt-launcher-package.
The problem was fixed in the 0.13.8 version.
At my case the bash fix didn't help but running from bash as:
export SBT_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
sbt
helped. It is from here.

Use perlcassa in Window

I'm trying to use perlcassa perl package in Window app. I started make but it failed because of missing prerequisites like Thrift::XS and Tie::IxHash
Unfortunatelly such prerequisites are not available for Windows.
Any idea how to overcome this?
Or is there another Perl package for Cassandra that supports Windows?
Thanks,
Abed.
Using Cassandra command line solves the problem. It is easy, direct and no need for additional packages. i.e I wrote Cassadnra script and used -f option in Cassandra CLI to invoke it.

Resources