Skip to content

Instantly share code, notes, and snippets.

@brylie
Created October 7, 2014 10:54
Show Gist options
  • Save brylie/c46a95f2655b7cf4af1a to your computer and use it in GitHub Desktop.
Save brylie/c46a95f2655b7cf4af1a to your computer and use it in GitHub Desktop.
Output from launching Repose UI
Packaging Grails application.....
2014-10-07 03:49:46,285 [main] INFO webxml.WebxmlGrailsPlugin - Loading default config file: class DefaultWebXmlConfig
2014-10-07 03:49:46,332 [main] WARN webxml.WebxmlGrailsPlugin - Did not find application config file: WebXmlConfig
2014-10-07 03:49:46,889 [main] INFO webxml.WebxmlGrailsPlugin - Loading default config file: class DefaultWebXmlConfig
2014-10-07 03:49:46,895 [main] WARN webxml.WebxmlGrailsPlugin - Did not find application config file: WebXmlConfig
| Done creating WAR target/repose-0.1.war
| Running Grails application
| Enabling Tomcat NIO Connector
Exception fixing docBase for context [/repose]
java.io.IOException: Application base [{1}] for host [/home/brylie/repose-ui/tomcat.8080/webapps] does not exist or is not a directory. deployOnStartUp and autoDeploy have been set to false to prevent deployment errors. Other errors may still occur.
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:85)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:722)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:850)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
| Error SLF4J: Class path contains multiple SLF4J bindings.
| Error SLF4J: Found binding in [jar:file:/home/brylie/.gvm/grails/2.4.3/dist/grails-plugin-log4j-2.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: Found binding in [jar:file:/home/brylie/repose-ui/tomcat.8080/work/Tomcat/localhost/repose/WEB-INF/lib/grails-plugin-log4j-2.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
| Error SLF4J: Actual binding is of type [org.slf4j.impl.GrailsSlf4jLoggerFactory]
2014-10-07 03:50:21,963 [localhost-startStop-1] INFO cache.CacheBeanPostProcessor - postProcessBeanDefinitionRegistry start
2014-10-07 03:50:21,978 [localhost-startStop-1] INFO cache.CacheBeanPostProcessor - postProcessBeanFactory
2014-10-07 03:50:24,787 [localhost-startStop-1] INFO scaffolding.AbstractGrailsTemplateGenerator - Scaffolding template generator set to use resource loader [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1e69af8d: startup date [Tue Oct 07 03:50:21 PDT 2014]; parent: Root WebApplicationContext]
2014-10-07 03:50:26,318 [localhost-startStop-1] ERROR atmosphere_meteor.AtmosphereMeteorGrailsPlugin - The atmosphere-meteor plugin requires in your BuildConfig.groovy: grails.tomcat.nio = true
********************************************************************
* The atmosphere-meteor plugin requires the following settings in *
* your grails-app/conf/BuildConfig.groovy: *
* grails.tomcat.nio = true *
********************************************************************
2014-10-07 03:50:28,259 [localhost-startStop-1] INFO databasemigration.MigrationRunner - updateOnStart disabled for dataSource; not running migrations
2014-10-07 03:50:28,388 [localhost-startStop-1] INFO context.GrailsConfigUtils - [GrailsContextLoader] Grails application loaded.
2014-10-07 03:50:28,419 [localhost-startStop-1] INFO conf.AtmosphereMeteorBootStrap - Initializing atmosphereMeteor bean ....
2014-10-07 03:50:28,486 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener - Error initializing the application: Repose configuration directory either does not exist, is not readable or is not writable.
sun.net.www.ApplicationLaunchException: Repose configuration directory either does not exist, is not readable or is not writable.
at BootStrap.validateReposeConfigDir(BootStrap.groovy:21)
at BootStrap$_closure1.doCall(BootStrap.groovy:10)
at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
at grails.util.Environment.executeForEnvironment(Environment.java:320)
at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2014-10-07 03:50:28,490 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener - Error initializing Grails: Repose configuration directory either does not exist, is not readable or is not writable.
sun.net.www.ApplicationLaunchException: Repose configuration directory either does not exist, is not readable or is not writable.
at BootStrap.validateReposeConfigDir(BootStrap.groovy:21)
at BootStrap$_closure1.doCall(BootStrap.groovy:10)
at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
at grails.util.Environment.executeForEnvironment(Environment.java:320)
at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is sun.net.www.ApplicationLaunchException: Repose configuration directory either does not exist, is not readable or is not writable.
at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:126)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: sun.net.www.ApplicationLaunchException: Repose configuration directory either does not exist, is not readable or is not writable.
at BootStrap.validateReposeConfigDir(BootStrap.groovy:21)
at BootStrap$_closure1.doCall(BootStrap.groovy:10)
at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
at grails.util.Environment.executeForEnvironment(Environment.java:320)
at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
... 4 more
Error listenerStart
Context [/repose] startup failed due to previous errors
2014-10-07 03:50:28,509 [localhost-startStop-1] WARN lifecycle.ShutdownOperations - Error occurred running shutdown operation: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2014-10-07 03:50:28,510 [localhost-startStop-1] INFO context.GrailsContextLoaderListener - Destroying Spring parent WebApplicationContext Root WebApplicationContext
The web application [/repose] 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.
The web application [/repose] appears to have started a thread named [PoolCleaner[1606621259:1412679022063]] but has failed to stop it. This is very likely to create a memory leak.
The web application [/repose] appears to have started a thread named [cluster-1-localhost:27017] but has failed to stop it. This is very likely to create a memory leak.
The web application [/repose] appears to have started a thread named [MongoCleaner694571976] but has failed to stop it. This is very likely to create a memory leak.
The web application [/repose] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
| Server running. Browse to http://localhost:8080/repose
| Server running. Browse to http://localhost:8080/repose
| Error Exception in thread "Timer-0"
| Error java.lang.NoClassDefFoundError: org/codehaus/groovy/grails/web/servlet/mvc/GrailsWebRequest$DefaultEncodingStateRegistryLookup
| Error at org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest.<clinit>(GrailsWebRequest.java:460)
| Error at org.codehaus.groovy.grails.web.context.WebRequestServletHolder.lookupSecondary(WebRequestServletHolder.java:36)
| Error at org.codehaus.groovy.grails.web.context.WebRequestServletHolder.lookupSecondary(WebRequestServletHolder.java:28)
| Error at grails.util.Holder.get(Holder.java:46)
| Error at grails.util.Holders.get(Holders.java:199)
| Error at grails.util.Holders.get(Holders.java:195)
| Error at grails.util.Holders.getServletContext(Holders.java:84)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:606)
| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
| Error at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1844)
| Error at groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1140)
| Error at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3690)
| Error at groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1152)
| Error at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
| Error at AtmosphereMeteorBootStrap$1.run(AtmosphereMeteorBootStrap.groovy:31)
| Error at java.util.TimerThread.mainLoop(Timer.java:555)
| Error at java.util.TimerThread.run(Timer.java:505)
| Error Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest$DefaultEncodingStateRegistryLookup
| Error at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
| Error at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
| Error ... 22 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment