Hey Guillaume, Can you check your logs (simply write "display" in your karaf console or $KARAF_HOME/data/log/karaf.log) after installing the second bundle. In addition can you do a "la" command showing all your installed bundles. If you second bundle isn't started try a start BUNDLE_ID which might yield a better error message on the console.
Kind regards, Andreas On Mon, Feb 27, 2012 at 17:26, Guillaume Yziquel <[email protected]> wrote: > Hi. > > I've been trying to integrate a Scala scripting engine as an OSGi bundle > inside Karaf. However, this engine uses SCR to create components and > make them available. > > The following links have been of use: > > http://karaf.922171.n3.nabble.com/Followup-on-getting-felix-scr-commands-to-show-up-in-karaf-td2700804.html > http://dz.prosyst.com/pdoc/mbs_prof_6.1/um/framework/bundles/osgi/scr/scr.html > > So I now am able to do the following: > > karaf@root> scr list > Id State Name > [ 0] [registered ] guggla.ScalaScriptEngineFactory > karaf@root> > > and I do have my scripting engine available as an SCR component. > > I've however made another OSGi bundle with an SCR component that > attempts to access the guggla.ScalaScriptEngineFactory. However, I do > not see it listed when I type 'scr list' so I assume that it has not > been able to start up correctly. But where should I look for the errors > that prevent this new component from being instantiated properly? > > All apologies if I did not post on the relevant mailing list, as I > simply wasn't really sure where to ask for that. > > -- > Guillaume Yziquel > Crossing-Tech
