problem starting tomcat on True64Unix

2004-01-12 Thread Damian Minkov
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 

Re: problem starting tomcat on True64Unix

2004-01-12 Thread Nikola Milutinovic
Damian Minkov wrote:

Reacently we wrote a little web app using hibernate - we run it in 
tomcat 4.1.29
(using : java1.4.2-1 )

INFO: instantiating and configuring caches
09.01.2004 18:18:43 net.sf.hibernate.impl.SessionFactoryImpl init
INFO: building session factory
segmentation violation at 0x3ffbff2886c
   r00 = 0x r16 = 0x2438b548
   r01 = 0x28e0 r17 = 0x0010
   r02 = 0x000144102000 r18 = 0x
   r03 = 0x r19 = 0x6c6261546d6f7266
   r04 = 0x r20 = 0x2438b548
   r05 = 0x r21 = 0x0014
   r06 = 0x0520 r22 = 0x84010410
   r07 = 0x0002 r23 = 0x061cffb8
   r08 = 0x r24 = 0x000144093188
   r09 = 0x r25 = 0x0063b548
   r10 = 0x006d r26 = 0x03ffbff289f8
   r11 = 0x r27 = 0x000142121708
   r12 = 0x r28 = 0x03ff800be050
   r13 = 0x0001441048e0 r29 = 0x03f24b10
   r14 = 0x0078 r30 = 0x00011ffef560
   r15 = 0x r31 = 0x
ANY segment violation is a JVM error. Arbitrary pointer assignment should be 
fairly impossible in Java2. Try some older JVM.

Nix.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]