Tomcat启动报错,启动日志如下,大佬们给个解决方案

23-Nov-2017 17:32:30.374 严重 [Catalina-startStop-1] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[www.hxh.com.cn].StandardContext[/Web]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
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: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[www.hxh.com.cn].StandardContext[/Web]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
... 6 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@294338bd]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4969)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5099)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 6 more
Caused by: java.lang.IllegalArgumentException: The main resource set specified [E:\Tomcat\Web] is not valid
at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:731)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:689)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 9 more

23-Nov-2017 17:32:30.377 严重 [main] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[www.hxh.com.cn]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:630)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[www.hxh.com.cn]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
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: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 6 more

23-Nov-2017 17:32:30.382 严重 [main] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.startup.Catalina.start(Catalina.java:630)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 11 more

23-Nov-2017 17:32:30.387 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-80"]
23-Nov-2017 17:32:30.390 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-apr-8009"]
23-Nov-2017 17:32:30.394 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8443"]
23-Nov-2017 17:32:30.398 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
23-Nov-2017 17:32:30.427 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-80"]
23-Nov-2017 17:32:30.433 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-apr-8009"]
23-Nov-2017 17:32:30.435 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8443"]
23-Nov-2017 17:32:30.441 严重 [main] org.apache.coyote.AbstractProtocol.destroy Failed to destroy end point associated with ProtocolHandler ["http-nio-8443"]
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315)
at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491)
at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:883)
at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551)
at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)
at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

2个回答

如果tomcat下面挂着项目,可以移除掉启动试试

tomcat logs目录下通常还会有一个localhost.yyyy-MM-dd.log的日志, 看一下那里有什么报错。

这个看上去像是tomcat本身的问题, 你的tomcat和java的版本分别是什么?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
tomcat服务启动报错日志
查看 catalina log文件 信息: Deploying web application archive D:\apache-tomcat-7.0.37\webapps\cas.war 三月 04, 2013 11:21:11 上午 org.apache.catalina.core.StandardContext startInternal 严重: Error filterStar
tomcat启动报错、tomcat日志报错
问题:            Cannot start server. Server instance is not configured. 解决:     1、如果之前配置过环境变量,则直接删掉tomcat文件,然后重新安装,不需要配置环境变量;        2、如果之前重新装tomcat的版本不一样,则需要重新配置环境变量;
tomcat启动报错及解决方案
打开tomcat的时候,在控制台报了这个错误:  log4j:WARN No appenders could be found for logger (org.springframework.web.conte xt.ContextLoader). log4j:WARN Please initialize the log4j system properly. java.lang.NullPoin...
tomcat 项目启动报错的解决方案
如果tomcat项目启动的时候报错,或者是启动不起来,那么目前我使用的解决方案是: 将工作空间的metedata文件删掉
大牛们,给个解决方案..
假如数据库有一张表,每天以100W的记录递增..有什么解决方案...
关于图像重建,大佬们给个思路
手里有一张以二进制形式储存的2048*1000的16位灰度图像,请问如何用c++重建图像?rn大佬给个思路也行,或者要看些什么,不是计算机专业的。rn需要把2进制数据转换成十进制再转换成图像吗?
跪求大侠们!tomcat启动报错
报错如下:rn[main:3921] - [ContextLoader.initWebApplicationContext(205)] Context initialization failedrn org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskHelper' defined in URL [file:/usr/apache-tomcat-6.0.37-1/webapps/jlxywms/WEB-INF/classes/serviceContext.xml]: Cannot resolve reference to bean 'dealErpDataManager' while setting constructor argument with index 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dealErpDataManager' defined in URL [file:/usr/apache-tomcat-6.0.37-1/webapps/jlxywms/WEB-INF/classes/serviceContext.xml]: Cannot create inner bean 'com.vtradex.wms.server.service.erp.pojo.DefaultDealErpDataManager#24ebf068' while setting bean property 'target'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.vtradex.wms.server.service.erp.pojo.DefaultDealErpDataManager#24ebf068' defined in URL [file:/usr/apache-tomcat-6.0.37-1/webapps/jlxywms/WEB-INF/classes/serviceContext.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.vtradex.wms.server.service.message.WmsMessageManager]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?rnCaused by: rnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dealErpDataManager' defined in URL [file:/usr/apache-tomcat-6.0.37-1/webapps/jlxywms/WEB-INF/classes/serviceContext.xml]: Cannot create inner bean 'com.vtradex.wms.server.service.erp.pojo.DefaultDealErpDataManager#24ebf068' while setting bean property 'target'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.vtradex.wms.server.service.erp.pojo.DefaultDealErpDataManager#24ebf068' defined in URL [file:/usr/apache-tomcat-6.0.37-1/webapps/jlxywms/WEB-INF/classes/serviceContext.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.vtradex.wms.server.service.message.WmsMessageManager]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?rnCaused by: rnorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.vtradex.wms.server.service.erp.pojo.DefaultDealErpDataManager#24ebf068' defined in URL [file:/usr/apache-tomcat-6.0.37-1/webapps/jlxywms/WEB-INF/classes/serviceContext.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [com.vtradex.wms.server.service.message.WmsMessageManager]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?rn at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:385)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:126)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:198)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)rn at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:324)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:97)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:238)rn at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:697)rn at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:521)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:345)rn at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)rn at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
关于Eclipsed的Tomcat启动报错的解决方案
错误:Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To ...
Tomcat启动报错,求各位大佬帮帮忙!
![图片说明](https://img-ask.csdn.net/upload/201710/13/1507869800_529046.png)
IDEA启动报错tomcat启动不了
Plugin supporting features (Artifact[exploded-war], Facet[javaeeApplication, web]) is currently disabled。 因为遇到了两次,所以记录下: C:\Users\administrator\.IntelliJIdea2017.3\config\disabled_plugins.txt,将这个txt...
tomcat 日志设置解决方案
tomcat 日志设置方案,个人写下来了,希望对同仁有所帮助
tomcat启动日志乱码
修改tomcat/conf/logging.properties文件中UTF-8为GBK java.util.logging.ConsoleHandler.encoding = GBK
tomcat启动没有日志??
信息如下::rnrnlog4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Ernmbedded).rnlog4j:WARN Please initialize the log4j system properly.rnrn怎么办!rn我只是加了几个包jar
Linux下的tomcat日志启动
1、启动Tomcat时像Windows启动并显示控制台日志信息(tomcat已经关闭的前提下) 进入tomcat的安装目录下 。 进入bin目录   cd bin。 通过运行./catalina.sh run启动。 就可以像windows中一样查看tomcat启动信息了。 按ctrl+c即可结束查看,即tomcat关闭。 2、tomcat已经启动的前提下,查看到类似windows上的to...
大佬们求个正则
字符串是类似“班级数-(46人至50人班级数+51人至55人班级数)”,其他的我在代码里加了点注释rn[code=csharp]rnvar formulas = Regex.Split(model.Formula, ValidationRule.FormulaRegex); //取出“班级数”,“46人至50人班级数”,“51人至55人班级数”组成的数组rnstring temp = model.Formula;rnforeach (var name in formulas)rnrn if (string.IsNullOrWhiteSpace(name))rn rn continue;rn rn ReportItem ri = model.ReportItems.SingleOrDefault(s => s.Name == name);rn if (ri == null)rn rn continue;rn rn temp = Regex.Replace(temp, $"\bname\b", ri.ShortName); //用另一个字符串替换当前的变量rn[/code]rnrn\b只能匹配单词的边界,中文边界匹配不了,求个正则匹配这种中文词语变量。。rn
tomcat启动日志中文乱码
当我们启动tomcat的startup.bat时出现中文乱码,如下图 我们想到是编码问题,UTF-8和GBK。 首先考虑的是tomcat的conf下的server.xml文件。 但是实验后没有成功。 这时候想到是问题出现在日志的配置上,找到conf下的logging.properties文件, 找到这一行 java.util.logging.ConsoleHandler.enc...
tomcat 启动日志乱码
打开tomcat/conf/目录下 修改logging.properties 找到 java.util.logging.ConsoleHandler.encoding = utf-8这行 更改为 java.util.logging.ConsoleHandler.encoding = GBK
Tomcat 启动慢的解决方案
Tomcat启动非常慢的原因: 29-Apr-2019 11:35:29.874 INFO [www.demo.com-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation...
tomcat 启动报错,日志不全如何检查
有的时候由于某个配置错误,导致tomcat启动失败,但是呢日志中又看不出来什么情况 ,折腾半天,可能发现是一个空格引起的血案 解决方法: 在classes目录下面新建log4j.properties,内容如下: [code="xml"] log4j.rootLogger=info,Console,R log4j.appender.Console=org.apache.lo...
启动cyrusd 日志如下,不能启动
Jan 11 10:41:02 192 master[31664]: setrlimit: Unable to set file descriptors limit to -1: Operation not permittedrnJan 11 10:41:02 192 master[31664]: retrying with 1024 (current max)rnJan 11 10:41:02 192 master[31664]: process startedrnJan 11 10:41:02 192 master[31665]: about to exec /usr/cyrus/bin/ctl_cyrusdbrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: recovering cyrus databasesrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR db4: : No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR db4: /var/imap/db/__db.001: No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR db4: : No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR db4: /var/imap/db/__db.001: No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR: dbenv->open '/var/imap/db' failed: No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR: init /var/imap/db: cyrusdb errorrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR db4: environment not yet openedrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR: opening /var/imap/mailboxes.db: Invalid argumentrnJan 11 10:41:02 192 ctl_cyrusdb[31665]: DBERROR: opening /var/imap/mailboxes.db: cyrusdb errorrnJan 11 10:41:02 192 master[31664]: process 31665 exited, status 75 rnJan 11 10:41:02 192 master[31664]: unable to bind socket for service lmtpunix: No such file or directoryrnJan 11 10:41:02 192 master[31664]: ready for workrnJan 11 10:41:02 192 master[31666]: about to exec /usr/cyrus/bin/ctl_cyrusdbrnJan 11 10:41:02 192 ctl_cyrusdb[31666]: checkpointing cyrus databasesrnJan 11 10:41:02 192 ctl_cyrusdb[31666]: DBERROR db4: /var/imap/db/__db.001: No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31666]: DBERROR: dbenv->open '/var/imap/db' failed: No such file or directoryrnJan 11 10:41:02 192 ctl_cyrusdb[31666]: DBERROR: init /var/imap/db: cyrusdb errorrnJan 11 10:41:02 192 ctl_cyrusdb[31666]: done checkpointing cyrus databasesrnJan 11 10:41:02 192 master[31664]: process 31666 exited, status 1rnJan 11 10:41:14 192 master[31664]: exiting on SIGTERM/SIGINT
tomcat启动报错
tomcat启动报错,启动超时,找不到类文件四渡赤水打成不是的
Tomcat启动报错
出现本错误java.lang.UnsatisfiedLinkError: E:\Program Files\MyEclipse10\apache-tomcat-7.0.23\bin\tcnative-1.dll: Can't load IA 32-bit.dll on a AMD 64-bit platform 这句话意思是Tomcat的tcnative-1.dll文件是32位的不能在6
tomcat启动报错。
Dispatcher initialization failed。rn严重: Exception starting filter struts2rn严重: Error filterStartrn严重: Context [/S2SH2] startup failed due to previous errorsrn严重: Exception starting filter struts2rn严重: Error filterStartrn严重: Context [/wxy] startup failed due to previous errors。[img=https://img-bbs.csdn.net/upload/201506/15/1434351048_532088.jpg][/img] 这是项目中导入的包。rnweb.xml配置文件。rnrnrn rn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rnrn rn contextConfigLocationrn classpath*:applicationContext.xmlrn rn rn rn login.jsprn rn rn struts2rn rn org.apache.struts2.dispatcher.FilterDispatcherrn rn rn rn struts2rn *.actionrn rn rn
Tomcat启动报错,大神们帮看看
Exception thrown from LifecycleProcessor on context closernjava.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Wed May 03 15:31:13 CST 2017]; root of context hierarchyrn at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)rn at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057)rn at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)rn at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559)rn at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)rn at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5115)rn at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5779)rn at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)rnrn--------------------------------------------------------------------------------------------------------------------------------------rncom.mchange.v2.c3p0.impl.NewPooledConnection@531d49 closed by a client.rnjava.lang.Exception: DEBUG -- CLOSE BY CLIENT STACK TRACErn at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:566)rn at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:234)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)rn at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)rn at com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:989)rn at com.mchange.v2.resourcepool.BasicResourcePool.access$100(BasicResourcePool.java:32)rn at com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:1174)rnSuccessfully destroyed PooledConnection: com.mchange.v2.c3p0.impl.NewPooledConnection@531d49rnSuccessfully destroyed resource: com.mchange.v2.c3p0.impl.NewPooledConnection@531d49rn--------------------------------------------------------------------------------------------------------------------------------------rncom.mchange.v2.c3p0.ComboPooledDataSource@1d910c6 has been closed. rnjava.lang.Exception: DEBUG STACK TRACE for PoolBackedDataSource.close().rn at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.close(AbstractPoolBackedDataSource.java:417)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:327)rn at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:510)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:486)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:742)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:455)rn at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)rn at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064)rn at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)rn at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559)rn at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)rn at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5115)rn at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5779)rn at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)rnInvoking destroy() on bean with name 'scheduler'rnShutting down Quartz SchedulerrnScheduler scheduler_$_NON_CLUSTERED shutting down.rnScheduler scheduler_$_NON_CLUSTERED paused.rnPreparing to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1d64902rnPreparing to destroy PooledConnection: com.mchange.v2.c3p0.impl.NewPooledConnection@1d64902rnScheduler scheduler_$_NON_CLUSTERED shutdown complete.rncom.mchange.v2.c3p0.impl.NewPooledConnection@1d64902 closed by a client.rnrn----------------------------------------------------------------------------------------------------------rnjava.lang.Exception: DEBUG -- CLOSE BY CLIENT STACK TRACErn at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:566)rn at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:234)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)rn at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)rn at com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:989)rn at com.mchange.v2.resourcepool.BasicResourcePool.access$100(BasicResourcePool.java:32)rn at com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:1174)rnSuccessfully destroyed PooledConnection: com.mchange.v2.c3p0.impl.NewPooledConnection@1d64902rnSuccessfully destroyed resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1d64902rnPreparing to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@11376bdrnPreparing to destroy PooledConnection: com.mchange.v2.c3p0.impl.NewPooledConnection@11376bdrncom.mchange.v2.c3p0.impl.NewPooledConnection@11376bd closed by a client.
tomcat启动报错,大神们帮忙分析分析
严重: Error configuring application listener of class org.springframework.web.context.request.RequestContextListenernjava.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListenern at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)n at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)n at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)n at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)n at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)n at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5034)n at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)n at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)n at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)n at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)n at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)n at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)n at java.util.concurrent.FutureTask.run(FutureTask.java:262)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)n at java.lang.Thread.run(Thread.java:745)
tomcat 启动报错
首先是严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:80rn我将server.xml文件中的port :80改成 8080就没了这个提示rn然后还有两个严重:rn严重: Error listenerStart rn2009-9-8 17:20:54 org.apache.catalina.core.StandardContext start rn严重: Context [] startup failed due to previous errors rn2009-9-8 17:20:56 org.apache.catalina.core.ApplicationContext logrn我这里跟网上的答案不同的是[]里面为空rn请问后两个报错是什么具体信息,报的是什么错误,怎么解决。顺便说明一下原理好吗?rn
TOMCAT启动报错
2008-11-7 13:46:58 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8888rn2008-11-7 13:46:58 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2672 msrn2008-11-7 13:46:59 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2008-11-7 13:46:59 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.9rn2008-11-7 13:46:59 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2008-11-7 13:47:01 org.apache.catalina.core.ApplicationContext logrn信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]rn2008-11-7 13:47:02 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2008-11-7 13:47:02 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2008-11-7 13:47:03 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2008-11-7 13:47:03 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2008-11-7 13:47:03 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(C:\Program Files\Java\jakarta-tomcat-5.5.9\webapps\aa\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn[Server@1f217ec]: [Thread[main,5,main]]: checkRunning(false) enteredrn[Server@1f217ec]: [Thread[main,5,main]]: checkRunning(false) exitedrn[Server@1f217ec]: [Thread[main,5,main]]: setPort(9001)rn[Server@1f217ec]: [Thread[main,5,main]]: checkRunning(false) enteredrn[Server@1f217ec]: [Thread[main,5,main]]: checkRunning(false) exitedrn[Server@1f217ec]: [Thread[main,5,main]]: setDatabaseName(0,dlog4j)rn[Server@1f217ec]: [Thread[main,5,main]]: checkRunning(false) enteredrn[Server@1f217ec]: [Thread[main,5,main]]: checkRunning(false) exitedrn[Server@1f217ec]: [Thread[main,5,main]]: setDatabasePath(0,C:\Program Files\Java\jakarta-tomcat-5.5.9\webapps\aa\WEB-INF\db\dlog4j)rn[Server@1f217ec]: [Thread[main,5,main]]: setSilent(true)rn[Server@1f217ec]: Initiating startup sequence...rn[Server@1f217ec]: [Thread[HSQLDB Server @1f217ec,5,main]]: run()/openServerSocket(): rnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at java.net.ServerSocket.(ServerSocket.java:97)rn at org.hsqldb.HsqlSocketFactory.createServerSocket(Unknown Source)rn at org.hsqldb.Server.openServerSocket(Unknown Source)rn at org.hsqldb.Server.run(Unknown Source)rn at org.hsqldb.Server.access$000(Unknown Source)rn at org.hsqldb.Server$ServerThread.run(Unknown Source)rn[Server@1f217ec]: Initiating shutdown sequence...rn[Server@1f217ec]: Shutdown sequence completed in 110 ms.rn[Server@1f217ec]: 2008-11-07 13:47:05.296 SHUTDOWN : System.exit() was not called
相关热词 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法 c# gmail 发邮件 c# 多层文件