Details

    • Fix Priority:
      5

      Description

      Steps to Reproduce:

      1. Deploy kaleo-web with ant clean deploy

      Expected Result:
      Kaleo-web deploys without error and can be used by the portal

      Actual Result:
      Kaleo-web deployment throws errors. Workflow not present in the portal.

      23:42:45,833 ERROR [localhost-startStop-2][ContextLoader:225] Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messagingConfigurator' defined in ServletContext resource [/WEB-INF/classes/META-INF/messaging-spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'specificDestinationEventListener' of bean class [com.liferay.portal.kernel.messaging.config.PluginMessagingConfigurator]: Bean property 'specificDestinationEventListener' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1454)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1159)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      	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:633)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
      	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
      	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
      	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
      	at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:103)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:79)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:41)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:228)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:97)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:169)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:159)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:121)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
      	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'specificDestinationEventListener' of bean class [com.liferay.portal.kernel.messaging.config.PluginMessagingConfigurator]: Bean property 'specificDestinationEventListener' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
      	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1043)
      	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:903)
      	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
      	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1451)
      	... 39 more
      23:42:45,837 ERROR [localhost-startStop-2][HotDeployImpl:231] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error initializing Spring for kaleo-web
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error initializing Spring for kaleo-web
      	at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:44)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:228)
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:97)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:169)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:159)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      	at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:121)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
      	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messagingConfigurator' defined in ServletContext resource [/WEB-INF/classes/META-INF/messaging-spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'specificDestinationEventListener' of bean class [com.liferay.portal.kernel.messaging.config.PluginMessagingConfigurator]: Bean property 'specificDestinationEventListener' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1454)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1159)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      	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:633)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
      	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
      	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
      	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
      	at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:103)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.doInvokeDeploy(SpringHotDeployListener.java:79)
      	at com.liferay.portal.deploy.hot.SpringHotDeployListener.invokeDeploy(SpringHotDeployListener.java:41)
      	... 23 more
      Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'specificDestinationEventListener' of bean class [com.liferay.portal.kernel.messaging.config.PluginMessagingConfigurator]: Bean property 'specificDestinationEventListener' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
      	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1043)
      	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:903)
      	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
      	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1451)
      	... 39 more
      23:42:45,838 INFO  [localhost-startStop-2][HookHotDeployListener:520] Registering hook for kaleo-web
      Loading file:/home/vicnate5/bundles/master-ce-bundles/tomcat-7.0.42/temp/0-kaleo-web/WEB-INF/classes/portal.properties
      23:42:45,851 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.UpgradeProcess_1_0_0
      23:42:45,853 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.v1_0_0.UpgradeKaleoTaskInstanceToken
      23:42:45,857 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.v1_0_0.UpgradeKaleoTaskInstanceToken in 4ms
      23:42:45,857 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.UpgradeProcess_1_0_0 in 6ms
      23:42:45,857 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.UpgradeProcess_1_1_0
      23:42:45,858 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.v1_1_0.UpgradeWorkflowContext
      23:42:45,881 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.v1_1_0.UpgradeWorkflowContext in 23ms
      23:42:45,882 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.UpgradeProcess_1_1_0 in 25ms
      23:42:45,882 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.UpgradeProcess_1_2_0
      23:42:45,883 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.v1_2_0.UpgradeKaleoLog
      23:42:45,889 INFO  [localhost-startStop-2][Table:157] Starting backup of KaleoLog to /home/vicnate5/bundles/master-ce-bundles/tomcat-7.0.42/temp/temp-db-KaleoLog-1428622965889
      23:42:45,891 INFO  [localhost-startStop-2][Table:191] Finished backup of KaleoLog to /home/vicnate5/bundles/master-ce-bundles/tomcat-7.0.42/temp/temp-db-KaleoLog-1428622965889 in 2 ms
      23:42:45,990 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.v1_2_0.UpgradeKaleoLog in 107ms
      23:42:45,991 INFO  [localhost-startStop-2][UpgradeProcess:163] Upgrading com.liferay.portal.workflow.kaleo.hook.upgrade.v1_2_0.UpgradeKaleoNotificationRecipient
      23:42:45,992 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.v1_2_0.UpgradeKaleoNotificationRecipient in 1ms
      23:42:45,992 INFO  [localhost-startStop-2][UpgradeProcess:173] Completed upgrade process com.liferay.portal.workflow.kaleo.hook.upgrade.UpgradeProcess_1_2_0 in 110ms
      23:42:46,020 INFO  [localhost-startStop-2][HookHotDeployListener:603] Hook for kaleo-web is available for use
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 17 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 M5