Setting up jfuse as a servuce wrapper

Latest response

Hey

Tring to setup jfuse 7.6 as a wrapper service so standalone server will restart if computer reboots.

ran the command and getting a derby error as below
karaf@root()> features:install wrapper
org.apache.karaf.features.internal.util.MultiException: Error restarting bundles:
Activator start error in bundle org.ops4j.pax.jdbc.derbyclient [467].
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1044)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Suppressed: org.osgi.framework.BundleException: Activator start error in bundle org.ops4j.pax.jdbc.derbyclient [467].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1153)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1036)
... 6 more
Caused by: java.lang.NoClassDefFoundError: org/apache/derby/jdbc/ClientDataSource
at org.ops4j.pax.jdbc.derbyclient.impl.Activator.start(Activator.java:33)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240)
... 12 more
Caused by: java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDataSource not found by derby [465]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414)
at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1660)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1590)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 15 more
Error executing command: Error restarting bundles:
Activator start error in bundle org.ops4j.pax.jdbc.derbyclient [467].

checked and its present and active
karaf@root()> osgi:find-class derby

activemq-client (339)
META-INF/services/org/apache/activemq/store/jdbc/apache_derby_embedded_jdbc_driver

OPS4J Pax JDBC Apache Derby Driver Adapter (466)
META-INF/maven/org.ops4j.pax.jdbc/pax-jdbc-derby/
org/ops4j/pax/jdbc/derby/

OPS4J Pax JDBC Apache Derby Client Driver Adapter (467)
META-INF/maven/org.ops4j.pax.jdbc/pax-jdbc-derbyclient/
org/ops4j/pax/jdbc/derbyclient/

I have followed setup and did required but seems i am missing something, any ideas?

Responses