• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Deploy Hibernate2.1 on JBoss 3.2.3

Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks ,

I wnat to get a suggestion from you, I have developed one scheduler service that executes on specific date and perfroms some operations on DB using hibernate 2.1 in JBoss 3.2.3
Everthing is working fine, but I want to knwo about the standard deployment of Hibernate in JBoss 3.2.3 .. How I am currently deploying ...

myservice.jar contains
all class files
all hbm files
hibernate configuration file

I copy myservice.jar in default/lib including

then I copy all hibernate required Jar files in default/lib

and then I enter my scheduler MBEAN entry in default/conf/jboss-service.xml
and then I copy my scheduler.config file in the default/conf directory

thats all.................. and then i run Jboss

As my applicaion requires in the information where the scheduler.config is locaded
so I start JBoss using

>run -DconfFile=d:\jboss\server\default\conf\scheduler.conf

AND IT WORKS FINE >>>>>>>>>>>>>

I was reading some .HAR deployment for hibernate and SAR JBoss deployment
But I am not sure it will working with Jboss 3.2.3 as it is for Jboss 4.0

Please advice me any standard deployment, in form of a single file where i can do this deployment.


Awais Bajwa
Awais Bajwa
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Mr.Bajwa,

You have solved the probelm : ) here I am writing how did you solve the issue .

You created one SAR directory, JBoss standard service file, and put all of your hibernate jars and other required jars, including hibernate mapping files.
And It worked fine..
META-INF is always required in any SAR directory, that then contains the jboss-service.xml

What are you saying? I thought you said that Santa gave you that. And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic