<div dir="ltr">The problem is that I have not got around to fixing <a href="https://issues.jboss.org/browse/WFLY-2387">https://issues.jboss.org/browse/WFLY-2387</a> yet. It looks like it should be simple, I might try and fix it today.<div>
<br></div><div>Stuart</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 2:53 PM, Arun Gupta <span dir="ltr"><<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello there...<br>
<br>
I've a simple sample defined at:<br>
<br>
<a href="https://github.com/arun-gupta/javaee7-samples/tree/master/jpa/listeners" target="_blank">https://github.com/arun-gupta/javaee7-samples/tree/master/jpa/listeners</a><br>
<br>
This sample shows how different JPA entity listeners can be specified.<br>
Deploying this sample in WildFly trunk gives the following error:<br>
<br>
05:28:54,709 ERROR [org.jboss.msc.service.fail] (ServerService Thread<br>
Pool -- 59) MSC000001: Failed to start service<br>
jboss.persistenceunit."jpa-listeners.war#myPU":<br>
org.jboss.msc.service.StartException in service<br>
jboss.persistenceunit."jpa-listeners.war#myPU":<br>
java.lang.IllegalStateException: JBAS016071: Singleton not set for<br>
org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl$AggregatedClassLoader@639b9ef8.<br>
This means that you are trying to access a weld deployment with a<br>
Thread Context ClassLoader that is not associated with the deployment.<br>
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:169)<br>
[wildfly-jpa-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]<br>
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)<br>
[wildfly-jpa-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]<br>
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]<br>
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:463)<br>
[wildfly-security-manager-1.0.0.Beta3.jar:1.0.0.Beta3]<br>
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:178)<br>
[wildfly-jpa-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]<br>
<br>
Any suggestions on what is wrong ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Arun<br>
<br>
--<br>
Blog: <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
Twitter: <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</font></span></blockquote></div><br></div>