File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment Problem

 
Kalpesh Rawal
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this
 
Kalpesh Rawal
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not getting classcast exception.

And my all classpaths are correct.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic