Unable to deploy FlowScale from binary files. ERROR: Cannot locate bean named 'flowscaleController' inside the running bean factory

40 views
Skip to first unread message

Beczike

unread,
Sep 16, 2015, 7:30:34 AM9/16/15
to FlowScale Developers
Dear all,

I am trying to deploy FlowScale by using the binary packages. I have followed the download and installation instructions, I have set-up the database, etc.

However, when I launch the flowscale-controller I get several exceptions. The main problem seems to be this exception:

 at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: java.lang.IllegalArgumentException: Cannot locate bean named 'flowscaleController' inside the running bean factory.
        at org.springframework.util.Assert.isTrue(Assert.java:65) ~[na:na]
        at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:192) ~[na:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) ~[na:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ~[na:na]
        ... 14 common frames omitted

It seems that flowscaleController cannot be located. Here is the complete output given by FlowScale:

14:13:24,090 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
14:13:24,091 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [bundleresource://3.fwk1113535150:1/logback.xml]
14:13:24,247 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
14:13:24,248 |-ERROR in ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter@46f87198 - URL [bundleresource://3.fwk1113535150:1/logback.xml] is not of type file
14:13:24,248 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
14:13:24,258 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
14:13:24,262 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
14:13:24,305 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:13:24,306 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [encoder] on top of the object stack.
14:13:24,368 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
14:13:24,370 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [beacon.log]
14:13:24,382 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [rollingPolicy] on top of the object stack.
14:13:24,392 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use zip compression
14:13:24,394 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern logs/beacon.%d.log for the active file
14:13:24,401 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/beacon.%d.log.zip'.
14:13:24,401 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
14:13:24,402 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:13:24,402 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [encoder] on top of the object stack.
14:13:24,403 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[beacon.log] - Active log file name: logs/beacon.log
14:13:24,403 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[beacon.log] - File property is set to [logs/beacon.log]
14:13:24,403 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
14:13:24,403 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
14:13:24,405 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [beacon.log] to Logger[ROOT]
14:13:24,406 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.beaconcontroller] to ERROR
14:13:24,406 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [net.beaconcontroller] to true

14:13:27.957 [SpringOsgiExtenderThread-8] ERROR o.s.o.e.i.a.ContextLoaderListener - Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=edu.iu.incntre.flowscale, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FlowscaleController': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Cannot locate bean named 'flowscaleController' inside the running bean factory.
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[na:na]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:62) ~[org.springframework.osgi.core_2.0.0.M1.jar:2.0.0.M1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:327) ~[org.springframework.osgi.core_2.0.0.M1.jar:2.0.0.M1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:87) ~[na:na]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:292) ~[org.springframework.osgi.core_2.0.0.M1.jar:2.0.0.M1]
        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138) [org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: java.lang.IllegalArgumentException: Cannot locate bean named 'flowscaleController' inside the running bean factory.
        at org.springframework.util.Assert.isTrue(Assert.java:65) ~[org.springframework.core_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:192) ~[org.springframework.osgi.core_2.0.0.M1.jar:2.0.0.M1]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ~[org.springframework.beans_3.0.4.RELEASE.jar:3.0.4.RELEASE]
        ... 14 common frames omitted
14:13:28.022 [SpringOsgiExtenderThread-8] ERROR o.s.o.e.i.d.s.DependencyWaiterApplicationContextExecutor - Unable to create application context for [edu.iu.incntre.flowscale], unsatisfied dependencies: none
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FlowscaleController': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Cannot locate bean named 'flowscaleController' inside the running bean factory.
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) ~[na:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ~[na:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[na:na]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[na:na]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[na:na]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[na:na]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[na:na]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563) ~[na:na]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[na:na]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:62) ~[na:na]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:327) ~[na:na]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:87) ~[na:na]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:292) ~[na:na]
        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138) ~[na:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: java.lang.IllegalArgumentException: Cannot locate bean named 'flowscaleController' inside the running bean factory.
        at org.springframework.util.Assert.isTrue(Assert.java:65) ~[na:na]
        at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:192) ~[na:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) ~[na:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ~[na:na]
        ... 14 common frames omitted


Any help is much appreciated.

Thanks,
Bela

Ali Khalfan

unread,
Sep 16, 2015, 11:38:41 AM9/16/15
to flowsc...@googlegroups.com, Beczike
you might find this in one of the github issues if I recall correctly.

no one is currently maintaining this project, or the controller it is biult on (beacon) you might be better off taking a look at other tools such as scipass or fork the code
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply all
Reply to author
Forward
0 new messages