My app runs on my machine but not im tomcat this is my log :
Oct 12, 2012 2:48:23 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
Oct 12, 2012 2:48:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 12, 2012 2:48:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 12, 2012 2:48:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 904 ms
Oct 12, 2012 2:48:24 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 12, 2012 2:48:24 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.32
Oct 12, 2012 2:48:24 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /usr/local/fypTomcat/webapps/FYP.war
log4j:WARN No appenders could be found for logger (org.codehaus.groovy.grails.commons.cfg.ConfigurationHelper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Configuring Spring Security UI ...
... finished configuring Spring Security UI
Configuring Spring Security Core ...
... finished configuring Spring Security Core
Oct 12, 2012 2:49:15 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 12, 2012 2:49:15 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/FYP] startup failed due to previous errors
Oct 12, 2012 2:49:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/FYP] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Oct 12, 2012 2:49:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/FYP] appears to have started a thread named [net.sf.ehcache.CacheManager#16394576] but has failed to stop it. This is very likely to create a memory leak.
Oct 12, 2012 2:49:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/FYP] appears to have started a thread named [com.fyp.timeline.Role.data] but has failed to stop it. This is very likely to create a memory leak.
Oct 12, 2012 2:49:15 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/FYP] created a ThreadLocal with key of type [org.codehaus.groovy.reflection.ClassInfo.ThreadLocalMapHandler] (value [org.codehaus.groovy.reflection.ClassInfo$ThreadLocalMapHandler#746231ed]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference#5abbfa4c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Oct 12, 2012 2:49:15 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 12, 2012 2:49:15 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 12, 2012 2:49:15 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 51609 ms
101,1 Bot
Any Ideas what causes this?
This is a message from catalina.out file. Take a look at localhost.[date].log (e.g. localhost.2012-10-12.log). It should contain all details and stacktrace.
This may be the solution to your problem -
http://java.dzone.com/articles/tomcat-6-infamous-%E2%80%9Csevere
we had this error because of the log4j config. You need to change it to write to the tomcat log directory.
It seems it is now fixed in 2.1.4+ version of Grails. See http://grails.org/2.1.4%20Release%20Notes
Related
Problems running Apache Ranger 2.2 admin
I'm trying to run Apache Ranger 2.2 admin, but I get an error when entering the main page. At the same time, I checked version 2.1 on the same machine, it works without problems. I also tried the SNAPSHOT version, the same error as 2.2
When entering the page http://host:6080
HTTP Status 404 – Not Found
Do you have any ideas where to look, how to fix it?
Thanks!
Ubuntu 18
In the catalina.out logs
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer getKeyManagers
WARNING: Unable to read credential from credential store file [/opt/ranger/ranger-2.2.0-admin/ews/webapp/WEB-INF/classes/conf/.jceks/rangeradmin.jceks] for given alias:keyStoreCredentialAlias
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer getTrustManagers
WARNING: Config 'ranger.truststore.file' is not found or contains blank value!
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Deriving webapp folder from catalina.base property. folder=/opt/ranger/ranger-2.2.0-admin/ews/webapp
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Webapp file =/opt/ranger/ranger-2.2.0-admin/ews/webapp, webAppName = /
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Adding webapp [/] = path [/opt/ranger/ranger-2.2.0-admin/ews/webapp] .....
May 06, 2022 6:20:55 AM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Finished init of webapp [/] = path [/opt/ranger/ranger-2.2.0-admin/ews/webapp].
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer start
INFO: Name is empty. Setting Name Rule as 'DEFAULT'
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.EmbeddedServer startServer
INFO: Server Name : rangeradmin
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: Starting Solr Setup
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: AUTHENTICATION_TYPE : null
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: Solr Collection name provided is : ranger_audits
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: Solr Config name provided is : ranger_audits
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: No. of replicas provided is : 1
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: Max no of nodes per shards provided is : 1
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: Solr time interval provided is : 60000
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper <init>
INFO: Provided custom configSet location : null
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper run
INFO: Started run method
May 06, 2022 6:20:55 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper run
SEVERE: Solr ZKHosts for Audit are empty. Please set property ranger.audit.solr.zookeepers
May 06, 2022 6:20:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-6080"]
May 06, 2022 6:20:55 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
May 06, 2022 6:20:55 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 06, 2022 6:20:55 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/8.5.69]
May 06, 2022 6:20:55 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
May 06, 2022 6:21:00 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
May 06, 2022 6:21:00 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
May 06, 2022 6:21:00 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
May 06, 2022 6:21:02 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.apache.ranger.service.AuthSessionService]; nested exception is java.io.FileNotFoundException: class path resource [org/apache/ranger/service/AbstractBaseResourceService.class] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: class path resource [org/apache/ranger/service/AbstractBaseResourceService.class] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:187)
at org.springframework.core.type.classreading.SimpleMetadataReader.getClassReader(SimpleMetadataReader.java:55)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:81)
at org.springframework.context.annotation.ConfigurationClassParser.asSourceClass(ConfigurationClassParser.java:696)
at org.springframework.context.annotation.ConfigurationClassParser$SourceClass.getSuperClass(ConfigurationClassParser.java:1010)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:341)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
... 18 more
May 06, 2022 6:21:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
May 06, 2022 6:21:02 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
May 06, 2022 6:21:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
May 06, 2022 6:21:02 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
WARNING: The web application [ROOT] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 06, 2022 6:21:02 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
WARNING: The web application [ROOT] registered the JDBC driver [org.apache.solr.client.solrj.io.sql.DriverImpl] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 06, 2022 6:21:02 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-6080"]
When I set up my Jenkins master using the windows installer version and attempt to connect to a slave machine using "Launch Jenkins via Java webstart", I can connect the slave server to the master fine with no issues.
However, I'm now required to launch the jenkins Master using "java -jar jenkins.war" so I can see the GUI interface being tested in realtime, but I cannot seem to create a connection to the slave machine this way (when I try to access the url on the slave machine, it says it cannot be displayed).
Is it possible to connect with jenkins while it is being run as a java program? Or is there an alternative method I can use?
EDIT: Below is a copy of the console output when I start jenkins on the console.
C:\Program Files (x86)\Jenkins>java -jar jenkins.war
Running from: C:\Program Files (x86)\Jenkins\jenkins.war
webroot: $user.home/.jenkins
Oct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized #279ms
Oct 11, 2016 3:07:09 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
←[33mOct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
←[0mOct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Oct 11, 2016 3:07:10 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: C:\Users\user\.jenkins found at: $user.home/.jenkins
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.#1aac487{/,file:/C:/Users/user/.jenkins/war/,AVAILABLE}{C:\Us
ers\user\.jenkins\war}
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector#1154ccd{HTTP/1.1}{0.0.0.0:8080}
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started #1571ms
Oct 11, 2016 3:07:11 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Oct 11, 2016 3:07:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Oct 11, 2016 3:07:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Oct 11, 2016 3:07:14 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Oct 11, 2016 3:07:15 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1
error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.oper
ations.AbortAndRestartOperation$DescriptorImpl; skipping
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Oct 11, 2016 3:07:16 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Oct 11, 2016 3:07:16 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 4 ms
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text#150b22a: display name [Root WebApplicationContext]; startup date [Tue Oct 1
1 15:07:17 BST 2016]; root of context hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext#150b22a]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory#1b4a611
Oct 11, 2016 3:07:17 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory#1b4a611: defining beans [authenticationManager]; root
of factory hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text#10920bb: display name [Root WebApplicationContext]; startup date [Tue Oct 1
1 15:07:17 BST 2016]; root of context hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext#10920bb]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory#1403952
Oct 11, 2016 3:07:17 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory#1403952: defining beans [filter,legacy]; root of fact
ory hierarchy
Oct 11, 2016 3:07:17 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 56276
Oct 11, 2016 3:07:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Oct 11, 2016 3:07:17 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
When deploying a grails 2.1.1 war to tomcat7, I get the following errors:
Configuring Spring Security Core ...
... finished configuring Spring Security Core
Nov 19, 2012 9:17:08 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Nov 19, 2012 9:17:08 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/myapp] startup failed due to previous errors
Nov 19, 2012 9:18:28 AM org.apache.catalina.startup.HostConfig deleteRedeployResources
INFO: Undeploying context [/myapp]
What can be the problem?
I'm trying to learn the Struts2 framework.
I got the HelloWorld example form the site:
`www.vaannila.com/struts/struts-tutorial/struts-tutorial-using-eclipse-1.html
The highlighted code is shown as a warning:
<%#taglib uri="/struts-tags" prefix="s" %>
s:redirect forward="helloWorld"/>
Th warning is given below:
Multiple annotations found at this line:
- Unknown tag (bean:write).
- Unknown tag (bean:write).
I get the same warning in my index.jsp file for the code:
and when i run the tomcat, I get the following in my console. I know my tomcat is running but how do i rectify this?
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.AprLifecycleListener init
**INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32;**
**Jun 13, 2012 1:12:28 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:StrutsExample1' did not find a matching property.**
Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 1:12:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 735 ms
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 1:12:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2586 ms
<bean:write> is struts 1.x you have to use <s:property> in struts 2.x.
See s:property documentation
I have installed cloud foundry plugin on my grails project and I have successfully pushed my project once onto the cloud but when I tried to update my app using,
grails prod cf-update
command. When I did this, I get the following error:
ERROR - Application 'scheduleNew' failed to start, logs information below.
==== logs/stderr.log ====
Jan 23, 2012 2:45:02 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8963
Jan 23, 2012 2:45:02 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 378 ms
Jan 23, 2012 2:45:02 AM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Jan 23, 2012 2:45:02 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 23, 2012 2:45:02 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Jan 23, 2012 2:45:02 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jan 23, 2012 2:45:12 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 23, 2012 2:45:12 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Jan 23, 2012 2:45:12 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Jan 23, 2012 2:45:12 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [net.sf.ehcache.CacheManager#7e628e42] but has failed to stop it. This is very likely to create a memory leak.
Jan 23, 2012 2:45:12 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [org.example.SecRole.data] but has failed to stop it. This is very likely to create a memory leak.
Jan 23, 2012 2:45:12 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [org.hibernate.cache.UpdateTimestampsCache.data] but has failed to stop it. This is very likely to create a memory leak.
Jan 23, 2012 2:45:12 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [org.hibernate.cache.StandardQueryCache.data] but has failed to stop it. This is very likely to create a memory leak.
==== logs/stdout.log ====
Configuring Spring Security Core ...
... finished configuring Spring Security Core
Stopping Tomcat because the context stopped.
When I again run the same command (grails prod cf-update), the error message getting changed :
ERROR - Application 'scheduleNew' failed to start, logs information below.
==== logs/stderr.log ====
Jan 23, 2012 2:52:14 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-45003
Jan 23, 2012 2:52:14 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 379 ms
Jan 23, 2012 2:52:14 AM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Jan 23, 2012 2:52:14 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 23, 2012 2:52:14 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Jan 23, 2012 2:52:14 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
I really don't understand whats going on here.
What these error messages say? Where I have went wrong?
There are other log files. If you use the http://grails-plugins.github.com/grails-cloud-foundry/docs/manual/ref/Scripts/cf-list-files.html command you can get a directory listing. Run grails cf-list-files / to get a listing of the top-level directory (it'll contain a logs and a tomcat directory). The logs directory will probably just have the stderr and stdout files that you're already seeing, but there's another logs directory under the tomcat directory: grails cf-list-files /tomcat/logs. This should have other more informative log files. Also check if there's a stacktrace.log in the tomcat directory.
Once you've found a file you want to look at, use the http://grails-plugins.github.com/grails-cloud-foundry/docs/manual/ref/Scripts/cf-get-file.html command to view them, e.g.
grails cf-get-file /tomcat/stacktrace.log
grails cf-get-file /tomcat/logs/catalina.2012-01-24.log