12:27:47.841 INFO [FelixFrameworkWiring] Destroying BlueprintContainer for bundle com.github.osmman.karaf4.camel-jpa/1.0.0.SNAPSHOT 12:27:47.842 INFO [Blueprint Event Dispatcher: 1] Stopping Camel Context blueprint-bean-context 12:27:47.845 INFO [FelixFrameworkWiring] removing persistence units for com.github.osmman.karaf4.camel-jpa UNRESOLVED 12:27:47.845 INFO [FelixFrameworkWiring] Lost provider for camel org.hibernate.jpa.HibernatePersistenceProvider 12:27:47.845 INFO [FelixFrameworkWiring] Lost DataSource for camel osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/h2) 12:27:47.847 INFO [FelixFrameworkWiring] HHH000477: Starting delayed drop of schema as part of SessionFactory shut-down' 12:27:47.857 INFO [FelixFrameworkWiring] Found persistence unit camel in bundle com.github.osmman.karaf4.camel-jpa with provider null. 12:27:47.858 INFO [FelixFrameworkWiring] Found provider for camel org.hibernate.jpa.HibernatePersistenceProvider 12:27:47.858 INFO [FelixFrameworkWiring] HHH000204: Processing PersistenceUnitInfo [ name: camel ...] 12:27:47.898 INFO [FelixFrameworkWiring] HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 12:27:47.898 WARN [FelixFrameworkWiring] HHH000431: Unable to determine H2 database version, certain features may not work 12:27:47.899 WARN [FelixFrameworkWiring] HHH000342: Could not obtain connection to query metadata : null 12:27:47.899 INFO [FelixFrameworkWiring] HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 12:27:47.900 WARN [FelixFrameworkWiring] HHH000431: Unable to determine H2 database version, certain features may not work 12:27:47.900 INFO [FelixFrameworkWiring] HHH000422: Disabling contextual LOB creation as connection was null 12:27:47.909 INFO [FelixFrameworkWiring] HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@5c9353a0' 12:27:47.909 INFO [FelixFrameworkWiring] HHH000397: Using ASTQueryTranslatorFactory 12:27:47.911 INFO [FelixFrameworkWiring] HHH000477: Starting delayed drop of schema as part of SessionFactory shut-down' 12:27:47.911 INFO [FelixFrameworkWiring] Tracking DataSource for punit camel with filter (&(objectClass=javax.sql.DataSource)(osgi.jndi.service.name=jdbc/h2)) 12:27:47.911 INFO [FelixFrameworkWiring] Found DataSource for camel osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/h2) 12:27:47.912 INFO [CM Configuration Updater (ManagedService Update: pid=[org.apache.aries.jpa.camel])] Registering EntityManagerFactory for persistence unit camel 12:27:47.913 INFO [CM Configuration Updater (ManagedService Update: pid=[org.apache.aries.jpa.camel])] HHH000204: Processing PersistenceUnitInfo [ name: camel ...] 12:27:47.913 INFO [FelixFrameworkWiring] Persistence units added for bundle com.github.osmman.karaf4.camel-jpa event 128 12:27:47.931 INFO [Blueprint Event Dispatcher: 1] Attempting to start Camel Context blueprint-bean-context 12:27:47.932 INFO [Blueprint Event Dispatcher: 1] Apache Camel 2.21.0.fuse-000009 (CamelContext: blueprint-bean-context) is starting 12:27:47.932 INFO [Blueprint Event Dispatcher: 1] JMX is enabled 12:27:47.948 INFO [Blueprint Event Dispatcher: 1] Using TransactionManager found in registry with id [PlatformTransactionManager0] org.jboss.narayana.osgi.jta.internal.PlatformTransactionManagerImple@50ae0ca2 12:27:47.949 WARN [Blueprint Event Dispatcher: 1] No EntityManagerFactory has been configured on this JpaComponent. Each JpaEndpoint will auto create their own EntityManagerFactory. 12:27:47.958 INFO [CM Configuration Updater (ManagedService Update: pid=[org.apache.aries.jpa.camel])] HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 12:27:47.958 INFO [Blueprint Event Dispatcher: 1] StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 12:27:47.958 WARN [CM Configuration Updater (ManagedService Update: pid=[org.apache.aries.jpa.camel])] HHH000431: Unable to determine H2 database version, certain features may not work 12:27:47.959 INFO [Blueprint Event Dispatcher: 1] Building JPA EntityManagerFactory for persistence unit 'camel' 12:27:47.959 INFO [Blueprint Event Dispatcher: 1] Apache Camel 2.21.0.fuse-000009 (CamelContext: blueprint-bean-context) is shutting down 12:27:47.961 INFO [Blueprint Event Dispatcher: 1] Apache Camel 2.21.0.fuse-000009 (CamelContext: blueprint-bean-context) uptime 0.029 seconds 12:27:47.961 INFO [Blueprint Event Dispatcher: 1] Apache Camel 2.21.0.fuse-000009 (CamelContext: blueprint-bean-context) is shutdown in 0.002 seconds 12:27:47.962 ERROR [Blueprint Event Dispatcher: 1] Error occurred during starting Camel Context blueprint-bean-context org.apache.camel.FailedToCreateRouteException: Failed to create route insertBook: Route(insertBook)[[From[direct:insertBook]] -> [To[jpa://com... because of Failed to create Producer for endpoint: jpa://com.github.osmman.karaf4.entity.Book?usePersist=true. Reason: javax.persistence.PersistenceException: No Persistence provider for EntityManager named camel at org.apache.camel.impl.RouteService.warmUp(RouteService.java:147) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3955) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3862) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3648) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3500) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3259) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3255) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3278) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3255) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3169) [52:org.apache.camel.camel-core:2.21.0.fuse-000009] at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:244) [50:org.apache.camel.camel-blueprint:2.21.0.fuse-000009] at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:284) [50:org.apache.camel.camel-blueprint:2.21.0.fuse-000009] at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:177) [50:org.apache.camel.camel-blueprint:2.21.0.fuse-000009] at org.apache.aries.blueprint.container.BlueprintEventDispatcher$4.call(BlueprintEventDispatcher.java:201) [41:org.apache.aries.blueprint.core:1.8.3] at org.apache.aries.blueprint.container.BlueprintEventDispatcher$4.call(BlueprintEventDispatcher.java:199) [41:org.apache.aries.blueprint.core:1.8.3] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: jpa://com.github.osmman.karaf4.entity.Book?usePersist=true. Reason: javax.persistence.PersistenceException: No Persistence provider for EntityManager named camel at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:578) ~[?:?] at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:168) ~[?:?] at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:248) ~[?:?] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) ~[?:?] at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1472) ~[?:?] at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:44) ~[?:?] at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:31) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) ~[?:?] at org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:160) ~[?:?] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) ~[?:?] at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:80) ~[?:?] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.impl.RouteService.startChildService(RouteService.java:370) ~[?:?] at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196) ~[?:?] at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145) ~[?:?] ... 26 more Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named camel at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:85) ~[227:javax.persistence:2.1.0.v201304241213] at org.springframework.orm.jpa.LocalEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalEntityManagerFactoryBean.java:96) ~[?:?] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:370) ~[?:?] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:359) ~[?:?] at org.apache.camel.component.jpa.JpaEndpoint.createEntityManagerFactory(JpaEndpoint.java:552) ~[?:?] at org.apache.camel.component.jpa.JpaEndpoint.getEntityManagerFactory(JpaEndpoint.java:250) ~[?:?] at org.apache.camel.component.jpa.JpaEndpoint.validate(JpaEndpoint.java:545) ~[?:?] at org.apache.camel.component.jpa.JpaEndpoint.createProducer(JpaEndpoint.java:153) ~[?:?] at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:573) ~[?:?] at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:168) ~[?:?] at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:248) ~[?:?] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) ~[?:?] at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1472) ~[?:?] at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:44) ~[?:?] at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:31) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) ~[?:?] at org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:160) ~[?:?] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) ~[?:?] at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) ~[?:?] at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:80) ~[?:?] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?] at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) ~[?:?] at org.apache.camel.impl.RouteService.startChildService(RouteService.java:370) ~[?:?] at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196) ~[?:?] at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145) ~[?:?] ... 26 more 12:27:47.968 INFO [CM Configuration Updater (ManagedService Update: pid=[org.apache.aries.jpa.camel])] HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@5c9353a0' 12:27:47.974 INFO [CM Configuration Updater (ManagedService Update: pid=[org.apache.aries.jpa.camel])] HHH000397: Using ASTQueryTranslatorFactory