Hi there
Been banging our heads against this problem all day. The primary error seems to be:
Code:
java.lang.AbstractMethodError: net.sf.hibernate.type.Type.getName()
... from Hibernate (2.1.1) while initialising within our EJB layer. We do not see the problem in development on OC4J (9.0.3) on windows under Sun JDK 1.3.1_06. Only when we deploy to Oracle 9iAS on Tru64 under Compaq Fast VM 1.3.1-6.
I think we've tried the obvious things: Switching off reflection optimizer, using hibernate 2.1.2, re-compiling hibernate on Tru64 against the 1.3.1 JDK etc. all to no avail.
I've just written a slimmed down command line app that appears to get further than the problem on Tru64 - configuration is completed. So the problem may lie in the 9iAS environment or our deployment within it - and not necessarily with the JDK compiler.
Has anyone experienced anything similar - or recognise any of the symptoms? Config output and some stack trace below.
Cheers
Luke
2004-02-12 16:01:00,433 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Environment - Hibernate 2.1.1
2004-02-12 16:01:00,449 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Environment - loaded properties from resource hibernate.properties: {cglib.use_reflection_optimizer=false, hibernate.cglib.use_reflection_optimizer=false}
2004-02-12 16:01:00,459 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Environment - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disabled
2004-02-12 16:01:00,460 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Environment - using workaround for JVM bug in java.sql.Timestamp
2004-02-12 16:01:00,482 [ApplicationServerThread-9] DEBUG uk.co.slc.crm.common.data.HibernateUtil - Attempting load of standalone config at /standalone-hibernate.cfg.xml
2004-02-12 16:01:00,482 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Configuration - configuring from resource: /standalone-hibernate.cfg.xml
2004-02-12 16:01:00,483 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Configuration - Configuration resource: /standalone-hibernate.cfg.xml
2004-02-12 16:01:00,513 [ApplicationServerThread-9] WARN net.sf.hibernate.cfg.Configuration - /standalone-hibernate.cfg.xml not found
2004-02-12 16:01:00,523 [ApplicationServerThread-9] INFO uk.co.slc.crm.common.data.HibernateUtil - Loading default (container) Hibernate Configuration
2004-02-12 16:01:00,523 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
2004-02-12 16:01:00,523 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
2004-02-12 16:01:00,747 [ApplicationServerThread-9] DEBUG net.sf.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath under net/sf/hibernate/
2004-02-12 16:01:00,779 [ApplicationServerThread-9] DEBUG net.sf.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath
2004-02-12 16:01:00,944 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - connection.datasource=jdbc/CrmDBDS
2004-02-12 16:01:00,944 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - show_sql=true
2004-02-12 16:01:00,944 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - use_outer_join=true
2004-02-12 16:01:00,945 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - dialect=net.sf.hibernate.dialect.Oracle9Dialect
2004-02-12 16:01:00,945 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - jdbc.fetch_size=5
2004-02-12 16:01:00,945 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - jdbc.batch_size=20
2004-02-12 16:01:00,945 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - cglib.use_reflection_optimizer=false
2004-02-12 16:01:00,945 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - transaction.factory_class=net.sf.hibernate.transaction.JTATransactionFactory
2004-02-12 16:01:00,946 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - jta.UserTransaction=java:comp/UserTransaction
2004-02-12 16:01:00,951 [ApplicationServerThread-9] DEBUG net.sf.hibernate.cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@8eac1b2 [Attribute: name resource value "uk/co/slc/crm/common/data/objects/HLondonPostcode.hbm.xml"]
2004-02-12 16:01:00,951 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Configuration - Mapping resource: uk/co/slc/crm/common/data/objects/HLondonPostcode.hbm.xml
2004-02-12 16:01:00,985 [ApplicationServerThread-9] DEBUG net.sf.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
2004-02-12 16:01:01,015 [ApplicationServerThread-9] DEBUG net.sf.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
2004-02-12 16:01:01,555 [ApplicationServerThread-9] INFO net.sf.hibernate.cfg.Binder - Mapping class: uk.co.slc.crm.common.data.objects.HLondonPostcode -> xxsl_london_postcodes
2004-02-12 16:01:02,023 [ApplicationServerThread-9] DEBUG uk.co.slc.crm.common.ejb.CRMSLBeanBase - Removing Bean
2004-02-12 16:01:02,028 [ApplicationServerThread-9] ERROR uk.co.slc.crm.portal.rules.buslogic.impl.Annual04RulesClientBeanHelper - Error
javax.ejb.EJBException: java.lang.AbstractMethodError: net.sf.hibernate.type.Type.getName()
at com.evermind.server.ejb.EJBUtils.getLocalUserException (EJBUtils.java:231) (pc 140)
at ApplicationSLLocal_StatelessSessionBeanWrapper104.updateApplicationData(java.lang.Long,java.lang.String,uk.co.slc.crm.common.dataobject.Application) (ApplicationSLLocal_StatelessSessionBeanWrapper104.java:7096) (pc 361)
at uk.co.slc.crm.portal.rules.buslogic.impl.Annual04RulesClientBeanHelper.doAutomatedEntitlementAssessment (Annual04RulesClientBeanHelper.java:492) (pc 2312)
at uk.co.slc.crm.portal.rules.buslogic.impl.Annual04RulesClientSLBean.doAutomatedEntitlementAssessment (Annual04RulesClientSLBean.java:165) (pc 9)
at Annual04RulesClientSLLocal_StatelessSessionBeanWrapper116.doAutomatedEntitlementAssessment (Annual04RulesClientSLLocal_StatelessSessionBeanWrapper116.java:668) (pc 256)
at uk.co.slc.crm.lea.actions.AutomatedAssessmentAction.executeBusinessLogic (AutomatedAssessmentAction.java:161) (pc 530)