2016-5-22 20:20:13 Org.apache.catalina.startup.Catalina Load
Info: Initialization processed in 342 MS
--------Tomcat Import Spring configuration file
2016-5-22 20:20:14 Org.apache.catalina.core.ApplicationContext Log
Info: Initializing Spring root Webapplicationcontext
2016-5-22 20:20:14 Org.springframework.web.context.ContextLoader Initwebapplicationcontext
Info: Root Webapplicationcontext:initialization started
---------Generate sspring Beans:datasource,sessionfactory,daotemplate,employee,managertemplate,empmanager
2016-5-22 20:20:14 org.springframework.beans.factory.support.DefaultListableBeanFactory preinstantiatesingletons
Information: pre-instantiating singletons in Org.s[email protected]4b0e18ba:defining beans [Datasource,sessionfactory, Daotemplate,employee,managertemplate,empmanager]; Root of Factory hierarchy
---------Hibernate initialization
2016-5-22 20:20:15 org.hibernate.cfg.Environment <clinit>
Info: Hibernate 3.2.6
2016-5-22 20:20:15 org.hibernate.cfg.Environment <clinit>
Info: Hibernate.properties not found
2016-5-22 20:20:15 org.hibernate.cfg.Environment Buildbytecodeprovider
Information: Bytecode provider Name:cglib
2016-5-22 20:20:15 org.hibernate.cfg.Environment <clinit>
Info: Using JDK 1.4 java.sql.Timestamp handling
--------Persistent object associated with a database table: department_table, user_role_table Department, Userrole, emp_table, Employee
2016-5-22 20:20:15 Org.hibernate.cfg.HbmBinder bindrootpersistentclasscommonvalues
Info: Mapping Class:com.hrsys.model.Employee-emp_table
2016-5-22 20:20:15 Org.hibernate.cfg.HbmBinder bindrootpersistentclasscommonvalues
Info: Mapping Class:com.hrsys.model.UserRole-user_role_table
2016-5-22 20:20:15 Org.hibernate.cfg.HbmBinder bindrootpersistentclasscommonvalues
Info: Mapping class:com.hrsys.model.Department-department_table
---------Hibernate connection Data
2016-5-22 20:20:15 Org.springframework.orm.hibernate3.LocalSessionFactoryBean buildsessionfactory
Info: Building New Hibernate Sessionfactory
2016-5-22 20:20:15 org.hibernate.connection.ConnectionProviderFactory Newconnectionprovider
Information: Initializing Connection Provider:org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
2016-5-22 20:20:15 Com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Getpoolmanager
Info: Initializing c3p0 pool ... com.mchange.v2.c3p0.ComboPooledDataSource [Acquireincrement, 3, Acquireretryattempts, Acquireretrydelay, Autocommitonclose, False, automatictesttable, NULL , Breakafteracquirefailure, False, Checkouttimeout-0, connectioncustomizerclassname-NULL, Connectiontesterclassname, Com.mchange.v2.c3p0.impl.DefaultConnectionTester, DataSourceName 1hge10i9g1o1n8iu1vwmohe|da2da17, Debugunreturnedconnectionstacktraces, false, description, NULL, Driverclass, Com.mysql.jdbc.Driver, factoryclasslocation, NULL, Forceignoreunresolvedtransactions- False, Identitytoken-1hge10i9g1o1n8iu1vwmohe|da2da17, Idleconnectiontestperiod-0, initialpoolsize-1, Jdbcurl, Jdbc:mysql://localhost/hrsystem, Maxadministrativetasktime, 0, maxconnectionage, 0, MaxIdleTime , maxidletimeexcessconnections, 0, Maxpoolsize, maxstatements, 0, MaxstatementsperConnection, 0, minpoolsize, 1, Numhelperthreads, 3, Numthreadsawaitingcheckoutdefaultuser, 0, Preferre Dtestquery, NULL, properties---{user=******, password=******}, propertycycle, 0, Testconnectiononcheckin-& Gt False, Testconnectiononcheckout, false, Unreturnedconnectiontimeout-0, Usestraditionalreflectiveproxies- > False]
2016-5-22 20:20:15 org.hibernate.cfg.SettingsFactory buildsettings
Information: Rdbms:mysql, Version:5.6.26-log
2016-5-22 20:20:15 org.hibernate.cfg.SettingsFactory buildsettings
Info: JDBC Driver:mysql-ab jdbc driver, version:mysql-connector-java-3.1.10 ($Date: 2005/05/19 15:52:23 $, $Revision: 1.1 .2.2 $)
2016-5-22 20:20:15 Org.hibernate.dialect.Dialect <init>
Information: Using Dialect:org.hibernate.dialect.MySQLInnoDBDialect
2016-5-22 20:20:15 org.hibernate.transaction.TransactionFactoryFactory buildtransactionfactory
Information: Transaction strategy:org.springframework.orm.hibernate3.SpringTransactionFactory
2016-5-22 20:20:15 org.hibernate.transaction.TransactionManagerLookupFactory Gettransactionmanagerlookup
Info: No transactionmanagerlookup configured (in JTA environment, use of read-write or transactional Second-level cache is n OT recommended)
2016-5-22 20:20:15 org.hibernate.cfg.SettingsFactory createquerytranslatorfactory
Information: Query translator:org.hibernate.hql.ast.ASTQueryTranslatorFactory
2016-5-22 20:20:15 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
Information: Using astquerytranslatorfactory
2016-5-22 20:20:15 org.hibernate.cfg.SettingsFactory buildsettings
Info: Query language substitutions: {}
2016-5-22 20:20:16 Org.hibernate.impl.SessionFactoryImpl <init>
Information: Building Session Factory
------------Get the contents of each table
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: Table found:hrSystem.department_table
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: Columns: [mgr_id, Dept_name]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Info: foreign keys: [fk23ef52e7e978d391]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: indexes: [fk23ef52e7e978d391, primary]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: Table found:hrSystem.emp_table
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: Columns: [role_id, mgr_id, Emp_name, emp_id, Emp_salary, Emp_pass]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: foreign keys: [fk87467197ba28d811, Fk874671972a847fee, Emp_table_ibfk_1, FK87467197111B9BC2]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: indexes: [fk87467197ba28d811, Emp_name, Primary, Fk874671972a847fee, FK87467197111B9BC2]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: Table found:hrSystem.user_role_table
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: Columns: [role_id, role]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Info: Foreign keys: []
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.TableMetadata <init>
Information: indexes: [primary]
2016-5-22 20:20:16 Org.hibernate.tool.hbm2ddl.SchemaUpdate Execute
Info: Schema update complete
2016-5-22 20:20:16 Org.springframework.web.context.ContextLoader Initwebapplicationcontext
Info: Root webapplicationcontext:initialization completed in 1977 MS
----------Initialize a session of Struts
2016-5-22 20:20:16 Com.opensymphony.xwork2.util.logging.commons.CommonsLogger Info
Info: Parsing configuration file [Struts-default.xml]
2016-5-22 20:20:16 Com.opensymphony.xwork2.util.logging.commons.CommonsLogger Info
Info: Parsing configuration file [Struts-plugin.xml]
2016-5-22 20:20:16 Com.opensymphony.xwork2.util.logging.commons.CommonsLogger Info
Info: Parsing configuration file [Struts.xml]
2016-5-22 20:20:16 Com.opensymphony.xwork2.util.logging.commons.CommonsLogger Info
Info: Initializing struts-spring integration ...
2016-5-22 20:20:16 Com.opensymphony.xwork2.util.logging.commons.CommonsLogger Info
Info: Setting autowire strategy to name
2016-5-22 20:20:16 Com.opensymphony.xwork2.util.logging.commons.CommonsLogger Info
Info: ... initialized struts-spring integration successfully
Info: Server Startup in 4173 MS
Tomcat Boot Process