tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damian Minkov <dam...@space-comm.com>
Subject problem starting tomcat on True64Unix
Date Mon, 12 Jan 2004 13:07:01 GMT
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 language substitutions: {}
09.01.2004 18:18:43 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: cache provider: net.sf.hibernate.cache.JCSCacheProvider
09.01.2004 18:18:43 net.sf.hibernate.cfg.Configuration configureCaches
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 = 0x0000000000000000     r16 = 0x000000002438b548
    r01 = 0x00000000000028e0     r17 = 0x0000000000100000
    r02 = 0x0000000144102000     r18 = 0x0000000000000000
    r03 = 0x0000000000000000     r19 = 0x6c6261546d6f7266
    r04 = 0x0000000000000000     r20 = 0x000000002438b548
    r05 = 0x0000000000000000     r21 = 0x0000000000000014
    r06 = 0x0000000000000520     r22 = 0xffffffff84010410
    r07 = 0x0000000000000002     r23 = 0x00000000061cffb8
    r08 = 0x0000000000000000     r24 = 0x0000000144093188
    r09 = 0x0000000000000000     r25 = 0x000000000063b548
    r10 = 0x000000000000006d     r26 = 0x000003ffbff289f8
    r11 = 0x0000000000000000     r27 = 0x0000000142121708
    r12 = 0xffffffffffffffff     r28 = 0x000003ff800be050
    r13 = 0x00000001441048e0     r29 = 0x000003fffff24b10
    r14 = 0x0000000000000078     r30 = 0x000000011ffef560
    r15 = 0x0000000000000000     r31 = 0x0000000000000000
Stack trace:
     pc 0x03ffbff8cf70 sp 0x140033a60          debug_full_trace
     pc 0x03ffbff8bdc4 sp 0x140033cf0          einfo_segv_handler
     pc 0x03ff800d5b90 sp 0x140033d60          __sigtramp
     pc 0x03ffbff2886c sp 0x11ffef560          init_methods
     pc 0x03ffbff26c44 sp 0x11ffef5e0          load_supers
     pc 0x03ffbff251c4 sp 0x11ffef660          class_define_class
     pc 0x03ffbff67830 sp 0x11ffef6e0          JVM_DefineClass
     pc 0x03000100f908 sp 0x11ffef7a0
     pc 0x00003e83dea8 sp 0x11ffef880   -1: 
java/lang/ClassLoader.defineClass0(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
     pc 0x00003e83da5c sp 0x11ffef950   90: 
java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
     pc 0x00003e869fd0 sp 0x11ffef9d0   27: 
java/security/SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;
     pc 0x00003e9de118 sp 0x11ffefa10  385: 
org/apache/catalina/loader/WebappClassLoader.findClassInternal(Ljava/lang/String;)Ljava/lang/Class;
     pc 0x00003e9db184 sp 0x11ffefab0  149: 
org/apache/catalina/loader/WebappClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
     pc 0x00003e9bff0c sp 0x11ffefaf0  372: 
org/apache/catalina/loader/WebappClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
     pc 0x00003e9bfa10 sp 0x11ffefb40    3: 
org/apache/catalina/loader/WebappClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
     pc 0x03ffbff9aad8 sp 0x11ffefb50          unpack_and_call
     pc 0x03ffbff92fb0 sp 0x11ffefb60          make_native_call
     pc 0x03ffbff33980 sp 0x11ffefc10          interpret
     pc 0x03ffbff92b74 sp 0x11fff04f0          exec_vararg
     pc 0x03ffbff92704 sp 0x11fff05a0          method_call
     pc 0x03ffbff26040 sp 0x11fff0620          load_internal
     pc 0x03ffbff2655c sp 0x11fff0700          load_supers
     pc 0x03ffbff251c4 sp 0x11fff0780          class_define_class
     pc 0x03ffbff67830 sp 0x11fff0800          JVM_DefineClass
     pc 0x03000100f908 sp 0x11fff08c0
     pc 0x00003e83dea8 sp 0x11fff09a0   -1: 
java/lang/ClassLoader.defineClass0(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
     pc 0x00003e83da5c sp 0x11fff0a70   90: 
java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
     pc 0x00003e869fd0 sp 0x11fff0af0   27: 
java/security/SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;
     pc 0x00003e9de118 sp 0x11fff0b30  385: 
org/apache/catalina/loader/WebappClassLoader.findClassInternal(Ljava/lang/String;)Ljava/lang/Class;
     pc 0x00003e9db184 sp 0x11fff0bd0  149: 
org/apache/catalina/loader/WebappClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;
     pc 0x00003e9bff0c sp 0x11fff0c10  372: 
org/apache/catalina/loader/WebappClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
     pc 0x00003e9bfa10 sp 0x11fff0c60    3: 
org/apache/catalina/loader/WebappClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
     pc 0x03ffbff9aad8 sp 0x11fff0c70          unpack_and_call
     pc 0x03ffbff92fb0 sp 0x11fff0c80          make_native_call
     pc 0x03ffbff33980 sp 0x11fff0d30          interpret
     pc 0x03ffbff92b74 sp 0x11fff1610          exec_vararg
     pc 0x03ffbff92704 sp 0x11fff16c0          method_call
     pc 0x03ffbff26040 sp 0x11fff1740          load_internal
     pc 0x03ffbff2549c sp 0x11fff1820          class_find
     pc 0x03ffbff627c0 sp 0x11fff1840          cresolve
     pc 0x03ffbff375c4 sp 0x11fff1890          resolve_bytecode
     pc 0x03ffbff36abc sp 0x11fff18d0          interpret
     pc 0x03ffbff36abc sp 0x11fff18d0   34: 
net/sf/hibernate/persister/PersisterFactory.create(Lnet/sf/hibernate/mapping/PersistentClass;Lnet/sf/hibernate/engine/SessionFactoryImplementor;)Lnet/sf/hibernate/persister/ClassPersister;
     pc 0x03ffbff92b74 sp 0x11fff21b0          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff2260          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff2290          comp_interp_stub
     pc 0x00003ea67ba4 sp 0x11fff2310  165: 
net/sf/hibernate/impl/SessionFactoryImpl.<init>(Lnet/sf/hibernate/cfg/Configuration;Lnet/sf/hibernate/cfg/Settings;)V
     pc 0x03ffbff9aad8 sp 0x11fff2370          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff2380          make_native_call
     pc 0x03ffbff33980 sp 0x11fff2430          interpret
     pc 0x03ffbff33980 sp 0x11fff2430   43: 
net/sf/hibernate/cfg/Configuration.buildSessionFactory()Lnet/sf/hibernate/SessionFactory;
     pc 0x03ffbff33b28 sp 0x11fff2d10          interpret
     pc 0x03ffbff33b28 sp 0x11fff2d10   24: 
com/cosmos/wap/demo/MainClient.initDB()V
     pc 0x03ffbff33b28 sp 0x11fff2d10    8: 
com/cosmos/wap/demo/Config.init()V
     pc 0x03ffbff92b74 sp 0x11fff37f0          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff38a0          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff38d0          comp_interp_stub
     pc 0x00003e9e1034 sp 0x11fff3950    6: 
javax/servlet/GenericServlet.init(Ljavax/servlet/ServletConfig;)V
     pc 0x00003e9da7d8 sp 0x11fff3960  400: 
org/apache/catalina/core/StandardWrapper.loadServlet()Ljavax/servlet/Servlet;
     pc 0x00003e9e0fec sp 0x11fff39e0    2: 
org/apache/catalina/core/StandardWrapper.load()V
     pc 0x00003e9c2608 sp 0x11fff3a00  182: 
org/apache/catalina/core/StandardContext.loadOnStartup([Lorg/apache/catalina/Container;)V
     pc 0x00003e964aa8 sp 0x11fff3a70  928: 
org/apache/catalina/core/StandardContext.start()V
     pc 0x00003e9cff64 sp 0x11fff3ae0   85: 
org/apache/catalina/core/ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V
     pc 0x00003e98884c sp 0x11fff3b30   26: 
org/apache/catalina/core/ContainerBase.addChild(Lorg/apache/catalina/Container;)V
     pc 0x03ffbff9aad8 sp 0x11fff3b50          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff3b60          make_native_call
     pc 0x03ffbff33980 sp 0x11fff3c10          interpret
     pc 0x03ffbff33980 sp 0x11fff3c10   25: 
org/apache/catalina/core/StandardHost.addChild(Lorg/apache/catalina/Container;)V
     pc 0x03ffbff33980 sp 0x11fff3c10  602: 
org/apache/catalina/core/StandardHostDeployer.install(Ljava/lang/String;Ljava/net/URL;)V
     pc 0x03ffbff33980 sp 0x11fff3c10    6: 
org/apache/catalina/core/StandardHost.install(Ljava/lang/String;Ljava/net/URL;)V
     pc 0x03ffbff33b28 sp 0x11fff44f0          interpret
     pc 0x03ffbff92b74 sp 0x11fff4fd0          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff5080          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff50b0          comp_interp_stub
     pc 0x00003e9df74c sp 0x11fff5130  222: 
org/apache/catalina/startup/HostConfig.deployDirectories(Ljava/io/File;[Ljava/lang/String;)V
     pc 0x03ffbff9aad8 sp 0x11fff51a0          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff51b0          make_native_call
     pc 0x03ffbff33980 sp 0x11fff5260          interpret
     pc 0x03ffbff33980 sp 0x11fff5260   71: 
org/apache/catalina/startup/HostConfig.deployApps()V
     pc 0x03ffbff33980 sp 0x11fff5260   33: 
org/apache/catalina/startup/HostConfig.start()V
     pc 0x03ffbff33980 sp 0x11fff5260  122: 
org/apache/catalina/startup/HostConfig.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V
     pc 0x03ffbff92b74 sp 0x11fff5b40          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff5bf0          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff5c20          comp_interp_stub
     pc 0x00003e93a768 sp 0x11fff5ca0   68: 
org/apache/catalina/util/LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V
     pc 0x00003e9601e0 sp 0x11fff5cf0  331: 
org/apache/catalina/core/ContainerBase.start()V
     pc 0x03ffbff9aad8 sp 0x11fff5d40          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff5d50          make_native_call
     pc 0x03ffbff33980 sp 0x11fff5e00          interpret
     pc 0x03ffbff33980 sp 0x11fff5e00   70: 
org/apache/catalina/core/StandardHost.start()V
     pc 0x03ffbff92b74 sp 0x11fff66e0          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff6790          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff67c0          comp_interp_stub
     pc 0x00003e960174 sp 0x11fff6840  291: 
org/apache/catalina/core/ContainerBase.start()V
     pc 0x03ffbff9aad8 sp 0x11fff6890          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff68a0          make_native_call
     pc 0x03ffbff33980 sp 0x11fff6950          interpret
     pc 0x03ffbff33980 sp 0x11fff6950   10: 
org/apache/catalina/core/StandardEngine.start()V
     pc 0x03ffbff92b74 sp 0x11fff7230          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff72e0          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff7310          comp_interp_stub
     pc 0x00003e95f40c sp 0x11fff7390   97: 
org/apache/catalina/core/StandardService.start()V
     pc 0x03ffbff9aad8 sp 0x11fff73d0          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff73e0          make_native_call
     pc 0x03ffbff33980 sp 0x11fff7490          interpret
     pc 0x03ffbff92b74 sp 0x11fff7d70          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fff7e20          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fff7e50          comp_interp_stub
     pc 0x00003e93a590 sp 0x11fff7ed0   90: 
org/apache/catalina/core/StandardServer.start()V
     pc 0x03ffbff9aad8 sp 0x11fff7f10          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fff7f20          make_native_call
     pc 0x03ffbff33980 sp 0x11fff7fd0          interpret
     pc 0x03ffbff33980 sp 0x11fff7fd0  405: 
org/apache/catalina/startup/Catalina.start()V
     pc 0x03ffbff33b28 sp 0x11fff88b0          interpret
     pc 0x03ffbff33b28 sp 0x11fff88b0    8: 
org/apache/catalina/startup/Catalina.execute()V
     pc 0x03ffbff33b28 sp 0x11fff88b0   17: 
org/apache/catalina/startup/Catalina.process([Ljava/lang/String;)V
     pc 0x03ffbff42770 sp 0x11fff9390          jni_call
     pc 0x03ffbff71e10 sp 0x11fff9420          JVM_InvokeMethod
     pc 0x03000101c238 sp 0x11fff94a0
     pc 0x00003e86bbbc sp 0x11fff94b0   -1: 
sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
     pc 0x03ffbff9aad8 sp 0x11fff9570          unpack_and_call
     pc 0x03ffbff92fb0 sp 0x11fff9580          make_native_call
     pc 0x03ffbff33980 sp 0x11fff9630          interpret
     pc 0x03ffbff33980 sp 0x11fff9630   87: 
sun/reflect/NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
     pc 0x03ffbff33980 sp 0x11fff9630    6: 
sun/reflect/DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
     pc 0x03ffbff33980 sp 0x11fff9630  111: 
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
     pc 0x03ffbff33b28 sp 0x11fff9f10          interpret
     pc 0x03ffbff92b74 sp 0x11fffa9f0          exec_vararg
     pc 0x03ffbff925f8 sp 0x11fffaaa0          interp_wrapper
     pc 0x03ffbff9a7f4 sp 0x11fffaad0          comp_interp_stub
     pc 0x00003e84836c sp 0x11fffab50  564: 
org/apache/catalina/startup/Bootstrap.main([Ljava/lang/String;)V
     pc 0x03ffbff9aad8 sp 0x11fffabd0          unpack_and_call
     pc 0x03ffbff92f84 sp 0x11fffabe0          make_native_call
     pc 0x03ffbff33980 sp 0x11fffac90          interpret
     pc 0x03ffbff42770 sp 0x11fffb570          jni_call
     pc 0x03ffbff43794 sp 0x11fffb600          jni_CallStaticVoidMethod
     pc 0x000120003b70 sp 0x11fffb680
     pc 0x000120002918 sp 0x11fffc000
abort from einfo_segv_handler, file 
/vobs/JavaGroup/Products/Java/J2SDK/fastvm/srcjava/sys/alpha/einfo.c, 
line 557





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message