Yes.  put a file called jboss-app.xml in the META-INF directory of the ear file with contents something like this.  It forces JBoss to use a new class loader for the ear.

<?xml version="1.0" encoding="ISO-8859-1"?>
<jboss-app>
   <loader-repository>jboss.test.cts:loader=one.ear</loader-repository>
</jboss-app>
 
 
 

Joost Kraaijeveld wrote:

I have these two ear file, one.ear and two.ear (different names).

They both contain:
1. A servlet with the same name but different functionality
2. An EJB with the same name but different functionality

Is it possible to deploy them both by rewriting the deployment files only?

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: [EMAIL PROTECTED]
web: www.askesis.nl
 
 

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363
 

Reply via email to