Pollinate man page says the default is urandom, but the *service* is
external so it appears to be about adding seed data in this type of
situation and could use others.

BTW The original response by Mark included the link to this command:
 "# cat /proc/sys/kernel/random/entropy_avail

this script from https://libreswan.org/wiki/Entropy_matters  shows the
result of same every three seconds:

 while sleep 3 ; do cat /proc/sys/kernel/random/entropy_avail ; done

if you are getting single or double digit results then that would point in
the direction of this as a problem.

...for the record, this is not my area of expertise.  I'm just reading the
other sources out there.   And, given the importance of cryptographic keys
in financial infrastructure, this seems important to get right, i.e. some
sort of established recommended approach.


On Wed, Nov 8, 2017 at 9:39 AM Simon Matthews <si...@dreamstartlabs.com>
wrote:

> Does it use /dev/random or /dev/urandom?
>
> The VM has been up for a while (days), so I don't think that order in the
> boot sequence is relevant.
>
> I tried seeing if there is random data:
> $ cat /dev/random
> �.� J ڤ�^C
> $ cat /dev/random
> ^C
>
> In the second case, it hung with no data output, so it looks like there is
> no random data left and there was only a very small amount available.
>
> On the other hand /dev/urandom is able to provide a stream of pseudo random
> data.
>
> Simon
>
>
>
>
> On Wed, Nov 8, 2017 at 9:20 AM, James Dailey <jamespdai...@gmail.com>
> wrote:
>
> > Load the randomizer earlier in the boot sequence?  (i.e. generate entropy
> > pool early )
> >
> > Or, does this help?
> >
> > Remote seeding via a pollination service.
> > http://manpages.ubuntu.com/manpages/trusty/man1/pollinate.1.html
> > https://launchpad.net/pollinate
> >
> > This, of course, does not:
> > https://xkcd.com/221/
> >
> > ;)
> >
> >
> >
> > On Wed, Nov 8, 2017 at 8:27 AM Simon Matthews <si...@dreamstartlabs.com>
> > wrote:
> >
> > > Mark,
> > >
> > > It's a VM hosted by Google Cloud, running Ubuntu 16.04.3 LTS
> > >
> > > Without a keyboard, mouse or other input device, it may not have much
> > > entropy.
> > >
> > > Simon
> > >
> > > On Wed, Nov 8, 2017 at 2:57 AM, Mark van Veen <mark.vanv...@kuelap.io>
> > > wrote:
> > >
> > > > Hi Simon,
> > > >
> > > > can you let me know which OS/VM you are running on? It looks like
> your
> > VM
> > > > does not have enough entropy generated by the time you started the
> demo
> > > > server. This could result in blocking a service(mainly provisioner
> and
> > > > identity) when creating random numbers e.g. to create secure hashes.
> > > >
> > > > Although I have never used this tool but maybe this would help:
> > > >
> > > > https://wiki.archlinux.org/index.php/Haveged
> > > >
> > > > Mark
> > > >
> > > > On Tue, Nov 7, 2017 at 4:54 PM Simon Matthews <
> > si...@dreamstartlabs.com>
> > > > wrote:
> > > >
> > > > > Here is the full transcript and stderr:
> > > > >
> > > > > JUnit version 4.12
> > > > >
> > > > >   .   ____          _            __ _ _
> > > > >  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
> > > > > ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
> > > > >  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
> > > > >   '  |____| .__|_| |_|_| |_\__, | / / / /
> > > > >  =========|_|==============|___/=/_/_/_/
> > > > >  :: Spring Boot ::        (v1.4.1.RELEASE)
> > > > >
> > > > >
> > > > >   .   ____          _            __ _ _
> > > > >  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
> > > > > ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
> > > > >  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
> > > > >   '  |____| .__|_| |_|_| |_\__, | / / / /
> > > > >  =========|_|==============|___/=/_/_/_/
> > > > >  :: Spring Boot ::        (v1.4.1.RELEASE)
> > > > >
> > > > > .15:50:39.257 [pool-3-thread-1] ERROR
> > > o.a.cassandra.service.StartupChecks
> > > > -
> > > > > cassandra.jmx.local.port missing from cassandra-env.sh, unable to
> > start
> > > > > local JMX service.
> > > > > Resolving artifact
> > > > > io.mifos.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT
> > > > > Resolving metadata
> > > > > io.mifos.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/
> > > > maven-metadata.xml
> > > > > from /home/simon/.m2/repository (enhanced)
> > > > > Resolved metadata
> > > > > io.mifos.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/
> > > > maven-metadata.xml
> > > > > from /home/simon/.m2/repository (enhanced)
> > > > > Resolved artifact
> > > > > io.mifos.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT from
> > > > > /home/simon/.m2/repository (enhanced)
> > > > > 15:50:55.418 [main] INFO
> o.s.c.a.AnnotationConfigApplicationContext
> > -
> > > > > Refreshing
> > > > >
> > > > > org.springframework.context.annotation.
> > AnnotationConfigApplicationCon
> > > > text@cac736f
> > > > > :
> > > > > startup date [Tue Nov 07 15:50:55 UTC 2017]; root of context
> > hierarchy
> > > > > 15:50:56.028 [background-preinit] INFO
> o.h.validator.internal.util.
> > > > Version
> > > > > - HV000001: Hibernate Validator 5.3.0.Final
> > > > > 15:50:56.648 [main] INFO
> > > o.s.b.f.a.AutowiredAnnotationBeanPostProcessor
> > > > -
> > > > > JSR-330 'javax.inject.Inject' annotation found and supported for
> > > > autowiring
> > > > > 15:50:56.906 [main] INFO
> > > > > o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
> -
> > > > Bean
> > > > > 'configurationPropertiesRebinderAutoConfiguration' of type [class
> > > > >
> > > > > org.springframework.cloud.autoconfigure.
> > ConfigurationPropertiesRebinde
> > > > rAutoConfiguration$$EnhancerBySpringCGLIB$$424f69ca]
> > > > > is not eligible for getting processed by all BeanPostProcessors
> (for
> > > > > example: not eligible for auto-proxying)
> > > > >
> > > > >   .   ____          _            __ _ _
> > > > >  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
> > > > > ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
> > > > >  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
> > > > >   '  |____| .__|_| |_|_| |_\__, | / / / /
> > > > >  =========|_|==============|___/=/_/_/_/
> > > > >  :: Spring Boot ::        (v1.4.1.RELEASE)
> > > > >
> > > > > 15:50:58.033 [main] INFO  i.m.p.ProvisionerApplication - No active
> > > > profile
> > > > > set, falling back to default profiles: default
> > > > > 15:50:58.111 [main] INFO
> > > > > o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext -
> Refreshing
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApp
> > > > licationContext@33c7e1bb
> > > > > :
> > > > > startup date [Tue Nov 07 15:50:58 UTC 2017]; parent:
> > > > >
> > > > > org.springframework.context.annotation.
> > AnnotationConfigApplicationCon
> > > > text@cac736f
> > > > > 15:51:02.902 [main] WARN  o.s.c.a.ConfigurationClassPostProcessor -
> > > > Cannot
> > > > > enhance @Configuration bean definition 'refreshScope' since its
> > > singleton
> > > > > instance has been created too early. The typical cause is a
> > non-static
> > > > > @Bean method with a BeanDefinitionRegistryPostProcessor return
> type:
> > > > > Consider declaring such methods as 'static'.
> > > > > 15:51:03.509 [main] INFO  o.s.cloud.context.scope.GenericScope -
> > > > > BeanFactory id=e1883e49-af75-3289-925a-09b01b023e98
> > > > > 15:51:03.572 [main] INFO
> > > o.s.b.f.a.AutowiredAnnotationBeanPostProcessor
> > > > -
> > > > > JSR-330 'javax.inject.Inject' annotation found and supported for
> > > > autowiring
> > > > > 15:51:03.690 [main] INFO
> > > > > o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
> -
> > > > Bean
> > > > > 'io.mifos.core.async.config.AsyncProcessingJavaConfiguration' of
> > type
> > > > > [class
> > > > >
> > > > > io.mifos.core.async.config.AsyncProcessingJavaConfigurati
> > > > on$$EnhancerBySpringCGLIB$$336f440a]
> > > > > is not eligible for getting processed by all BeanPostProcessors
> (for
> > > > > example: not eligible for auto-proxying)
> > > > > 15:51:03.701 [main] INFO  o.s.s.c.ThreadPoolTaskExecutor -
> > Initializing
> > > > > ExecutorService
> > > > > 15:51:03.829 [main] INFO
> > > > > o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
> -
> > > > Bean
> > > > > 'io.mifos.core.mariadb.config.MariaDBJavaConfiguration' of type
> > [class
> > > > >
> > > > > io.mifos.core.mariadb.config.MariaDBJavaConfiguration$$
> > > > EnhancerBySpringCGLIB$$b3f28efd]
> > > > > is not eligible for getting processed by all BeanPostProcessors
> (for
> > > > > example: not eligible for auto-proxying)
> > > > > 15:51:04.247 [main] INFO
> > > > > o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
> -
> > > > Bean
> > > > >
> > > > > 'org.springframework.transaction.annotation.
> > > > ProxyTransactionManagementConfiguration'
> > > > > of type [class
> > > > >
> > > > > org.springframework.transaction.annotation.
> > > > ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$
> > 263566cd]
> > > > > is not eligible for getting processed by all BeanPostProcessors
> (for
> > > > > example: not eligible for auto-proxying)
> > > > > 15:51:04.434 [main] INFO
> > > > > o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
> -
> > > > Bean
> > > > >
> > > > > 'org.springframework.cloud.autoconfigure.
> > ConfigurationPropertiesRebinde
> > > > rAutoConfiguration'
> > > > > of type [class
> > > > >
> > > > > org.springframework.cloud.autoconfigure.
> > ConfigurationPropertiesRebinde
> > > > rAutoConfiguration$$EnhancerBySpringCGLIB$$424f69ca]
> > > > > is not eligible for getting processed by all BeanPostProcessors
> (for
> > > > > example: not eligible for auto-proxying)
> > > > > 15:51:05.299 [main] INFO  org.eclipse.jetty.util.log - Logging
> > > > initialized
> > > > > @13558ms
> > > > > 15:51:05.510 [main] INFO
> o.s.b.c.e.j.JettyEmbeddedServletContainerF
> > > > actory
> > > > > - Server initialized with port: 2020
> > > > > 15:51:05.513 [main] INFO  org.eclipse.jetty.server.Server -
> > > > > jetty-9.3.11.v20160721
> > > > > 15:51:05.833 [main] INFO  o.s.web.context.ContextLoader - Root
> > > > > WebApplicationContext: initialization completed in 7722 ms
> > > > > 15:51:08.695 [main] WARN  com.datastax.driver.core.NettyUtil -
> Found
> > > > > Netty's native epoll transport in the classpath, but epoll is not
> > > > > available. Using NIO instead.
> > > > > java.lang.UnsatisfiedLinkError: no netty-transport-native-epoll in
> > > > > java.library.path
> > > > >     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
> > > > >     at java.lang.Runtime.loadLibrary0(Runtime.java:870)
> > > > >     at java.lang.System.loadLibrary(System.java:1122)
> > > > >     at
> > > > >
> > > > > io.netty.util.internal.NativeLibraryLoader.load(
> > > > NativeLibraryLoader.java:168)
> > > > >     at io.netty.channel.epoll.Native.<clinit>(Native.java:49)
> > > > >     at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:30)
> > > > >     at java.lang.Class.forName0(Native Method)
> > > > >     at java.lang.Class.forName(Class.java:264)
> > > > >     at com.datastax.driver.core.NettyUtil.<clinit>(NettyUtil.
> > java:68)
> > > > >     at
> > > > > com.datastax.driver.core.NettyOptions.eventLoopGroup(
> > > > NettyOptions.java:96)
> > > > >     at
> > > > > com.datastax.driver.core.Connection$Factory.<init>(
> > Connection.java:714)
> > > > >     at com.datastax.driver.core.Cluster$Manager.init(Cluster.
> > java:1375)
> > > > >     at com.datastax.driver.core.Cluster.init(Cluster.java:163)
> > > > >     at com.datastax.driver.core.Cluster.connectAsync(Cluster.
> > java:334)
> > > > >     at com.datastax.driver.core.Cluster.connect(Cluster.java:284)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.core.CassandraSessionProvider.
> > > > lambda$getSession$2(CassandraSessionProvider.java:147)
> > > > >     at
> > > > >
> > > > > java.util.concurrent.ConcurrentHashMap.computeIfAbsent(
> > > > ConcurrentHashMap.java:1660)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.core.CassandraSessionProvider.getSession(
> > > > CassandraSessionProvider.java:140)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.core.CassandraSessionProvider.
> > getAdminSession(
> > > > CassandraSessionProvider.java:91)
> > > > >     at
> > > > >
> > > > >
> > >
> io.mifos.core.cassandra.core.CassandraSessionProvider.touchAdminSession(
> > > > CassandraSessionProvider.java:190)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.config.CassandraConnectorConfiguratio
> > > > n.cassandraSessionProvider(CassandraConnectorConfiguration.java:66)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.config.CassandraConnectorConfiguratio
> > > > n$$EnhancerBySpringCGLIB$$21c56584.CGLIB$cassandraSessionProvider$0(<
> > > > generated>)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.config.CassandraConnectorConfiguratio
> > > > n$$EnhancerBySpringCGLIB$$21c56584$$FastClassBySpringCGLIB$$
> > > > d80ebb93.invoke(<generated>)
> > > > >     at
> > > > >
> > > > > org.springframework.cglib.proxy.MethodProxy.invokeSuper(
> > > > MethodProxy.java:228)
> > > > >     at
> > > > >
> > > > > org.springframework.context.annotation.ConfigurationClassEnhancer$
> > > > BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
> > > > >     at
> > > > >
> > > > > io.mifos.core.cassandra.config.CassandraConnectorConfiguratio
> > > > n$$EnhancerBySpringCGLIB$$21c56584.cassandraSessionProvider(<
> > generated>)
> > > > >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >     at
> > > > >
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java:62)
> > > > >     at
> > > > >
> > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > > DelegatingMethodAccessorImpl.java:43)
> > > > >     at java.lang.reflect.Method.invoke(Method.java:498)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > SimpleInstantiationStrategy.
> > > > instantiate(SimpleInstantiationStrategy.java:162)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFac
> > > > tory.java:1128)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> > > > getObject(AbstractBeanFactory.java:306)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultSingletonBeanRegistry.
> > > > getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> > > > AbstractBeanFactory.java:302)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > AbstractBeanFactory.getBean(
> > > > AbstractBeanFactory.java:202)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.config.DependencyDescriptor.
> > > > resolveCandidate(DependencyDescriptor.java:207)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > doResolveDependency(DefaultListableBeanFactory.java:1128)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > resolveDependency(DefaultListableBeanFactory.java:1056)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > resolveAutowiredArgument(ConstructorResolver.java:835)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > createArgumentArray(ConstructorResolver.java:741)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > autowireConstructor(ConstructorResolver.java:189)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > >
> tory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> > > > getObject(AbstractBeanFactory.java:306)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultSingletonBeanRegistry.
> > > > getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> > > > AbstractBeanFactory.java:302)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > AbstractBeanFactory.getBean(
> > > > AbstractBeanFactory.java:202)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.config.DependencyDescriptor.
> > > > resolveCandidate(DependencyDescriptor.java:207)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > doResolveDependency(DefaultListableBeanFactory.java:1128)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > resolveDependency(DefaultListableBeanFactory.java:1056)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > resolveAutowiredArgument(ConstructorResolver.java:835)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > createArgumentArray(ConstructorResolver.java:741)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > autowireConstructor(ConstructorResolver.java:189)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > >
> tory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> > > > getObject(AbstractBeanFactory.java:306)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultSingletonBeanRegistry.
> > > > getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> > > > AbstractBeanFactory.java:302)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > AbstractBeanFactory.getBean(
> > > > AbstractBeanFactory.java:202)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.config.DependencyDescriptor.
> > > > resolveCandidate(DependencyDescriptor.java:207)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > doResolveDependency(DefaultListableBeanFactory.java:1128)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > resolveDependency(DefaultListableBeanFactory.java:1056)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > resolveAutowiredArgument(ConstructorResolver.java:835)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > createArgumentArray(ConstructorResolver.java:741)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > autowireConstructor(ConstructorResolver.java:189)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > >
> tory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1051)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> > > > getObject(AbstractBeanFactory.java:306)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultSingletonBeanRegistry.
> > > > getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> > > > AbstractBeanFactory.java:302)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > AbstractBeanFactory.getBean(
> > > > AbstractBeanFactory.java:202)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.config.DependencyDescriptor.
> > > > resolveCandidate(DependencyDescriptor.java:207)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > doResolveDependency(DefaultListableBeanFactory.java:1128)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultListableBeanFactory.
> > > > resolveDependency(DefaultListableBeanFactory.java:1056)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.annotation.
> > > > AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(
> > > > AutowiredAnnotationBeanPostProcessor.java:640)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.annotation.
> > InjectionMetadata.inject(
> > > > InjectionMetadata.java:88)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.annotation.
> > > > AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(
> > > > AutowiredAnnotationBeanPostProcessor.java:349)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> > > > getObject(AbstractBeanFactory.java:306)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultSingletonBeanRegistry.
> > > > getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> > > > AbstractBeanFactory.java:302)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > AbstractBeanFactory.getBean(
> > > > AbstractBeanFactory.java:197)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.ConstructorResolver.
> > > > instantiateUsingFactoryMethod(ConstructorResolver.java:372)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFac
> > > > tory.java:1128)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > > tory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> > > > getObject(AbstractBeanFactory.java:306)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > DefaultSingletonBeanRegistry.
> > > > getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> > > > AbstractBeanFactory.java:302)
> > > > >     at
> > > > >
> > > > > org.springframework.beans.factory.support.
> > AbstractBeanFactory.getBean(
> > > > AbstractBeanFactory.java:202)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.web.servlet.ServletContextInitializerBeans
> > > > .getOrderedBeansOfType(ServletContextInitializerBeans.java:233)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.web.servlet.ServletContextInitializerBeans
> > > > .getOrderedBeansOfType(ServletContextInitializerBeans.java:214)
> > > > >     at
> > > > >
> > > > >
> org.springframework.boot.web.servlet.ServletContextInitializerBeans.
> > > > addServletContextInitializerBeans(ServletContextInitializerBeans
> > .java:90)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.web.servlet.ServletContextInitializerBeans
> > > > .<init>(ServletContextInitializerBeans.java:78)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.
> > > > getServletContextInitializerBeans(EmbeddedWebApplicationContext.
> > java:241)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.
> > > > selfInitialize(EmbeddedWebApplicationContext.java:228)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.
> > > > access$000(EmbeddedWebApplicationContext.java:89)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext$
> > > > 1.onStartup(EmbeddedWebApplicationContext.java:213)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.context.embedded.jetty.
> > > > ServletContextInitializerConfiguration$Initializer.callInitializers(
> > > > ServletContextInitializerConfiguration.java:83)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.context.embedded.jetty.
> > > > ServletContextInitializerConfiguration$Initializer.doStart(
> > > > ServletContextInitializerConfiguration.java:72)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.AbstractLifeCycle.
> > > > start(AbstractLifeCycle.java:68)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.ContainerLifeCycle.
> > > > start(ContainerLifeCycle.java:132)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.ContainerLifeCycle.
> > > > doStart(ContainerLifeCycle.java:106)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.server.handler.AbstractHandler.
> > > > doStart(AbstractHandler.java:61)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.server.handler.ScopedHandler.doStart(
> > > > ScopedHandler.java:120)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.server.handler.ContextHandler.
> > > > startContext(ContextHandler.java:809)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.servlet.ServletContextHandler.startContext(
> > > > ServletContextHandler.java:345)
> > > > >     at
> > > > > org.eclipse.jetty.webapp.WebAppContext.startWebapp(
> > > > WebAppContext.java:1404)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.webapp.WebAppContext.startContext(
> > > > WebAppContext.java:1366)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.server.handler.ContextHandler.
> > > > doStart(ContextHandler.java:778)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.servlet.ServletContextHandler.doStart(
> > > > ServletContextHandler.java:262)
> > > > >     at
> > > > > org.eclipse.jetty.webapp.WebAppContext.doStart(
> > WebAppContext.java:520)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.AbstractLifeCycle.
> > > > start(AbstractLifeCycle.java:68)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.ContainerLifeCycle.
> > > > start(ContainerLifeCycle.java:132)
> > > > >     at org.eclipse.jetty.server.Server.start(Server.java:411)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.ContainerLifeCycle.
> > > > doStart(ContainerLifeCycle.java:106)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.server.handler.AbstractHandler.
> > > > doStart(AbstractHandler.java:61)
> > > > >     at org.eclipse.jetty.server.Server.doStart(Server.java:378)
> > > > >     at
> > > > >
> > > > > org.eclipse.jetty.util.component.AbstractLifeCycle.
> > > > start(AbstractLifeCycle.java:68)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.context.embedded.jetty.
> > > > JettyEmbeddedServletContainer.initialize(
> > JettyEmbeddedServletContainer.
> > > > java:91)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.context.embedded.jetty.
> > > > JettyEmbeddedServletContainer.<init>(JettyEmbeddedServletContainer.
> > > > java:79)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.context.embedded.jetty.
> > > >
> JettyEmbeddedServletContainerFactory.getJettyEmbeddedServletContainer(
> > > > JettyEmbeddedServletContainerFactory.java:540)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.context.embedded.jetty.
> > > > JettyEmbeddedServletContainerFactory.getEmbeddedServletContainer(
> > > > JettyEmbeddedServletContainerFactory.java:185)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.
> > > >
> createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.
> > > > onRefresh(EmbeddedWebApplicationContext.java:134)
> > > > >     at
> > > > >
> > > > > org.springframework.context.support.AbstractApplicationContext.
> > refresh(
> > > > AbstractApplicationContext.java:535)
> > > > >     at
> > > > >
> > > > >
> > >
> org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.
> > > > refresh(EmbeddedWebApplicationContext.java:122)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.SpringApplication.refresh(
> > > > SpringApplication.java:761)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.SpringApplication.refreshContext(
> > > > SpringApplication.java:371)
> > > > >     at
> > > > > org.springframework.boot.SpringApplication.run(
> > > > SpringApplication.java:315)
> > > > >     at
> > > > > org.springframework.boot.SpringApplication.run(
> > > > SpringApplication.java:1186)
> > > > >     at
> > > > > org.springframework.boot.SpringApplication.run(
> > > > SpringApplication.java:1175)
> > > > >     at
> > > > >
> > > > > io.mifos.provisioner.ProvisionerApplication.main(
> > > > ProvisionerApplication.java:30)
> > > > >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >     at
> > > > >
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java:62)
> > > > >     at
> > > > >
> > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > > DelegatingMethodAccessorImpl.java:43)
> > > > >     at java.lang.reflect.Method.invoke(Method.java:498)
> > > > >     at
> > > > >
> > > > > org.springframework.boot.loader.MainMethodRunner.run(
> > > > MainMethodRunner.java:48)
> > > > >     at
> > > org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
> > > > >     at
> > > org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
> > > > >     at
> > > > > org.springframework.boot.loader.JarLauncher.main(
> > JarLauncher.java:58)
> > > > > 15:51:12.119 [main] WARN  i.n.util.internal.ThreadLocalRandom -
> > Failed
> > > > to
> > > > > generate a seed from SecureRandom within 3 seconds. Not enough
> > > entrophy?
> > > > > 15:51:13.125 [main] INFO  c.d.d.c.p.DCAwareRoundRobinPolicy - Using
> > > > > data-center name 'datacenter1' for DCAwareRoundRobinPolicy (if this
> > is
> > > > > incorrect, please provide the correct datacenter name with
> > > > > DCAwareRoundRobinPolicy constructor)
> > > > > 15:51:13.135 [main] INFO  com.datastax.driver.core.Cluster - New
> > > > Cassandra
> > > > > host /127.0.0.1:9142 added
> > > > > 15:51:15.476 [main] INFO
> > > o.s.o.j.LocalContainerEntityManagerFactoryBean
> > > > -
> > > > > Building JPA container EntityManagerFactory for persistence unit
> > > 'metaPU'
> > > > > 15:51:15.532 [main] INFO  o.h.jpa.internal.util.LogHelper -
> > HHH000204:
> > > > > Processing PersistenceUnitInfo [
> > > > >     name: metaPU
> > > > >     ...]
> > > > > 15:51:16.005 [main] INFO  org.hibernate.Version - HHH000412:
> > Hibernate
> > > > Core
> > > > > {5.0.11.Final}
> > > > > 15:51:16.008 [main] INFO  org.hibernate.cfg.Environment -
> HHH000206:
> > > > > hibernate.properties not found
> > > > > 15:51:16.013 [main] INFO  org.hibernate.cfg.Environment -
> HHH000021:
> > > > > Bytecode provider name : javassist
> > > > > 15:51:16.284 [main] INFO  o.h.annotations.common.Version -
> > HCANN000001:
> > > > > Hibernate Commons Annotations {5.0.1.Final}
> > > > > 15:51:16.987 [main] WARN  o.h.e.j.e.i.JdbcEnvironmentInitiator -
> > > > HHH000342:
> > > > > Could not obtain connection to query metadata : Tenant context not
> > set.
> > > > > 15:51:17.039 [main] INFO  org.hibernate.dialect.Dialect -
> HHH000400:
> > > > Using
> > > > > dialect: org.hibernate.dialect.MySQLDialect
> > > > > 15:51:17.127 [main] INFO  o.h.e.j.e.i.LobCreatorBuilderImpl -
> > > HHH000422:
> > > > > Disabling contextual LOB creation as connection was null
> > > > > 15:51:19.017 [main] INFO
> > > o.s.o.j.LocalContainerEntityManagerFactoryBean
> > > > -
> > > > > Initialized JPA EntityManagerFactory for persistence unit 'metaPU'
> > > > > 15:51:19.477 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > > "{[/auth/token],methods=[POST],consumes=[*/*],produces=[
> > > > application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<io.mifos.
> > > > provisioner.api.v1.domain.AuthenticationResponse>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > authenticate(java.lang.String,java.lang.String,java.lang.
> > > > String,java.lang.String)
> > > > > 15:51:19.479 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/auth/user/{useridentifier}/password],methods=[PUT],
> > > > consumes=[application/json],produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > updatePasswordPolicy(java.lang.String,io.mifos.
> > provisioner.api.v1.domain.
> > > > PasswordPolicy)
> > > > > 15:51:19.479 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/applications],methods=[GET],consumes=[*/*],produces=[
> > > > application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<java.util.List<
> > > > io.mifos.provisioner.api.v1.domain.Application>>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getApplications()
> > > > > 15:51:19.479 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/applications/{name}],methods=[GET],consumes=[*/*],
> > > > produces=[application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<io.mifos.
> > > > provisioner.api.v1.domain.Application>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getApplication(java.lang.String)
> > > > > 15:51:19.480 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > > "{[/clients],methods=[GET],consumes=[*/*],produces=[
> > application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<java.util.List<
> > > > io.mifos.provisioner.api.v1.domain.Client>>
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getClients()
> > > > > 15:51:19.480 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/clients],methods=[POST],consumes=[application/json],
> > > > produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > createClient(io.mifos.provisioner.api.v1.domain.Client)
> > > > > 15:51:19.481 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/clients/{clientidentifier}],methods=[GET],consumes=[*/*]
> > > > ,produces=[application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<io.mifos.
> > > > provisioner.api.v1.domain.Client>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getClient(java.lang.String)
> > > > > 15:51:19.481 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/clients/{clientidentifier}],methods=[DELETE],consumes=[*
> > > > /*],produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > deleteClient(java.lang.String)
> > > > > 15:51:19.481 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/tenants],methods=[POST],consumes=[application/json],
> > > > produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > createTenant(io.mifos.provisioner.api.v1.domain.Tenant)
> > > > > 15:51:19.482 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > > "{[/tenants],methods=[GET],consumes=[*/*],produces=[
> > application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<java.util.List<
> > > > io.mifos.provisioner.api.v1.domain.Tenant>>
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getTenants()
> > > > > 15:51:19.482 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/tenants/{tenantidentifier}],methods=[GET],consumes=[*/*]
> > > > ,produces=[application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<io.mifos.
> > > > provisioner.api.v1.domain.Tenant>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getTenant(java.lang.String)
> > > > > 15:51:19.483 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/tenants/{tenantidentifier}/identityservice],methods=[
> > > > POST],consumes=[application/json],produces=[application/json]}"
> > > > > onto
> > > > >
> > > > > org.springframework.http.ResponseEntity<io.mifos.
> > > > provisioner.api.v1.domain.IdentityManagerInitialization>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > >
> > > assignIdentityManager(java.lang.String,io.mifos.
> > provisioner.api.v1.domain.
> > > > AssignedApplication)
> > > > > 15:51:19.484 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/applications],methods=[POST],consumes=[application/
> > > > json],produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > createApplication(io.mifos.provisioner.api.v1.domain.Application)
> > > > > 15:51:19.485 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/applications/{name}],methods=[DELETE],consumes=[*/*
> > > > ],produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > deleteApplication(java.lang.String)
> > > > > 15:51:19.485 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/tenants/{tenantidentifier}/applications],methods=[PUT],
> > > > consumes=[application/json],produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > assignApplications(java.lang.String,java.util.List<io.
> > > > mifos.provisioner.api.v1.domain.AssignedApplication>)
> > > > > 15:51:19.486 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/tenants/{tenantidentifier}/applications],methods=[GET],
> > > > consumes=[*/*],produces=[application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<java.util.List<
> > > > io.mifos.provisioner.api.v1.domain.AssignedApplication>>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > getAssignedApplications(java.lang.String)
> > > > > 15:51:19.489 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/tenants/{tenantidentifier}],methods=[DELETE],consumes=[*
> > > > /*],produces=[application/json]}"
> > > > > onto public org.springframework.http.ResponseEntity<java.lang.Void>
> > > > >
> > > > > io.mifos.provisioner.rest.controller.ProvisionerRestController.
> > > > deleteTenant(java.lang.String)
> > > > > 15:51:19.491 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped
> > > > >
> > > > > "{[/permittables],methods=[GET],consumes=[*/*],produces=[
> > > > application/json]}"
> > > > > onto public
> > > > >
> > > > > org.springframework.http.ResponseEntity<java.util.List<
> > > > io.mifos.anubis.api.v1.domain.PermittableEndpoint>>
> > > > >
> > > > > io.mifos.anubis.controller.PermittableRestController.
> > > > fetchPermittableEndpoints()
> > > > > 15:51:19.498 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped "{[/error],produces=[text/html]}" onto public
> > > > > org.springframework.web.servlet.ModelAndView
> > > > >
> > > > > org.springframework.boot.autoconfigure.web.BasicErrorController.
> > > > errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.
> > > > HttpServletResponse)
> > > > > 15:51:19.499 [main] INFO
> o.s.w.s.m.m.a.RequestMappingHandlerMapping
> > -
> > > > > Mapped "{[/error]}" onto public
> > > > > org.springframework.http.ResponseEntity<java.util.Map<
> > java.lang.String,
> > > > > java.lang.Object>>
> > > > >
> > > > > org.springframework.boot.autoconfigure.web.
> > BasicErrorController.error(
> > > > javax.servlet.http.HttpServletRequest)
> > > > > 15:51:21.843 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/restart || /restart.json],methods=[POST]}" onto public
> > > > java.lang.Object
> > > > > org.springframework.cloud.context.restart.
> > RestartMvcEndpoint.invoke()
> > > > > 15:51:21.852 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/info || /info.json],methods=[GET],produces=[application/json]}"
> > > onto
> > > > > public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.853 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/autoconfig ||
> > > > > /autoconfig.json],methods=[GET],produces=[application/json]}" onto
> > > > public
> > > > > java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.855 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/features || /features.json],methods=[GET],
> > > > produces=[application/json]}"
> > > > > onto public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.863 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/trace || /trace.json],methods=[GET],
> > produces=[application/json]}"
> > > > onto
> > > > > public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.863 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/pause || /pause.json],methods=[POST]}" onto public
> > java.lang.Object
> > > > > org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.
> > invoke()
> > > > > 15:51:21.864 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/refresh || /refresh.json],methods=[POST]}" onto public
> > > > java.lang.Object
> > > > > org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.
> > invoke()
> > > > > 15:51:21.864 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/health || /health.json],produces=[application/json]}" onto
> > public
> > > > > java.lang.Object
> > > > >
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > HealthMvcEndpoint.invoke(java.security.Principal)
> > > > > 15:51:21.867 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/env/{name:.*}],methods=[GET],produces=[application/json]}" onto
> > > > public
> > > > > java.lang.Object
> > > > >
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EnvironmentMvcEndpoint.value(java.lang.String)
> > > > > 15:51:21.867 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/env || /env.json],methods=[GET],produces=[application/json]}"
> > onto
> > > > > public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.869 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/resume || /resume.json],methods=[POST]}" onto public
> > > java.lang.Object
> > > > > org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.
> > invoke()
> > > > > 15:51:21.869 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/mappings || /mappings.json],methods=[GET],
> > > > produces=[application/json]}"
> > > > > onto public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.874 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/beans || /beans.json],methods=[GET],
> > produces=[application/json]}"
> > > > onto
> > > > > public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.883 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/archaius || /archaius.json],methods=[GET],
> > > > produces=[application/json]}"
> > > > > onto public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.884 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/heapdump ||
> > > > > /heapdump.json],methods=[GET],produces=[application/octet-stream]}"
> > > onto
> > > > > public void
> > > > >
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.
> > > > HttpServletRequest,javax.servlet.http.HttpServletResponse)
> > > > > throws java.io.IOException,javax.servlet.ServletException
> > > > > 15:51:21.884 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/env],methods=[POST]}" onto public java.lang.Object
> > > > >
> > > > > org.springframework.cloud.context.environment.
> > > > EnvironmentManagerMvcEndpoint.value(java.util.Map<java.lang.String,
> > > > > java.lang.String>)
> > > > > 15:51:21.885 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/env/reset],methods=[POST]}" onto public
> java.util.Map<java.lang.
> > > > String,
> > > > > java.lang.Object>
> > > > >
> > > > > org.springframework.cloud.context.environment.
> > > > EnvironmentManagerMvcEndpoint.reset()
> > > > > 15:51:21.890 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/dump || /dump.json],methods=[GET],produces=[application/json]}"
> > > onto
> > > > > public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.890 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/metrics/{name:.*}],methods=[GET],produces=[application/json]}"
> > onto
> > > > > public java.lang.Object
> > > > >
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > MetricsMvcEndpoint.value(java.lang.String)
> > > > > 15:51:21.891 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/metrics || /metrics.json],methods=[GET],
> > > > produces=[application/json]}"
> > > > > onto public java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:21.891 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping -
> > Mapped
> > > > > "{[/configprops ||
> > > > > /configprops.json],methods=[GET],produces=[application/json]}" onto
> > > > public
> > > > > java.lang.Object
> > > > > org.springframework.boot.actuate.endpoint.mvc.
> > > > EndpointMvcAdapter.invoke()
> > > > > 15:51:22.911 [main] INFO  o.s.s.web.DefaultSecurityFilterChain -
> > > > Creating
> > > > > filter chain: OrRequestMatcher [requestMatchers=[Ant
> > > [pattern='/css/**'],
> > > > > Ant [pattern='/js/**'], Ant [pattern='/images/**'], Ant
> > > > > [pattern='/webjars/**'], Ant [pattern='/**/favicon.ico'], Ant
> > > > > [pattern='/error']]], []
> > > > > 15:51:23.145 [main] INFO  o.s.s.web.DefaultSecurityFilterChain -
> > > > Creating
> > > > > filter chain:
> > > > > org.springframework.security.web.util.matcher.AnyRequestMatcher@1,
> > > > >
> > > > > [org.springframework.security.web.context.request.async.
> > > > WebAsyncManagerIntegrationFilter@6f825516
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.context.
> > SecurityContextPersistenceFilt
> > > > er@58aa10f4
> > > > > ,
> > > > > org.springframework.security.web.header.HeaderWriterFilter@438c9aa7
> ,
> > > > > io.mifos.anubis.filter.IsisAuthenticatedProcessingFilter@2da99821,
> > > > >
> > > > > org.springframework.security.web.savedrequest.
> > RequestCacheAwareFilter@
> > > > 5e5beb8a
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.servletapi.
> > > > SecurityContextHolderAwareRequestFilter@17b016ac
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.authentication.
> > > > AnonymousAuthenticationFilter@62cba181
> > > > > ,
> > > > > org.springframework.security.web.session.SessionManagementFilter@
> > > > 6c8f60f3,
> > > > > org.springframework.security.web.access.ExceptionTranslationFilter@
> > > > 3b42121d
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.access.intercept.
> > > > FilterSecurityInterceptor@415ef4d8
> > > > > ]
> > > > > 15:51:23.299 [main] INFO  o.s.s.web.DefaultSecurityFilterChain -
> > > > Creating
> > > > > filter chain:
> > > > >
> > > > > org.springframework.boot.actuate.autoconfigure.
> > > > ManagementWebSecurityAutoConfiguration$LazyEndpointPathRequestMatcher
> > > > @1c52552f
> > > > > ,
> > > > >
> > > > > [org.springframework.security.web.context.request.async.
> > > > WebAsyncManagerIntegrationFilter@5dc769f9
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.context.
> > SecurityContextPersistenceFilt
> > > > er@2bc7db89
> > > > > ,
> > > > > org.springframework.security.web.header.HeaderWriterFilter@6ec63f8
> ,
> > > > >
> > > > > org.springframework.security.web.authentication.logout.
> > > > LogoutFilter@55b5cd2b
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.authentication.www.
> > > > BasicAuthenticationFilter@2b4d4327
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.savedrequest.
> > RequestCacheAwareFilter@
> > > > 479ac2cb
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.servletapi.
> > > > SecurityContextHolderAwareRequestFilter@220c9a63
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.authentication.
> > > > AnonymousAuthenticationFilter@1b0e9707
> > > > > ,
> > > > > org.springframework.security.web.session.SessionManagementFilter@
> > > > 66223d94,
> > > > > org.springframework.security.web.access.ExceptionTranslationFilter@
> > > > 20999517
> > > > > ,
> > > > >
> > > > > org.springframework.security.web.access.intercept.
> > > > FilterSecurityInterceptor@3d299393
> > > > > ]
> > > > > 15:51:24.060 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'metricsFilter' to: [/*]
> > > > > 15:51:24.061 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'characterEncodingFilter' to: [/*]
> > > > > 15:51:24.061 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'springSecurityFilterChain' to: [/*]
> > > > > 15:51:24.062 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'userContextFilter' to urls: [*]
> > > > > 15:51:24.063 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'hiddenHttpMethodFilter' to: [/*]
> > > > > 15:51:24.064 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'httpPutFormContentFilter' to: [/*]
> > > > > 15:51:24.064 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'requestContextFilter' to: [/*]
> > > > > 15:51:24.066 [main] INFO
> > > o.s.b.w.s.DelegatingFilterProxyRegistrationBean
> > > > -
> > > > > Filter springSecurityFilterChain was not registered (possibly
> already
> > > > > registered?)
> > > > > 15:51:24.068 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'webRequestLoggingFilter' to: [/*]
> > > > > 15:51:24.073 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'serviceExceptionFilter' to urls: [/*]
> > > > > 15:51:24.073 [main] INFO  o.s.b.w.s.FilterRegistrationBean -
> Mapping
> > > > > filter: 'applicationContextIdFilter' to: [/*]
> > > > > 15:51:24.074 [main] INFO  o.s.b.w.s.ServletRegistrationBean -
> > Mapping
> > > > > servlet: 'dispatcherServlet' to [/]
> > > > > 15:51:24.422 [main] INFO  o.e.j.server.handler.ContextHandler -
> > Started
> > > > > o.s.b.c.e.j.JettyEmbeddedWebAppContext@738d37fc
> > > > >
> > > > > {/provisioner/v1,file:///tmp/jetty-docbase.
> > 2926509491586486568.2020/,
> > > > AVAILABLE}
> > > > > 15:51:24.423 [main] INFO  org.eclipse.jetty.server.Server - Started
> > > > > @32682ms
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Nov 7, 2017 at 1:10 AM, Mark van Veen <
> > mark.vanv...@kuelap.io>
> > > > > wrote:
> > > > >
> > > > > > Hi Simon,
> > > > > >
> > > > > > unfortunately this error is a bit missleading as we do not run
> with
> > > JMX
> > > > > in
> > > > > > this szenario and JMX reporting is enabled by default(see
> > > > > > https://github.com/jsevellec/cassandra-unit/issues/187).
> > > > > >
> > > > > > Could you please attach a link to your full log? The issue has to
> > be
> > > > > > somewhere else.
> > > > > >
> > > > > > Mark
> > > > > >
> > > > > > On Tue, Nov 7, 2017 at 5:29 AM Simon Matthews <
> > > > si...@dreamstartlabs.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I am trying to run an instance of Fineract CN, all on one VM,
> > > > following
> > > > > > the
> > > > > > > instructions on this page:
> > > > > > >
> > > > > > > https://cwiki.apache.org/confluence/display/FINERACT/
> > > > > > How+to+build+Fineract+CN
> > > > > > >
> > > > > > > I have made sure that I am the owner of all the files and
> > > directories
> > > > > and
> > > > > > > re-built Cassandra:
> > > > > > > sudo chown -fR simon: *
> > > > > > >
> > > > > > > and in the cassandra directory:
> > > > > > > ./gradlew publishToMavenLocal
> > > > > > >
> > > > > > > However, the embedded cassandra is not starting. It refers to a
> > > file
> > > > > > > cassandra-env.sh, but I can't find this file. The command:
> > > > > > > $ find . -name "cassandra-env*"
> > > > > > > returns nothing.
> > > > > > >
> > > > > > > Here is the error:
> > > > > > >
> > > > > > > $ java -Ddemoserver.provision=true -jar `find . -name
> > > > > > > demo-server-0.1.0-BUILD-SNAPSHOT.jar` | tee /tmp/runmifos
> > > > > > > JUnit version 4.12
> > > > > > >
> > > > > > >   .   ____          _            __ _ _
> > > > > > >  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
> > > > > > > ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
> > > > > > >  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
> > > > > > >   '  |____| .__|_| |_|_| |_\__, | / / / /
> > > > > > >  =========|_|==============|___/=/_/_/_/
> > > > > > >  :: Spring Boot ::        (v1.4.1.RELEASE)
> > > > > > >
> > > > > > >
> > > > > > >   .   ____          _            __ _ _
> > > > > > >  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
> > > > > > > ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
> > > > > > >  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
> > > > > > >   '  |____| .__|_| |_|_| |_\__, | / / / /
> > > > > > >  =========|_|==============|___/=/_/_/_/
> > > > > > >  :: Spring Boot ::        (v1.4.1.RELEASE)
> > > > > > >
> > > > > > > .04:20:46.612 [pool-3-thread-1] ERROR
> > > > > o.a.cassandra.service.StartupChecks
> > > > > > -
> > > > > > > cassandra.jmx.local.port missing from cassandra-env.sh, unable
> to
> > > > start
> > > > > > > local JMX service.
> > > > > > >
> > > > > > > Simon
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to