我的应用WebSphere做中间件,出现了一个以前没遇到的问题,帮忙项目启动的时候链接数据库会出问题这个是我的
我的应用WebSphere做中间件,出现了一个以前没遇到的问题,帮忙
项目启动的时候链接数据库会出问题
这个是我的application.xml文件
<bean id="dataSource" /></property><property name="hibernateProperties"><value>hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory hibernate.show_sql=true</value></property><property name="mappingResources"><list><value>com/travelsky/mmp/hibernate/TblAgent.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tbluser.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblsystemlog.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblContractType.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblPid.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblpopedom.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblContractSort.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblPidTotal.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblOffice.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblpopedomofgroup.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblpopedomoforganization.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblPidType.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblContract.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblsysparameter.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblContractAgtDetail.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblorganization.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblpopedomgroup.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblpopedomofuser.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblCountry.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblCity.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblMsg.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblQx.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblZtgrp.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblGdsBranch.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblGdsMain.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblAirportdetail.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblAirport.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblAirline.hbm.xml</value><value>com/travelsky/mmp/hibernate/TblAirlinedetail.hbm.xml</value><value>com/travelsky/mmp/hibernate/QryAgent.hbm.xml</value><value>com/travelsky/mmp/hibernate/QryAgentOff.hbm.xml</value><value>com/travelsky/mmp/hibernate/Tblsectionoffice.hbm.xml</value><value>com/travelsky/mmp/hibernate/QryAgtRptNobycty.hbm.xml</value></list></property></bean>
HibernateConfig被下面所有的DAO用到,例如:
<bean id="TbluserDAO" /></property><property name="target"><bean /></property><property name="tblorganization"><ref local="TblorganizationDAO" /></property><property name="tblsectionoffice"><ref local="TblsectionofficeDAO" /></property></bean></property><property name="transactionAttributes"><props><prop key="find*">PROPAGATION_REQUIRED,readOnly</prop><prop key="add*">PROPAGATION_REQUIRED</prop><prop key="update*">PROPAGATION_REQUIRED</prop><prop key="del*">PROPAGATION_REQUIRED</prop></props></property></bean>
我Websphere中的数据源已经测试通过,jdbc/mmp
我用到的类包放到了项目下,不存在引用的问题。
我用到的包如下
activation.jar
antlr-2.7.5H3.jar
cglib-full-2.0.2.jar
classes12.jar
commons-attributes-api.jar
commons-beanutils-1.6.1.jar
commons-collections-2.1.1.jar
commons-dbcp-1.2.1.jar
ommons-digester.jar
commons-discovery.jar
commons-fileupload.jar
commons-lang-1.0.1.jar
commons-logging-api-1.0.2.jar
commons-pool-1.2.jar
commons-validator.jar
concurrent-1.3.3.jar
connector.jar
dom4j-1.6.1.jar
edtftpj-1.5.4.jar
ehcache-1.1.jar
hibernate3.jar
jakarta-oro.jar
jaxen-1.1-beta-6.jar
jta.jar
log4j-1.2.11.jar
mail.jar
odmg-3.0.jar
ojdbc14.jar
oscache-2.0.2.jar
poi-2.5.1-final-20040804.jar
public.jar
quartz-1.6.0.jar
spring.jar
struts.jar
Teradata.jar
velocity-dep-1.3.1.jar
velocity-tools-1.1.jar
启动WebSpherer日志如下:
[07-4-4 15:01:11:562 CST] 00000024 Environment I org.hibernate.cfg.Environment <clinit> Hibernate 3.0.5
[07-4-4 15:01:11:640 CST] 00000024 Environment I org.hibernate.cfg.Environment <clinit> hibernate.properties not found
[07-4-4 15:01:11:734 CST] 00000024 Environment I org.hibernate.cfg.Environment <clinit> using CGLIB reflection optimizer
[07-4-4 15:01:11:796 CST] 00000024 Environment I org.hibernate.cfg.Environment <clinit> using JDK 1.4 java.sql.Timestamp handling
[07-4-4 15:01:12:421 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblAgent -> TBL_AGENT
[07-4-4 15:01:12:703 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tbluser -> TBLUSER
[07-4-4 15:01:12:812 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblsystemlog -> TBLSYSTEMLOG
[07-4-4 15:01:12:921 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblContractType -> TBL_CONTRACT_TYPE
[07-4-4 15:01:13:031 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblPid -> TBL_PID
[07-4-4 15:01:13:125 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblpopedom -> TBLPOPEDOM
[07-4-4 15:01:13:218 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblContractSort -> TBL_CONTRACT_SORT
[07-4-4 15:01:13:296 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblPidTotal -> TBL_PID_TOTAL
[07-4-4 15:01:13:406 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblOffice -> TBL_OFFICE
[07-4-4 15:01:13:515 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblpopedomofgroup -> TBLPOPEDOMOFGROUP
[07-4-4 15:01:13:593 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblpopedomoforganization -> TBLPOPEDOMOFORGANIZATION
[07-4-4 15:01:13:703 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblPidType -> TBL_PID_TYPE
[07-4-4 15:01:13:796 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblContract -> TBL_CONTRACT
[07-4-4 15:01:13:875 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblsysparameter -> TBLSYSPARAMETER
[07-4-4 15:01:13:968 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblContractAgtDetail -> TBL_CONTRACT_AGT_DETAIL
[07-4-4 15:01:14:062 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblorganization -> TBLORGANIZATION
[07-4-4 15:01:14:156 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblpopedomgroup -> TBLPOPEDOMGROUP
[07-4-4 15:01:14:250 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblpopedomofuser -> TBLPOPEDOMOFUSER
[07-4-4 15:01:14:359 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblCountry -> TBL_COUNTRY
[07-4-4 15:01:14:437 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblCity -> TBL_CITY
[07-4-4 15:01:14:531 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblMsg -> TBL_MSG
[07-4-4 15:01:14:625 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblQx -> TBL_QX
[07-4-4 15:01:14:718 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblZtgrp -> TBL_ZTGRP
[07-4-4 15:01:14:812 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblGdsBranch -> TBL_GDS_BRANCH
[07-4-4 15:01:14:890 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblGdsMain -> TBL_GDS_MAIN
[07-4-4 15:01:14:984 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblAirportdetail -> TBL_AIRPORTDETAIL
[07-4-4 15:01:15:093 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblAirport -> TBL_AIRPORT
[07-4-4 15:01:15:218 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblAirline -> TBL_AIRLINE
[07-4-4 15:01:15:296 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.TblAirlinedetail -> TBL_AIRLINEDETAIL
[07-4-4 15:01:15:390 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.QryAgent -> QRY_AGENT
[07-4-4 15:01:15:515 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.QryAgentOff -> QRY_AGT_OFF
[07-4-4 15:01:15:609 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.Tblsectionoffice -> TBLSECTIONOFFICE
[07-4-4 15:01:15:703 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues Mapping class: com.travelsky.mmp.hibernate.QryAgtRptNobycty -> qry_agt_rpt_nobycty
[07-4-4 15:01:15:781 CST] 00000024 LocalSessionF I org.springframework.orm.hibernate3.LocalSessionFactoryBean afterPropertiesSet Building new Hibernate SessionFactory
[07-4-4 15:01:15:859 CST] 00000024 Configuration I org.hibernate.cfg.Configuration secondPassCompile processing extends queue
[07-4-4 15:01:15:937 CST] 00000024 Configuration I org.hibernate.cfg.Configuration secondPassCompile processing collection mappings
[07-4-4 15:01:16:000 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblAgent.tblPidTotals -> TBL_PID_TOTAL
[07-4-4 15:01:16:078 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblAgent.tblOffices -> TBL_OFFICE
[07-4-4 15:01:16:156 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tbluser.tblpopedomofusers -> TBLPOPEDOMOFUSER
[07-4-4 15:01:16:234 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblContractType.tblContracts -> TBL_CONTRACT
[07-4-4 15:01:16:312 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblpopedom.tblpopedomofgroups -> TBLPOPEDOMOFGROUP
[07-4-4 15:01:16:375 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblpopedom.tblpopedomofusers -> TBLPOPEDOMOFUSER
[07-4-4 15:01:16:453 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblContractSort.tblContractTypes -> TBL_CONTRACT_TYPE
[07-4-4 15:01:16:531 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblContractSort.tblContracts -> TBL_CONTRACT
[07-4-4 15:01:16:609 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblOffice.tblPids -> TBL_PID
[07-4-4 15:01:16:687 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblPidType.tblPids -> TBL_PID
[07-4-4 15:01:16:750 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblPidType.tblContractAgtDetails -> TBL_CONTRACT_AGT_DETAIL
[07-4-4 15:01:16:828 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblPidType.tblPidTotals -> TBL_PID_TOTAL
[07-4-4 15:01:16:906 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblContract.tblContractAgtDetails -> TBL_CONTRACT_AGT_DETAIL
[07-4-4 15:01:16:984 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblorganization.tblusers -> TBLUSER
[07-4-4 15:01:17:062 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblorganization.tblpopedomoforganizations -> TBLPOPEDOMOFORGANIZATION
[07-4-4 15:01:17:156 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblorganization.tblAgents -> TBL_AGENT
[07-4-4 15:01:17:250 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblorganization.tblsectionoffice -> TBLSECTIONOFFICE
[07-4-4 15:01:17:343 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblpopedomgroup.tblpopedomofgroups -> TBLPOPEDOMOFGROUP
[07-4-4 15:01:17:421 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblpopedomgroup.tblpopedomoforganizations -> TBLPOPEDOMOFORGANIZATION
[07-4-4 15:01:17:500 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblGdsMain.tblGdsBranchs -> TBL_GDS_BRANCH
[07-4-4 15:01:17:578 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblAirport.tblAirportdetails -> TBL_AIRPORTDETAIL
[07-4-4 15:01:17:656 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.TblAirline.tblAirlinedetails -> TBL_AIRLINEDETAIL
[07-4-4 15:01:17:734 CST] 00000024 HbmBinder I org.hibernate.cfg.HbmBinder bindCollectionSecondPass Mapping collection: com.travelsky.mmp.hibernate.Tblsectionoffice.tbluser -> TBLUSER
[07-4-4 15:01:17:828 CST] 00000024 Configuration I org.hibernate.cfg.Configuration secondPassCompile processing association property references
[07-4-4 15:01:17:906 CST] 00000024 Configuration I org.hibernate.cfg.Configuration secondPassCompile processing foreign key constraints
[07-4-4 15:01:18:453 CST] 00000024 ConnectionPro I org.hibernate.connection.ConnectionProviderFactory newConnectionProvider Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
[07-4-4 15:01:18:656 CST] 00000024 JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: 17433, SQLState: null
[07-4-4 15:01:18:750 CST] 00000024 JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions 调用中无效的参数DSRA0010E: SQL 状态 = null,错误代码 = 17,433
[07-4-4 15:01:18:828 CST] 00000024 SettingsFacto W org.hibernate.cfg.SettingsFactory buildSettings Could not obtain connection metadata
java.sql.SQLException: 调用中无效的参数DSRA0010E: SQL 状态 = null,错误代码 = 17,433
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:183)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(DriverManager.java:562)
at java.sql.DriverManager.getConnection(DriverManager.java:155)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:169)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:149)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:95)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:63)
at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper$1.run(InternalGenericDataStoreHelper.java:897)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getPooledConnection(InternalGenericDataStoreHelper.java:892)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:1180)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1047)
at com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1750)
at com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1517)
at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2141)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:843)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:582)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:431)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:400)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:80)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1478)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:3731)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:3813)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1483)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1055)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:948)
at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:536)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1070)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:273)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:159)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
[07-4-4 15:01:18:937 CST] 00000024 DefaultListab I org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [dataSource,HibernateConfig,transactionManager,TblsystemlogDAO,TblsectionofficeDAO,SectionOffice,TblpopedomoforganizationDAO,AssginOrganization,AssginUser,PopedomInterFace,SystemPara,TblsysparameterDAO,TblpopedomDAO,Popedom,TblpopedomofuserDAO,TblpopedomgroupDAO,PopedomGroup,TblorganizationDAO,Organization,PopedomOfGroup,TbluserDAO,User,TblpopedomofgroupDAO,TblContractSortDAO,contractSort,TblContractTypeDAO,contractType,TblContractDAO,contract,TblContractAgtDetailDAO,contractAgtDetail,TblAgentDAO,agent,TblOfficeDAO,office,TblPidDAO,pid,TblPidTypeDAO,pidType,TblPidTotalDAO,pidTotal,TblCountryDAO,country,TblCityDAO,city,agtReportDAO,agtreport,TblMsgDAO,msg,TblQxDAO,msgqx,TblZtgrpDAO,ztgrp,TblGdsBranchDAO,gdsBranch,TblGdsMainDAO,gds,TblAirportdetailDAO,airportdetail,TblAirportDAO,airport,TblAirlineDAO,airline,TblAirlinedetailDAO,airlinedetail,dboracleconnect,dbTeradataConnect,TeraOfficeAccess,ReadAgentTemplateFile,QryAgentDAO,qryagent,QryAgentOffDAO,qryagentoff,QryAgtRptNobyctyDAO,qryAgtRptNobycty]; root of BeanFactory hierarchy}[07-4-4 15:01:19:046 CST] 00000024 ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateConfig' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: database product name cannot be null
org.hibernate.HibernateException: database product name cannot be null[/color]at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:374)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:605)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:265)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1478)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:3731)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:3813)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1483)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1055)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:948)
at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:536)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1070)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:273)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:159)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
平时我们都是tomcat开发,现在移植到websphere,以前每半个月弄一次都没问题,这次出这个问题,该查的地方都看了,在下愚钝,还是找不到错误在哪,拍拖各位
[b]<property name="hibernateProperties"><value>hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory hibernate.show_sql=true</value></property>[
这个是保证中文查询的,如果去掉这个就可以,但是不能查询中文了,无奈。。。。org.hibernate.HibernateException: database product name cannot be null[/color] at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory
如果你设了数据库的dialect,hibernate自然会根据不同的数据库选择使用不同的hibernate.query.factory_class。
数据库查询中文还需要特殊的处理吗,没听说过。<!-- value>hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory hibernate.show_sql=true</value--><props> <prop key="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</prop> <prop key="hibernate.show_sql">true</prop> </props>
当然可以查中文,但你可以试试用在sql 里 写 like。 7 楼 janh 2007-04-06 在like里写中文会有问题吗,我怎么没有碰到过,你要那么犟我也没办法
只是要告诉你对于oracle,hibernate自动选用的Query translator是org.hibernate.hql.ast.ASTQueryTranslatorFactory类。