停止tomcat时,出现以下错误。 5C
 11-Nov-2017 08:52:40.285 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] has started
11-Nov-2017 08:52:40.364 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
11-Nov-2017 08:52:40.364 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.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.
11-Nov-2017 08:52:40.364 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.ref.ReferenceQueue.remove(Unknown Source)
 com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
11-Nov-2017 08:52:40.379 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [IdleConnectionMonitorThread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 me.chanjar.weixin.common.util.http.apache.DefaultApacheHttpClientBuilder$IdleConnectionMonitorThread.run(DefaultApacheHttpClientBuilder.java:312)
11-Nov-2017 08:52:40.379 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
 java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:40.395 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Thread-10] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 me.chanjar.weixin.common.api.WxMessageInMemoryDuplicateChecker$1.run(WxMessageInMemoryDuplicateChecker.java:67)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:40.395 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
 java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:40.411 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
 java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:40.411 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
 java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:40.426 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-5] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
 java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:40.442 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-6] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
 java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
11-Nov-2017 08:52:53.813 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] is completed
11-Nov-2017 08:59:31.435 信息 [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
11-Nov-2017 08:59:31.435 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
11-Nov-2017 08:59:31.544 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
11-Nov-2017 08:59:31.638 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
11-Nov-2017 08:59:31.700 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
11-Nov-2017 08:59:31.700 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.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.
11-Nov-2017 08:59:31.716 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.ref.ReferenceQueue.remove(Unknown Source)
 com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
11-Nov-2017 08:59:31.716 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [IdleConnectionMonitorThread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 me.chanjar.weixin.common.util.http.apache.DefaultApacheHttpClientBuilder$IdleConnectionMonitorThread.run(DefaultApacheHttpClientBuilder.java:312)

4个回答

看上去是爆内存?试试加大一点tomcat的内存

内存溢出一种方法是重写了org.apache.commons.dbcp.BasicDataSource 的 close()方法:或者设置参数PermGen space 永久代也称为方法区,这部分内存一般不回收,可以通过参数调大-XX:PermSize=97m -XX:MaxPermSize=256m,Java8已经删除这一内存区域,改为Metaspace,就是为了解决不好管理PermGen space大小的问题。

设置方法如下:
1、应该点击server的配置
2.点击 open launch configuration
3、在弹出的框中vm arguments 内添加 -Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m试试看

11-Nov-2017 08:52:40.395 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Thread-10] but has failed to stop it. This is very likely to crexianrate a memory leak. Stack trace of thread: 显然就是Tomcat内存溢出,处理的数据量溢出,JVM中的Heap区遇到大的对象,无法GC()

改下tomcat配置
-Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
TOMCAT停止时的错误
2010-10-19 11:22:54 org.apache.coyote.http11.Http11Protocol pausernINFO: Pausing Coyote HTTP/1.1 on http-8686rn2010-10-19 11:22:55 org.apache.catalina.core.StandardService stoprnINFO: Stopping service Catalinarn[color=#FF0000]2010-10-19 11:22:55 org.apache.catalina.core.StandardWrapper unloadrnINFO: Waiting for 17 instance(s) to be deallocatedrn2010-10-19 11:22:56 org.apache.catalina.core.StandardWrapper unloadrnINFO: Waiting for 17 instance(s) to be deallocatedrn2010-10-19 11:22:57 org.apache.catalina.core.StandardWrapper unloadrnINFO: Waiting for 17 instance(s) to be deallocated[/color]rnrn其实17这个值有所变化~当然我初步认为是在获取数据库连接上的问题rn但是因为之前的日志没有异常rn而且在使用一段时间后就会宕机,tomcat日志没有别的错误,然后停止服务器的时候就会出现红色字体的错误~rn至于宕机的原因我还是倾向于此错误造成的。不过暂时不清楚如何解决~
停止tomcat时,出现的错误信息
[code=java]11-Nov-2017 08:52:40.285 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] has startedrn11-Nov-2017 08:52:40.364 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn11-Nov-2017 08:52:40.364 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.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.rn11-Nov-2017 08:52:40.364 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn java.lang.Object.wait(Native Method)rn java.lang.ref.ReferenceQueue.remove(Unknown Source)rn com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)rn11-Nov-2017 08:52:40.379 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [IdleConnectionMonitorThread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn java.lang.Object.wait(Native Method)rn me.chanjar.weixin.common.util.http.apache.DefaultApacheHttpClientBuilder$IdleConnectionMonitorThread.run(DefaultApacheHttpClientBuilder.java:312)rn11-Nov-2017 08:52:40.379 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn sun.misc.Unsafe.park(Native Method)rn java.util.concurrent.locks.LockSupport.park(Unknown Source)rn java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)rn java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:40.395 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Thread-10] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn java.lang.Thread.sleep(Native Method)rn me.chanjar.weixin.common.api.WxMessageInMemoryDuplicateChecker$1.run(WxMessageInMemoryDuplicateChecker.java:67)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:40.395 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn sun.misc.Unsafe.park(Native Method)rn java.util.concurrent.locks.LockSupport.park(Unknown Source)rn java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)rn java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:40.411 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn sun.misc.Unsafe.park(Native Method)rn java.util.concurrent.locks.LockSupport.park(Unknown Source)rn java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)rn java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:40.411 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn sun.misc.Unsafe.park(Native Method)rn java.util.concurrent.locks.LockSupport.park(Unknown Source)rn java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)rn java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:40.426 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-5] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn sun.misc.Unsafe.park(Native Method)rn java.util.concurrent.locks.LockSupport.park(Unknown Source)rn java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)rn java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:40.442 警告 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [pool-1-thread-6] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn sun.misc.Unsafe.park(Native Method)rn java.util.concurrent.locks.LockSupport.park(Unknown Source)rn java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)rn java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn java.lang.Thread.run(Unknown Source)rn11-Nov-2017 08:52:53.813 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload Reloading Context with name [] is completedrn11-Nov-2017 08:59:31.435 信息 [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.rn11-Nov-2017 08:59:31.435 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]rn11-Nov-2017 08:59:31.544 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]rn11-Nov-2017 08:59:31.638 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]rn11-Nov-2017 08:59:31.700 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn11-Nov-2017 08:59:31.700 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.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.rn11-Nov-2017 08:59:31.716 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn java.lang.Object.wait(Native Method)rn java.lang.ref.ReferenceQueue.remove(Unknown Source)rn com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)rn11-Nov-2017 08:59:31.716 警告 [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [IdleConnectionMonitorThread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:rn java.lang.Object.wait(Native Method)rn me.chanjar.weixin.common.util.http.apache.DefaultApacheHttpClientBuilder$IdleConnectionMonitorThread.run(DefaultApacheHttpClientBuilder.java:312)[/code]
停止Tomcat时出现的错误,各位高手帮帮吧
严重: Error listenerStartrn2011-7-8 11:59:19 org.apache.catalina.core.StandardContext startrn严重: Context [/MyProject] startup failed due to previous errorsrn2011-7-8 11:59:19 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: The web application [/MyProject] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/MyProject] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.rn2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/MyProject] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.rn2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/MyProject] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.rn2011-7-8 11:59:19 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/MyProject] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
tomcat发布时出现错误
2013-05-14 09:20:04 Loading XML bean definitions from file [D:\tomcat\apache-tomcat-6.0.33\webapps\Crm1\WEB-INF\classes\applicationContext-user-biz.xml]rn2013-05-14 09:20:04 Context initialization failedrnorg.springframework.beans.factory.BeanDefinitionStoreException: Line 4 in XML document from file [D:\tomcat\apache-tomcat-6.0.33\webapps\Crm1\WEB-INF\classes\applicationContext-user-biz.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".rnorg.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".这是什么错误!!下面是spring和hibernate整合一起的配置文件rnrnrnrn rn rn rn rn rn rn rn
tomcat一起动就出现以下错误?
debug:rnJdbcOdbcDriver.finalize() line: 96 [local variables unavailable]rnrn 严重: End event threw exceptionrnjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:930)rn at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:794)rn at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)rn at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)rn at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4236)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn
Eclipse下的derby数据库,启动tomcat时出现以下错误。
严重: StandardWrapper.Throwablernorg.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.apache.derby.jdbc.ClientDriver'rnrnCaused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.apache.derby.jdbc.ClientDriver'rnrnCaused by: java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriverrnrn严重: Servlet /mms threw load() exceptionrnjava.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriverrnrn希望知道的人给详细解答一下。本人是新手。刚接触derby数据库不知道配置的是否正确,。
在eclipse中启动tomcat时,出现以下错误
在eclipse中启动tomcat时,出现以下错误。不要慌 [code="java"]Unable to load configuration. - bean - jar:file:/E:/Users/lvgl/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Lyglxt/WEB-INF/lib/struts2-cor...
Myeclipse 运行tomcat时出现 以下提示
2012-9-15 18:10:00 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.22.rn2012-9-15 18:10:00 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].rn2012-9-15 18:10:01 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2012-9-15 18:10:01 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2012-9-15 18:10:01 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 689 msrn2012-9-15 18:10:01 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2012-9-15 18:10:01 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.35rn2012-9-15 18:10:01 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2012-9-15 18:10:01 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2012-9-15 18:10:01 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2012-9-15 18:10:01 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2012-9-15 18:10:01 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2012-9-15 18:10:01 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2012-9-15 18:10:01 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2012-9-15 18:10:01 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory Webrn2012-9-15 18:10:01 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-9-15 18:10:01 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2012-9-15 18:10:01 org.apache.catalina.startup.Catalina startrn信息: Server startup in 570 msrn
spring+mybatis启动junit单元测试时出现以下错误,
错误:norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0' defined in file [D:\yirendai-group\yirendai\p2pservice\target\classes\applicationContext.xml]: Cannot resolve reference to bean 'zookeeperSources' while setting bean property 'propertySources'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zookeeperSources' defined in file [D:\yirendai-group\yirendai\p2pservice\target\classes\applicationContext.xml]: Cannot resolve reference to bean 'zkConfigFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zkConfigFactory' defined in file [D:\yirendai-group\yirendai\p2pservice\target\classes\applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.dangdang.config.service.easyzk.ConfigFactory]: Constructor threw exception; nested exception is com.dangdang.config.service.easyzk.ConfigException: 系统中没有配置参数中心访问地址环境变量YRD.CONFIG.URLn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)n at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)n at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)n at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)n at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)n at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)n at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:649)n at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)n at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:161)n at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:61)n at com.creditease.p2pservice.moble.lend.TrustApiServiceTest1.testGetTrustApplyAuditTempByApplyId(TrustApiServiceTest1.java:34)n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)n at java.lang.reflect.Method.invoke(Method.java:601)n at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)n at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)n at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)n at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)n at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)n at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)n at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)n at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)n at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)n at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)n at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)n at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)n at org.junit.runners.ParentRunner.run(ParentRunner.java:300)n at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)n at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)n at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)n at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)n at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)n at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zookeeperSources' defined in file [D:\yirendai-group\yirendai\p2pservice\target\classes\applicationContext.xml]: Cannot resolve reference to bean 'zkConfigFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zkConfigFactory' defined in file [D:\yirendai-group\yirendai\p2pservice\target\classes\applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.dangdang.config.service.easyzk.ConfigFactory]: Constructor threw exception; nested exception is com.dangdang.config.service.easyzk.ConfigException: 系统中没有配置参数中心访问地址环境变量YRD.CONFIG.URLn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)n at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)n at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)n at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:441)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)n at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)n at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)n at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)n at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)n at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)n ... 37 morenCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zkConfigFactory' defined in file [D:\yirendai-group\yirendai\p2pservice\target\classes\applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.dangdang.config.service.easyzk.ConfigFactory]: Constructor threw exception; nested exception is com.dangdang.config.service.easyzk.ConfigException: 系统中没有配置参数中心访问地址环境变量YRD.CONFIG.URLn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)n at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)n at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)n at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)n at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)n at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)n ... 49 morennn单元测试代码:n@Testn public void testGetTrustApplyAuditTempByApplyId()n n ApplicationContext context = new ClassPathXmlApplicationContext(n new String[] "classpath*:/applicationContext*.xml" );n TrustApplyAuditTempDao trustApplyAuditTempDao = (TrustApplyAuditTempDao) context.getBean("trustApplyAuditTempDao");n n Long applyId = 9532525l;n n TrustApplyAuditTemp taat = trustApplyAuditTempDao.getTrustApplyAuditTempByApplyId(applyId);n n System.out.println(taat);n n
新建.net站点时出现以下错误
运行时错误 rn说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。 rnrn详细信息: 若要使他人能够在远程计算机上查看此特定错误信息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 标记。然后应将此 标记的“mode”属性设置为“Off”。rnrnrnrnrnrn rn rn rnrn rnrn注释: 通过修改应用程序的 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。rnrnrnrnrnrn rn rn rnrn rn
编译驱动时一直出现以下错误
echo " ERROR: Kernel configuration is invalid."; \rnecho " include/linux/autoconf.h or include/config/auto.conf are missing."; \rnecho " Run 'make oldconfig && make prepare' on kernel src to fix itrnrnmake oldconfig make prepare后仍无济于事rn一直make就一直这样,是源码包出问题了吗?rn
执行程序时出现以下错误的原因是什么??
配置错误 rn说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 rnrn分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。rnrn源错误: rnrnrn行 44: 它为成员站点提供单独登录和核心配置文件服务。rn行 45: -->rn行 46: rn行 47: rn行 48:
删除Replication时出现以下错误
SQL Server Enterprise Manager could not retrieve the subscriptions to publication'masterdata'rnrnError 2812 :could not find stored procedure''rnrn还有数据库中删的选择都disable了,到底怎么回事? distribution数据库同样无法删除,提示:rnbe in replicationrnrn我想删除自己建立的snapshot replication,在同一台server上使用push replication的方法,请大家帮忙!
在使用SMTP发信时出现以下错误
我在测试往我的hotmail.com的信箱发信时出现以下错误(asp.net,用IIS自带的stmp服务器)rn:rnrn由于原因 An internal DNS error caused a failure to find the remote server.rn,向远程域 'hotmail.com' 传递邮件失败。 rnrn不知道该如何解决,谢谢!rn我发往21cn等信箱也是出现这样的错误...
运行pqmagic时出现以下错误,怎办?
硬盘运行winxp,想删掉linux分区,装了几个版本的pqmagic,装好后运行都提示如下:rnrnrn初始化失败:错误117rnpartition's drive letter cannot be identifiedrnrnrn然后pqmagic就运行不了。
运行MYeclipse时出现了以下错误
严重: Parse Fatal Error at line 142 column 45: Invalid byte 2 of 2-byte UTF-8 sequence.rnorg.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:521)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:555)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2011-6-26 15:36:54 org.apache.catalina.startup.Catalina loadrn警告: Catalina.start using conf/server.xml: rnorg.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:521)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:555)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2011-6-26 15:36:54 org.apache.tomcat.util.digester.Digester fatalErrorrn严重: Parse Fatal Error at line 142 column 45: Invalid byte 2 of 2-byte UTF-8 sequence.rnorg.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:521)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:575)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-6-26 15:36:54 org.apache.catalina.startup.Catalina loadrn警告: Catalina.start using conf/server.xml: rnorg.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:521)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:575)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-6-26 15:36:54 org.apache.catalina.startup.Catalina startrn信息: Server startup in 0 msrnjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.NullPointerExceptionrn at org.apache.catalina.startup.Catalina.await(Catalina.java:647)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:607)rn ... 6 more
var oXmlHttp = zXmlHttp.createRequest(); 时出现以下错误:
var oXmlHttp = zXmlHttp.createRequest(); 时出现以下错误: rnrn“错误:'zXmlHttp' 未定义”是什么原因啊?rnrn这张页面是我到网上找的,我是用ASP.NET2.0 我复制过来 所有的链接也改成了对源站点的链接,请问这个问题怎么解决?
学struts时出现的以下简单错误?
在IE中输入信息rnhttp://localhost:8080/mmswap/firstrn出现以下错误,为什么,怎样改正?rnrntype Status reportrnrnmessage /mmswap/firstrnrndescription The requested resource (/mmswap/first) is not available.
android 出现以下错误
Can't create handler inside thread that has not called Looper.prepare()   原因是在子线程更新ui。
出现以下错误
rnrn rn [color=#FF0000]rnrnrn红色字体部分也就是
表分区出现以下错误。。。。
以下为SQL语句,前3步可以运行,第4步出现错误。rn[code=SQL]--第一步:创建文件组rnrn ALTER DATABASE ERP3_MTX_U ADD FILEGROUP T_FG1; rn rn ALTER DATABASE ERP3_MTX_U ADD FILEGROUP T_FG2; rn rn ALTER DATABASE ERP3_MTX_U ADD FILEGROUP T_FG3; rn rn--第二步:物理的数据存储rnrn ALTER DATABASE ERP3_MTX_U ADD FILE (NAME = 'T_FG1', FILENAME = 'C:\T_FG1.NDF') TO FILEGROUP T_FG1; rn rn ALTER DATABASE ERP3_MTX_U ADD FILE (NAME = 'T_FG2', FILENAME = 'C:\T_FG2.NDF') TO FILEGROUP T_FG2; rn rn ALTER DATABASE ERP3_MTX_U ADD FILE (NAME = 'T_FG3', FILENAME = 'C:\T_FG3.NDF') TO FILEGROUP T_FG3; rnrn--第三步:创建分区函数 rnrn CREATE PARTITION FUNCTION FU_PU100A(datetime) AS RANGE LEFT FOR VALUES ('01/01/2010','01/01/2011','01/01/2012') rnrn--第四步:创建分区架构rnrn CREATE PARTITION SCHEME SC_PU100A AS PARTITION FU_PU100A TO (T_FG1,T_FG2,T_FG3) rn [/code]rn[color=#FF0000]rn訊息 7707,層級 16,狀態 1,行 1rn相關聯的資料分割函數 'FU_PU100A' 會產生比結構描述 'SC_PU100A' 中提及之檔案群組多的資料分割。[/color]rnrn请高手帮忙查看查看!!!rnrn
asp出现以下错误
Active Server Pages 错误 'ASP 0240' rnrnScript Engine 异常 rnrn/iisHelp/common/500-100.asp rnrn一个 ScriptEngine 超出了预期'C0000005' 在'IActiveScript::SetScriptSite()',来自'CActiveScriptEngine::Init()' 。 rnrnActive Server Pages 错误 'ASP 0115' rnrn意外错误 rnrn/aaa/index.asp rnrn外部对象中发生一个可捕捉的错误(C0000005)。脚本无法继续执行。 rnrnrn请问如何解决rn
出现以下错误,怎么办。
C:\java_temp>javac hello_world.javarnhello_world.java:1: class Test is public, should be declared in a file named Tesrnt.javarnpublic class Testrn ^rnhello_world.java:2: cannot resolve symbolrnsymbol : class stringrnlocation: class Testrn public static void main(string args[])rn ^rnhello_world.java:4: package system does not existrnsystem.out.println("Hello World");rn ^rn3 errorsrnrn我的j2sdk安装在 c:\java 下rn环境变量设置如下rn变量名 变量值rnjava_home c:\java\j2sdkrnpath c:\java\j2sdk\binrnclasspath .:C:\java\j2sdk\lib\dt.jar;C:\java\j2sdk\lib\tools.jarrnrnrnhello_world.java 放在 java_temp目录下。rn源文件为:rnpublic class Testrn public static void main(string args[])rnrnsystem.out.println("Hello World");rnrnrn怎么办?
发送邮件出现以下错误
System.Web.HttpException: 未能访问“CDO.Message”对象。 ---> System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Runtime.InteropServices.COMException (0x80040211): 邮件无法发送到 SMTP 服务器。传输错误代码为 0x800ccc69。服务器响应为 550 CoremailSys:Your message was blocked by NetEase AntiSpam+.(GwCb85vHeUGJdlgC.1.C.1023)rnrnrnrn用网易的smtp服务器测试的,是有什么限制吗?
出现以下错误怎么办?
出现以下错误怎么办?rnD:\编程平台\myCprogrom\AI Techniques for Game Programming\Chapter08\smart sweepers - v2.2\CController.cpp(245) : fatal error C1001: INTERNAL COMPILER ERRORrn (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)rn Please choose the Technical Support command on the Visual C++rn Help menu, or open the Technical Support help file for more information
『cvs出现以下错误』
在checkout的时候出现以下错误:rncvs update: move away wv2200/WV2200_ANNOTATE.DBK; it is in the wayrnC wv2200/WV2200_ANNOTATE.DBKrnrn另外,在checkout时,所有文件都check成功了,可是最后还是rn***** CVS exited normally with code 1 *****rn这是为什么呢??rnrn
updatePanel 出现以下错误
网页错误详细信息rnrn用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)rn时间戳: Thu, 18 Mar 2010 03:07:42 UTCrnrnrn消息: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.rnDetails: Error parsing near '对不起,至多允许字符.剩余:字符.至多0'.rn行: 4723rn字符: 21rn代码: 0rnURI: http://cn.XXXXXXXXX.com/ScriptResource.axd?d=nspuFjo35YThn-33HamC8-L_75Erp6ybIbcn7A6ICaZnWl4XL6ZNAQ_u9WMNHAzyGmZPp9kziO4Wwo4vU8R65Y2p-sNtoyqgzUK2-9qDmrM1&t=73b8dbccrnrn
怎么会出现以下错误??
http://zerolupin.top263.net/download.htmrnrn怎么回事啊...我的怎么会出现以下错误??rnrnCompiling...rn桌面文字透明化工具.cpprnF:\My Documents\VC Projects\桌面文字透明化工具\桌面文字透明化工具.cpp(77) : error C2065: 'ListView_SetBkColor' : undeclared identifierrnF:\My Documents\VC Projects\桌面文字透明化工具\桌面文字透明化工具.cpp(77) : error C2065: 'CLR_NONE' : undeclared identifierrnrn源代码:rn# include rnrnrnLRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);rnBOOL FindDesktop (HWND &);rnrnint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iShowCmd)rnrn static TCHAR szAppName[] = "tool";rn HWND hwnd;rn MSG msg;rn WNDCLASS wndclass;rn wndclass.style = CS_HREDRAW|CS_VREDRAW;rn wndclass.lpfnWndProc = WndProc;rn wndclass.cbClsExtra = NULL;rn wndclass.cbWndExtra = NULL;rn wndclass.hIcon = LoadIcon(NULL, IDI_INFORMATION);rn wndclass.hCursor = LoadCursor(NULL, IDC_NO);rn wndclass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);rn wndclass.hInstance = hInstance;rn wndclass.lpszMenuName = NULL;rn wndclass.lpszClassName = szAppName;rnrn if(!RegisterClass (&wndclass))rn rn MessageBox (NULL, TEXT("此程序必须运行于Windows NT以上系统!"), rn szAppName, MB_OK|MB_ICONERROR);rn return 0;rn rnrn hwnd = CreateWindow (szAppName, rn TEXT("桌面文字透明化工具"), rn WS_MINIMIZE | WS_SYSMENU, rn CW_USEDEFAULT, rn CW_USEDEFAULT, rn CW_USEDEFAULT, rn CW_USEDEFAULT, rn NULL, rn NULL, rn hInstance, rn NULL); rnrn ShowWindow (hwnd, iShowCmd); rn UpdateWindow (hwnd);rnrn while(GetMessage(&msg, NULL, 0, 0))rn rn TranslateMessage (&msg);rn DispatchMessage (&msg);rn rn return msg.wParam ;rnrnrnBOOL FindDesktop (HWND & hDesktop)rnrn HWND hwnd;rn rn //查找“Program Manager”窗口rn hwnd = FindWindow ("Progman", "Program Manager"); rn if (hwnd)rn rn //通过该窗口找到桌面的窗口句柄rn hwnd = FindWindowEx (hwnd, NULL, "SHELLDLL_DefView", NULL); rn if (hwnd)rn rn //取得桌面ListView控件的窗口句柄 rn hDesktop = GetDlgItem (hwnd, 1);rn return TRUE;rn rn rn return FALSE;rnrnrnLRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)rnrn HWND hDesktop;rnrn switch (message)rn rn case WM_CREATE:rn if (FindDesktop (hDesktop))rn rn //将桌面文字设为透明 rn //???这里怎么会说ListView_SetBkColor ()函数是非声明的??rn ListView_SetBkColor (hDesktop, CLR_NONE);rn InvalidateRect (hDesktop, NULL, TRUE);rn rnrn return 0;rnrn rn return DefWindowProc(hwnd, message, wParam, lParam);rn
tomcat 启动和停止时发送邮件
NULL 博文链接:https://gjp014.iteye.com/blog/2389254
整合spring时,启动tomcat出现错误
整合spring时,启动tomcat出现错误,访问项目都是404错误,也就是说项目没有部署成功。都调试了几天了,一直没有解决,诚心求朋友帮帮忙,谢谢!rn首先我的SSH包没有错误,把我的SSH包作为其他项目的额包能够正常运行。rnrn[b][color=#FF0000]beans.xml[/color][/b]rn[code=XML]rnrnrn rn rnrn rn rn classpath:jdbc.propertiesrn rn rnrn rn rn rn rn rn rnrn rn rn rn rn com.maomao.modelrn rn rn rn rn hibernate.dialect=org.hibernate.dialect.MySQLDialectrn hibernate.show_sql=truern hibernate.format_sql=truern hibernate.hbm2ddl.auto=updatern javax.persistence.validation.mode=nonern rn rn rnrn rn rn rn rn rn rn rn rn rn rnrnrn[/code]rnrn[b][color=#FF0000]struts.xml[/color][/b]rn[code=XML]rnrnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn /index.jsprn /login.jsprn /login.jsprn rnrn rn rn /user.jsprn rn rn rn rn rn rn rnrnrnrn[/code]rnrn
在启动TOMCAT时出现java.lang.ClassCastException: org.apache.naming.resources.FileDirContext错误
错误的提示内容如下;严重: Error deploying web application directory test(test 是我的项目名)rnjava.lang.ClassCastException: org.apache.naming.resources.FileDirContextrn at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:182)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4153)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2007-4-3 12:22:07 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2007-4-3 12:22:07 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2007-4-3 12:22:07 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/160 config=nullrn2007-4-3 12:22:08 org.apache.catalina.startup.Catalina startrn信息: Server startup in 20479 msrnrn请各位高手出手相助,我被困住了几天了。rn
启动tomcat时出现这个错误,什么原因
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/StorageManager,J2EEApplication=none,J2EEServer=nonernjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.fit.servlet.StockServlet)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:108)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:58)rn at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1078)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4612)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)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 ... 6 morern
在 myeclipse 中启动 tomcat 时出现错误
错误如下:rn2011-4-8 17:18:07 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 6.5.1 GA\bin;D:\MyEclipse 6.5.1 GA\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806\tomcat\binrn2011-4-8 17:18:07 org.apache.coyote.http11.Http11Protocol initrn严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:518)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2011-4-8 17:18:07 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:518)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2011-4-8 17:18:07 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 557 msrn2011-4-8 17:18:07 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-4-8 17:18:07 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rn2011-4-8 17:18:07 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)rn at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:204)rn at org.apache.catalina.connector.Connector.start(Connector.java:1132)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-4-8 17:18:07 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080rn at org.apache.catalina.connector.Connector.start(Connector.java:1139)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-4-8 17:18:07 org.apache.catalina.startup.Catalina startrn信息: Server startup in 102 msrn2011-4-8 17:18:07 org.apache.catalina.core.StandardServer awaitrn严重: StandardServer.await: create[8005]: rnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(Unknown Source)rn at java.net.ServerSocket.bind(Unknown Source)rn at java.net.ServerSocket.(Unknown Source)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:630)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:590)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn
配置TOMCAT listener时出现的错误!~!
启动TOMCAT是出现下面错误: rn严重: Skipped installing application listeners due to previous error(s) rn2004-12-8 23:54:33 org.apache.catalina.core.StandardContext start rn严重: Error listenerStart rn2004-12-8 23:54:33 org.apache.catalina.core.StandardContext start rn严重: Context startup failed due to previous errorsrnrnrnrn查遍网上资料,没有一个让人满意。rncsdn哪位朋友遇到过这种情况,麻烦一起进来探讨!!!!rnrn谢谢
访问数据库时Tomcat出现的怪错误
我的程序中多个页面都用到了多级联动下拉框(三级以上),而且数据量都比较大。rn通常,当我打开一个包含联动下拉框的页面时要等1分钟左右,数据才能读取完,可是,如果我在这个页面没有显示完全,也就是数据没有读取完时,再打开其他包含联动下拉框的页面时,Tomcat就会出错,所有的数据库操作都出问题,好像不能进行任何数据操作一样。rn请教各位高手!
求助,启动tomcat时出现这个错误
java.lang.ClassNotFoundException: com.filter.UnionPASMFilterrn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)rn at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:504)rn at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:486)rn at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4908)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5602)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)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:744)
tomcat配数据源时出现莫明错误
我用tomcat5.0配数据源时当用looup找jndi报rnorg.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'rn这是我在server.xml里的配制rnrnrnrnfactoryrnorg.apache.commons.dbcp.BasicDataSourceFactory< alue>rn rn rn maxActivern 100< alue>rn rn rn maxIdlern 30< alue>rn rn rn maxWaitrn 10000< alue>rn rn rn usernamern sa< alue>rn rn passwordrn 123456< alue>rn rn rn driverClassNamern com.microsoft.jdbc.sqlserver.SQLServerDriver< alue>rn rn rn urlrn jdbc:microsoft:sqlserver://localhost:1433/JHSY< alue>rn rn rn rnrn我在web.xml里的配制也没什么问题,rnrn我写的代码rnContext ctx=new InitialContext();rn DataSource ds=(DataSource)ctx.lookup("java:comp/env/jdbc/JhsyDB");rn Connection conn = ds.getConnection(); rn Statement stmt =conn.createStatement(); rn哪位能告诉我为什么吗?谢谢了rn
在myeclipse里重启tomcat时出现的错误
是有管时间方面的错误,不知道为什么。具体的问题在附件里。
运行tomcat读取mysql数据库时出现错误!
javax.servlet.ServletException: Invalid authorization specification: Access denied for user: 'root@localhost' (Using password: YES)rn运行tomcat读取mysql数据库时出现上面的错误rn怎么改正?谢谢
eclipse启动tomcat时出现错误
假如有一天自己辛辛苦苦写了一个项目,结果在eclipse上启动tomcat时出现莫名的错误,图形类似于红叉、x86之类的(图丢了,再遇到就回来补上),现在又遇到了,赶紧来给大家补上:读了半天也不知所云的错误,这时有几个动作可以帮你,如下: 注:这里用的是maven做项目管理工具的。 注:这里直接在project里面的子选项点击clean 注意:以
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法