tomcat启动时的错误,一直没google到

小黑小别姬 发布于 2012/02/09 17:08
阅读 1K+
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

信息: Setting the server's publish address to be /dataDictConfig
2012-2-9 16:29:34 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2012-2-9 16:29:34 org.apache.catalina.core.StandardContext start
严重: Context [/bea] startup failed due to previous errors
2012-2-9 16:29:34 org.apache.catalina.loader.WebappClassLoader clearReferencesJd
bc
严重: The web application [/bea] registered the JBDC driver [net.sourceforge.jtd
s.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.
2012-2-9 16:29:34 org.apache.catalina.loader.WebappClassLoader clearReferencesTh
reads
严重: The web application [/bea] appears to have started a thread named [Thread-
3] but has failed to stop it. This is very likely to create a memory leak.
2012-2-9 16:29:34 org.apache.catalina.loader.WebappClassLoader clearThreadLocalM
ap
严重: The web application [/bea] created a ThreadLocal with key of type [java.la
ng.ThreadLocal] (value [java.lang.ThreadLocal@bade60]) and a value of type [org.
apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@5d8897]) but fa
iled to remove it when the web application was stopped. This is very likely to c
reate a memory leak.

--------------
我也不知道什么操作引起的这个错误,重新编译一份项目,替换一下tomcat中的这个项目就好了
加载中
0
红薯
红薯
这是一个严重的警告错误,应该不影响使用
小黑小别姬
小黑小别姬
哥哥,下边就错了呢。。。老长了,我看看能不能贴出来
0
小黑小别姬
小黑小别姬

严重: The web application [/bea] created a ThreadLocal with key of type [java.la
ng.ThreadLocal] (value [java.lang.ThreadLocal@bade60]) and a value of type [org.
apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@5d8897]) but fa
iled to remove it when the web application was stopped. This is very likely to c
reate a memory leak.
hibernate-configuration/session-factory/property[@name='connection.url']
/D:/tomcat6/webapps/bea/WEB-INF/classes/hibernate.cfg.xml
org.dom4j.DocumentException: null Nested exception: null
        at org.dom4j.io.SAXReader.read(SAXReader.java:484)
        at org.dom4j.io.SAXReader.read(SAXReader.java:365)
        at com.comdev.common.util.XmlUtil.getPath(XmlUtil.java:308)
        at com.comdev.common.util.XmlUtil.getDBurl(XmlUtil.java:150)
        at com.comdev.bea.init.CheckDBBiz.<clinit>(CheckDBBiz.java:69)
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAc
cessorFactory.java:25)
        at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java
:122)
        at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
        at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
        at java.lang.reflect.Field.set(Field.java:657)
        at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFin
al(WebappClassLoader.java:2034)
        at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappCl
assLoader.java:1894)
        at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.j
ava:1798)
        at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:738)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:48
12)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
675)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:1041)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:964)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Nested exception:
java.lang.NullPointerException
        at org.dom4j.tree.NamespaceCache.getURICache(NamespaceCache.java:150)
        at org.dom4j.tree.NamespaceCache.get(NamespaceCache.java:80)
        at org.dom4j.Namespace.get(Namespace.java:68)
        at org.dom4j.DocumentFactory.createNamespace(DocumentFactory.java:185)
        at org.dom4j.tree.NamespaceStack.createNamespace(NamespaceStack.java:407
)
        at org.dom4j.tree.NamespaceStack.getQName(NamespaceStack.java:211)
        at org.dom4j.io.SAXContentHandler.startElement(SAXContentHandler.java:23
4)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
ment(AbstractSAXParser.java:501)
        at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElem
ent(XMLDTDValidator.java:767)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
StartElement(XMLNSDocumentScannerImpl.java:400)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSCo
ntentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:922)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:119)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
        at org.dom4j.io.SAXReader.read(SAXReader.java:465)
        at org.dom4j.io.SAXReader.read(SAXReader.java:365)
        at com.comdev.common.util.XmlUtil.getPath(XmlUtil.java:308)
        at com.comdev.common.util.XmlUtil.getDBurl(XmlUtil.java:150)
        at com.comdev.bea.init.CheckDBBiz.<clinit>(CheckDBBiz.java:69)
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAc
cessorFactory.java:25)
        at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java
:122)
        at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
        at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
        at java.lang.reflect.Field.set(Field.java:657)
        at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFin
al(WebappClassLoader.java:2034)
        at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappCl
assLoader.java:1894)
        at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.j
ava:1798)
        at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:738)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:48
12)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
675)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:1041)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:964)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Nested exception: java.lang.NullPointerException
        at org.dom4j.tree.NamespaceCache.getURICache(NamespaceCache.java:150)
        at org.dom4j.tree.NamespaceCache.get(NamespaceCache.java:80)
        at org.dom4j.Namespace.get(Namespace.java:68)
        at org.dom4j.DocumentFactory.createNamespace(DocumentFactory.java:185)
        at org.dom4j.tree.NamespaceStack.createNamespace(NamespaceStack.java:407
)
        at org.dom4j.tree.NamespaceStack.getQName(NamespaceStack.java:211)
        at org.dom4j.io.SAXContentHandler.startElement(SAXContentHandler.java:23
4)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
ment(AbstractSAXParser.java:501)
        at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElem
ent(XMLDTDValidator.java:767)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
StartElement(XMLNSDocumentScannerImpl.java:400)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSCo
ntentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:922)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:119)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
        at org.dom4j.io.SAXReader.read(SAXReader.java:465)
        at org.dom4j.io.SAXReader.read(SAXReader.java:365)
        at com.comdev.common.util.XmlUtil.getPath(XmlUtil.java:308)
        at com.comdev.common.util.XmlUtil.getDBurl(XmlUtil.java:150)
        at com.comdev.bea.init.CheckDBBiz.<clinit>(CheckDBBiz.java:69)
        at sun.misc.Unsafe.ensureClassInitialized(Native Method)
        at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAc
cessorFactory.java:25)
        at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java
:122)
        at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
        at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
        at java.lang.reflect.Field.set(Field.java:657)
        at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFin
al(WebappClassLoader.java:2034)
        at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappCl
assLoader.java:1894)
        at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.j
ava:1798)
        at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:738)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:48
12)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
675)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:1041)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:964)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012-2-9 16:29:35 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory bin-debug
2012-2-9 16:29:35 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory callDisplay
2012-2-9 16:29:35 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory cbea
2012-2-9 16:29:35 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory cp
2012-2-9 16:29:35 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory DBSynchro
2012-2-9 16:29:35 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\tomcat6\webapps\DBSynchro\WEB-INF\lib\servlet-api.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/se
rvlet/Servlet.class

0
小黑小别姬
小黑小别姬

引用来自“红薯”的答案

这是一个严重的警告错误,应该不影响使用
代码没动,我重新编译一下,再启动就好了。而且我也不知道什么这个问题是在什么情况下出来,可能就在某一次关闭了又启动就出现了。
0
牧码氏
牧码氏
hibernate 里面的connection.url 无法解析?
小黑小别姬
小黑小别姬
代码没动,我重新编译一下,再启动就好了。
0
施政
施政
bea项目,连接数据库有问题~~~检查数据库连接字段是否正常或者检查数据库是否正常
返回顶部
顶部