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

Reply via email to