2015-04-09 16:27:21,521 | ERROR | yard Extender: 2 | SwitchYardExtender | ? ? | 168 - org.switchyard.karaf.switchyard-karaf-deploy - 2.0.1.ER1 | Unable to start switchyard for bundle org.switchyard.quickstarts.switchyard.camel.jpa.binding javax.persistence.PersistenceException: [PersistenceUnit: JpaEvents] Unable to build EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:924)[187:org.hibernate.entitymanager:4.2.15.Final] at org.hibernate.osgi.OsgiPersistenceProvider.createEntityManagerFactory(OsgiPersistenceProvider.java:84)[188:org.hibernate.osgi:4.2.15.Final] at Proxyb7e2072a_f2a9_4c8c_89c1_7c49767f08f1.createEntityManagerFactory(Unknown Source)[:] at org.switchyard.component.camel.jpa.deploy.EntityManagerFactoryLocator.locateEntityManagerFactory(EntityManagerFactoryLocator.java:67)[200:org.switchyard.components.switchyard-component-camel-jpa:2.0.1.ER1] at org.switchyard.component.camel.jpa.deploy.CamelJpaOutboundHandler.<init>(CamelJpaOutboundHandler.java:47)[200:org.switchyard.components.switchyard-component-camel-jpa:2.0.1.ER1] at org.switchyard.component.camel.jpa.deploy.CamelJpaOutboundHandler.<init>(CamelJpaOutboundHandler.java:64)[200:org.switchyard.components.switchyard-component-camel-jpa:2.0.1.ER1] at org.switchyard.component.camel.jpa.deploy.CamelJpaActivator.createOutboundHandler(CamelJpaActivator.java:49)[200:org.switchyard.components.switchyard-component-camel-jpa:2.0.1.ER1] at org.switchyard.component.camel.common.deploy.BaseBindingActivator.activateBinding(BaseBindingActivator.java:45)[172:org.switchyard.components.switchyard-component-common-camel:2.0.1.ER1] at org.switchyard.deploy.internal.Deployment.deployReferenceBindings(Deployment.java:305)[164:org.switchyard.switchyard-deploy:2.0.1.ER1] at org.switchyard.deploy.internal.Deployment.start(Deployment.java:143)[164:org.switchyard.switchyard-deploy:2.0.1.ER1] at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:306)[168:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.ER1] at org.switchyard.deploy.osgi.base.SimpleExtension.start(SimpleExtension.java:77)[168:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.ER1] at org.switchyard.deploy.osgi.base.CompoundExtension.doStart(CompoundExtension.java:40)[168:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.ER1] at org.switchyard.deploy.osgi.base.SimpleExtension.start(SimpleExtension.java:77)[168:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.ER1] at org.switchyard.deploy.osgi.base.AbstractExtender$1.run(AbstractExtender.java:289)[168:org.switchyard.karaf.switchyard-karaf-deploy:2.0.1.ER1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_75] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_75] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_75] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_75] at java.lang.Thread.run(Thread.java:745)[:1.7.0_75] Caused by: org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:jboss/datasources/ExampleDS] at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:68)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:85)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:184)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:156)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:223)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:89)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:85)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:184)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:156)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1825)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1783)[186:org.hibernate.core:4.2.15.Final] at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96)[187:org.hibernate.entitymanager:4.2.15.Final] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)[187:org.hibernate.entitymanager:4.2.15.Final] ... 21 more Caused by: javax.naming.NotContextException: java:jboss/datasources/ExampleDS at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:165)[52:org.apache.xbean.naming:3.18.0] at org.apache.xbean.naming.context.AbstractContext.lookup(AbstractContext.java:619)[52:org.apache.xbean.naming:3.18.0] at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:157)[55:org.apache.aries.jndi.core:1.0.0] at javax.naming.InitialContext.lookup(InitialContext.java:415)[:1.7.0_75] at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:65)[186:org.hibernate.core:4.2.15.Final] ... 34 more
|