This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Configure Hibernate in JBOSS 4.0  RSS feed

 
Shanika Weerapperuma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the readability of earlier post: Here's the formatted hibernate-service.xml

 
Shanika Weerapperuma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the readability of the previous post. here's the formatted hibernate-service.xml

 
Shanika Weerapperuma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the previous posts and the reability of the first post. Here's the formatted hibernate-service.xml

 
Shanika Weerapperuma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the previous posts and the reability of the first post. Here's the formatted hibernate-service.xml

 
Shanika Weerapperuma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the previous posts and the reability of the first post. Here's the formatted hibernate-service.xml

 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Syed Muhammad Ali Naqvi,
Your post was moved to a new topic.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!