Jahia Dev Forum > spring bean exception...

0 (0 Good)
0 (0 Bad)

spring bean exception after migration to 7.1.0.0

by  bharatkasodariya »  2015/08/08 11:21

is 7.1.0.0 stable version?

Custom spring bean is not getting loaded after migration from 7.0.0.0 to 7.1.0.0

Here is the bean definition

 <bean id="Engine.Tab.ImageLicense" class="org.jahia.services.uicomponents.bean.editmode.EngineTab">
        <property name="id" value="imageLicense"/> 
        <property name="titleKey" value="label.engineTab.customComponent"/> 
        <property name="parent" ref="filemanager" />
        <property name="tabItem"> 
            <bean class="org.jahia.ajax.gwt.client.widget.contentengine.PropertiesTabItem"> 
                <property name="dataType"> 
                    <list> 
                        <value>imageLicense</value> 
                    </list> 
                </property> 
            </bean> 
        </property> 
    </bean>

parameter  <property name="parent" ref="filemanager" /> was working ok in 6.6 and 7.0.0.0

 

Exception during initialization

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Engine.Tab.ImageLicense' defined in URL [bundle://227.4:0/META-INF/spring/customComponents.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unknown parent type 'org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration'. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
    at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
    at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext$JahiaOsgiApplicationContextExecutor.refresh(JahiaOsgiBundleXmlApplicationContext.java:110)
    at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext.refresh(JahiaOsgiBundleXmlApplicationContext.java:99)
    at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)
    at org.jahia.bundles.blueprint.extender.config.SynchronousExecutor.execute(SynchronousExecutor.java:82)
    at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(LifecycleManager.java:270)
    at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:223)
    at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:137)
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:913)
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4531)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2169)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.restartBundlesAfterUpdate(DirectoryWatcher.java:1193)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:513)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:294)
Caused by: java.lang.IllegalArgumentException: Unknown parent type 'org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration'. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans
    at org.jahia.services.uicomponents.bean.editmode.EngineTab.addTab(EngineTab.java:242)
    at org.jahia.services.uicomponents.bean.editmode.EngineTab.afterPropertiesSet(EngineTab.java:196)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
    ... 29 more
2015-08-08 16:30:03,930: ERROR [fileinstall-E:\jahia62\digital-factory-data/modules] org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleApplicationContextListener: Application context refresh failed for bundle customComponents (customComponents)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Engine.Tab.ImageLicense' defined in URL [bundle://227.4:0/META-INF/spring/customComponents.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unknown parent type 'org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration'. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
    at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
    at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext$JahiaOsgiApplicationContextExecutor.refresh(JahiaOsgiBundleXmlApplicationContext.java:110)
    at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext.refresh(JahiaOsgiBundleXmlApplicationContext.java:99)
    at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)
    at org.jahia.bundles.blueprint.extender.config.SynchronousExecutor.execute(SynchronousExecutor.java:82)
    at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(LifecycleManager.java:270)
    at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:223)
    at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:137)
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:913)
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4531)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2169)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.restartBundlesAfterUpdate(DirectoryWatcher.java:1193)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:513)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:294)
Caused by: java.lang.IllegalArgumentException: Unknown parent type 'org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration'. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans
    at org.jahia.services.uicomponents.bean.editmode.EngineTab.addTab(EngineTab.java:242)
    at org.jahia.services.uicomponents.bean.editmode.EngineTab.afterPropertiesSet(EngineTab.java:196)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
    ... 29 more
2015-08-08 16:30:03,941: ERROR [fileinstall-E:\jahia62\digital-factory-data/modules] org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleApplicationContextListener: Cannot start spring context for bundle customComponents (customComponents)
2015-08-08 16:30:03,941: WARN  [fileinstall-E:\jahia62\digital-factory-data/modules] org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener: Got exception while handling event org.osgi.framework.BundleEvent[source=customComponents [227]]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Engine.Tab.ImageLicense' defined in URL [bundle://227.4:0/META-INF/spring/customComponents.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unknown parent type 'org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration'. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)
    at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)
    at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext$JahiaOsgiApplicationContextExecutor.refresh(JahiaOsgiBundleXmlApplicationContext.java:110)
    at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext.refresh(JahiaOsgiBundleXmlApplicationContext.java:99)
    at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)
    at org.jahia.bundles.blueprint.extender.config.SynchronousExecutor.execute(SynchronousExecutor.java:82)
    at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(LifecycleManager.java:270)
    at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:223)
    at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:137)
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:913)
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4531)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2169)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.restartBundlesAfterUpdate(DirectoryWatcher.java:1193)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:513)
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:294)
Caused by: java.lang.IllegalArgumentException: Unknown parent type 'org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration'. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans
    at org.jahia.services.uicomponents.bean.editmode.EngineTab.addTab(EngineTab.java:242)
    at org.jahia.services.uicomponents.bean.editmode.EngineTab.afterPropertiesSet(EngineTab.java:196)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
    ... 29 more

 

  • spring bean exception after migration to 7.1.0.0
    2015/08/08 11:21

    bharatkasodariya <p>is 7.1.0.0 stable version?</p> <p>Custom spring bean is not getting loaded after migration from 7.0.0.0 to 7.1.0.0</p> <p>Here is the bean definition</p> <p>&nbsp;&lt;bean id=&quot;Engine.Tab.ImageLicense&quot; class=&quot;org.jahia.services.uicomponents.bean.editmode.EngineTab&quot;&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;property name=&quot;id&quot; value=&quot;imageLicense&quot;/&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;property name=&quot;titleKey&quot; value=&quot;label.engineTab.customComponent&quot;/&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;property name=&quot;parent&quot; ref=&quot;filemanager&quot; /&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;property name=&quot;tabItem&quot;&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;bean class=&quot;org.jahia.ajax.gwt.client.widget.contentengine.PropertiesTabItem&quot;&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;property name=&quot;dataType&quot;&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;list&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;value&gt;imageLicense&lt;/value&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/list&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/property&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/bean&gt;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &lt;/property&gt;&nbsp;<br /> &nbsp; &nbsp; &lt;/bean&gt;</p> <p>parameter&nbsp;&nbsp;&lt;property name=&quot;parent&quot; ref=&quot;filemanager&quot; /&gt; was working ok in 6.6 and 7.0.0.0</p> <p>&nbsp;</p> <p>Exception during initialization</p> <p>org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#39;Engine.Tab.ImageLicense&#39; defined in URL [bundle://227.4:0/META-INF/spring/customComponents.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unknown parent type &#39;org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration&#39;. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext$JahiaOsgiApplicationContextExecutor.refresh(JahiaOsgiBundleXmlApplicationContext.java:110)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext.refresh(JahiaOsgiBundleXmlApplicationContext.java:99)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.SynchronousExecutor.execute(SynchronousExecutor.java:82)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(LifecycleManager.java:270)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:223)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:137)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:913)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4531)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.Felix.startBundle(Felix.java:2169)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.restartBundlesAfterUpdate(DirectoryWatcher.java:1193)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:513)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:294)<br /> Caused by: java.lang.IllegalArgumentException: Unknown parent type &#39;org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration&#39;. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans<br /> &nbsp;&nbsp; &nbsp;at org.jahia.services.uicomponents.bean.editmode.EngineTab.addTab(EngineTab.java:242)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.services.uicomponents.bean.editmode.EngineTab.afterPropertiesSet(EngineTab.java:196)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)<br /> &nbsp;&nbsp; &nbsp;... 29 more<br /> 2015-08-08 16:30:03,930: ERROR [fileinstall-E:\jahia62\digital-factory-data/modules] org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleApplicationContextListener: Application context refresh failed for bundle customComponents (customComponents)<br /> org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#39;Engine.Tab.ImageLicense&#39; defined in URL [bundle://227.4:0/META-INF/spring/customComponents.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unknown parent type &#39;org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration&#39;. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext$JahiaOsgiApplicationContextExecutor.refresh(JahiaOsgiBundleXmlApplicationContext.java:110)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext.refresh(JahiaOsgiBundleXmlApplicationContext.java:99)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.SynchronousExecutor.execute(SynchronousExecutor.java:82)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(LifecycleManager.java:270)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:223)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:137)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:913)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4531)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.Felix.startBundle(Felix.java:2169)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.restartBundlesAfterUpdate(DirectoryWatcher.java:1193)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:513)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:294)<br /> Caused by: java.lang.IllegalArgumentException: Unknown parent type &#39;org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration&#39;. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans<br /> &nbsp;&nbsp; &nbsp;at org.jahia.services.uicomponents.bean.editmode.EngineTab.addTab(EngineTab.java:242)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.services.uicomponents.bean.editmode.EngineTab.afterPropertiesSet(EngineTab.java:196)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)<br /> &nbsp;&nbsp; &nbsp;... 29 more<br /> 2015-08-08 16:30:03,941: ERROR [fileinstall-E:\jahia62\digital-factory-data/modules] org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleApplicationContextListener: Cannot start spring context for bundle customComponents (customComponents)<br /> 2015-08-08 16:30:03,941: WARN &nbsp;[fileinstall-E:\jahia62\digital-factory-data/modules] org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener: Got exception while handling event org.osgi.framework.BundleEvent[source=customComponents [227]]<br /> org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#39;Engine.Tab.ImageLicense&#39; defined in URL [bundle://227.4:0/META-INF/spring/customComponents.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unknown parent type &#39;org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration&#39;. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:60)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:168)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:164)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext$JahiaOsgiApplicationContextExecutor.refresh(JahiaOsgiBundleXmlApplicationContext.java:110)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.JahiaOsgiBundleXmlApplicationContext.refresh(JahiaOsgiBundleXmlApplicationContext.java:99)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.bundles.blueprint.extender.config.SynchronousExecutor.execute(SynchronousExecutor.java:82)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager.maybeCreateApplicationContextFor(LifecycleManager.java:270)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:223)<br /> &nbsp;&nbsp; &nbsp;at org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:137)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:913)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4531)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.Felix.startBundle(Felix.java:2169)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.restartBundlesAfterUpdate(DirectoryWatcher.java:1193)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:513)<br /> &nbsp;&nbsp; &nbsp;at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:294)<br /> Caused by: java.lang.IllegalArgumentException: Unknown parent type &#39;org.jahia.services.uicomponents.bean.contentmanager.ManagerConfiguration&#39;. Can accept EditConfiguration, ManagerConfiguration, Engine or a String value with a beanId of the those beans<br /> &nbsp;&nbsp; &nbsp;at org.jahia.services.uicomponents.bean.editmode.EngineTab.addTab(EngineTab.java:242)<br /> &nbsp;&nbsp; &nbsp;at org.jahia.services.uicomponents.bean.editmode.EngineTab.afterPropertiesSet(EngineTab.java:196)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)<br /> &nbsp;&nbsp; &nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)<br /> &nbsp;&nbsp; &nbsp;... 29 more</p> <p>&nbsp;</p>

  • Number of messages  57
    Registration date Aug 8, 2015
    0 (0 Good)
    0 (0 Bad)

    Re: spring bean exception after migration to 7.1.0.0

    by  bharatkasodariya »  2015/09/15 13:06

    can you pleasre reply on this

    Sorry Posting is disabled by Jahia so I am replying  to Sergiy here

    I have converted module to OSGi. It can not be put in 6.6.

    what should be the steps to migrate jahia with custom modules because in 6.6 its war and when It will be migrated it will not have module jar.

  • Re: spring bean exception after migration to 7.1.0.0
    2015/09/23 12:35

    bharatkasodariya <p>can you pleasre reply on this</p> <p>Sorry Posting is disabled by Jahia so I am replying &nbsp;to&nbsp;<span style="color: rgb(85, 85, 85); font-family: Lato; font-size: 14px; line-height: 20px;">Sergiy here</span></p> <p>I have converted module to OSGi. It can not be put in 6.6.</p> <p>what should be the steps to migrate jahia with custom modules because in 6.6 its war and when It will be migrated it will not have module jar.</p>

  • Number of messages  57
    Registration date Sep 15, 2015
    0 (0 Good)
    0 (0 Bad)

    Re: Re: spring bean exception after migration to 7.1.0.0

    by  shyrkov »  2015/09/21 12:48

    Hello Bharat,

    could you, please, provide more details on your custom config?

    In which file do you have that custom bean definition? Is it in your module? If yes, is your module a 6.6-compliant WAR file or have you already migrated it to an OSGi bundle (7.0-complaint format)?

     

    Kind regards

    Sergiy

  • Re: Re: spring bean exception after migration to 7.1.0.0
    2015/09/21 12:48

    shyrkov <p>Hello Bharat,</p> <p>could you, please, provide more details on your custom config?</p> <p>In which file do you have that custom bean definition? Is it in your module? If yes, is your module a 6.6-compliant WAR file or have you already migrated it to an OSGi bundle (7.0-complaint format)?</p> <p>&nbsp;</p> <p>Kind regards</p> <p>Sergiy</p>

  • Number of messages  407
    Registration date Sep 21, 2015
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page