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
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
Joined: Jan 16, 2001
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