`
bluecell
  • 浏览: 4029 次
文章分类
社区版块
存档分类
最新评论

我的应用WebSphere做中间件,出现了一个以前没遇到的问题,帮忙

阅读更多
项目启动的时候链接数据库会出问题
这个是我的application.xml文件
	<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
		<property name="jndiName">
			<value>jdbc/mmp</value>
		</property>
	</bean>
	<bean id="HibernateConfig" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
		<property name="dataSource">
			<ref local="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" class="com.travelsky.mmp.hibernate.TbluserDAO">
		<property name="sessionFactory">
			<ref bean="HibernateConfig"></ref>
		</property>
	</bean>
	<bean id="User" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
		<property name="transactionManager">
			<ref local="transactionManager" />
		</property>
		<property name="target">
			<bean class="com.travelsky.mmp.service.User.UserImpl">
				<property name="user">
					<ref local="TbluserDAO" />
				</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]
分享到:
评论
7 楼 janh 2007-04-06  
在like里写中文会有问题吗,我怎么没有碰到过,你要那么犟我也没办法
只是要告诉你对于oracle,hibernate自动选用的Query translator是org.hibernate.hql.ast.ASTQueryTranslatorFactory类。
6 楼 bluecell 2007-04-06  
已经搞定。改成这样就可以了
			<!-- 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。
5 楼 janh 2007-04-05  
org.hibernate.HibernateException: database product name cannot be null[/color] at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57) 

引用
hibernate.dialect是由Spring找WebSphere的数据源搞定的

没有看到任何spring来确定数据库产品的信息,相反倒是hibernate没有找到数据库dialect的信息。
如果你的数据库连接是在hibernate或spring的配置中设置的,倒是可以省略dialect的设置,hibernate会根据数据库驱动确定dialect。

hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory

如果你设了数据库的dialect,hibernate自然会根据不同的数据库选择使用不同的hibernate.query.factory_class。

数据库查询中文还需要特殊的处理吗,没听说过。
4 楼 bluecell 2007-04-05  
测试WebSphere的数据源是可以用的,问题找到了,
		<property name="hibernateProperties">
			<value>hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory hibernate.show_sql=true</value>
		</property>
[
这个是保证中文查询的,如果去掉这个就可以,但是不能查询中文了,无奈。。。。
3 楼 jackey3316 2007-04-04  
看样子 应该是你的datasource 配置出了问题
websphere不能得到资源
看看你的datasource资源配置
2 楼 bluecell 2007-04-04  
肯定不是,hibernate.dialect是由Spring找WebSphere的数据源搞定的。
1 楼 janh 2007-04-04  
没有设置hibernate.dialect吧

相关推荐

    什么是WebSphere?中间件是什么意思?

    WebSphere 是一个 Web 应用服务器,提供了增强的 Servlet API 和 Servlets 管理工具,并集成了 JSP 技术和数据库连接技术。 在实际应用中,WebSphere 可以帮助企业提高站点传输数据的数量和质量,从而大幅提升 Web ...

    WebSphere-应用服务器-中间件

    WebSphere Application Server(WAS)是IBM提供的一款企业级的中间件产品,它主要用于构建、部署和管理基于Java EE(Java Platform, Enterprise Edition)的应用程序。这款强大的服务器平台提供了全面的集成解决方案...

    Java监控WebSphere MQ 7.5中间件信息

    6. **解析响应**:PCF消息的响应包含了一个或多个结果集,每个结果集都是一组参数,可以使用PCFMessage的getParameters方法获取。这些参数提供了关于MQ对象的详细信息,如队列的深度、通道的状态等。 7. **监控策略...

    IBM WebSphere中间件安装及配置手册——操作系统参数配置

    在安装 IBM WebSphere中间件前,需要创建操作系统组和用户,例如,可以创建一个名为 wasadmin 的用户和一个名为 wasgroup 的组。 7. 修改操作系统内核参数 在安装 IBM WebSphere中间件前,需要修改操作系统内核...

    消息中间件及WebSphere+MQ入门

    消息中间件及WebSphere+MQ入门 消息中间件及WebSphere+MQ入门 消息中间件及WebSphere+MQ入门 消息中间件及WebSphere+MQ入门 消息中间件及WebSphere+MQ入门 消息中间件及WebSphere+MQ入门 消息中间件及WebSphere+MQ...

    WebSphere中间件配置管理与性能监控分析案例分享

    WebSphere中间件配置管理与性能监控分析案例分享

    中间件WebSphere安装手册(AIX)

    部署应用程序是中间件使用中的一个重要环节,它涉及将已编译的程序包和资源导入并运行在WebSphere环境中,以使应用可供最终用户使用。 最后,在WebSphere使用不当或者需要更替版本时,可能需要执行WAS6.0的完全卸载...

    websphere 集群应用部署

    Websphere集群应用部署是一个涉及多个步骤的复杂过程。从创建集群级数据源开始,到安装和配置Apache Web服务器,再到安装和集成WAS插件,以及将Web服务器添加到集群控制台,最后部署应用程序,每一个步骤都至关重要...

    WebSphere应用发布详解

    **WebSphere** 是IBM推出的一款企业级应用服务器,主要用于部署、管理和监控Java EE应用程序。它支持多种操作系统平台,如Windows、Linux、Solaris等,并且具备高度可扩展性和稳定性。 ##### 16.1 安装服务器端软件...

    Websphere应用与实践

    例如,实现一个简单的NotificationListener: ```java public class MyNotificationListener implements NotificationListener { @Override public void handleNotification(Notification notification, Object ...

    关于 WebSphere 的应用部署

    WebSphere 提供了一个直观的管理控制台来管理应用程序。首先,确保通过 `startManager.sh` 启动管理控制台,然后可以通过浏览器访问控制台,通常的 URL 为 `http://&lt;服务器IP&gt;:9060/admin` 或 `http://&lt;服务器IP&gt;:...

    websphere5.1应用部署

    Websphere 5.1是IBM提供的...在使用过程中,遇到问题时,可以参考IBM官方文档或在线社区寻求帮助,因为理解和解决问题是持续学习过程的一部分。希望这些信息能帮助到有需要的人,避免他们在网络资料的海洋中迷失方向。

    websphere常见问题及解决办法

    Error 404: SRVE0190E 是一个常见的错误信息,在 WebSphere 应用服务器中经常出现。这个错误通常是由于 JSP 文件无法正确解析引起的。解决这个问题的方法是: 1. 进入控制台,选择服务器 -&gt; 应用程序服务器 -&gt; Web ...

    一个有关websphere基础知识学习的资料包

    Websphere作为IBM的旗舰中间件产品,它是一个强大的应用服务器,支持多种标准如Java EE(Enterprise Edition)和SOA(Service-Oriented Architecture)。Websphere提供了一个稳定的运行环境,使企业能够构建、运行...

    websphere集群配置与应用程序部署过程总结

    总的来说,Websphere集群配置和应用程序部署是一个涉及多步的复杂过程,需要精确的设置和严格的同步,以确保集群的稳定性和性能。这个过程中,时间同步、主机映射、版本一致性、服务器启动和管理、以及应用程序的...

    中间件技术产品应用

    中间件技术产品应用是IT领域中的一个重要组成部分,它在分布式系统、企业级应用程序集成以及云计算环境中扮演着关键角色。中间件是一种软件,它为应用程序提供服务,使得它们能够在不同的操作系统、网络和硬件之间...

Global site tag (gtag.js) - Google Analytics