Hi all,
we are making our first experiences in deploying routes to a JBoss Fuse server.
We have a OSGi jar file created from a blueprint project in Jboss Developer studio, and the route works as expected. But, when we stop the JBoss Fuse server (e.g. for maintenance purposes), the OSGi bundle is no longer available and we have to reinstall it manually.
JBoss Fuse server is jboss-fuse-6.1.1.redhat-412
the manifest:
Manifest-Version: 1.0
Bnd-LastModified: 1423471003553
Build-Jdk: 1.7.0_76
Built-By: mlippa
Bundle-ManifestVersion: 2
Bundle-Name: HL7 Proxy
Bundle-SymbolicName: hl7proxy
Bundle-Version: 0.9.9.alfa
Created-By: Apache Maven Bundle Plugin
DynamicImport-Package: org.apache.cxf.*,org.springframework.beans.*
Export-Package: it.finmatica.ws.client;uses:="javax.xml.bind.annotation,
javax.jws.soap,javax.jws,javax.xml.ws,javax.xml.namespace";version="0.9
.9.alfa"
Import-Package: javax.jws,javax.jws.soap,javax.transaction,javax.xml.bin
d.annotation,javax.xml.namespace,javax.xml.ws,org.osgi.service.blueprin
t;version="[1.0.0,2.0.0)",org.springframework.beans.factory.config
Spring-Context: *;publish-context:=true;create-asynchronously:=true
Tool: Bnd-1.50.0
I googled a lot but didn't find how to tell the OSGi container that the bundle has to be loaded at bootstrap.
We install it using osgi:install and start it using osgi:start
Any help would be appreciated
Thanks in advance
Maurizio
Wrapping that jar might solve the issue.
Delete the existing and install as
wrap:mvn: {groupId}/{artifactId} /{version}/