Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraints violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread David Jencks

On 2002.09.17 09:39:30 -0400 Bobby Abraham wrote:
> David Jencks wrote:
> > On 2002.09.16 13:15:53 -0400 Bobby Abraham wrote:
> > 
> ...
> >>
> >>I have seen numerous references to ear scoping in the email list but 
> >>have yet to find out how this is done.  Have I missed a reference to it
> 
> >>or an example which uses it?
> > 
> > 
> > Did you look in the quickstart guide? Otherwise find -name
> jboss-app.xml in
> > the testsuite directory will give you some examples.
> 
> Yes the quickstart guide makes no mention of these that I could find.
> 
> The example I think you are refering to looks as follows:
> Inside jboss-app.xml
> 
> 
>  
> jboss.test.cts:loader=cts-cmp2v2.ear
> 
> 
> Does this mean that classes inside cts-cmp2v2.ear are loaded inside 
> there own class loader ?

yes.  Other .ears with this same loader repository object name will share
that class loader space.
> 
> What is the reference to "jboss.test.cts" mean (I assume this is a 
> package reference) ?

its part of an arbitrary unique object name.  Using the package helps make
it unique and easier to identify.
> 
> Does the file jboss-app.xml get deployed along side jboss.xml inside the 
> ear file ?

jboss.xml goes in an ejb jar, which might not exist in an .ear. 
jboss-app.xml goes next to application.xml in your .ear

david jencks
> 
> -- 
> Bobby Abraham  [EMAIL PROTECTED]
> Computer Manangement USA, Inc  +1 407 514 3018
> Orlando, FL
> 
> 
> 
> 
> ---
> Sponsored by: AMD - Your access to the experts on Hammer Technology! 
> Open Source & Linux Developers, register now for the AMD Developer 
> Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


---
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] 3.0.2: java.lang.LinkageError: loader constraints violated when l inking com/tw/imgfactory/ejb/Image class

2002-09-17 Thread Kim, Yong

I just noticed that I am getting the same error messages!
So I tried to find out about this message thread from mail-archive.com but
the search doesn't work... 
Therefore, being impatient, I'd like to ask you what this error means!?
Please let me know...

Thanks,
Mitchell

-Original Message-
From: Bobby Abraham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] 3.0.2: java.lang.LinkageError: loader
constraints violated when l inking com/tw/imgfactory/ejb/Image class


David Jencks wrote:
> On 2002.09.16 13:15:53 -0400 Bobby Abraham wrote:
> 
...
>>
>>I have seen numerous references to ear scoping in the email list but 
>>have yet to find out how this is done.  Have I missed a reference to it 
>>or an example which uses it?
> 
> 
> Did you look in the quickstart guide? Otherwise find -name jboss-app.xml
in
> the testsuite directory will give you some examples.

Yes the quickstart guide makes no mention of these that I could find.

The example I think you are refering to looks as follows:
Inside jboss-app.xml


 
jboss.test.cts:loader=cts-cmp2v2.ear


Does this mean that classes inside cts-cmp2v2.ear are loaded inside 
there own class loader ?

What is the reference to "jboss.test.cts" mean (I assume this is a 
package reference) ?

Does the file jboss-app.xml get deployed along side jboss.xml inside the 
ear file ?

-- 
Bobby Abraham  [EMAIL PROTECTED]
Computer Manangement USA, Inc  +1 407 514 3018
Orlando, FL




---
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user