You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by "Totsline, Greg" <gr...@lmco.com> on 2010/06/07 22:04:46 UTC
Issue with hibernate versions?
Hi -
We recently upgraded from JBoss EAP 4.3 to Jboss EAP 5.0 and are now getting the following exceptions when creating the InitialContext() for OpenEJB 3.1.2:
1. OpenEJBException: Creating application failed: classpath.ear: java.lang.SecurityException: class "org.hibernate.MappingException"'s signer information does not match signer information of other classes in the same package
2. Java.lang.String cannot be cast to java.net.URL
JBoss EAP 5.0 bundles Hibernate Core 3.3.2 GA and Hibernate Entity Manager 3.4.0.
Are there any work arounds for these issues?
Thanks very much.
-greg
Re: Issue with hibernate versions?
Posted by David Blevins <da...@visi.com>.
On Jun 7, 2010, at 1:04 PM, Totsline, Greg wrote:
> Hi -
>
> We recently upgraded from JBoss EAP 4.3 to Jboss EAP 5.0 and are now getting the following exceptions when creating the InitialContext() for OpenEJB 3.1.2:
>
> 1. OpenEJBException: Creating application failed: classpath.ear: java.lang.SecurityException: class "org.hibernate.MappingException"'s signer information does not match signer information of other classes in the same package
> 2. Java.lang.String cannot be cast to java.net.URL
>
> JBoss EAP 5.0 bundles Hibernate Core 3.3.2 GA and Hibernate Entity Manager 3.4.0.
>
> Are there any work arounds for these issues?
Was hoping maybe another user might have had some good advice.
Seems like there are two versions of hibernate in your classpath.
Only thing I can recommend is if you're using maven add the -X option and it will spit out the full classpath it uses when running tests.
-David