Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to
Description
Attachments
Activity

Scott Marlow July 3, 2015 at 5:28 PM
Thanks , I pushed to topic branch https://github.com/scottmarlow/wildfly/tree/hibernate5_july2
Thanks,
Scott

Sanne Grinovero July 3, 2015 at 8:20 AM
Hi @smarlow, thanks for the news! If you could share an updated branch, we'll have a look at that in the Hibernate Search team. Should be simple..

Scott Marlow July 2, 2015 at 11:51 PM
No, looks like a different likely cause.
1. The HibernateSearchJPATestCase test gets further than before, we now hit a CNFE on org.infinispan.hibernate.search.spi.InfinispanDirectoryProvider http://pastebin.com/6bUmNTir
2. The JPA2LCTestCase test gets further also, we now get a org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.jmx.CacheJmxRegistration.start() on object of type CacheJmxRegistration http://pastebin.com/Zm5ZSx8X
Steve Ebersole July 2, 2015 at 10:40 PM
Awesome. Same cause?

Scott Marlow July 2, 2015 at 9:06 PM
Nice, I get further now (only get 2 failures in the WildFly tests that I'm running instead of around 8)! Great progress forward!
See the testing entity within the WildFly testsuite
org.jboss.as.test.integration.hibernate.search.Book
; this minimal entity is using fields only (no getters) and doesn't declare them public either.This used to work with Hibernate 4.x.