Hello all,

this is a contribution I believe should be available at the main web
site.  We are developing an enhancer inside which we use a web service
client.

We have encountered two issues related to the felix runtime, where the
first is solved, the second we consider severe.

1.  Rrunning the enhancer (insode the sling felix launcher) we get an exception

java.lang.NoClassDefFoundError: com.sun.xml.internal.ws.api.message.Header not f
ound by enhancer.ste-enhancer [228]
        at $Proxy74.<clinit>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


interesting part is, that the bundle gets resolved.

seems the solution is described
here:(http://content754.blogspot.be/2011/07/webservice-client-in-osgi-container.html),
so at the and we need to update stanbol/sling.properties file to add
com.sun.xml.internal.ws.* value to the
org.osgi.framework.bootdelegation property

2. if we deploy and configure a new Enhancer (OSGi module, new
weighted chain), after restart the nre configuration is deleted.
Installed bundles are still installed, but the configuration is lost.
This is a very unexpected. Is there a parameter / switch to make the
configuration persistent?
use case:
 - in the configuration console
(http://localhost:8080/system/console/configMgr) create a new chain
 - restart the lancher
 - the new confiration (chain) is lost

we consider not feasible nor practical to configure new / custom
modules as a part of the source build

Carpe diem
                  Gabriel

-- 
Gabriel Vince
Senior Consultant
Apogado
http://www.apogado.com

Reply via email to