File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes PLEASE HELP java.lang.LinkageError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "PLEASE HELP java.lang.LinkageError" Watch "PLEASE HELP java.lang.LinkageError" New topic

PLEASE HELP java.lang.LinkageError

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384

I have an jsf managed bean that tries to exchange a dto with the ejb tier as follows:

Here is the exception I get:

Here is the full managed bean:

and here is the full dto class:

here is the signature of the session ejb business method:

I use Jboss 4.0.3.

Can anyone help please??

Julien Martin.

ps. the two dto classes (web and ejb tier) are exactly the same.
[ August 16, 2006: Message edited by: Julien Martin ]
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

loader constraints violated when linking arcoiris/SearchRequestDTO class

Is this class present in more than one jar file? Try out the jmx-console method mentioned at LinkageError/ClassCastException - JBossWiki

[My Blog] [JavaRanch Journal]
Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Thanks a lot for the reply! I found the solution to my problem here:
I agree. Here's the link:
subject: PLEASE HELP java.lang.LinkageError
It's not a secret anymore!