Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在tomcat 5.5下部署grails应用程序时出错_Grails - Fatal编程技术网

在tomcat 5.5下部署grails应用程序时出错

在tomcat 5.5下部署grails应用程序时出错,grails,Grails,我有一个在1.3.7版本下开发的grails应用程序,当我使用grails命令“grails run app”运行时,它运行得非常好 我使用grails命令“grailswar”创建了war文件,并将其部署到本地机器上运行的tomcat5.5版本中。该应用程序未显示在url上 当我检查日志文件时,几乎没有INFO语句,后面是一个错误:“ErrorListenerStart”。下面是日志文件中的文本 Sep 20, 2011 1:57:44 PM org.apache.catalina.core

我有一个在1.3.7版本下开发的grails应用程序,当我使用grails命令“grails run app”运行时,它运行得非常好

我使用grails命令“grailswar”创建了war文件,并将其部署到本地机器上运行的tomcat5.5版本中。该应用程序未显示在url上

当我检查日志文件时,几乎没有INFO语句,后面是一个错误:“ErrorListenerStart”。下面是日志文件中的文本

Sep 20, 2011 1:57:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Sep 20, 2011 1:57:44 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Sep 20, 2011 1:57:44 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 20, 2011 1:57:44 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Sep 20, 2011 1:57:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 484 ms
Sep 20, 2011 1:57:44 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 20, 2011 1:57:44 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.33
Sep 20, 2011 1:57:44 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 20, 2011 1:57:45 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample-0.2.war
Sep 20, 2011 1:57:49 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
Sep 20, 2011 1:57:49 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Tue Sep 20 13:57:49 MDT 2011]; root of context hierarchy
Sep 20, 2011 1:57:49 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
Sep 20, 2011 1:57:49 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1cf662f: defining beans [grailsApplication,pluginManager,grailsConfigurator,grailsResourceLoader,grailsResourceHolder,characterEncodingFilter]; root of factory hierarchy
Sep 20, 2011 1:57:49 PM org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean afterPropertiesSet
INFO: Loading Grails application with information from descriptor.
Sep 20, 2011 1:57:49 PM org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean afterPropertiesSet
INFO: No reloading, using standard classloader.
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager findUserPlugins
INFO: Attempting to load [0] user defined plugins
Sep 20, 2011 1:57:50 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.3.1.GA
Sep 20, 2011 1:57:50 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
Sep 20, 2011 1:57:50 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : javassist
Sep 20, 2011 1:57:50 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [logging] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [i18n] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [core] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [filters] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [servlets] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [release] with version [1.0.0.M1] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [svn] with version [1.0.0.M1] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [dataSource] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [groovyPages] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [codecs] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [urlMappings] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [controllers] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [scaffolding] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [mimeTypes] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [domainClass] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [converters] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [hibernate] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [services] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:50 PM org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
INFO: Grails plug-in [validation] with version [1.3.7] loaded successfully
Sep 20, 2011 1:57:51 PM org.codehaus.groovy.grails.commons.TagLibArtefactHandler initialize
INFO: There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence.
Sep 20, 2011 1:57:51 PM org.codehaus.groovy.grails.commons.TagLibArtefactHandler initialize
INFO: There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence.
Sep 20, 2011 1:57:51 PM org.codehaus.groovy.grails.commons.TagLibArtefactHandler initialize
INFO: There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence.
Sep 20, 2011 1:57:51 PM org.codehaus.groovy.grails.commons.TagLibArtefactHandler initialize
INFO: There are conflicting tags: org.codehaus.groovy.grails.plugins.web.taglib.FormTagLib.g:out vs. org.codehaus.groovy.grails.plugins.web.taglib.RenderTagLib.g:out. The former will take precedence.
Sep 20, 2011 1:57:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 20, 2011 1:57:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sample-0.2] startup failed due to previous errors
Sep 20, 2011 1:57:55 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 20, 2011 1:57:55 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Sep 20, 2011 1:57:55 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Sep 20, 2011 1:57:55 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10438 ms
Sep 20, 2011 1:58:09 PM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 20, 2011 1:58:09 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Sep 20, 2011 1:58:10 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 20, 2011 1:58:10 PM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 20, 2011 1:58:10 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
2011年9月20日下午1:57:44 org.apache.catalina.core.AprLifecycleListener init
信息:加载了基于APR的ApacheTomcat本机库1.1.20。
2011年9月20日下午1:57:44 org.apache.catalina.core.AprLifecycleListener init
信息:APR功能:IPv6[真]、sendfile[真]、接受筛选器[假]、随机[真]。
2011年9月20日下午1:57:44 org.apache.coyote.http11.http11aprotocol init
信息:在HTTP-8080上初始化Coyote HTTP/1.1
2011年9月20日下午1:57:44 org.apache.coyote.ajp.AjpAprProtocol init
信息:在AJP-8009上初始化郊狼AJP/1.3
2011年9月20日下午1:57:44 org.apache.catalina.startup.catalina加载
信息:初始化处理时间为484毫秒
2011年9月20日下午1:57:44 org.apache.catalina.core.StandardService启动
信息:开始服务Catalina
2011年9月20日下午1:57:44 org.apache.catalina.core.StandardEngine启动
信息:启动Servlet引擎:ApacheTomcat/5.5.33
2011年9月20日下午1:57:44 org.apache.catalina.core.StandardHost启动
信息:已禁用XML验证
2011年9月20日下午1:57:45 org.apache.catalina.startup.HostConfig deployWAR
信息:部署web应用程序存档示例-0.2.war
2011年9月20日下午1:57:49 org.springframework.web.context.ContextLoader initWebApplicationContext
信息:根WebApplicationContext:初始化已开始
2011年9月20日下午1:57:49 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息:刷新根WebApplicationContext:启动日期[Tue Sep 20 13:57:49 MDT 2011];上下文层次结构的根
2011年9月20日下午1:57:49 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息:从ServletContext资源[/WEB-INF/applicationContext.XML]加载XMLBean定义
2011年9月20日下午1:57:49 org.springframework.beans.factory.support.DefaultListableBeanFactory预实例化单例
信息:在org.springframework.beans.factory.support中预实例化单例。DefaultListableBeanFactory@1cf662f:定义bean[grailsApplication、pluginManager、grailsConfigurator、grailsResourceLoader、grailsResourceHolder、characterEncodingFilter];工厂层次结构的根
2011年9月20日下午1:57:49 org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean AfterPropertieSet
信息:使用描述符中的信息加载Grails应用程序。
2011年9月20日下午1:57:49 org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean AfterPropertieSet
信息:没有重新加载,使用标准类加载器。
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager findUserPlugins
信息:正在尝试加载[0]个用户定义的插件
2011年9月20日下午1:57:50 org.hibernate.cfg.Environment
信息:Hibernate 3.3.1.GA
2011年9月20日下午1:57:50 org.hibernate.cfg.Environment
信息:找不到hibernate.properties
2011年9月20日下午1:57:50 org.hibernate.cfg.Environment buildBytecodeProvider
信息:字节码提供程序名称:javassist
2011年9月20日下午1:57:50 org.hibernate.cfg.Environment
信息:使用JDK1.4java.sql.Timestamp处理
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[logging]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[i18n]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[core]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[filters]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[servlets]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.0.0.M1]的Grails插件[release]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.0.0.M1]的Grails插件[svn]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[dataSource]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[GroovyPage]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[codecs]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[urlMappings]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[Controller]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[scaffolding]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager registerPlugin
信息:已成功加载版本为[1.3.7]的Grails插件[mimeTypes]
2011年9月20日下午1:57:50 org.codehaus.groovy.grails.plugins.DefaultGrailsPluginManager注册表