Reacently we wrote a little web app using hibernate - we run it in
tomcat 4.1.29
(using : java1.4.2-1 )
But when we run the application the tomcat throws exception.
the code from hibernate which throws exception is :
Class persister ..
persister..getConstructor.
a simple java.lang.reflect using.
The log file follows can anybody help with this problem. How can be fixed.
We first wrote to the hibernate forum but we saw that the problem is
actially from the
ClassLoader of Catalina.
09.01.2004 18:18:37 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
09.01.2004 18:18:41 net.sf.hibernate.cfg.Environment clinit
INFO: Hibernate 2.1 beta 4
09.01.2004 18:18:41 net.sf.hibernate.cfg.Environment clinit
INFO: hibernate.properties not found
09.01.2004 18:18:41 net.sf.hibernate.cfg.Environment clinit
INFO: using CGLIB reflection optimizer
09.01.2004 18:18:41 net.sf.hibernate.cfg.Configuration
getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
09.01.2004 18:18:41 net.sf.hibernate.cfg.Configuration addResource
INFO: Mapping resource: BeansDescription.hbm.xml
09.01.2004 18:18:41 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: com.cosmos.wap.demo.Person - t_person
09.01.2004 18:18:41 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: com.cosmos.wap.demo.Car - t_car
09.01.2004 18:18:41 net.sf.hibernate.cfg.Configuration configure
INFO: Configured SessionFactory: null
09.01.2004 18:18:41 net.sf.hibernate.dialect.Dialect init
INFO: Using dialect: net.sf.hibernate.dialect.SybaseDialect
09.01.2004 18:18:41
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
09.01.2004 18:18:41
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
09.01.2004 18:18:41
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: net.sourceforge.jtds.jdbc.Driver at URL:
jdbc:jtds:sqlserver://10.10.14.199:1433/tetrawap
09.01.2004 18:18:41
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=tetrawap, password=}
09.01.2004 18:18:41 net.sf.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: Running hbm2ddl schema update
09.01.2004 18:18:41 net.sf.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: fetching database metadata
09.01.2004 18:18:42 net.sf.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: updating schema
09.01.2004 18:18:42 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-many association mappings
09.01.2004 18:18:42 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-one association property references
09.01.2004 18:18:42 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
09.01.2004 18:18:43 net.sf.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: schema update complete
09.01.2004 18:18:43
net.sf.hibernate.connection.DriverManagerConnectionProvider close
INFO: cleaning up connection pool:
jdbc:jtds:sqlserver://10.10.14.199:1433/tetrawap
09.01.2004 18:18:43 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-many association mappings
09.01.2004 18:18:43 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-one association property references
09.01.2004 18:18:43 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
09.01.2004 18:18:43 net.sf.hibernate.dialect.Dialect init
INFO: Using dialect: net.sf.hibernate.dialect.SybaseDialect
09.01.2004 18:18:43 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use outer join fetching: true
09.01.2004 18:18:43
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
09.01.2004 18:18:43
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
09.01.2004 18:18:43
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: net.sourceforge.jtds.jdbc.Driver at URL:
jdbc:jtds:sqlserver://10.10.14.199:1433/tetrawap
09.01.2004 18:18:43
net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=tetrawap, password=}
09.01.2004 18:18:43
net.sf.hibernate.transaction.TransactionManagerLookupFactory
getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (use of process level
read-write cache is not recommended)
09.01.2004 18:18:43 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use scrollable result sets: true
09.01.2004 18:18:43 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: echoing all SQL to stdout
09.01.2004 18:18:43 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Query