It's not a secret anymore!*
The moose likes JBoss/WildFly and the fly likes Joboss deployment error 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 "Joboss deployment error" Watch "Joboss deployment error" New topic

Joboss deployment error

Balaji Narasingapillai

Joined: Jan 27, 2011
Posts: 4

Am getting below error when deploy in jboss, In tomcat its working fine
help me please

java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.axis.message.MessageElement.getChildElements(Ljavax/xml/namespace/QName;)Ljava/util/Iterator;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/axis/message/MessageElement, and the class loader (instance of <bootloader>) for interface javax/xml/soap/SOAPElement have different Class objects for the type javax/xml/namespace/QName used in the signature
>> at org.apache.axis.client.Call.invoke(
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9956

Are you packaging any jar file(s) containing java.xml.* classes in your application? If yes, remove those jar files from your application packaging.

[My Blog] [JavaRanch Journal]
Balaji Narasingapillai

Joined: Jan 27, 2011
Posts: 4
Yes , am using jaxrpc.jar.

But we need this jar also. Its relate to alfresco.

any other way to resove this
Balaji Narasingapillai

Joined: Jan 27, 2011
Posts: 4
if i remove as per advise am getting below error:

java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/Deserializer
>>java.lang.ClassNotFoundException: javax.xml.rpc.encoding.Deserializer
>> at$
>> at Method)
>> at
>> at java.lang.ClassLoader.loadClass(
>> at sun.misc.Launcher$AppClassLoader.loadClass(
>> at java.lang.ClassLoader.loadClass(
>> at java.lang.ClassLoader.loadClassInternal(
>> at java.lang.Class.forName0(Native Method)
Balaji Narasingapillai

Joined: Jan 27, 2011
Posts: 4
Please help in abv
I agree. Here's the link:
subject: Joboss deployment error
Similar Threads
Linkage Error with LOG4j
Why cant i see my WSDL
issues integrating seam2.1.1 and facelets 1.1.14 to myfaces 1.25, spring 2.5 and hibernate 3.4 app
Transaction error with Spring, Hibernate and JBOSS
different Class objects for one type, jboss 5.1, jpa/toplink, classloader?