恩 我也觉得是另有问题 只是不知道问题是啥。并且shutdown.sh不管用,只能kill掉,启动时输出:
Sep 1, 2008 4:30:19 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_11/jre/lib/i386/server:/usr/java/jdk1.5.0_11/jre/lib/i386:/usr/java/jdk1.5.0_11/jre/../lib/i386
Sep 1, 2008 4:30:20 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 1, 2008 4:30:20 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1378 ms
Sep 1, 2008 4:30:20 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 1, 2008 4:30:20 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
Sep 1, 2008 4:30:20 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 1, 2008 4:30:20 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/local/tomcat5.5.26/webapps/wap/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
=============================================================
================GlobalListener created===================
=============================================================
====>>绯荤诲濞猞猞
2008-09-01 16:30:21,464 [net.sf.hibernate.cfg.Environment]-[INFO] Hibernate 2.1.7
2008-09-01 16:30:21,468 [net.sf.hibernate.cfg.Environment]-[INFO] hibernate.properties not found
2008-09-01 16:30:21,474 [net.sf.hibernate.cfg.Environment]-[INFO] using CGLIB reflection optimizer
2008-09-01 16:30:21,478 [net.sf.hibernate.cfg.Environment]-[INFO] using JDK 1.4 java.sql.Timestamp handling
2008-09-01 16:30:21,489 [net.sf.hibernate.cfg.Configuration]-[INFO] configuring from resource: /hibernate.cfg.xml
2008-09-01 16:30:21,490 [net.sf.hibernate.cfg.Configuration]-[INFO] Configuration resource: /hibernate.cfg.xml
2008-09-01 16:30:21,597 [net.sf.hibernate.util.XMLHelper]-[WARN] Warning parsing XML: /hibernate.cfg.xml(1) URI was not reported to parser for entity [document]
2008-09-01 16:30:21,635 [net.sf.hibernate.util.XMLHelper]-[WARN] Warning parsing XML: /hibernate.cfg.xml(4) No base URI; hope URI is absolute: http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd
2008-09-01 16:30:21,643 [net.sf.hibernate.util.XMLHelper]-[WARN] Warning parsing XML: /hibernate.cfg.xml(4) No base URI; hope this SYSTEM id is absolute: http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd
2008-09-01 16:30:21,745 [net.sf.hibernate.cfg.Configuration]-[INFO] Mapping resource: com/et/buss/Code.hbm.xml
2008-09-01 16:30:21,749 [net.sf.hibernate.util.XMLHelper]-[WARN] Warning parsing XML: XML InputStream(1) URI was not reported to parser for entity [document]
2008-09-01 16:30:21,751 [net.sf.hibernate.util.XMLHelper]-[WARN] Warning parsing XML: XML InputStream(4) No base URI; hope URI is absolute: http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd
2008-09-01 16:30:21,752 [net.sf.hibernate.util.XMLHelper]-[WARN] Warning parsing XML: XML InputStream(4) No base URI; hope this SYSTEM id is absolute: http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd
2008-09-01 16:30:22,000 [net.sf.hibernate.cfg.Binder]-[INFO] Mapping class: com.et.buss.Code -> code
2008-09-01 16:30:22,231 [net.sf.hibernate.cfg.Configuration]-[INFO] Configured SessionFactory: null
2008-09-01 16:30:22,235 [net.sf.hibernate.cfg.Configuration]-[INFO] processing one-to-many association mappings
2008-09-01 16:30:22,235 [net.sf.hibernate.cfg.Configuration]-[INFO] processing one-to-one association property references
2008-09-01 16:30:22,236 [net.sf.hibernate.cfg.Configuration]-[INFO] processing foreign key constraints
2008-09-01 16:30:22,311 [net.sf.hibernate.dialect.Dialect]-[INFO] Using dialect: net.sf.hibernate.dialect.MySQLDialect
2008-09-01 16:30:22,345 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] Maximim outer join fetch depth: 2
2008-09-01 16:30:22,346 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] Use outer join fetching: true
2008-09-01 16:30:22,359 [net.sf.hibernate.connection.C3P0ConnectionProvider]-[INFO] C3P0 using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://192.168.0.202:3306/map
2008-09-01 16:30:22,360 [net.sf.hibernate.connection.C3P0ConnectionProvider]-[INFO] Connection properties: {user=map, password=bjdyMAP}
2008-09-01 16:30:22,480 [net.sf.hibernate.transaction.TransactionManagerLookupFactory]-[INFO] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1202d69 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@f1f051 [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 0, initialPoolSize -> 5, maxIdleTime -> 1800, maxPoolSize -> 100, maxStatements -> 50, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1855562 [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:mysql://192.168.0.202:3306/map, properties -> {user=map, password=bjdyMAP} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]
2008-09-01 16:30:23,937 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] Use scrollable result sets: true
2008-09-01 16:30:23,939 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] Use JDBC3 getGeneratedKeys(): true
2008-09-01 16:30:23,940 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] Optimize cache for minimal puts: false
2008-09-01 16:30:23,940 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] echoing all SQL to stdout
2008-09-01 16:30:23,941 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] Query language substitutions: {}
2008-09-01 16:30:23,941 [net.sf.hibernate.cfg.SettingsFactory]-[INFO] cache provider: net.sf.hibernate.cache.EhCacheProvider
2008-09-01 16:30:23,948 [net.sf.hibernate.cfg.Configuration]-[INFO] instantiating and configuring caches
2008-09-01 16:30:24,190 [net.sf.hibernate.impl.SessionFactoryImpl]-[INFO] building session factory
2008-09-01 16:30:25,580 [net.sf.hibernate.impl.SessionFactoryObjectFactory]-[INFO] Not binding factory to JNDI, no JNDI name configured2008-09-01 16:30:25>>:>>>?鸿挎ユ锛--------33from tb_public_code limit 0,2147483647
2008-09-01 16:30:25>>:db closed!
====>>绯荤诲у骘?
2008-09-01 16:30:25,765 [org.apache.struts.util.PropertyMessageResources]-[INFO] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2008-09-01 16:30:25,766 [org.apache.struts.util.PropertyMessageResources]-[INFO] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2008-09-01 16:30:25,944 [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/wap]]-[ERROR] StandardWrapper.Throwable
java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1003)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:44
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2008-09-01 16:30:25,951 [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/wap]]-[ERROR] Servlet /wap threw load() exception
java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1003)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:44
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
---- SimpleUploaderServlet initialization started ----
php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi
0 - php
1 - php3
2 - php5
3 - phtml
4 - asp
5 - aspx
6 - ascx
7 - jsp
8 - cfm
9 - cfc
10 - pl
11 - bat
12 - exe
13 - dll
14 - reg
15 - cgi
jpg|gif|jpeg|png|bmp
0 - jpg
1 - gif
2 - jpeg
3 - png
4 - bmp
swf|fla
0 - swf
1 - fla
---- SimpleUploaderServlet initialization completed ----
Sep 1, 2008 4:30:27 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 1, 2008 4:30:27 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 1, 2008 4:30:27 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/57 config=null
Sep 1, 2008 4:30:28 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Sep 1, 2008 4:30:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8198 ms