hibernate 3.2.6或3.3.2和jboss 4.2.3.GA部署的应用程序运行失败,出现c3p0错误

hibernate 3.2.6或3.3.2和jboss 4.2.3.GA部署的应用程序运行失败,出现c3p0错误,c3p0,jboss-4.2.x,hibernate3,C3p0,Jboss 4.2.x,Hibernate3,我部署具有hibernate依赖关系的应用程序 JBossAS 4.2.3.GA在server/default/lib中包含hibernate3.jar 尝试加载SessionFactory并获取 与 谷歌搜索了一下,没有结果 用hibernate-3.2.6.ga替换hibernate3.jar 而SessionFactory加载挂在 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:13

我部署具有hibernate依赖关系的应用程序

JBossAS 4.2.3.GA在server/default/lib中包含hibernate3.jar

尝试加载SessionFactory并获取

谷歌搜索了一下,没有结果

用hibernate-3.2.6.ga替换hibernate3.jar

而SessionFactory加载挂在

    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339)
在加载映射时

 2013-05-21 11:42:27,824 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Insert 0: insert into cb_entity (HOST, response_url, ADM_STATE, PORT, SYSTEM_ID, PASSWD, ADDRESS_RANGE, TON, NPI, LINK_TYPE, BIND_HOST, BIND_PORT, NAME, DESCRIPTION, OWNER, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

 2013-05-21 11:42:27,824 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Update 0: update cb_entity set HOST=?, response_url=?, ADM_STATE=?, PORT=?, SYSTEM_ID=?, PASSWD=?, ADDRESS_RANGE=?, TON=?, NPI=?, LINK_TYPE=?, BIND_HOST=?, BIND_PORT=?, NAME=?, DESCRIPTION=?, OWNER=? where ID=?

 2013-05-21 11:42:27,824 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Delete 0: delete from cb_entity where ID=?

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Static SQL for entity: com.alt1.cbc.core.BaseStationSubsystem

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Version select: select id from bss where id =?

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Snapshot select: select basestatio_.id, basestatio_.parent_id as parent2_0_, basestatio_.type as type0_, basestatio_.name as name0_, basestatio_.description as descript5_0_, basestatio_.bsc_admin_state as bsc6_0_, basestatio_.bsc_id as bsc7_0_, basestatio_.OWNER as OWNER0_, basestatio_.PARAMS as PARAMS0_, basestatio_.operator as operator0_ from bss basestatio_ where basestatio_.id=?

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Insert 0: insert into bss (parent_id, type, name, description, bsc_admin_state, bsc_id, OWNER, PARAMS, operator, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

数据模型类文件依赖于在构建期间复制到WEB-INF/classes而不是jar的类

 2013-05-21 11:42:27,824 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Insert 0: insert into cb_entity (HOST, response_url, ADM_STATE, PORT, SYSTEM_ID, PASSWD, ADDRESS_RANGE, TON, NPI, LINK_TYPE, BIND_HOST, BIND_PORT, NAME, DESCRIPTION, OWNER, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

 2013-05-21 11:42:27,824 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Update 0: update cb_entity set HOST=?, response_url=?, ADM_STATE=?, PORT=?, SYSTEM_ID=?, PASSWD=?, ADDRESS_RANGE=?, TON=?, NPI=?, LINK_TYPE=?, BIND_HOST=?, BIND_PORT=?, NAME=?, DESCRIPTION=?, OWNER=? where ID=?

 2013-05-21 11:42:27,824 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Delete 0: delete from cb_entity where ID=?

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Static SQL for entity: com.alt1.cbc.core.BaseStationSubsystem

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Version select: select id from bss where id =?

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Snapshot select: select basestatio_.id, basestatio_.parent_id as parent2_0_, basestatio_.type as type0_, basestatio_.name as name0_, basestatio_.description as descript5_0_, basestatio_.bsc_admin_state as bsc6_0_, basestatio_.bsc_id as bsc7_0_, basestatio_.OWNER as OWNER0_, basestatio_.PARAMS as PARAMS0_, basestatio_.operator as operator0_ from bss basestatio_ where basestatio_.id=?

 2013-05-21 11:42:27,835 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister]  Insert 0: insert into bss (parent_id, type, name, description, bsc_admin_state, bsc_id, OWNER, PARAMS, operator, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)