Hello, I'm trying to persist some objects using hibernate in an axis2 context but fail terribly.
The setup using the config.xml works outside of axis2, I load hibernate.cfg.xml from the jar (this seems to work) and loading of the mapping files works as well. But in the initialisation of the SessionFactory I get an java.lang.ExceptionInInitializerError error Could someone give me hint what is going wrong here ? Thanks, Carsten LOG: 03.08.2007 17:36:34 org.hibernate.cfg.Environment <clinit> INFO: Hibernate 3.2.5 03.08.2007 17:36:34 org.hibernate.cfg.Environment <clinit> INFO: hibernate.properties not found 03.08.2007 17:36:34 org.hibernate.cfg.Environment buildBytecodeProvider INFO: Bytecode provider name : cglib 03.08.2007 17:36:34 org.hibernate.cfg.Environment <clinit> INFO: using JDK 1.4 java.sql.Timestamp handling 03.08.2007 17:36:34 org.hibernate.cfg.Configuration configure INFO: configuring from url: jar:file:/C:/Dokumente und Einstellungen/zerbst.PSAD/.netbeans/5.5/apache-tomcat-5.5.17_base/work/Catalina/localhost/axis2/axis212941SSRMServices2.aar!/net/eads/space/ssrm/model/persistence/hibernate.cfg.xml 03.08.2007 17:36:35 org.hibernate.cfg.Configuration addResource INFO: Reading mappings from resource : net/eads/space/ssrm/model/persistence/ElementDefinitionDB.hbm.xml 03.08.2007 17:36:35 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues INFO: Mapping class: net.eads.space.ssrm.model.persistence.ElementDefinitionDB -> ElementDefinition 03.08.2007 17:36:35 org.hibernate.cfg.HbmBinder bindCollection INFO: Mapping collection: net.eads.space.ssrm.model.persistence.ElementDefinitionDB.listContainedElements -> ElementDefinitionContainedElements 03.08.2007 17:36:35 org.hibernate.cfg.Configuration addResource INFO: Reading mappings from resource : net/eads/space/ssrm/model/persistence/ElementOccurenceDB.hbm.xml 03.08.2007 17:36:35 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues INFO: Mapping class: net.eads.space.ssrm.model.persistence.ElementOccurenceDB -> ElementOccurence 03.08.2007 17:36:35 org.hibernate.cfg.Configuration addResource INFO: Reading mappings from resource : net/eads/space/ssrm/model/persistence/ElementUsageDB.hbm.xml 03.08.2007 17:36:35 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues INFO: Mapping class: net.eads.space.ssrm.model.persistence.ElementUsageDB -> ElementUsage 03.08.2007 17:36:35 org.hibernate.cfg.Configuration doConfigure INFO: Configured SessionFactory: null ... displaying many default settings INFO: Deleted entity synthetic identifier rollback: disabled 03.08.2007 17:36:36 org.hibernate.cfg.SettingsFactory buildSettings INFO: Default entity-mode: pojo 03.08.2007 17:36:36 org.hibernate.cfg.SettingsFactory buildSettings INFO: Named query checking : enabled 03.08.2007 17:36:36 org.hibernate.impl.SessionFactoryImpl <init> INFO: building session factory Initial SessionFactory creation failed.java.lang.ExceptionInInitializerError 03.08.2007 17:36:36 org.apache.axis2.transport.http.AxisServlet doPost SCHWERWIEGEND: java.lang.ExceptionInInitializerError ___ Dr.-Ing. Carsten Zerbst PROSTEP ITS GmbH Hein-Saß-Weg 19, D-21129 Hamburg Tel: +49 40 209 1608 12 Mobil: +49 178 950 9468 E-Mail: [EMAIL PROTECTED] http://www.prostep.com ________________________________________________ PROSTEP ITS GmbH, Dolivostr.11, D-64293 Darmstadt HR: Amtsgericht Darmstadt, HRB 8805 Geschäftsführung: Dr. Markus Sachers, Reinhard Betz ________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
