Re: Using Hibernate 3.6 with Jonas 5.1

"Guillaume Sauthier (OW2)" <[email protected]> Tue, 20 Sep 2011 17:38:03 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <CAG1yf3Ng+LV6=fshsFKoNgO_=gnbLQoGtvtWor0675q3AZqBNg@mail.gmail.com>
--001485f2777ccc076504ad613e4f
Content-Type: text/plain; charset=ISO-8859-1

You can filter some packages exported by JOnAS using the
filtering-default-classloader.xml file in your conf/ folder.
Simply adapt the package patterns list until you have something working.

--G

2011/9/20 Thomas Walraet <[email protected]>

> Hi
>
> I'm using Hibernate 3.6 on my webapp. Hibernate jars are bundled in the WAR
> archive.
>
> The app works when deployed on Tomcat, but failed if I use Jonas.
>
> If I log the Hibernate version using  org.hibernate.Version.**getVersionString(),
> I got those results :
> Tomcat 6 : 3.6.3.Final
> Jonas 5.1.5 :  3.3.2.GA
>
> Obviously, Hibernate 3.3 is bundled with Jonas 5.1
>
> Is there a way to use a more recent version of Hibernate ?
>
>
> Regards,
>
> --
>      Thomas Walraet        -     Knowmore
> [email protected]   -  01 46 72 27 03
>
>

--001485f2777ccc076504ad613e4f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You can filter some packages exported by JOnAS using the filtering-default-=
classloader.xml file in your conf/ folder.<br>Simply adapt the package patt=
erns list until you have something working.<br><br>--G<br><br><div class=3D=
"gmail_quote">
2011/9/20 Thomas Walraet <span dir=3D"ltr">&lt;<a href=3D"mailto:thomas.wal=
[email protected]">[email protected]</a>&gt;</span><br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex;">
Hi<br>
<br>
I&#39;m using Hibernate 3.6 on my webapp. Hibernate jars are bundled in the=
 WAR archive.<br>
<br>
The app works when deployed on Tomcat, but failed if I use Jonas.<br>
<br>
If I log the Hibernate version using =A0org.hibernate.Version.<u></u>getVer=
sionString(), I got those results :<br>
Tomcat 6 : 3.6.3.Final<br>
Jonas 5.1.5 : =A0<a href=3D"http://3.3.2.GA" target=3D"_blank">3.3.2.GA</a>=
<br>
<br>
Obviously, Hibernate 3.3 is bundled with Jonas 5.1<br>
<br>
Is there a way to use a more recent version of Hibernate ?<br>
<br>
<br>
Regards,<br><font color=3D"#888888">
<br>
-- <br>
 =A0 =A0 =A0Thomas Walraet =A0 =A0 =A0 =A0- =A0 =A0 Knowmore<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">thomas.walr=
[email protected]</a> =A0 - =A001 46 72 27 03<br>
<br>
</font></blockquote></div><br>

--001485f2777ccc076504ad613e4f--