Skip to content

Instantly share code, notes, and snippets.

@igm
Last active October 20, 2015 13:49
Show Gist options
  • Save igm/91d26f26733f022f4d72 to your computer and use it in GitHub Desktop.
Save igm/91d26f26733f022f4d72 to your computer and use it in GitHub Desktop.
java buildpack auto configuration grails issue
2014-08-08T10:32:08.00+0100 [API] OUT Updated app with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae ({"state"=>"STARTED"})
2014-08-08T10:33:00.96+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"81f031e8-cf33-45d1-8167-6119c8772b13", "instance"=>"7e824fbb43b243268f450b0c41905d55", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407490380}
2014-08-08T10:34:34.71+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"81f031e8-cf33-45d1-8167-6119c8772b13", "instance"=>"07b8acba13144b0894fc15a3bf5eeea6", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407490474}
2014-08-08T10:35:14.32+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"81f031e8-cf33-45d1-8167-6119c8772b13", "instance"=>"2948a0484a5e4cd3bc057340ab879de1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407490514}
2014-08-08T10:38:07.69+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"81f031e8-cf33-45d1-8167-6119c8772b13", "instance"=>"9742046edcc04ce7bcb415da339943d1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407490687}
2014-08-08T10:40:43.49+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"81f031e8-cf33-45d1-8167-6119c8772b13", "instance"=>"69012a773f3e4a9280256e7432df8c97", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407490843}
2014-08-08T10:45:24.38+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"81f031e8-cf33-45d1-8167-6119c8772b13", "instance"=>"65e92673ec1b4881864f406f23bdf118", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407491124}
2014-08-08T10:49:02.52+0100 [API] OUT Updated app with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae ({"name"=>"bug2067", "buildpack"=>"https://github.com/cloudfoundry/java-buildpack.git"})
2014-08-08T10:50:21.25+0100 [API] OUT Updated app with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae ({"state"=>"STARTED"})
2014-08-08T10:51:07.01+0100 [App/0] OUT [CONTAINER] ion.spring.JpaCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
2014-08-08T10:51:08.50+0100 [App/0] OUT 2014-08-08 09:51:08,504 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT 2014-08-08 09:51:08,507 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:51:08.50+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
2014-08-08T10:51:08.50+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:51:08.50+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:51:08.50+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:51:08.50+0100 [App/0] OUT ... 5 more
2014-08-08T10:51:08.50+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Error listenerStart
2014-08-08T10:51:08.51+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Context [] startup failed due to previous errors
2014-08-08T10:51:08.52+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Closing Spring root WebApplicationContext
2014-08-08T10:51:08.54+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:51:08.54+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.mariadb.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:51:08.55+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deployment of web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT has finished in 13,996 ms
2014-08-08T10:51:08.55+0100 [App/0] OUT [CONTAINER] pplicationStartupFailureDetectingLifecycleListener SEVERE Error: Application '/sample1-production-0.1' failed (state = STOPPED): see Tomcat's logs for details. Halting Tomcat.
2014-08-08T10:51:08.69+0100 [DEA] ERR Instance (index 0) failed to start accepting connections
2014-08-08T10:51:08.70+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"2dfb9ea4-cf84-4fb9-b4e4-3ceb67772cfe", "instance"=>"0ec1288c36194b4c899b16b589ce641f", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407491468}
2014-08-08T10:51:35.08+0100 [DEA] OUT Starting app instance (index 0) with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae
2014-08-08T10:51:40.59+0100 [App/0] OUT \00\00\00\00[CONTAINER] org.apache.coyote.http11.Http11Protocol INFO Initializing ProtocolHandler ["http-bio-61333"]
2014-08-08T10:51:40.60+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.Catalina INFO Initialization processed in 871 ms
2014-08-08T10:51:40.61+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardService INFO Starting service Catalina
2014-08-08T10:51:40.61+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardEngine INFO Starting Servlet Engine: Apache Tomcat/7.0.55
2014-08-08T10:51:40.64+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deploying web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT
2014-08-08T10:51:48.16+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
2014-08-08T10:51:48.20+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
2014-08-08T10:51:48.30+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://www.springframework.org/tags is already defined
2014-08-08T10:51:48.30+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://www.springframework.org/tags/form is already defined
2014-08-08T10:51:48.51+0100 [App/0] OUT [CONTAINER] ing.AutoReconfigurationServletContainerInitializer INFO Initializing ServletContext with Auto-reconfiguration ApplicationContextInitializers
2014-08-08T10:51:48.51+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO No Spring WebApplicationInitializer types detected on classpath
2014-08-08T10:51:49.96+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Initializing Spring root WebApplicationContext
2014-08-08T10:51:50.45+0100 [App/0] OUT [CONTAINER] n.spring.CloudProfileApplicationContextInitializer INFO Adding 'cloud' to list of active profiles
2014-08-08T10:51:50.46+0100 [App/0] OUT [CONTAINER] g.CloudPropertySourceApplicationContextInitializer INFO Adding 'cloud' PropertySource to ApplicationContext
2014-08-08T10:51:50.57+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:51:50.58+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:51:50.81+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type javax.sql.DataSource
2014-08-08T10:51:50.81+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO No beans of type javax.sql.DataSource found. Skipping auto-reconfiguration.
2014-08-08T10:51:55.21+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:51:58.23+0100 [App/0] OUT Configuring Spring Security Core ...
2014-08-08T10:51:58.48+0100 [App/0] OUT ... finished configuring Spring Security Core
2014-08-08T10:51:59.23+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type javax.sql.DataSource
2014-08-08T10:51:59.26+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@3a7e0493
2014-08-08T10:51:59.26+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@3a7e0493
2014-08-08T10:51:59.26+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@3a7e0493
2014-08-08T10:51:59.28+0100 [App/0] OUT [CONTAINER] k.cloud.service.relational.PooledDataSourceCreator INFO Found Tomcat dbcp connection pool on the classpath. Using it for DataSource connection pooling.
2014-08-08T10:51:59.30+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@3a7e0493
2014-08-08T10:51:59.30+0100 [App/0] OUT [CONTAINER] ring.HibernateCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.hibernate3.AbstractSessionFactoryBean
2014-08-08T10:51:59.31+0100 [App/0] OUT [CONTAINER] ring.HibernateCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.hibernate4.LocalSessionFactoryBean
2014-08-08T10:51:59.32+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@3a7e0493
2014-08-08T10:51:59.33+0100 [App/0] OUT [CONTAINER] ion.spring.JpaCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
2014-08-08T10:52:01.29+0100 [App/0] OUT 2014-08-08 09:52:01,290 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT 2014-08-08 09:52:01,292 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
2014-08-08T10:52:01.29+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:52:01.29+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:01.29+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:01.29+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Error listenerStart
2014-08-08T10:52:01.32+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Context [] startup failed due to previous errors
2014-08-08T10:52:01.32+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Closing Spring root WebApplicationContext
2014-08-08T10:52:01.35+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:52:01.35+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.mariadb.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:52:01.36+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deployment of web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT has finished in 20,721 ms
2014-08-08T10:52:01.36+0100 [App/0] OUT [CONTAINER] pplicationStartupFailureDetectingLifecycleListener SEVERE Error: Application '/sample1-production-0.1' failed (state = STOPPED): see Tomcat's logs for details. Halting Tomcat.
2014-08-08T10:52:01.45+0100 [App/0] ERR \00\00\00\00
2014-08-08T10:52:01.54+0100 [DEA] ERR Instance (index 0) failed to start accepting connections
2014-08-08T10:52:01.56+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"2dfb9ea4-cf84-4fb9-b4e4-3ceb67772cfe", "instance"=>"51a34cccd64f42ca88941ec1f30d6728", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407491521}
2014-08-08T10:52:15.16+0100 [DEA] OUT Starting app instance (index 0) with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae
2014-08-08T10:52:21.69+0100 [App/0] OUT \00\00\00\00[CONTAINER] org.apache.coyote.http11.Http11Protocol INFO Initializing ProtocolHandler ["http-bio-61338"]
2014-08-08T10:52:21.70+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.Catalina INFO Initialization processed in 926 ms
2014-08-08T10:52:21.71+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardService INFO Starting service Catalina
2014-08-08T10:52:21.71+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardEngine INFO Starting Servlet Engine: Apache Tomcat/7.0.55
2014-08-08T10:52:21.74+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deploying web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT
2014-08-08T10:52:28.02+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
2014-08-08T10:52:28.04+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
2014-08-08T10:52:28.10+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://www.springframework.org/tags is already defined
2014-08-08T10:52:28.10+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://www.springframework.org/tags/form is already defined
2014-08-08T10:52:28.28+0100 [App/0] OUT [CONTAINER] ing.AutoReconfigurationServletContainerInitializer INFO Initializing ServletContext with Auto-reconfiguration ApplicationContextInitializers
2014-08-08T10:52:28.28+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO No Spring WebApplicationInitializer types detected on classpath
2014-08-08T10:52:29.33+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Initializing Spring root WebApplicationContext
2014-08-08T10:52:29.71+0100 [App/0] OUT [CONTAINER] n.spring.CloudProfileApplicationContextInitializer INFO Adding 'cloud' to list of active profiles
2014-08-08T10:52:29.72+0100 [App/0] OUT [CONTAINER] g.CloudPropertySourceApplicationContextInitializer INFO Adding 'cloud' PropertySource to ApplicationContext
2014-08-08T10:52:29.83+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:52:29.84+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:52:30.07+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type javax.sql.DataSource
2014-08-08T10:52:30.07+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO No beans of type javax.sql.DataSource found. Skipping auto-reconfiguration.
2014-08-08T10:52:33.46+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:52:34.85+0100 [App/0] OUT Configuring Spring Security Core ...
2014-08-08T10:52:35.14+0100 [App/0] OUT ... finished configuring Spring Security Core
2014-08-08T10:52:35.84+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type javax.sql.DataSource
2014-08-08T10:52:35.87+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@5711cd2c
2014-08-08T10:52:35.87+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@5711cd2c
2014-08-08T10:52:35.87+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@5711cd2c
2014-08-08T10:52:35.88+0100 [App/0] OUT [CONTAINER] k.cloud.service.relational.PooledDataSourceCreator INFO Found Tomcat dbcp connection pool on the classpath. Using it for DataSource connection pooling.
2014-08-08T10:52:35.90+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@5711cd2c
2014-08-08T10:52:35.90+0100 [App/0] OUT [CONTAINER] ring.HibernateCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.hibernate3.AbstractSessionFactoryBean
2014-08-08T10:52:35.91+0100 [App/0] OUT [CONTAINER] ring.HibernateCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.hibernate4.LocalSessionFactoryBean
2014-08-08T10:52:35.92+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@5711cd2c
2014-08-08T10:52:35.93+0100 [App/0] OUT [CONTAINER] ion.spring.JpaCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
2014-08-08T10:52:37.68+0100 [App/0] OUT 2014-08-08 09:52:37,684 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:52:37.68+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.68+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.68+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.68+0100 [App/0] OUT 2014-08-08 09:52:37,688 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:52:37.68+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:52:37.68+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.68+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.68+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.68+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.69+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
2014-08-08T10:52:37.69+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.69+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:52:37.69+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:52:37.69+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:52:37.69+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:52:37.69+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:52:37.69+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.69+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.69+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.69+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.69+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:52:37.69+0100 [App/0] OUT ... 5 more
2014-08-08T10:52:37.69+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Error listenerStart
2014-08-08T10:52:37.70+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Context [] startup failed due to previous errors
2014-08-08T10:52:37.70+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Closing Spring root WebApplicationContext
2014-08-08T10:52:37.72+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:52:37.72+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.mariadb.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:52:37.74+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deployment of web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT has finished in 15,991 ms
2014-08-08T10:52:37.74+0100 [App/0] OUT [CONTAINER] pplicationStartupFailureDetectingLifecycleListener SEVERE Error: Application '/sample1-production-0.1' failed (state = STOPPED): see Tomcat's logs for details. Halting Tomcat.
2014-08-08T10:52:37.80+0100 [App/0] ERR \00\00\00\00
2014-08-08T10:52:37.86+0100 [DEA] ERR Instance (index 0) failed to start accepting connections
2014-08-08T10:52:37.87+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"2dfb9ea4-cf84-4fb9-b4e4-3ceb67772cfe", "instance"=>"373319b4942b4d5f8e9bcdeee65e05c9", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407491557}
2014-08-08T10:53:06.15+0100 [DEA] OUT Starting app instance (index 0) with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae
2014-08-08T10:53:12.00+0100 [App/0] OUT \00\00\00\00[CONTAINER] org.apache.coyote.http11.Http11Protocol INFO Initializing ProtocolHandler ["http-bio-61353"]
2014-08-08T10:53:12.01+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.Catalina INFO Initialization processed in 604 ms
2014-08-08T10:53:12.03+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardService INFO Starting service Catalina
2014-08-08T10:53:12.03+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardEngine INFO Starting Servlet Engine: Apache Tomcat/7.0.55
2014-08-08T10:53:12.05+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deploying web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT
2014-08-08T10:53:17.35+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
2014-08-08T10:53:17.37+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
2014-08-08T10:53:17.42+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://www.springframework.org/tags is already defined
2014-08-08T10:53:17.43+0100 [App/0] OUT [CONTAINER] org.apache.tomcat.util.digester.Digester INFO TLD skipped. URI: http://www.springframework.org/tags/form is already defined
2014-08-08T10:53:17.53+0100 [App/0] OUT [CONTAINER] ing.AutoReconfigurationServletContainerInitializer INFO Initializing ServletContext with Auto-reconfiguration ApplicationContextInitializers
2014-08-08T10:53:17.53+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO No Spring WebApplicationInitializer types detected on classpath
2014-08-08T10:53:18.47+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Initializing Spring root WebApplicationContext
2014-08-08T10:53:18.82+0100 [App/0] OUT [CONTAINER] n.spring.CloudProfileApplicationContextInitializer INFO Adding 'cloud' to list of active profiles
2014-08-08T10:53:18.83+0100 [App/0] OUT [CONTAINER] g.CloudPropertySourceApplicationContextInitializer INFO Adding 'cloud' PropertySource to ApplicationContext
2014-08-08T10:53:18.93+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:53:18.94+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:53:19.16+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type javax.sql.DataSource
2014-08-08T10:53:19.16+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO No beans of type javax.sql.DataSource found. Skipping auto-reconfiguration.
2014-08-08T10:53:21.85+0100 [App/0] OUT [CONTAINER] udAutoReconfigurationApplicationContextInitializer INFO Adding cloud service auto-reconfiguration to ApplicationContext
2014-08-08T10:53:23.49+0100 [App/0] OUT Configuring Spring Security Core ...
2014-08-08T10:53:23.70+0100 [App/0] OUT ... finished configuring Spring Security Core
2014-08-08T10:53:24.16+0100 [App/0] OUT [CONTAINER] ing.DataSourceCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type javax.sql.DataSource
2014-08-08T10:53:24.19+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@7335191b
2014-08-08T10:53:24.19+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@7335191b
2014-08-08T10:53:24.19+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@7335191b
2014-08-08T10:53:24.20+0100 [App/0] OUT [CONTAINER] k.cloud.service.relational.PooledDataSourceCreator INFO Found Tomcat dbcp connection pool on the classpath. Using it for DataSource connection pooling.
2014-08-08T10:53:24.22+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@7335191b
2014-08-08T10:53:24.22+0100 [App/0] OUT [CONTAINER] ring.HibernateCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.hibernate3.AbstractSessionFactoryBean
2014-08-08T10:53:24.23+0100 [App/0] OUT [CONTAINER] ring.HibernateCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.hibernate4.LocalSessionFactoryBean
2014-08-08T10:53:24.24+0100 [App/0] OUT [CONTAINER] ry.reconfiguration.org.springframework.cloud.Cloud INFO Trying connector creator type org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.MysqlDataSourceCreator@7335191b
2014-08-08T10:53:24.24+0100 [App/0] OUT [CONTAINER] ion.spring.JpaCloudServiceBeanFactoryPostProcessor INFO Auto-reconfiguring beans of type org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
2014-08-08T10:53:25.64+0100 [App/0] OUT 2014-08-08 09:53:25,642 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT 2014-08-08 09:53:25,645 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
2014-08-08T10:53:25.64+0100 [App/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:262)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-08-08T10:53:25.64+0100 [App/0] OUT at java.lang.Thread.run(Thread.java:745)
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
2014-08-08T10:53:25.64+0100 [App/0] OUT ... 5 more
2014-08-08T10:53:25.64+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Error listenerStart
2014-08-08T10:53:25.65+0100 [App/0] OUT [CONTAINER] org.apache.catalina.core.StandardContext SEVERE Context [] startup failed due to previous errors
2014-08-08T10:53:25.65+0100 [App/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO Closing Spring root WebApplicationContext
2014-08-08T10:53:25.68+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:53:25.68+0100 [App/0] OUT [CONTAINER] org.apache.catalina.loader.WebappClassLoader SEVERE The web application [] registered the JDBC driver [org.mariadb.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-08-08T10:53:25.68+0100 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deployment of web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT has finished in 13,635 ms
2014-08-08T10:53:25.68+0100 [App/0] OUT [CONTAINER] pplicationStartupFailureDetectingLifecycleListener SEVERE Error: Application '/sample1-production-0.1' failed (state = STOPPED): see Tomcat's logs for details. Halting Tomcat.
2014-08-08T10:53:25.81+0100 [DEA] ERR Instance (index 0) failed to start accepting connections
2014-08-08T10:53:25.82+0100 [API] OUT App instance exited with guid 23b826c6-8d40-47ed-a471-e21ffc09b7ae payload: {"cc_partition"=>"default", "droplet"=>"23b826c6-8d40-47ed-a471-e21ffc09b7ae", "version"=>"2dfb9ea4-cf84-4fb9-b4e4-3ceb67772cfe", "instance"=>"8ec022c6e722408ea6dd2f40864f862c", "index"=>0, "reason"=>"CRASHED", "exit_status"=>148, "exit_description"=>"app instance exited", "crash_timestamp"=>1407491605}
@kennethkalmer
Copy link

I'm experiencing the same issue, could you please point to somewhere else on the internet where this is referenced? SO question, IRC logs, mailing list archive?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment