-
31. Re: CNFE: InfinispanRegionFactory in app. using Hibernate 3.3 on AS 7.1.1. Bug?
pgmjsd Jun 18, 2013 1:50 PM (in response to smarlow)Scott,
My current process downloads JBoss from our Maven repo and unpacks it. I suppose I could deploy the download to our corporate repo... or figure out a way to tell my app server installer to get the file from somewhere else. Hm... But before I do that....
WildFly 8 supports Hibernate 3.3.2 / JPA 1.x out of the box? Or do I have to do something?
Also, I've made lots of changes to standalone.xml... JMS resources and such. I need to update that to work with WF8, right?
Currently I'm right in the middle of trying Hibernate 3.5.6.Final with JBoss AS 7.1.1.Final.
-
32. Re: CNFE: InfinispanRegionFactory in app. using Hibernate 3.3 on AS 7.1.1. Bug?
smarlow Jun 18, 2013 6:07 PM (in response to pgmjsd)Hibernate 3.5.6 will be easier to use (entity classes should be discoverable without manually adding them to the persistence.xml). With WildFly 8, the Hibernate 3.x integration code doesn't reference the Infinispan classes anymore (since Hibernate 3.x doesn't work with Infinispan 5.x).
You could also try the latest EAP 6.0 download, which is close to AS 7.1.x (plus bug fixes).
WildFly 8 supports Hibernate 3.3.2 / JPA 1.x out of the box? Or do I have to do something?
You can copy the Hibernate 3.3.2 jars into WildFly 8 and report issues if not. I haven't tried 3.3.2 yet but might at some point if you and others don't.
-
33. Re: CNFE: InfinispanRegionFactory in app. using Hibernate 3.3 on AS 7.1.1. Bug?
pgmjsd Jun 18, 2013 6:42 PM (in response to smarlow)I did not know that EAP 6.0 was similar to AS 7.1.x. That's a strange naming convention, eh? Anyway, I'll give that a shot.
I actually did get it to deploy by including 'hibernate-infinispan.jar' in my org/hibernate/3/module.xml. Seam2 starts up too. Now when I go to the login page of my application, the browser waits forever, and the AS 7.1 process seems to be stuck.
-
34. Re: CNFE: InfinispanRegionFactory in app. using Hibernate 3.3 on AS 7.1.1. Bug?
pgmjsd Jun 19, 2013 12:55 PM (in response to smarlow)Scott,
It looks like WildFly has the modules defined in a different place. With 7.1.1 I was putting the module.xml file in modules/org/hibernate/3, but now it looks like there is a system/layers/base directory? Should I just put the module.xml file in the same place as before?
-
35. Re: CNFE: InfinispanRegionFactory in app. using Hibernate 3.3 on AS 7.1.1. Bug?
pgmjsd Jun 19, 2013 1:52 PM (in response to pgmjsd)Ah, here's the answer: https://community.jboss.org/thread/228584?tstart=0
I'll try putting Hibernate 3.3.2 in the usual place modules/org/hibernate/3
It'll take me a day or two to get all the other configs working. BTW, this is a Seam 2.2.x app, JSF 1.2, JPA 1.0 Hibernate 3.3.2. I'm porting from JBoss AS 5.1.0. It would be great if I could avoid upgrading Hibernate to 3.5.x JPA2 so I don't have to upgrade everything at the same time.
Looking forward to using Arquillian with WildFly!
-
36. Re: CNFE: InfinispanRegionFactory in app. using Hibernate 3.3 on AS 7.1.1. Bug?
amiller Aug 5, 2013 4:01 PM (in response to rsmeral)I'm running into this same issue with AS 7.1.1 and trying to use Hibernate 3 that comes with the Netbeans project framework. It's not working! I've spent a day trying various things.