Needed a little bit help with fabric deployment understanding.
soulaway Jun 3, 2014 9:17 AMGood day dear community.
A little time ago we started to integrate osgi esb Fuse (fabric8, camel, blueprint) with our customers services.
We spent three month to setup our environment: hardware, jenkins, stash, git, maven, eth. So now our stuff works fine and we become to Fabric8, Karaf deployment.
So I've got a simple stuff:
Fuse 6.1, fabric mode, blueprint contains cxf endpoint as produser and jpa component as consumer.
Camel rote will be processing this things.
There is two bundles
sms-service-api (contains pojo's for javax (hbn), jaxb mapping)
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<artifactId>sms-service-api</artifactId>
<packaging>bundle</packaging>
<parent>
<groupId>ua.np.services</groupId>
<artifactId>smsinfoesb</artifactId>
<version>1.0.4-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- import/export/private resource internal management -->
<properties>
<osgi.export.pkg>ua.np.services.smsinfo.*</osgi.export.pkg>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
And the implementation of service:
sms-service-impl, contains WS interface, responce processor class, and osgi config things
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<artifactId>sms-service-impl</artifactId>
<packaging>bundle</packaging>
<parent>
<groupId>ua.np.services</groupId>
<artifactId>smsinfoesb</artifactId>
<version>1.0.4-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>ua.np.services</groupId>
<artifactId>sms-service-api</artifactId>
<version>1.0.4-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-all</artifactId>
<version>4.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jpa</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<scope>provided</scope>
</dependency>
<!-- jdbc ds drivers -->
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- import/export/privare resource internal management -->
<properties>
<osgi.import.pkg>
ua.np.services.smsinfo,
org.apache.camel.component.jpa.*
</osgi.import.pkg>
<osgi.export.pkg>ua.np.services.smsinfo.impl.*</osgi.export.pkg>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
** all versions are equal to the fuse on-box bundles versions and present in karaf
Persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="camel" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<!-- <jta-data-source>java:/camelDs</jta-data-source> -->
<class>ua.np.services.smsinfo.Sms</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
<property name="hibernate.hbm2ddl.auto" value="validate"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="jboss.entity.manager.factory.jndi.name" value="java:/camelDsEntityManagerFactory"/>
<property name="hibernate.connection.driver_class" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
<property name="hibernate.connection.url" value="jdbc:sqlserver://dev-db.np.ua:1433;databaseName=our_db"/>
<property name="hibernate.connection.username" value="our_usr"/>
<property name="hibernate.connection.password" value="our_pass"/>
</properties>
</persistence-unit>
</persistence>
cxf.xml
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel-cxf="http://camel.apache.org/schema/blueprint/cxf"
xmlns:cxf="http://cxf.apache.org/blueprint/core"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd">
<camel-cxf:cxfEndpoint id="smsCxfEndpoint"
address="http://localhost:{{sms.endpoint.port}}/{{sms.endpoint.address}}"
serviceClass="ua.np.services.smsinfo.impl.SmsService"/>
</blueprint>
persistRoute.xml
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<!-- xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0" -->
<camelContext id="camel-persister" trace="true" xmlns="http://camel.apache.org/schema/blueprint">
<route id="persistRoute">
<from uri="cxf:bean:smsCxfEndpoint" />
<setBody>
<simple>
${body[0]}
</simple>
</setBody>
<to uri="jpa://?persistenceUnit=camel"/>
<bean ref="persistenceResponseProcessor"/>
<log message="JPA body: ${body}" />
</route>
</camelContext>
<bean id="jpa" class="org.apache.camel.component.jpa.JpaComponent" activation="eager"/>
<bean id="persistenceResponseProcessor" class="ua.np.services.smsinfo.impl.ResponceProcessorImpl"/>
</blueprint>
This all nice starts with local camel:run but via deploying to fabric some evil happens.
Profile id: sms-impl
Version : 1.0
Attributes:
parents: jboss-fuse-medium
Containers: smsimpl
Container settings
----------------------------
Features :
camel-cxf
camel-blueprint
camel-jpa
Bundles :
mvn:org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final
mvn:ua.np.services/sms-service-impl/1.0.4-SNAPSHOT
mvn:ua.np.services/sms-service-api/1.0.4-SNAPSHOT
Configuration details
---------------------------
Other resources
----------------------------
There are 3 errors in instance log:
1:
- org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to instantiate components
- at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:680)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:374)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
- at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
- at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
- at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
- at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[org.apache.aries:org.apache.aries.util:1.0.1.redhat-610379]
- at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.Felix$4.run(Felix.java:2123)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.Felix.runInContext(Felix.java:2147)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.Felix.startBundle(Felix.java:2121)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at io.fabric8.agent.DeploymentAgent.install(DeploymentAgent.java:743)[io.fabric8:fabric-agent:1.0.0.redhat-379]
- at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:525)[io.fabric8:fabric-agent:1.0.0.redhat-379]
- at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:252)[io.fabric8:fabric-agent:1.0.0.redhat-379]
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
- at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
- Caused by: java.lang.NoClassDefFoundError: org/apache/camel/Processor
- at java.lang.ClassLoader.defineClass1(Native Method)[:1.7.0_51]
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)[:1.7.0_51]
- at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2275)
- at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
- at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
- at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_51]
- at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1870)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:937)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:428)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintRepository.loadClass(BlueprintRepository.java:410)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.GenericType.parse(GenericType.java:113)
- at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:168)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.di.AbstractRecipe.loadType(AbstractRecipe.java:161)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BeanRecipe.loadClass(BeanRecipe.java:249)
- at org.apache.aries.blueprint.container.BeanRecipe.getType(BeanRecipe.java:895)
- at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:323)
- at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:806)
- at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)
- at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
- at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:676)[org.apache.aries.blueprint:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
- ... 26 more
- Caused by: java.lang.ClassNotFoundException: org.apache.camel.Processor not found by ua.np.services.sms-service-impl [236]
- at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
- at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_51]
- ... 51 more
2:
Failed to start Apache ActiveMQ ([smsimpl, ID:WSH03626-51206-1401790950662-0:1], java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use: JVM_Bind)
3:
- java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use: JVM_Bind
- at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:2069)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2531)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2448)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:693)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:659)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.start(BrokerService.java:595)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:420)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
- at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:368)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
- at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
- Caused by: java.io.IOException: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use: JVM_Bind
- at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:318)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:144)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:110)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:2064)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- ... 12 more
- Caused by: java.net.BindException: Address already in use: JVM_Bind
- at java.net.DualStackPlainSocketImpl.bind0(Native Method)[:1.7.0_51]
- at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)[:1.7.0_51]
- at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)[:1.7.0_51]
- at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)[:1.7.0_51]
- at java.net.ServerSocket.bind(ServerSocket.java:376)[:1.7.0_51]
- at java.net.ServerSocket.(ServerSocket.java:237)[:1.7.0_51]
- at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:231)[:1.7.0_51]
- at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:132)[org.apache.activemq:activemq-osgi:5.9.0.redhat-610379]
- ... 18 more
Please help me with understanding what is going wrong?
Here is the bundle manifest (from sms-service-imple.jar):
Manifest-Version: 1.0
Bnd-LastModified: 1401789051987
Build-Jdk: 1.7.0_51
Built-By: soloviov.d
Bundle-Blueprint: OSGI-INF/blueprint/cxf.xml,OSGI-INF/blueprint/persistR
oute.xml,OSGI-INF/blueprint/properties.xml
Bundle-Description: This is Nova Poshta FuseESB component template.
Bundle-DocURL: http://novaposhta.ua
Bundle-ManifestVersion: 2
Bundle-Name: sms-service-impl
Bundle-SymbolicName: ua.np.services.sms-service-impl
Bundle-Vendor: Nova Poshta
Bundle-Version: 1.0.4.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
Export-Package: ua.np.services.smsinfo.impl;uses:="ua.np.services.smsinf
o";version="1.0.4.SNAPSHOT"
Implementation-Version: 1.0.4-SNAPSHOT
Import-Package: ua.np.services.smsinfo;version="[1.0,2)",org.apache.came
l.component.jpa;version="[2.12,3)"
Include-Resource: log4j.properties=src/main/resources/log4j.properties,M
ETA-INF/persistence.xml=src/main/resources/META-INF/persistence.xml,OSG
I-INF/blueprint/cxf.xml=src/main/resources/OSGI-INF/blueprint/cxf.xml,O
SGI-INF/blueprint/persistRoute.xml=src/main/resources/OSGI-INF/blueprin
t/persistRoute.xml,OSGI-INF/blueprint/properties.xml=src/main/resources
/OSGI-INF/blueprint/properties.xml
Private-Package: log4j.properties
Tool: Bnd-2.1.0.20130426-122213
And what should I read to understand how the profiles and feature inheritance relates to my container runtime state?
Thanks in advance!
Dmitry.