I am having one more problem. I want to load classes of my application using hibernate, but it can't locate the xml files or any class from aar archive. But when I give jar file of my classes, it loads all the classes and .hbm.xml file. I can't understand the problem. Why it is doing like this.Please help!!
-----Original Message----- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 1:21 PM To: [email protected] Subject: Re: Want to Deploy full apllication I just sent a mail to list about this with the subject New experimental feature (putting web resources inside service archive file) nancy wrote: >Can you tell me any structure so that I can add my Jsp pages also and aar >archive file behave like web module... > >If not, then I have to deploy application in three forms.(jar,war,aar) >That’s very strange. > >Is there any solution to this? > >-----Original Message----- >From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] >Sent: Friday, March 10, 2006 4:27 PM >To: [email protected] >Subject: Re: Want to Deploy full apllication > >we still dont have a way of adding war file into .aar file . > >nancy wrote: > > > >>Hi, >> >>In continuation to my last mail,I am having one more problem.I want to load >>classes for hibernate,but it can't locate the xml files or any class from >>aar archive.But when I give jar file of my classes,it loads all the classes >>and .hbm.xml file. >>I cant understand the problem.Why it si doing like this.Please help!!. >> >> >>-----Original Message----- >>From: nancy [mailto:[EMAIL PROTECTED] >>Sent: Friday, March 10, 2006 3:25 PM >>To: '[email protected]' >>Subject: Want to Deploy full apllication >> >>Hi, >> >>I am having a j2ee application with jsp pages, hibernate etc.I have exposed >>two methods of my some class lets say >> >>a.b.c.Classs1 >> >>Where a.b.c is package path. >> >>I created a service.xml and plced it in Meta-inf in a.b.c package and also >> >> >I > > >>placed same meta-inf folder outside WEB-INF. Now, Whne I am having two >>archive files. One is war another is aar. Both structures are different. >> >>War is having all the jsp pages as well as classes and lib. >> >>Aar is having Meta-inf and a.b.c.class1 and other packages. >> >>But I want to run my application within one archive file. >>What is the structure of the aar file having whole of the application like >>war.Please help!!!! >> >> >> >> >> >> > > > -- Thanks, Deepal ................................................................ ~Future is Open~ -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
