Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 32461 invoked from network); 12 Oct 2007 09:42:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 09:42:34 -0000 Received: (qmail 83865 invoked by uid 500); 12 Oct 2007 09:42:21 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 83855 invoked by uid 500); 12 Oct 2007 09:42:21 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 83846 invoked by uid 99); 12 Oct 2007 09:42:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 02:42:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.46.70.174] (HELO mx.whitestein.com) (195.46.70.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 09:42:22 +0000 Received: from mail.whitestein.com (unknown [10.240.100.2]) by mx.whitestein.com (Postfix) with ESMTP id 3D5A73968C8 for ; Fri, 12 Oct 2007 11:41:29 +0200 (CEST) Received: from localhost (mail [10.240.100.2]) by mail.whitestein.com (Postfix) with ESMTP id AF3BDB9CE7C; Fri, 12 Oct 2007 11:41:05 +0200 (CEST) Received: from mail.whitestein.com ([10.240.100.2]) by localhost (mail [10.240.100.2]) (amavisd-new, port 10024) with ESMTP id 20734-02; Fri, 12 Oct 2007 11:41:05 +0200 (CEST) Received: from [10.240.101.110] (moto.dynip.whitestein.net [10.240.101.110]) by mail.whitestein.com (Postfix) with ESMTP id 9563DB9CA1F for ; Fri, 12 Oct 2007 11:41:05 +0200 (CEST) Subject: OpenEJB and Hibernate From: Martin Vysny To: users@openejb.apache.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-aO5OHyrU4y9hWavFXD0s" Organization: Whitestein Technologies Date: Fri, 12 Oct 2007 11:41:29 +0200 Message-Id: <1192182089.6781.4.camel@moto> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at whitestein.com X-Virus-Checked: Checked by ClamAV on apache.org --=-aO5OHyrU4y9hWavFXD0s Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi guys, I tried to use Hibernate in OpenEJB (our application unfortunately still does not use JPA - it uses Hibernate directly instead). However, it seems there is a version clash: OpenEJB requires ASM 2.2.3 while Hibernate 3.2.4 requires ASM 1.5.3 and they seem to be incompatible: 2007-10-12 11:35:59,222 - ERROR - The bean instances business method encountered a system exception: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;= [Ljava/lang/String;Ljava/lang/String;)V java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;= [Ljava/lang/String;Ljava/lang/String;)V at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77) at net.sf.cglib.core.KeyFactory $Generator.generateClass(KeyFactory.java:173) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrateg= y.java:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java= :216) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLa= zyInitializer.java:117) at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxy= Factory.java:43) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityT= uplizer.java:162) at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTupl= izer.java:135) at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.jav= a:55) at=20 ... Have you guys tried to use OpenEJB with Hibernate? Can you please provide me with some hints? Which one is harder: modify Hibernate to use 2.2.3 or OpenEJB to use 1.5.3? :-) Many thanks! Martin --=20 Mgr. Martin Vysny | mvy@whitestein.com Software Engineer Whitestein Technologies s.r.o | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0717 --=-aO5OHyrU4y9hWavFXD0s Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHD0FJxMY7ornrPO0RAvIzAJwJYOXFNYKkHjJhP7tw8Dew1Wf/3ACdF9sZ KXG+K1M9BEH+nCJMK9xEQYc= =V2F5 -----END PGP SIGNATURE----- --=-aO5OHyrU4y9hWavFXD0s--