[wildfly-dev] JPA 2.1 in WildFly Beta2 Snapshot

Stuart Douglas stuart.w.douglas at gmail.com
Wed Oct 30 09:56:54 EDT 2013


The problem is that I have not got around to fixing
https://issues.jboss.org/browse/WFLY-2387 yet. It looks like it should be
simple, I might try and fix it today.

Stuart


On Wed, Oct 30, 2013 at 2:53 PM, Arun Gupta <arun.gupta at gmail.com> wrote:

> Hello there...
>
> I've a simple sample defined at:
>
> https://github.com/arun-gupta/javaee7-samples/tree/master/jpa/listeners
>
> This sample shows how different JPA entity listeners can be specified.
> Deploying this sample in WildFly trunk gives the following error:
>
> 05:28:54,709 ERROR [org.jboss.msc.service.fail] (ServerService Thread
> Pool -- 59) MSC000001: Failed to start service
> jboss.persistenceunit."jpa-listeners.war#myPU":
> org.jboss.msc.service.StartException in service
> jboss.persistenceunit."jpa-listeners.war#myPU":
> java.lang.IllegalStateException: JBAS016071: Singleton not set for
>
> org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl$AggregatedClassLoader at 639b9ef8.
> This means that you are trying to access a weld deployment with a
> Thread Context ClassLoader that is not associated with the deployment.
> at
> org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:169)
> [wildfly-jpa-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]
> at
> org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)
> [wildfly-jpa-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]
> at java.security.AccessController.doPrivileged(Native Method)
> [rt.jar:1.7.0_45]
> at
> org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:463)
> [wildfly-security-manager-1.0.0.Beta3.jar:1.0.0.Beta3]
> at
> org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:178)
> [wildfly-jpa-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]
>
> Any suggestions on what is wrong ?
>
> Arun
>
> --
> Blog: http://blog.arungupta.me
> Twitter: http://twitter.com/arungupta
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20131030/f86df8bc/attachment.html 


More information about the wildfly-dev mailing list