This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Deployment Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deployment Problem" Watch "Deployment Problem" New topic
Author

Deployment Problem

Kalpesh Rawal
Greenhorn

Joined: Aug 08, 2006
Posts: 19
Hi,

I am using JBOSS-4.0.2 to deploy my application.

When i try to login it is throwing

java.lang.LinkageError: loader constraints violated when linking com/capgent/cpt/common/to/UsrHdr class

exception. I am ising Hibernate-3.0 and EJB in my application.

Can anyone suggest how can i remove this exception?

Thanks in Advance.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

Have a look at this


[My Blog] [JavaRanch Journal]
Kalpesh Rawal
Greenhorn

Joined: Aug 08, 2006
Posts: 19
I am not getting classcast exception.

And my all classpaths are correct.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

Did you read the link that i posted? It specifically mentions:

Depending on how unlucky you may be, you might get a LinkageError or ClassCircularityError as well.
Kalpesh Rawal
Greenhorn

Joined: Aug 08, 2006
Posts: 19
Yes, i read that link but I am using Session Bean in my application so how that link is usefull for me?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

Doesn't matter whether you are using Session Bean or not. That link lists down the steps that have to be done to figure out why you are running into this exception. Make sure you also try out the jmx-console method mentioned over there.
 
Don't get me started about those stupid light bulbs.
 
subject: Deployment Problem
 
Similar Threads
How to catch exception thrown from ejbStore
javax.mail.MessagingException is thrown when sending mail
stale db connection
java.net.ConnectException: Network is unreachable
LockTimedOutException