tomcat服务启动报错日志

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/shitashuo6193/article/details/53958991
查看 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 filterStart
三月 04, 2013 11:21:11 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/cas] startup failed due to previous errors
三月 04, 2013 11:21:11 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/cas] appears to have started a thread named [perf4j-async-stats-appender-sink-CoalescingStatistics] but has failed to stop it. This is very likely to create a memory leak.
cas文件夹下 修改一个 xml配置文件,添加了一个XML节点  是ORACLE 数据库连接的
然后启动就报错了 XML在浏览器上显示没问题
 


 <bean id="casDataSource" class="org.apache.commons.dbcp.BasicDataSource">
      
                 <!--ORACLE-->
         <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"></property>
              <property name="url" value="jdbc:oracle:thin:@IP的地址:1521:orcl"></property>
              <property name="username" value="用户名"></property>
              <property name="password" value="用户密码"></property>
              <property name="maxActive" value="100"></property>
              <property name="maxIdle" value="30"></property>
              <property name="maxWait" value="500"></property>
              <property name="defaultAutoCommit" value="true"></property>      
           
         </bean>

 <bean class="org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler"
                            abstract="false" lazy-init="default" autowire="default" dependency-check="default">
                           <property name="dataSource" ref="casDataSource" /> 
                   <property name="tableUsers" value="T_LOGIN" />
                   <property name="fieldUser" value="USERNAME"/>
                   <property name="fieldPassword" value="PASSWORD"/> 
                 </bean>

是否有什么欠缺的JAR包
因为第一次使用JAVA很多不明白,哪位大哥帮下忙
是部署CAS
展开阅读全文

TOMCAT启动报错

11-07

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 论坛

Tomcat 启动报错

12-10

[code=text]2012-12-10 15:13:37 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\Program Files\AMD APP\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_31\bin;C:\Program Files\Java\jdk1.6.0_31\jre\bin;D:\eclipse_web;;.rn2012-12-10 15:13:37 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:cms3' did not find a matching property.rn2012-12-10 15:13:37 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2012-12-10 15:13:37 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 368 msrn2012-12-10 15:13:37 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2012-12-10 15:13:37 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.32rn2012-12-10 15:13:37 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(D:\WebProjects\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\cms3\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2012-12-10 15:13:37 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(D:\WebProjects\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\cms3\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2012-12-10 15:13:37 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-12-10 15:13:37 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-12-10 15:13:37 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/16 config=nullrn2012-12-10 15:13:37 org.apache.catalina.startup.Catalina startrn信息: Server startup in 389 msrn[/code]rnrnrn我这个是 Tomcat 6 论坛

tomcat启动报错

02-25

以下是错误信息,虽然报错,但是工程可以正常运行,请问是什么地方的问题?rnrn严重: Parse Fatal Error at line 32 column 2: The markup in the document following the root element must be well-formed.rnorg.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.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.XMLScanner.reportFatalError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.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: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:4239)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 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)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)rn2008-2-25 19:35:48 org.apache.catalina.startup.ContextConfig applicationWebConfigrn严重: Parse error in application web.xml file at jndi:/localhost/WEB-INF/web.xmlrnorg.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)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:4239)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 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)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)rn2008-2-25 19:35:48 org.apache.catalina.startup.ContextConfig applicationWebConfigrn严重: Occurred at line 32 column 2rn2008-2-25 19:35:48 org.apache.catalina.startup.ContextConfig startrn严重: Marking this application unavailable due to previous error(s)rn2008-2-25 19:35:48 org.apache.catalina.core.StandardContext startrn严重: Error getConfiguredrn2008-2-25 19:35:48 org.apache.catalina.core.StandardContext startrn严重: Context [] startup failed due to previous errors 论坛

没有更多推荐了,返回首页