I'm using ear scooped loader repositories, with Jboss 3.2.3. I need to separate my ear form other deployments, and that's the only way I know to do this.
My problem is that when I have a *-ds.xml (hibernate stuff) in the ear, and jboss processes (deploys) the xml, then it's not using the ear scooped loader repository but instead the standard one (probably the one that loaded hibernate.rar). This prevents the datasource from proper operation, because my user classes needed by hibernate are isolated inside the loader repository. To overcome this I have to add hibernate.rar into the ear, but then i have another problem: i have two ear's and one depending on the other. Both need hibernate.rar but i can't put hibernate.rar in both ear's because jboss fails with an already registered resource adapter error. So i'm stuck... the only solution would be if JBoss would use the classloader that loaded the *-ds.xml to initialize the datasource. If i understand everything, then it could work because an ear scooped loader repository sees the stuff coming from the deploy directory, too. (So both ears would see hibernate classes coming from a single hibernate.rar deployed next to the ears) If it doesn't work, then maybe jboss could tolerate duplicate rar registrations coming from isolated ears? As a sidenote: i've got another similar issue with two war's in a single ear seeing each other's classes (due to an ear scoopend loader repository). I can't set a parameter that the war's should check their own classloaders/scoops and only ask for the parent when a class is not found. But I will ask it on a different forum. Thanks in advance, - 101 PS: sorry for the hijack, will open new topics from now on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841998#3841998 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841998 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
