Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-29 Thread Scott Marlow
On 06/29/2015 10:06 AM, Steve Ebersole wrote: > org.hibernate.property.access.spi.GetterFieldImpl > > Its possible something is amiss > in org.hibernate.property.access.internal.PropertyAccessStrategyFieldImpl, > but considering GetterFieldImpl is chosen (properly) and that is where > things brea

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-29 Thread Steve Ebersole
The reason I say that is... here is the check that ultimately fails inside the VM: protected void ensureObj(Object var1) { if(!this.field.getDeclaringClass().isAssignableFrom(var1.getClass())) { this.throwSetIllegalArgumentException(var1); } } On Mon, Jun 29, 2015 at 9:06 AM St

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-29 Thread Steve Ebersole
org.hibernate.property.access.spi.GetterFieldImpl Its possible something is amiss in org.hibernate.property.access.internal.PropertyAccessStrategyFieldImpl, but considering GetterFieldImpl is chosen (properly) and that is where things break down that is where I would look. I find it strange thoug

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-29 Thread Scott Marlow
On 06/26/2015 12:12 PM, Sanne Grinovero wrote: > On 26 June 2015 at 15:02, Scott Marlow wrote: >> The ISE message is: >> " >> Can not set java.lang.Long field >> org.jboss.as.test.integration.hibernate.search.Book.id to >> org.jboss.as.test.integration.hibernate.search.Book >> ", which does sound

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-26 Thread Sanne Grinovero
On 26 June 2015 at 15:02, Scott Marlow wrote: > The ISE message is: > " > Can not set java.lang.Long field > org.jboss.as.test.integration.hibernate.search.Book.id to > org.jboss.as.test.integration.hibernate.search.Book > ", which does sound like a bug. Hi Scott, could you just make those fields

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-26 Thread Scott Marlow
The ISE message is: " Can not set java.lang.Long field org.jboss.as.test.integration.hibernate.search.Book.id to org.jboss.as.test.integration.hibernate.search.Book ", which does sound like a bug. On 06/18/2015 01:41 PM, Steve Ebersole wrote: > That should still be ok. If it does not work, tha

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-19 Thread Sanne Grinovero
On 19 June 2015 at 16:13, Scott Marlow wrote: > I'm not exactly sure how infinispan-commons finds the infinispan-core > classloader with ORM 4.3, but clearly that is not working now with ORM 5.0. > > In WildFly, the infinispan-commons classloader doesn't have access to the > infinispan-core classl

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-19 Thread Scott Marlow
I'm not exactly sure how infinispan-commons finds the infinispan-core classloader with ORM 4.3, but clearly that is not working now with ORM 5.0. In WildFly, the infinispan-commons classloader doesn't have access to the infinispan-core classloader. This seems somewhat related to the CNFE on or

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-19 Thread Scott Marlow
Complete exception call stack is here http://pastebin.com/564BNWSF On 06/19/2015 09:43 AM, Scott Marlow wrote: > I'll see if I can capture a more complete exception call stack for the CNFE. > > On 06/19/2015 09:32 AM, Steve Ebersole wrote: >> If Infinispan is not available to core/hem than I am no

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-19 Thread Scott Marlow
I'll see if I can capture a more complete exception call stack for the CNFE. On 06/19/2015 09:32 AM, Steve Ebersole wrote: > If Infinispan is not available to core/hem than I am not sure how ORM > not being able to find Infinispan classes is a problem with class > loading in ORM. Seems to me this

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-19 Thread Steve Ebersole
If Infinispan is not available to core/hem than I am not sure how ORM not being able to find Infinispan classes is a problem with class loading in ORM. Seems to me this is simply a problem in the ClassLoader made available to ORM. On Fri, Jun 19, 2015 at 7:46 AM Scott Marlow wrote: > To be a li

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-19 Thread Scott Marlow
To be a little more specific, WildFly is now respecting the Hibernate Search desire for Infinispan classes to *not* be available to Hibernate core/entitymanager. This is important so that Hibernate Search can have the flexibility to use a different version of Infinispan than WildFly is using w

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Scott Marlow
I tried deploying a simple 2lc enabled test app and got a CNFE on Infinispan classes being referenced from the application classloader. http://pastebin.com/PREzm6bn shows the exception. I'm guessing this is a classloader issue in ORM 5 to be worked out.

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Scott Marlow
On 06/18/2015 01:41 PM, Steve Ebersole wrote: > That should still be ok. If it does not work, that would be a bug. A few other WildFly (JPA) tests also get the same error. > > On Thu, Jun 18, 2015 at 11:38 AM Sanne Grinovero > wrote: > > On 18 June 2015 at 17:17

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Steve Ebersole
That should still be ok. If it does not work, that would be a bug. On Thu, Jun 18, 2015 at 11:38 AM Sanne Grinovero wrote: > On 18 June 2015 at 17:17, Scott Marlow wrote: > > > > > > On 06/18/2015 11:59 AM, Sanne Grinovero wrote: > >> > >> On 18 June 2015 at 15:55, Scott Marlow wrote: > >>> >

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Sanne Grinovero
On 18 June 2015 at 17:17, Scott Marlow wrote: > > > On 06/18/2015 11:59 AM, Sanne Grinovero wrote: >> >> On 18 June 2015 at 15:55, Scott Marlow wrote: >>> >>> Sanne, >>> >>> The [1] pull request to bring Jipijapa source into WildFly master is >>> merged. >>> >>> I pushed a copy of the (work in pr

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Scott Marlow
On 06/18/2015 11:59 AM, Sanne Grinovero wrote: > On 18 June 2015 at 15:55, Scott Marlow wrote: >> Sanne, >> >> The [1] pull request to bring Jipijapa source into WildFly master is merged. >> >> I pushed a copy of the (work in progress) ORM 5 changes to github [2]. >> >> Is there a WildFly pull r

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Sanne Grinovero
On 18 June 2015 at 15:55, Scott Marlow wrote: > Sanne, > > The [1] pull request to bring Jipijapa source into WildFly master is merged. > > I pushed a copy of the (work in progress) ORM 5 changes to github [2]. > > Is there a WildFly pull request for the changes to upgrade to Hibernate > Search 5.

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-18 Thread Scott Marlow
Sanne, The [1] pull request to bring Jipijapa source into WildFly master is merged. I pushed a copy of the (work in progress) ORM 5 changes to github [2]. Is there a WildFly pull request for the changes to upgrade to Hibernate Search 5.4.0.Alpha1? I didn't see one but I might of missed it. Sc

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-17 Thread Scott Marlow
On 06/17/2015 08:57 AM, Sanne Grinovero wrote: > On 17 June 2015 at 13:44, Scott Marlow wrote: >> >> >> On 06/17/2015 06:44 AM, Sanne Grinovero wrote: >>> >>> Hi Scott, >>> can we expect to see both Hibernate ORM 5 and this latest Hibernate >>> Search version 5.4.0.Alpha1 soon in WildFly 10? >>

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-17 Thread Sanne Grinovero
On 17 June 2015 at 13:44, Scott Marlow wrote: > > > On 06/17/2015 06:44 AM, Sanne Grinovero wrote: >> >> Hi Scott, >> can we expect to see both Hibernate ORM 5 and this latest Hibernate >> Search version 5.4.0.Alpha1 soon in WildFly 10? > > > I hope so. https://github.com/wildfly/wildfly/pull/750

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-17 Thread Scott Marlow
On 06/17/2015 06:44 AM, Sanne Grinovero wrote: > Hi Scott, > can we expect to see both Hibernate ORM 5 and this latest Hibernate > Search version 5.4.0.Alpha1 soon in WildFly 10? I hope so. https://github.com/wildfly/wildfly/pull/7509 is passing the testsuite and I made the suggested code chan

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-17 Thread Sanne Grinovero
Hi Scott, can we expect to see both Hibernate ORM 5 and this latest Hibernate Search version 5.4.0.Alpha1 soon in WildFly 10? thanks, Sanne On 4 June 2015 at 23:47, Sanne Grinovero wrote: > On 29 May 2015 at 18:27, Scott Marlow wrote: >> >> >> On 05/29/2015 01:05 PM, Sanne Grinovero wrote: >>>

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-04 Thread Sanne Grinovero
On 29 May 2015 at 18:27, Scott Marlow wrote: > > > On 05/29/2015 01:05 PM, Sanne Grinovero wrote: >> >> Thanks Scott! >> >> 1. this error is expected: HS 5.2 is not compatible with ORM 5. >> We'll need a compatible WildFly version to release a compatible >> version, or alternatively know how to ge

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread Steve Ebersole
Oh, I'll need to make generation of that file a dependency for publishing... On Mon, Jun 1, 2015 at 8:32 AM Scott Marlow wrote: > > > > On 05/29/2015 02:03 PM, Steve Ebersole wrote: > >> Scott, first please use a SNAPSHOT build as you'll need it for the HCANN > >> fix I did, or you could just pu

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread Scott Marlow
On 05/29/2015 02:39 PM, Steve Ebersole wrote: > So: > 1) hibernate-infinispan seems to be able to see infinispan-core (which > is what defines as a dependency) > 2) hibernate-infinispan seems to not be able to see infinispan-commons > (which I would have to assume infinispan-core defines as a dep

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread John O'Hara
Scott, To publish to your local Maven repo you can run; ./gradlew generateKarafFeatures publishToMavenLocal On 01/06/15 14:32, Scott Marlow wrote: >> On 05/29/2015 02:03 PM, Steve Ebersole wrote: >>> Scott, first please use a SNAPSHOT build as you'll need it for the HCANN >>> fix I did, or you

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread Scott Marlow
> > On 05/29/2015 02:03 PM, Steve Ebersole wrote: >> Scott, first please use a SNAPSHOT build as you'll need it for the HCANN >> fix I did, or you could just pull in the newest HCANN (5.0.0.Final) Should I use a pushed SNAPSHOT? I can build ORM master via "gradlew clean install", however, "gradle

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Steve Ebersole
So: 1) hibernate-infinispan seems to be able to see infinispan-core (which is what defines as a dependency) 2) hibernate-infinispan seems to not be able to see infinispan-commons (which I would have to assume infinispan-core defines as a dependency) This sure seems like a problem in the WF module/

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Scott Marlow
On 05/29/2015 02:03 PM, Steve Ebersole wrote: > Scott, first please use a SNAPSHOT build as you'll need it for the HCANN > fix I did, or you could just pull in the newest HCANN (5.0.0.Final) Will do. > > As for the ClassNotFoundException, I really do not get this one. So, > essentially: > > 1)

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Steve Ebersole
On Fri, May 29, 2015 at 12:05 PM, Sanne Grinovero wrote: > 2. this is not expected, especially as I think the Infinispan version > already in WF is aligned with the one in ORM5? > Steve, do you remember about classloader strategy changes between > latest ORM 4.3 and 5.0.0.CR1? The only one that

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Steve Ebersole
Scott, first please use a SNAPSHOT build as you'll need it for the HCANN fix I did, or you could just pull in the newest HCANN (5.0.0.Final) As for the ClassNotFoundException, I really do not get this one. So, essentially: 1) hibernate-infinispan is able to access infinispan-core classes 2) hibe

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Scott Marlow
On 05/29/2015 01:05 PM, Sanne Grinovero wrote: > Thanks Scott! > > 1. this error is expected: HS 5.2 is not compatible with ORM 5. > We'll need a compatible WildFly version to release a compatible > version, or alternatively know how to get the tests to run w/o the > jipijapa patch as I was tryin

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Sanne Grinovero
Thanks Scott! 1. this error is expected: HS 5.2 is not compatible with ORM 5. We'll need a compatible WildFly version to release a compatible version, or alternatively know how to get the tests to run w/o the jipijapa patch as I was trying ;-) A backup plan is we stop producing Hibernate Search m

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Scott Marlow
Also am using Infinispan 7.2.1.Final but noticed that Infinispan 7.2.2.Final is now in WildFly 10, so I'll sync my branch with WF master to upgrade Infinispan. On 05/29/2015 12:50 PM, Scott Marlow wrote: > I ran part of the WildFly basic integration tests against the > https://github.com/scottma

[hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-05-29 Thread Scott Marlow
I ran part of the WildFly basic integration tests against the https://github.com/scottmarlow/wildfly/tree/jipijapa3_hibernate5 branch, which includes the following Hibernate versions: ORM 5.0.0.CR1 HCA 4.0.5.Final HS 5.2.0.Final I am seeing the below errors. 1. The Hibernate Search test (org.