I really don’t understand why you would use FileInstall for this. If you use 
OSGi APIs to install and start the bundles then you will know exactly what has 
failed and why.

Neil


> On 2 Apr 2015, at 23:58, thully <[email protected]> wrote:
> 
> We're using Felix FileInstall as part of Karaf in our project (Cytoscape) to
> load third-party bundles ("apps") installed by users. In some cases, an app
> may be missing dependencies or its JAR file may be corrupt, causing the
> bundle to fail to load. 
> 
> Currently, this is logged by Felix FileInstall - is there any way for our
> code to catch these failures and react accordingly (i.e. display our own
> error message)? It seems like there should be an interface to do this,
> though it's not clear how this could be done with any of the interfaces
> defined by FileInstall.
> 
> 
> 
> --
> View this message in context: 
> http://apache-felix.18485.x6.nabble.com/How-to-catch-FileInstall-bundle-load-errors-tp5012257.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to