2011-7-4 9:25:06 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files (x86)\Java\jdk1.6.0_22\bin;D:\apache-tomcat-6.0.142\bin
2011-7-4 9:25:06 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2011-7-4 9:25:06 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1305 ms
2011-7-4 9:25:06 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-7-4 9:25:06 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2011-7-4 9:25:09 org.apache.catalina.startup.ContextConfig validateSecurityRoles
信息: WARNING: Security role name used in an <auth-constraint> without being defined in a <security-role>
2011-7-4 9:25:09 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@57104d [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@17b6249 [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 300, initialPoolSize -> 2, maxIdleTime -> 120, maxPoolSize -> 5, maxStatements -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1ef534e [ description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@192.2.8.200:1521:oratest, properties -> {user=coolhelp, password=handinfo} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2011-7-4 9:25:29 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
2011-7-4 9:25:29 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet WebPlat threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:769)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:743)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-7-4 9:25:33 org.apache.catalina.startup.ContextConfig validateSecurityRoles
信息: WARNING: Security role name used in an <auth-constraint> without being defined in a <security-role>
2011-7-4 9:25:33 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@9740d8 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@5c3f7b [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 300, initialPoolSize -> 2, maxIdleTime -> 120, maxPoolSize -> 5, maxStatements -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@2243fb [ description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@192.2.8.200:1521:oratest, properties -> {user=coolhelp, password=handinfo} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2011-7-4 9:25:52 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80
2011-7-4 9:25:52 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-7-4 9:25:52 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/40 config=null
2011-7-4 9:25:52 org.apache.catalina.startup.Catalina start
信息: Server startup in 46451 ms
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files (x86)\Java\jdk1.6.0_22\bin;D:\apache-tomcat-6.0.142\bin
2011-7-4 9:25:06 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2011-7-4 9:25:06 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1305 ms
2011-7-4 9:25:06 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-7-4 9:25:06 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2011-7-4 9:25:09 org.apache.catalina.startup.ContextConfig validateSecurityRoles
信息: WARNING: Security role name used in an <auth-constraint> without being defined in a <security-role>
2011-7-4 9:25:09 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@57104d [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@17b6249 [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 300, initialPoolSize -> 2, maxIdleTime -> 120, maxPoolSize -> 5, maxStatements -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1ef534e [ description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@192.2.8.200:1521:oratest, properties -> {user=coolhelp, password=handinfo} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2011-7-4 9:25:29 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
2011-7-4 9:25:29 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet WebPlat threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:769)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:743)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-7-4 9:25:33 org.apache.catalina.startup.ContextConfig validateSecurityRoles
信息: WARNING: Security role name used in an <auth-constraint> without being defined in a <security-role>
2011-7-4 9:25:33 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@9740d8 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@5c3f7b [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 300, initialPoolSize -> 2, maxIdleTime -> 120, maxPoolSize -> 5, maxStatements -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@2243fb [ description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@192.2.8.200:1521:oratest, properties -> {user=coolhelp, password=handinfo} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2011-7-4 9:25:52 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80
2011-7-4 9:25:52 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-7-4 9:25:52 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/40 config=null
2011-7-4 9:25:52 org.apache.catalina.startup.Catalina start
信息: Server startup in 46451 ms
什么内容啊 ?
<global-exceptions>
<exception type="java.lang.Exception" key="errors.general" handler="com.rewarding.base.webapp.action.ActionExceptionHandler" />
</global-exceptions>
<global-forwards>
<forward name="common_msg" path="/pages/common/msg.jsp" />
</global-forwards> <!-- ========== Action Mapping Definitions =================================== -->
<action-mappings>
</action-mappings>
<controller locale="true"/>
<message-resources parameter="config/ApplicationResources" />
<!-- ========== Validator plugin =================== -->
</struts-config>
<controller locale="true"/>
<message-resources parameter="config/ApplicationResources" />默认第一个没有,第二个也不是这样,你最好改成默认的试下!
struts-config_1_2.dtd和这没关系!
D:\Program Files (x86)\Java\jdk1.6.0_22\bin
这个路径也确实是存在的,可是依然报错。
2011-7-5 10:09:29 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files (x86)\Java\jdk1.6.0_22\bin;D:\apache-tomcat-6.0.142\bin
2011-7-5 10:09:29 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2011-7-5 10:09:29 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 395 ms
2011-7-5 10:09:29 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-7-5 10:09:29 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2011-7-5 10:09:32 org.apache.catalina.startup.ContextConfig validateSecurityRoles
信息: WARNING: Security role name used in an <auth-constraint> without being defined in a <security-role>
2011-7-5 10:09:32 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@296c1d [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1937246 [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 300, initialPoolSize -> 2, maxIdleTime -> 120, maxPoolSize -> 5, maxStatements -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@178e506 [ description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@192.2.8.200:1521:oratest, properties -> {user=coolhelp, password=handinfo} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2011-7-5 10:09:48 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
2011-7-5 10:09:48 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet WebPlat threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:769)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:743)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-7-5 10:09:50 org.apache.catalina.startup.ContextConfig validateSecurityRoles
信息: WARNING: Security role name used in an <auth-constraint> without being defined in a <security-role>
2011-7-5 10:09:51 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@13e0bcf [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@13059cc [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 300, initialPoolSize -> 2, maxIdleTime -> 120, maxPoolSize -> 5, maxStatements -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@795e57 [ description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@192.2.8.200:1521:oratest, properties -> {user=coolhelp, password=handinfo} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2011-7-5 10:10:06 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80
2011-7-5 10:10:06 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-7-5 10:10:06 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/17 config=null
2011-7-5 10:10:06 org.apache.catalina.startup.Catalina start
信息: Server startup in 36749 ms
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files (x86)\Java\jdk1.6.0_22\bin;D:\apache-tomcat-6.0.142\bin这个信息依然存在,不知道咋回事