Hello,
I am trying to deploy hibernate components as a JMX compoent. I am using Jboss 3.2.3 on XP having Postgres 7.2 as the datasource. I am using Hibernate version 3.1. BTW, I didn't have any problems deploying the same components using Hibernate 2.1.
Any kind of help is greatly appreciated.
Thanks
Satish
Stacktrace.....
2006-01-19 10:52:59,509 DEBUG [org.jboss.system.ServiceController] starting service jboss.jca:service=CPHibernateFactory,name=CPHibernateFactory
2006-01-19 10:52:59,519 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.jmx.HibernateService buildSessionFactory
INFO: starting service at JNDI name: hibernate/ContractPricingHibernateFactory
2006-01-19 10:52:59,519 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.jmx.HibernateService buildSessionFactory
INFO: service properties: {hibernate.session_factory_name=hibernate/ContractPricingHibernateFactory, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate.transaction.auto_close_session=true, hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.connection.datasource=java:/CPPostgresDS, hibernate.transaction.flush_before_completion=true}
2006-01-19 10:52:59,549 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.1
2006-01-19 10:52:59,559 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
2006-01-19 10:52:59,559 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
2006-01-19 10:52:59,559 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
2006-01-19 10:52:59,658 ERROR [STDERR] Jan 19, 2006 10:52:59 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/contract/persist/contract.hbm.xml
2006-01-19 10:53:01,618 ERROR [STDERR] Jan 19, 2006 10:53:01 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.contract.persist.Contract -> contract
2006-01-19 10:53:01,648 ERROR [STDERR] Jan 19, 2006 10:53:01 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/contract/persist/ContractHistory.hbm.xml
2006-01-19 10:53:03,449 ERROR [STDERR] Jan 19, 2006 10:53:03 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.contract.persist.ContractHistory -> contract_history
2006-01-19 10:53:03,528 ERROR [STDERR] Jan 19, 2006 10:53:03 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/customer/persist/customer.hbm.xml
2006-01-19 10:53:05,726 ERROR [STDERR] Jan 19, 2006 10:53:05 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.customer.persist.Customer -> customer
2006-01-19 10:53:05,726 ERROR [STDERR] Jan 19, 2006 10:53:05 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/customer/persist/CustomerGroup.hbm.xml
2006-01-19 10:53:11,478 ERROR [STDERR] Jan 19, 2006 10:53:11 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.customer.persist.CustomerGroup -> customer_group
2006-01-19 10:53:11,478 ERROR [STDERR] Jan 19, 2006 10:53:11 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/customer/persist/CustomerGroupMembers.hbm.xml
2006-01-19 10:53:16,328 ERROR [STDERR] Jan 19, 2006 10:53:16 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.customer.persist.CustomerGroupMembers -> customer_group_members
2006-01-19 10:53:16,328 ERROR [STDERR] Jan 19, 2006 10:53:16 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/product.hbm.xml
2006-01-19 10:53:21,159 ERROR [STDERR] Jan 19, 2006 10:53:21 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.Product -> product
2006-01-19 10:53:21,159 ERROR [STDERR] Jan 19, 2006 10:53:21 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/deviatedcost.hbm.xml
2006-01-19 10:53:26,039 ERROR [STDERR] Jan 19, 2006 10:53:26 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.DeviatedCost -> deviated_cost
2006-01-19 10:53:26,039 ERROR [STDERR] Jan 19, 2006 10:53:26 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/GroupMembers.hbm.xml
2006-01-19 10:53:30,870 ERROR [STDERR] Jan 19, 2006 10:53:30 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.GroupMembers -> group_members
2006-01-19 10:53:30,870 ERROR [STDERR] Jan 19, 2006 10:53:30 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/ProductGroup.hbm.xml
2006-01-19 10:53:35,721 ERROR [STDERR] Jan 19, 2006 10:53:35 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.ProductGroup -> product_group
2006-01-19 10:53:35,731 ERROR [STDERR] Jan 19, 2006 10:53:35 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/ProductType.hbm.xml
2006-01-19 10:53:41,205 ERROR [STDERR] Jan 19, 2006 10:53:41 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.ProductType -> product_type
2006-01-19 10:53:41,205 ERROR [STDERR] Jan 19, 2006 10:53:41 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/Uom.hbm.xml
2006-01-19 10:53:46,026 ERROR [STDERR] Jan 19, 2006 10:53:46 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.Uom -> uom
2006-01-19 10:53:46,036 ERROR [STDERR] Jan 19, 2006 10:53:46 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/Pricing.hbm.xml
2006-01-19 10:53:50,560 ERROR [STDERR] Jan 19, 2006 10:53:50 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.Pricing -> pricing
2006-01-19 10:53:50,560 ERROR [STDERR] Jan 19, 2006 10:53:50 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/product/persist/Bid.hbm.xml
2006-01-19 10:53:55,539 ERROR [STDERR] Jan 19, 2006 10:53:55 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.product.persist.Bid -> bid
2006-01-19 10:53:55,539 ERROR [STDERR] Jan 19, 2006 10:53:55 AM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: com/xpedx/contractpricing/report/persist/Report.hbm.xml
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.xpedx.contractpricing.report.persist.Report -> report
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing extends queue
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing collection mappings
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.contract.persist.Contract.contractHistories -> contract_history
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.contract.persist.Contract.bids -> bid
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.contract.persist.Contract.products -> product
2006-01-19 10:54:01,211 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.contract.persist.Contract.customers -> customer
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.customer.persist.CustomerGroup.customerGroupMemberses -> customer_group_members
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.Product.pricings -> pricing
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.Product.deviatedCosts -> deviated_cost
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.ProductGroup.groupMemberses -> group_members
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.ProductType.groupMemberses -> group_members
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.ProductType.products -> product
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.Uom.pricings -> pricing
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.Uom.productGroups -> product_group
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.xpedx.contractpricing.product.persist.Bid.deviatedCosts -> deviated_cost
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing association property references
2006-01-19 10:54:01,221 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
2006-01-19 10:54:01,231 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.util.NamingHelper getInitialContext
INFO: JNDI InitialContext properties:{}
2006-01-19 10:54:01,231 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.connection.DatasourceConnectionProvider configure
INFO: Using datasource: java:/CPPostgresDS
2006-01-19 10:54:01,241 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 900000 old interval: 9223372036854775807
2006-01-19 10:54:01,241 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about to notify thread: old next: 1137690091241, new next: 1137690091241
2006-01-19 10:54:01,241 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=webmgr, password=cpweb50284}
2006-01-19 10:54:01,241 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Checking driver for URL: jdbc:postgresql://172.24.50.23:5432/contractpricing
2006-01-19 10:54:01,251 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:postgresql://172.24.50.23:5432/contractpricing
2006-01-19 10:54:01,251 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver already registered for url: jdbc:postgresql://172.24.50.23:5432/contractpricing
2006-01-19 10:54:01,350 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: PostgreSQL, version: 7.3.4
2006-01-19 10:54:01,350 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 7.3.4 JDBC3 jdbc driver build 113
2006-01-19 10:54:01,379 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.PostgreSQLDialect
2006-01-19 10:54:01,389 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Transaction strategy: org.hibernate.transaction.JTATransactionFactory
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.util.NamingHelper getInitialContext
INFO: JNDI InitialContext properties:{}
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: instantiated TransactionManagerLookup
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: instantiated TransactionManagerLookup
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): enabled
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: enabled
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
2006-01-19 10:54:01,399 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 5
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: enabled
2006-01-19 10:54:01,409 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.EhCacheProvider
2006-01-19 10:54:01,419 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
2006-01-19 10:54:01,419 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
2006-01-19 10:54:01,419 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory createQueryCacheFactory
INFO: Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
2006-01-19 10:54:01,429 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
2006-01-19 10:54:01,429 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
2006-01-19 10:54:01,429 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
2006-01-19 10:54:01,429 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
2006-01-19 10:54:01,518 ERROR [STDERR] Jan 19, 2006 10:54:01 AM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
2006-01-19 10:54:01,528 ERROR [STDERR] Jan 19, 2006 10:54:01 AM net.sf.ehcache.config.Configurator configure
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Java/jboss-3.2.3_dev/server/default/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
2006-01-19 10:54:02,201 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Factory name: hibernate/ContractPricingHibernateFactory
2006-01-19 10:54:02,201 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.util.NamingHelper getInitialContext
INFO: JNDI InitialContext properties:{}
2006-01-19 10:54:02,201 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.util.NamingHelper bind
INFO: Creating subcontext: hibernate
2006-01-19 10:54:02,211 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Bound factory to JNDI name: hibernate/ContractPricingHibernateFactory
2006-01-19 10:54:02,211 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
WARNING: InitialContext did not implement EventContext
2006-01-19 10:54:02,211 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.util.NamingHelper getInitialContext
INFO: JNDI InitialContext properties:{}
2006-01-19 10:54:02,211 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.cache.UpdateTimestampsCache <init>
INFO: starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
2006-01-19 10:54:02,211 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.cache.EhCacheProvider buildCache
WARNING: Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
2006-01-19 10:54:02,231 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.cache.StandardQueryCache <init>
INFO: starting query cache at region: org.hibernate.cache.StandardQueryCache
2006-01-19 10:54:02,231 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.cache.EhCacheProvider buildCache
WARNING: Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.
2006-01-19 10:54:02,251 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.impl.SessionFactoryImpl checkNamedQueries
INFO: Checking 0 named HQL queries
2006-01-19 10:54:02,251 ERROR [STDERR] Jan 19, 2006 10:54:02 AM org.hibernate.impl.SessionFactoryImpl checkNamedQueries
INFO: Checking 0 named SQL queries
2006-01-19 10:54:02,251 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.jca:service=CPHibernateFactory,name=CPHibernateFactory dependent components: []
jboss-service.xml......
<server>
<mbean code="org.hibernate.jmx.HibernateService"
name="jboss.jca:service=CPHibernateFactory,name=CPHibernateFactory">
<depends>jboss.jca:service=RARDeployer</depends>
<depends>jboss.jca:service=LocalTxCM,name=CPPostgresDS</depends>
<attribute name="MapResources">
com/xpedx/contractpricing/report/persist/Report.hbm.xml
</attribute>
<attribute name="JndiName">hibernate/ContractPricingHibernateFactory</attribute>
<attribute name="Datasource">java:/CPPostgresDS</attribute>
<attribute name="Dialect">org.hibernate.dialect.PostgreSQLDialect</attribute>
<!-- Transaction integration -->
<attribute name="TransactionStrategy">org.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">org.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="FlushBeforeCompletionEnabled">true</attribute>
<attribute name="AutoCloseSessionEnabled">true</attribute>
<!-- Fetching options -->
<attribute name="MaximumFetchDepth">5</attribute>
<!-- Second-level caching -->
<attribute name="SecondLevelCacheEnabled">true</attribute>
<attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
<attribute name="QueryCacheEnabled">true</attribute>
<!-- Logging -->
<attribute name="ShowSqlEnabled">true</attribute>
<attribute name="MapResources">
com/xpedx/contractpricing/contract/persist/contract.hbm.xml,
com/xpedx/contractpricing/contract/persist/ContractHistory.hbm.xml,
com/xpedx/contractpricing/customer/persist/customer.hbm.xml,
com/xpedx/contractpricing/customer/persist/CustomerGroup.hbm.xml,
com/xpedx/contractpricing/customer/persist/CustomerGroupMembers.hbm.xml,
com/xpedx/contractpricing/product/persist/product.hbm.xml,
com/xpedx/contractpricing/product/persist/deviatedcost.hbm.xml,
com/xpedx/contractpricing/product/persist/GroupMembers.hbm.xml,
com/xpedx/contractpricing/product/persist/ProductGroup.hbm.xml,
com/xpedx/contractpricing/product/persist/ProductType.hbm.xml,
com/xpedx/contractpricing/product/persist/Uom.hbm.xml,
com/xpedx/contractpricing/product/persist/Pricing.hbm.xml,
com/xpedx/contractpricing/product/persist/Bid.hbm.xml,
com/xpedx/contractpricing/report/persist/Report.hbm.xml
</attribute>
</mbean>
</server>
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: