Hi,

cool. So this is something that can be used, e.g. for live debugging
in the console and making changes that are directly applied?

Best,
 - Fabian

2012/6/22 Reto Bachmann-Gmür <[email protected]>:
> Hi
>
> I've resolved STANBOL-312 and added the ssh accessible and scala based
> clerezza shell to stanbol.
>
> The bad news first: on my machine the additional bundles caused the jvm to
> require more permsize than its default, so I hat to launch with the
> -XX:MaxPermSize=256m vm option.
>
> The ssh daemon is listening on port 8022 (this can of course be changed via
> service property), to connect to it use:
>
> ssh -p 8022 admin@localhost
>
> the default pwd for the admin user is "admin"
>
> Once connected you have a full scala console with access to the OSGi
> service registry. To get an instance of a service you can use the
> $[<className>] shortcut, for example:
>
> zz>import org.apache.stanbol.enhancer.servicesapi._
> zz>val jm = $[EnhancementJobManager]
>
> jm now point to an EnhancementJobManager instance, you can use the tab key
> to find the methods than can be invoked on an object:
>
> zz>jm.
> asInstanceOf    enhanceContent    getActiveEngines    isInstanceOf
> toString
>
> I hope this is of use.
>
> Reto



-- 
Fabian
http://twitter.com/fctwitt

Reply via email to