To enable an ear specific loader repository create a
META-INF/jboss-app.xml descriptor with: 
<jboss-app> 
  <loader-repository>some.dot.com:loader=webtest.ear</loader-repository> 
</jboss-app> 

where the value of the loader-repository element is the JMX ObjectName 
to assign to the repository created for the ear. This must be unique 
and be a valid JMX ObjectName.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Olivier MONROUX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 12:03 AM
Subject: [JBoss-user] JBoss classloading


Hi all,

I would like to deploy 2 ears on the same JBoss 3.0 server, each of them 
containing a different version of the same package. The issue is that 
once the first ear is deployed, the second ear can not retrieve its own 
version the package : it retrieves the version of the first ear.
I thought jboss-app.xml was made to resolve this problem by loading the 
ears with 2 different class loaders and then, allowing me to use 2 
different versions of the same classes. But, it doesn't seem to work. 
Could someone just tell me how you configured jboss-app.xml to succeed ?
Many thanks if you can help me.

Olivier

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to