1、Java Web(Extjs)项目报错一
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-3-26 0:10:05 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6. 2014-3-26 0:10:05 org.apache.catalina.core.AprLifecycleListener init 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 2014-3-26 0:10:05 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013) 2014-3-26 0:10:05 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8686"] 2014-3-26 0:10:05 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 2014-3-26 0:10:05 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1156 ms 2014-3-26 0:10:05 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 2014-3-26 0:10:05 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.41 2014-3-26 0:10:06 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\lib\juel-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class 2014-3-26 0:10:06 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined 2014-3-26 0:10:15 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined 2014-3-26 0:10:15 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 2014-3-26 0:10:15 org.apache.catalina.core.ApplicationContext log 信息: Set web app root system property: 'log.root' = [D:\MyEclipse\workspace\gwtjs_framework\web\] 2014-3-26 0:10:15 org.apache.catalina.core.ApplicationContext log 信息: Initializing log4j from [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\log4j.properties] 2014-3-26 0:10:15 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/D:/MyEclipse/workspace/gwtjs_framework/web/WEB-INF/lib/slf4j-jdk14-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/MyEclipse/workspace/gwtjs_framework/web/WEB-INF/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory] 2014-3-26 0:10:20 org.apache.cxf.bus.spring.OldSpringSupport logWarning 警告: Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary. 2014-03-26 00:10:20 [localhost-startStop-1] INFO com.mchange.v2.log.MLog - MLog clients using log4j logging. 2014-03-26 00:10:20 [localhost-startStop-1] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] 2014-3-26 0:10:21 org.hibernate.cfg.Environment <clinit> 信息: Hibernate 3.5.1-Final 2014-3-26 0:10:21 org.hibernate.cfg.Environment <clinit> 信息: loaded properties from resource hibernate.properties: {c3p0.maxIdleTime=600, c3p0.numHelperThreads=10, hibernate.connection.password=****, hibernate.jdbc.batch_versioned_data=true, hibernate.mapping.directory=classpath:/com/gwtjs/model/, hibernate.query.substitutions=yes 'Y', no 'N', c3p0.maxStatements=100, hibernate.cache.use_second_level_cache=true, hibernate.show_sql=true, hibernate.proxool.pool_alias=pool1, hibernate.bytecode.use_reflection_optimizer=false, hibernate.jdbc.batch_size=28, c3p0.maxPoolSize=50, c3p0.initialPoolSize=3, hibernate.cache.configurationResourceName=ehcache.xml, set=the maximum depth of the outer join fetch tree, hibernate.jdbc.use_streams_for_binary=true, hibernate.max_fetch_depth=1, hibernate.format_sql=false, hibernate.connection.pool_size=1, hibernate.connection.username=FrameworkTest, c3p0.idleConnectionTextPeriod=900, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, c3p0.minPoolSize=2, hibernate.cache.provider_class=net.sf.ehcache.hibernate.EhCacheProvider, hibernate.use_sql_comments=true, c3p0.acquireIncrement=3, spring.security.mapping.directory=classpath:/com/gwtjs/spring/security/model, hibernate.dialect=org.hibernate.dialect.Oracle10gDialect, hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:orcl} 2014-3-26 0:10:21 org.hibernate.cfg.Environment <clinit> 信息: using java.io streams to persist binary types 2014-3-26 0:10:21 org.hibernate.cfg.Environment buildBytecodeProvider 信息: Bytecode provider name : javassist 2014-3-26 0:10:21 org.hibernate.cfg.Environment <clinit> 信息: using JDK 1.4 java.sql.Timestamp handling 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.repository.DeploymentImpl -> JBPM4_DEPLOYMENT 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.repository.DeploymentProperty -> JBPM4_DEPLOYPROP 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.id.PropertyImpl -> JBPM4_PROPERTY 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.model.ExecutionImpl -> JBPM4_EXECUTION 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.type.Variable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.BlobVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.DateVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.DoubleVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateLongVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateStringVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.LongVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.NullVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.StringVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.type.variable.TextVariable -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.lob.Lob -> JBPM4_LOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.job.JobImpl -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.job.MessageImpl -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteActivityMessage -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteEventListenerMessage -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.job.CommandMessage -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.job.TimerImpl -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.job.StartProcessTimer -> JBPM4_JOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl -> JBPM4_HIST_PROCINST 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl -> JBPM4_HIST_ACTINST 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryAutomaticInstanceImpl -> JBPM4_HIST_ACTINST 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryDecisionInstanceImpl -> JBPM4_HIST_ACTINST 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskInstanceImpl -> JBPM4_HIST_ACTINST 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.history.model.HistoryTaskImpl -> JBPM4_HIST_TASK 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.history.model.HistoryVariableImpl -> JBPM4_HIST_VAR 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.history.model.HistoryDetailImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryCommentImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceMigrationImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryPriorityUpdateImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskAssignmentImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskDuedateUpdateImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindSubclass 信息: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryVariableUpdateImpl -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.task.TaskImpl -> JBPM4_TASK 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.task.ParticipationImpl -> JBPM4_PARTICIPATION 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.task.SwimlaneImpl -> JBPM4_SWIMLANE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.identity.impl.UserImpl -> JBPM4_ID_USER 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.identity.impl.MembershipImpl -> JBPM4_ID_MEMBERSHIP 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: org.jbpm.pvm.internal.identity.impl.GroupImpl -> JBPM4_ID_GROUP 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysAuthorities.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysAuthorities -> SYS_AUTHORITIES 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysAuthoritiesResources.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysAuthoritiesResources -> SYS_AUTHORITIES_RESOURCES 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysResources.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysResources -> Sys_RESOURCES 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysRoles.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysRoles -> SYS_ROLES 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysRolesAuthorities.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysRolesAuthorities -> SYS_ROLES_AUTHORITIES 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysUsers.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysUsers -> SYS_USERS 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\spring\security\model\SysUsersRoles.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.spring.security.entity.SysUsersRoles -> SYS_USERS_ROLES 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Acl.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Acl -> t_acl 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Article.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Article -> t_article 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Attachments.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Attachments -> t_attachments 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Dictionary.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Dictionary -> t_dictionary 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Document.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Document -> t_document 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Module.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Module -> t_module 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Navigator.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Navigator -> t_navigator 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Organization.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Organization -> t_organization 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Photo.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Photo -> t_photo 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\Role.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.Role -> t_role 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\User.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.User -> t_user 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\UserRoles.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.UserRoles -> t_user_roles 2014-3-26 0:10:21 org.hibernate.cfg.Configuration addFile 信息: Reading mappings from file: D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\com\gwtjs\model\WorkFlow.hbm.xml 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues 信息: Mapping class: com.gwtjs.model.WorkFlow -> t_work_flow 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.resources -> JBPM4_LOB 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.objectProperties -> JBPM4_DEPLOYPROP 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.variables -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.systemVariables -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.executions -> JBPM4_EXECUTION 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes -> JBPM4_SWIMLANE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyActivityInstances -> JBPM4_HIST_ACTINST 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyVariables -> JBPM4_HIST_VAR 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.details -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl.details -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.details -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.historyVariables -> JBPM4_HIST_VAR 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.subTasks -> JBPM4_HIST_TASK 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryVariableImpl.details -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryCommentImpl.replies -> JBPM4_HIST_DETAIL 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.participations -> JBPM4_PARTICIPATION 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.variables -> JBPM4_VARIABLE 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.subTasks -> JBPM4_TASK 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: org.jbpm.pvm.internal.task.SwimlaneImpl.participations -> JBPM4_PARTICIPATION 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: com.gwtjs.spring.security.entity.SysAuthorities.sysRolesAuthoritieses -> SYS_ROLES_AUTHORITIES 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: com.gwtjs.spring.security.entity.SysAuthorities.sysAuthoritiesResourceses -> SYS_AUTHORITIES_RESOURCES 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: com.gwtjs.spring.security.entity.SysResources.sysAuthoritiesResourceses -> SYS_AUTHORITIES_RESOURCES 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: com.gwtjs.spring.security.entity.SysRoles.sysUsersRoles -> SYS_USERS_ROLES 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: com.gwtjs.spring.security.entity.SysRoles.sysRolesAuthorities -> SYS_ROLES_AUTHORITIES 2014-3-26 0:10:21 org.hibernate.cfg.HbmBinder bindCollectionSecondPass 信息: Mapping collection: com.gwtjs.spring.security.entity.SysUsers.sysUsersRoleses -> SYS_USERS_ROLES 2014-3-26 0:10:21 org.hibernate.cfg.Environment verifyProperties 警告: Property [hibernate.cglib.use_reflection_optimizer] has been renamed to [hibernate.bytecode.use_reflection_optimizer]; update your properties appropriately 2014-3-26 0:10:21 org.hibernate.connection.ConnectionProviderFactory newConnectionProvider 信息: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider 2014-03-26 00:10:21 [localhost-startStop-1] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge15w901xd8wnmp4dbw0|a0560e, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15w901xd8wnmp4dbw0|a0560e, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:oracle:thin:@localhost:1521:orcl, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 50, maxStatements -> 100, maxStatementsPerConnection -> 0, minPoolSize -> 2, numHelperThreads -> 10, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] 2014-03-26 00:11:21 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2ba3e4 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) 2014-03-26 00:11:21 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#6] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@18af9c0 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) 2014-3-26 0:11:21 org.hibernate.util.JDBCExceptionReporter logExceptions 警告: SQL Error: 0, SQLState: null 2014-3-26 0:11:21 org.hibernate.util.JDBCExceptionReporter logExceptions 严重: Connections could not be acquired from the underlying database! 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 警告: Could not obtain connection to query metadata java.sql.SQLException: Connections could not be acquired from the underlying database! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:114) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:443) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:417) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:559) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:150) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:304) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:876) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:551) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.i nnerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319) at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557) at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525) ... 67 more 2014-03-26 00:11:21 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@81d783 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) 2014-3-26 0:11:21 org.hibernate.dialect.Dialect <init> 信息: Using dialect: org.hibernate.dialect.Oracle10gDialect 2014-3-26 0:11:21 org.hibernate.engine.jdbc.JdbcSupportLoader useContextualLobCreation 信息: Disabling contextual LOB creation as connection was null 2014-3-26 0:11:21 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory 信息: Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory 2014-3-26 0:11:21 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup 信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Automatic flush during beforeCompletion(): disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Automatic session close at end of transaction: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Scrollable result sets: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: JDBC3 getGeneratedKeys(): disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Connection release mode: auto 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Maximum outer join fetch depth: 1 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Default batch fetch size: 1 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Generate SQL with comments: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Order SQL updates by primary key: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Order SQL inserts for batching: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory 信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 2014-3-26 0:11:21 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init> 信息: Using ASTQueryTranslatorFactory 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Query language substitutions: {yes='Y', no='N'} 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: JPA-QL strict compliance: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Second-level cache: enabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Query cache: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory createRegionFactory 信息: Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge 2014-3-26 0:11:21 org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge <init> 信息: Cache provider: net.sf.ehcache.hibernate.EhCacheProvider 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Optimize cache for minimal puts: enabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Structured second-level cache entries: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Echoing all SQL to stdout 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Statistics: enabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Deleted entity synthetic identifier rollback: disabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Default entity-mode: pojo 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Named query checking : enabled 2014-3-26 0:11:21 org.hibernate.cfg.SettingsFactory buildSettings 信息: Check Nullability in Core (should be disabled when Bean Validation is on): enabled 2014-3-26 0:11:21 org.hibernate.impl.SessionFactoryImpl <init> 信息: building session factory 2014-3-26 0:11:22 org.hibernate.cache.impl.bridge.EntityRegionAdapter buildAccessStrategy 警告: read-only cache configured for mutable entity [com.gwtjs.model.Article] 2014-3-26 0:11:22 org.hibernate.impl.SessionFactoryObjectFactory addInstance 信息: Not binding factory to JNDI, no JNDI name configured 2014-3-26 0:11:22 org.hibernate.tool.hbm2ddl.SchemaUpdate execute 信息: Running hbm2ddl schema update 2014-3-26 0:11:22 org.hibernate.tool.hbm2ddl.SchemaUpdate execute 信息: fetching database metadata
2、错误原因
由于项目之前连接的是Oracle数据库,数据库配置文件是Oracle配置,而电脑没有安装Oracle,故报错。
3、解决办法
修改数据库配置文件,连接MySQL数据库