[JIRA] Created: (OPENENGSB-429) service restore does not work

1 view
Skip to first unread message

Christoph Gritschenberger (JIRA)

unread,
Oct 18, 2010, 9:05:39 AM10/18/10
to openen...@googlegroups.com
service restore does not work
-----------------------------

Key: OPENENGSB-429
URL: http://issues.openengsb.org/jira/browse/OPENENGSB-429
Project: OpenEngSB
Issue Type: Bug
Reporter: Christoph Gritschenberger


reproduce:
1. create a service instance (no matter what kind)
2. shutdown
3. start it up again

The services fail to start.
This is the exception in the log:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0': Cannot create inner bean 'org.openengsb.domains.example.connector.LogServiceManager#51cf1d17' of type [org.openengsb.domains.example.connector.LogServiceManager] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openengsb.domains.example.connector.LogServiceManager#51cf1d17' defined in URL [bundle://104.0:0/META-INF/spring/example-connector-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: sun/reflect/ReflectionFactory
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[10:org.springframework.context:3.0.4.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:62)[19:org.springframework.osgi.core:2.0.0.M1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:327)[19:org.springframework.osgi.core:2.0.0.M1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:87)[19:org.springframework.osgi.core:2.0.0.M1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:292)[19:org.springframework.osgi.core:2.0.0.M1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)[18:org.springframework.osgi.extender:2.0.0.M1]
at java.lang.Thread.run(Thread.java:619)[:1.6.0_21]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openengsb.domains.example.connector.LogServiceManager#51cf1d17' defined in URL [bundle://104.0:0/META-INF/spring/example-connector-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: sun/reflect/ReflectionFactory
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)[9:org.springframework.beans:3.0.4.RELEASE]
... 17 more
Caused by: java.lang.NoClassDefFoundError: sun/reflect/ReflectionFactory
at org.neodatis.odb.impl.core.layers.layer1.introspector.DefaultClassIntrospector.tryToCreateAnEmptyConstructor(DefaultClassIntrospector.java:68)
at org.neodatis.odb.impl.core.layers.layer1.introspector.AbstractClassIntrospector.manageNoDefaultConstructor(AbstractClassIntrospector.java:615)
at org.neodatis.odb.impl.core.layers.layer1.introspector.AbstractClassIntrospector.newInstanceOf(AbstractClassIntrospector.java:607)
at org.neodatis.odb.impl.core.layers.layer2.instance.InstanceBuilder.internalBuildOneInstance(InstanceBuilder.java:274)
at org.neodatis.odb.impl.core.layers.layer2.instance.InstanceBuilder.buildOneInstance(InstanceBuilder.java:107)
at org.neodatis.odb.impl.core.query.nq.NativeQueryExecutor.matchObjectWithOid(NativeQueryExecutor.java:68)
at org.neodatis.odb.core.query.execution.GenericQueryExecutor.executeFullScan(GenericQueryExecutor.java:330)
at org.neodatis.odb.core.query.execution.GenericQueryExecutor.execute(GenericQueryExecutor.java:189)
at org.neodatis.odb.impl.core.layers.layer3.engine.ObjectReader.getObjects(ObjectReader.java:2118)
at org.neodatis.odb.core.layers.layer3.engine.AbstractStorageEngineReader.getObjects(AbstractStorageEngineReader.java:75)
at org.neodatis.odb.impl.main.ODBAdapter.getObjects(ODBAdapter.java:183)
at org.neodatis.odb.impl.main.ThreadSafeLocalODB.getObjects(ThreadSafeLocalODB.java:322)
at org.openengsb.core.persistence.internal.NeodatisPersistenceService.queryByExample(NeodatisPersistenceService.java:213)
at org.openengsb.core.persistence.internal.NeodatisPersistenceService.query(NeodatisPersistenceService.java:117)
at org.openengsb.core.common.connectorsetupstore.PersistenceConnectorSetupStore.getStoredConnectors(PersistenceConnectorSetupStore.java:78)
at org.openengsb.core.common.AbstractServiceManager.init(AbstractServiceManager.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_21]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_21]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)[9:org.springframework.beans:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)[9:org.springframework.beans:3.0.4.RELEASE]
... 20 more
Caused by: java.lang.ClassNotFoundException: sun.reflect.ReflectionFactory
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)[org.apache.felix.main_3.0.2.jar:]
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)[org.apache.felix.main_3.0.2.jar:]
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)[org.apache.felix.main_3.0.2.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_21]
... 43 more

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.openengsb.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Andreas Pieber (JIRA)

unread,
Oct 18, 2010, 11:44:50 AM10/18/10
to openen...@googlegroups.com

[ http://issues.openengsb.org/jira/browse/OPENENGSB-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber resolved OPENENGSB-429.
--------------------------------------

Resolution: Fixed

> service restore does not work
> -----------------------------
>
> Key: OPENENGSB-429
> URL: http://issues.openengsb.org/jira/browse/OPENENGSB-429
> Project: OpenEngSB
> Issue Type: Bug

> Components: core, infrastructure
> Reporter: Christoph Gritschenberger
> Assignee: Andreas Pieber
> Fix For: 1.0.0.RC1, 1.0.0

Andreas Pieber (JIRA)

unread,
Oct 19, 2010, 3:42:03 PM10/19/10
to openen...@googlegroups.com

[ http://issues.openengsb.org/jira/browse/OPENENGSB-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber closed OPENENGSB-429.
------------------------------------


> service restore does not work
> -----------------------------
>
> Key: OPENENGSB-429
> URL: http://issues.openengsb.org/jira/browse/OPENENGSB-429
> Project: OpenEngSB
> Issue Type: Bug

> Components: core, infrastructure
> Reporter: Christoph Gritschenberger
> Assignee: Andreas Pieber
> Fix For: 1.0.0.RC1, 1.0.0
>
>

Reply all
Reply to author
Forward
0 new messages