You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Christian Mueller (JIRA)" <ji...@apache.org> on 2009/07/19 23:18:34 UTC
[jira] Created: (SM-1876) Unable to create a camel-jpa route inside
Servicemix
Unable to create a camel-jpa route inside Servicemix
----------------------------------------------------
Key: SM-1876
URL: https://issues.apache.org/activemq/browse/SM-1876
Project: ServiceMix
Issue Type: Bug
Components: servicemix-camel
Environment: OS: Mac OS X 10.5.7 (9J3050)
Java: java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
ServiceMix Version: FUSE ESB 4.1.0.2
Reporter: Christian Mueller
It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getDeclaredMethods(Class.java:1763)
at java.beans.Introspector$1.run(Introspector.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
at java.beans.Introspector.getBeanInfo(Introspector.java:387)
at java.beans.Introspector.getBeanInfo(Introspector.java:159)
at java.beans.Introspector.getBeanInfo(Introspector.java:220)
at java.beans.Introspector.<init>(Introspector.java:368)
at java.beans.Introspector.getBeanInfo(Introspector.java:159)
at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
... 16 more
Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Moved: (SMX4-363) Unable to create a camel-jpa route inside
Servicemix
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang moved SM-1876 to SMX4-363:
---------------------------------------
Component/s: (was: servicemix-camel)
Bundles
Key: SMX4-363 (was: SM-1876)
Project: ServiceMix 4 (was: ServiceMix)
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SMX4-363
> URL: https://issues.apache.org/activemq/browse/SMX4-363
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Assignee: Freeman Fang
> Attachments: openjpa-1.2.1.patch, serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned SM-1876:
--------------------------------
Assignee: Freeman Fang
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Assignee: Freeman Fang
> Attachments: openjpa-1.2.1.patch, serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54102#action_54102 ]
Willem Jiang commented on SM-1876:
----------------------------------
@Christian
Please check out the upper linked issues, which contains the patches which can let the camel-jpa work in the OSGI environment.
Also there is a [features file|https://issues.apache.org/activemq/browse/CAMEL-1998] that can can help you load the camel-jpa related bundles.
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMX4-363) Unable to create a camel-jpa route
inside Servicemix
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved SMX4-363.
-------------------------------
Resolution: Fixed
Fix Version/s: 4.1.0
patch applied with thanks
http://svn.apache.org/viewvc?rev=815783&view=rev
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SMX4-363
> URL: https://issues.apache.org/activemq/browse/SMX4-363
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Assignee: Freeman Fang
> Fix For: 4.1.0
>
> Attachments: openjpa-1.2.1.patch, serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1876) Unable to create a camel-jpa route inside
Servicemix
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated SM-1876:
----------------------------------
Attachment: serp-1.13.1-SNAPSHOT.patch
Hello Willem,
I have build an osgi bundle for the serp library with the maven-shade-plugin (please see attachment serp-1.13.1-SNAPSHOT.patch) and I have deployed this bundle to ServiceMix. Now, the Exception "java.lang.NoClassDefFoundError: serp/util/Strings" is not thrown, but an other exception:
{code}
smx@root:osgi> install mvn:de.ps4b.rfid/jpa-event-reader
ERROR: EventDispatcher: Error during dispatch. (java.lang.NoSuchMethodError: org.apache.openjpa.persistence.PersistenceProductDerivation.setDefaultPersistenceFiles(Ljava/util/List;)V)
java.lang.NoSuchMethodError: org.apache.openjpa.persistence.PersistenceProductDerivation.setDefaultPersistenceFiles(Ljava/util/List;)V
at org.apache.servicemix.bundles.openjpa.Activator.resetDefaultPersistenceFiles(Activator.java:79)
at org.apache.servicemix.bundles.openjpa.Activator.register(Activator.java:63)
at org.apache.servicemix.specs.locator.Activator.bundleChanged(Activator.java:88)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:771)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:700)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3382)
at org.apache.felix.framework.Felix.access$500(Felix.java:39)
at org.apache.felix.framework.Felix$FelixResolver.markBundleResolved(Felix.java:3853)
at org.apache.felix.framework.Felix$FelixResolver.markResolvedModules(Felix.java:3785)
at org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:3666)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3053)
at org.apache.felix.framework.Felix.resolveBundles(Felix.java:3028)
at org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1268)
at org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:223)
at org.apache.servicemix.kernel.gshell.features.internal.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:164)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:771)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:700)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3382)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2219)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2005)
at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
at org.apache.servicemix.kernel.gshell.osgi.InstallBundle.install(InstallBundle.java:65)
at org.apache.servicemix.kernel.gshell.osgi.InstallBundle.doExecute(InstallBundle.java:41)
at org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport.execute(OsgiCommandSupport.java:48)
at org.apache.geronimo.gshell.wisdom.command.CommandSupport.executeAction(CommandSupport.java:303)
at org.apache.geronimo.gshell.wisdom.command.StatefulCommand.executeAction(StatefulCommand.java:94)
at org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:194)
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy25.execute(Unknown Source)
at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:127)
at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:106)
at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor$1.run(ExecutingVisitor.java:208)
at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:231)
at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:107)
at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:61)
at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:90)
at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
at org.apache.geronimo.gshell.wisdom.shell.CommandLineBuilderImpl$1.execute(CommandLineBuilderImpl.java:96)
at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:71)
at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.execute(ShellImpl.java:172)
at org.apache.geronimo.gshell.wisdom.shell.ShellImpl$2.execute(ShellImpl.java:208)
at org.apache.geronimo.gshell.console.Console.work(Console.java:187)
at org.apache.geronimo.gshell.console.Console.run(Console.java:128)
at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:252)
at org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrapper.java:81)
at org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsole.java:125)
at java.lang.Thread.run(Thread.java:637)
{code}
I have compiled the bundles and specs with Java 1.5 and my runtime environment is Java 1.6. May be this a problem?
Regards,
Christian
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Attachments: serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1876) Unable to create a camel-jpa route inside
Servicemix
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated SM-1876:
-----------------------------
Attachment: openjpa-1.2.1.patch
Set openjpa-1.2.1 bundle importation of serp package to be not optional.
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Attachments: openjpa-1.2.1.patch, serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54278#action_54278 ]
Christian Mueller commented on SM-1876:
---------------------------------------
Hello Willem,
my persistence.xml file is the following:
{code}
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="camel" transaction-type="RESOURCE_LOCAL">
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
<class>de.ps4b.rfid.model.Event</class>
<properties>
<property name="openjpa.ConnectionURL" value="jdbc:derby:ps4b;create=true"/>
<property name="openjpa.ConnectionDriverName" value="org.apache.derby.jdbc.EmbeddedDriver" />
<property name="openjpa.Log" value="DefaultLevel=WARN,Tool=INFO"/>
<property name="openjpa.ConnectionUserName" value="root"/>
<property name="openjpa.ConnectionPassword" value="root" />
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)" />
</properties>
</persistence-unit>
</persistence>
{code}
I use the derby 10.5.3.0 database driver:
{code}
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.5.3.0</version>
</dependency>
{code}
Regards,
Christian
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54286#action_54286 ]
Willem Jiang commented on SM-1876:
----------------------------------
@Christian,
Cool, I will update the openjpa bundle to add the import of serp.util.Strings .
BTW, my persistence.xml has no setting for openjpa.jdbc.SynchronizeMappings.
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Attachments: serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54255#action_54255 ]
Christian Mueller commented on SM-1876:
---------------------------------------
Hello Willem,
I have build the two bundles and added the bundles to my Servicemix instance:
{code}
...
[ 107] [Active ] [ ] [ 60] Apache ServiceMix Specs :: SAAJ API 1.3 (1.3.0.fuse)
[ 108] [Active ] [ ] [ 60] geronimo-jaxws_2.1_spec (1.0)
[ 109] [Active ] [ ] [ 60] geronimo-ws-metadata_2.0_spec (1.1.2)
[ 110] [Active ] [ ] [ 60] geronimo-el_1.0_spec (1.0.1)
[ 111] [Active ] [ ] [ 60] spring-web (2.5.5)
[ 112] [Active ] [ ] [ 60] Spring JDBC (2.5.6)
[ 113] [Active ] [ ] [ 60] Commons Lang (2.4)
[ 114] [Active ] [ ] [ 60] Commons Collections (3.2.1)
[ 115] [Active ] [ ] [ 60] geronimo-jpa_3.0_spec (1.1.1)
[ 117] [Active ] [ ] [ 60] Apache ServiceMix Bundles: commons-dbcp-1.2.2 (1.2.2.3)
[ 118] [Active ] [ ] [ 60] Apache ServiceMix Bundles: oscache-2.4 (2.4.0.fuse)
[ 119] [Active ] [ ] [ 60] Apache ServiceMix Bundles: ibatis-sqlmap-2.3.4.726 (2.3.4.726_1)
[ 120] [Active ] [ ] [ 60] Spring ORM (2.5.6)
[ 121] [Active ] [ ] [ 60] camel-jpa (1.6.1.fuse)
[ 122] [Active ] [ ] [ 60] Apache ServiceMix Specs :: JAVA PERSISTENCE API 1.4 (1.4.0.SNAPSHOT)
[ 123] [Active ] [ ] [ 60] Apache ServiceMix Bundles: openjpa-1.2.1 (1.2.1.SNAPSHOT)
[ 124] [Active ] [ ] [ 60] camel-jms (1.6.1.fuse)
[ 126] [Active ] [ ] [ 60] Apache Derby 10.5 (10.5.3000000.802917)
[ 127] [Installed ] [ ] [ 60] PS4B :: jpa-event-reader (0.0.1)
{code}
But now, I receive the exception, that the class "serp.util.Strings" was not found. So, I have to wrap this library as an OSGI bundle and add this bundle to Servicemix...
{code}
Exception in thread "SpringOsgiExtenderThread-38" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://127.0:0/META-INF/spring/bundle-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: serp/util/Strings
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError: serp/util/Strings
at org.apache.openjpa.lib.conf.Configurations.newInstance(Configurations.java:198)
at org.apache.openjpa.lib.conf.ObjectValue.newInstance(ObjectValue.java:109)
at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:102)
at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
at org.apache.openjpa.lib.conf.ConfigurationImpl.getLogFactory(ConfigurationImpl.java:206)
at org.apache.openjpa.lib.conf.ConfigurationImpl.getLog(ConfigurationImpl.java:223)
at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getConfigurationLog(OpenJPAConfigurationImpl.java:1445)
at org.apache.openjpa.lib.conf.ConfigurationImpl.loadGlobals(ConfigurationImpl.java:188)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.<init>(JDBCConfigurationImpl.java:333)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.<init>(JDBCConfigurationImpl.java:110)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.<init>(JDBCConfigurationImpl.java:101)
at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newInstance(JDBCBrokerFactory.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:62)
at org.apache.openjpa.persistence.PersistenceProviderImpl.getBrokerFactory(PersistenceProviderImpl.java:102)
at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:81)
at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:109)
at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:53)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:105)
at org.springframework.orm.jpa.LocalEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalEntityManagerFactoryBean.java:91)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 17 more
Caused by: java.lang.ClassNotFoundException: serp.util.Strings
at org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
at org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
at org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
... 44 more
{code}
I hope I can work tomorrow on this...
Regards,
Christian
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54284#action_54284 ]
Christian Mueller commented on SM-1876:
---------------------------------------
Hello Willem,
It looks like it works!!! :-)
I can start the bundle without any exeption. In the evening, I will do some tests.
In my previous comment, I have forgotten to uninstall the old persistence bundle (Apache ServiceMix Bundles: openjpa-persistence-1.2.0 (1.2.0.fuse)) and to restart ServiceMix.
Sorry.
Thank you for your work on this problem,
Christian
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Attachments: serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54256#action_54256 ]
Willem Jiang commented on SM-1876:
----------------------------------
Since my test case didn't hit this ClassNotFoundException, OpenJPA's import of the serp.util is marked as option and
I didn't add this serp bundle into servicemix. Can you show me your persistence.xml?
I will update the OpenJPA bundle to import serp package.
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (SM-1876) Unable to create a camel-jpa route
inside Servicemix
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SM-1876 started by Freeman Fang.
> Unable to create a camel-jpa route inside Servicemix
> ----------------------------------------------------
>
> Key: SM-1876
> URL: https://issues.apache.org/activemq/browse/SM-1876
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Environment: OS: Mac OS X 10.5.7 (9J3050)
> Java: java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
> ServiceMix Version: FUSE ESB 4.1.0.2
> Reporter: Christian Mueller
> Assignee: Freeman Fang
> Attachments: openjpa-1.2.1.patch, serp-1.13.1-SNAPSHOT.patch
>
>
> It looks like, that it's not possible at the moment to deploy a camel-jpa route into ServiceMix and get it working. In the fuse forum, we discussed this problem for one month, but without a working solution:
> http://fusesource.com/forums/thread.jspa?messageID=3212ಌ
> Today, I tried the new version of FUSE ESB 4.1.0.2, but without luck. I receive a "java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory", even though the "geronimo-jpa_3.0_spec (1.1.1)" bundle is active and my bundle imports the "javax.persistence" package:
> smx@root:osgi> Exception in thread "SpringOsgiExtenderThread-42" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://120.0:0/META-INF/spring/bundle-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
> at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
> at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
> at java.lang.Thread.run(Thread.java:613)
> Caused by: java.lang.NoClassDefFoundError: javax/persistence/EntityManagerFactory
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at java.beans.Introspector$1.run(Introspector.java:1265)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at java.beans.Introspector.getBeanInfo(Introspector.java:220)
> at java.beans.Introspector.<init>(Introspector.java:368)
> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
> at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220)
> at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
> at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
> at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
> at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
> ... 16 more
> Christian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.