aspose file tools*
The moose likes JBoss/WildFly and the fly likes Configure Hibernate in JBOSS 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configure Hibernate in JBOSS 4.0" Watch "Configure Hibernate in JBOSS 4.0" New topic
Author

Configure Hibernate in JBOSS 4.0

Shanika Weerapperuma
Greenhorn

Joined: Jun 28, 2004
Posts: 26
Can someone please help me to configure Hibernate in JBOSS. I use JBOSS V4.0.0 with Hibernate 2.1.6. Not sure if the way i have configured is correct!

I copied the relavent hibernate jars to the default/lib folder of JBOSS. Created a .har and deployed as an exploded folder. My .har has the following structure :

jboss.har-

My hibernate-service.xml looks like :






I get a deployment error when deplying the jboss.har :
org.jboss.deployment.DeploymentException: No Attribute found with name: MapResources
Shanika Weerapperuma
Greenhorn

Joined: Jun 28, 2004
Posts: 26
Sorry about the readability of earlier post: Here's the formatted hibernate-service.xml

Shanika Weerapperuma
Greenhorn

Joined: Jun 28, 2004
Posts: 26
Sorry about the readability of the previous post. here's the formatted hibernate-service.xml

Shanika Weerapperuma
Greenhorn

Joined: Jun 28, 2004
Posts: 26
Sorry about the previous posts and the reability of the first post. Here's the formatted hibernate-service.xml

Shanika Weerapperuma
Greenhorn

Joined: Jun 28, 2004
Posts: 26
Sorry about the previous posts and the reability of the first post. Here's the formatted hibernate-service.xml

Shanika Weerapperuma
Greenhorn

Joined: Jun 28, 2004
Posts: 26
Sorry about the previous posts and the reability of the first post. Here's the formatted hibernate-service.xml

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Syed Muhammad Ali Naqvi,
Your post was moved to a new topic.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure Hibernate in JBOSS 4.0