[wildfly-dev] JPA 2.1 in WildFly Beta2 Snapshot

Arun Gupta arun.gupta at gmail.com
Wed Oct 30 10:00:36 EDT 2013


Thanks for the quick turn around, now watching the bug!

Arun

On Wed, Oct 30, 2013 at 6:56 AM, Stuart Douglas
<stuart.w.douglas at gmail.com> wrote:
> 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
>
>



-- 
Blog: http://blog.arungupta.me
Twitter: http://twitter.com/arungupta


More information about the wildfly-dev mailing list