File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 10289
    
168

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: 10289
    
168

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: 10289
    
168

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment Problem