users@glassfish.java.net

Re: org.hibernate.ejb.HibernatePersistence.isLoadedWithoutReference exception

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Mon, 23 Nov 2009 18:46:39 -0800

This particular issue should have been fixed with latest nightly of
GlassFish. Can you please try with latest build of GlassFish.

glassfish_at_javadesktop.org wrote:
> Hi,
> I am migrating a application I am developing from Glassfish v2.1 to v3. The application makes use of JPA and hibernate.
>
> I have downloaded the glassfish v3 preview and run the update tool to get teh latest stable modules. I have also downloaded the "Hibernate JPA" add-in module.
>
> When I go to deploy my services ear I get the following exception:
>
> Error during deployment : org.hibernate.ejb.HibernatePersistence.isLoadedWithoutReference(Ljava/lang/Object;Ljava/lang/String;)Ljavax/persistence/spi/LoadState; : java.lang.AbstractMethodError: org.hibernate.ejb.HibernatePersistence.isLoadedWithoutReference(Ljava/lang/Object;Ljava/lang/String;)Ljavax/persistence/spi/LoadState;
>
> The log has a long stacktrace, here is a snip:
>
> [#|2009-11-22T21:37:44.690+0000|SEVERE|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=29;_ThreadName=Thread-1;|Error during deployment : org.hibernate.ejb.HibernatePersistence.isLoadedWithoutReference(Ljava/lang/Object;Ljava/lang/String;)Ljavax/persistence/spi/LoadState;
> java.lang.AbstractMethodError: org.hibernate.ejb.HibernatePersistence.isLoadedWithoutReference(Ljava/lang/Object;Ljava/lang/String;)Ljavax/persistence/spi/LoadState;
> at javax.persistence.Persistence$PersistenceUtilImpl.isLoaded(Persistence.java:106)
> at org.hibernate.validation.engine.resolver.JPATraversableResolver.isTraversable(JPATraversableResolver.java:30)
> at org.hibernate.validation.engine.resolver.DefaultTraversableResolver.isTraversable(DefaultTraversableResolver.java:42)
> at org.hibernate.validation.engine.ExecutionContext.isValidationRequired(ExecutionContext.java:292)
> at org.hibernate.validation.engine.ValidatorImpl.validateValueForGroup(ValidatorImpl.java:488)
> at org.hibernate.validation.engine.ValidatorImpl.validateValue(ValidatorImpl.java:436)
> at org.hibernate.validation.engine.ValidatorImpl.validateValue(ValidatorImpl.java:140)
> at org.jvnet.hk2.config.WriteableView.handleValidation(WriteableView.java:564)
> at org.jvnet.hk2.config.WriteableView.setter(WriteableView.java:147)
> at org.jvnet.hk2.config.WriteableView.invoke(WriteableView.java:106)
> at $Proxy55.setName(Unknown Source)
> at com.sun.enterprise.v3.server.ApplicationLifecycle$2.run(ApplicationLifecycle.java:773)
> at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:171)
> at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:130)
>
>
> Any ideas on where to look for the problem?
> [Message sent by forum member 'seclarke' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=372859
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>