-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Problem with Hibernate for WildFly and WildFly Swarm
PostPosted: Tue May 23, 2017 7:25 am 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
Code:
<property name="jboss.as.jpa.providerModule" value="org.hibernate:5.2"/>


For normal WildFly, I have to add this to persistence.xml to make it working with hibernate 5.2 module.

But for WildFly Swam, there's no org.hibernate:5.2 module.

Then it will report error. How can I make a project to work with normal WildFly and WildFly Swarm together.

Quote:
2017-05-23 17:18:49,766 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.module.service."deployment.blueeyes-war-1.0-SNAPSHOT.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.blueeyes-war-1.0-SNAPSHOT.war".main: WFLYSRV0179: Failed to load module: deployment.blueeyes-war-1.0-SNAPSHOT.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.modules.ModuleNotFoundException: org.hibernate:5.2
at org.jboss.modules.Module.addPaths(Module.java:1093)
at org.jboss.modules.Module.link(Module.java:1449)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1477)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:225)
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68)
... 5 more


Last edited by Seto on Tue May 23, 2017 7:26 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Problem with Hibernate for WildFly and WildFly Swarm
PostPosted: Tue May 23, 2017 7:25 am 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
Code:
<property name="wildfly.jpa.hibernate.search.module" value="org.hibernate.search.orm:ispn-9.0"/>


The same with this property.


Top
 Profile  
 
 Post subject: Re: Problem with Hibernate for WildFly and WildFly Swarm
PostPosted: Tue May 23, 2017 9:15 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
I guess you should ask this question on the Wildfly forum. They surely know better.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.