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 Joboss deployment error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Joboss deployment error" Watch "Joboss deployment error" New topic
Author

Joboss deployment error

Balaji Narasingapillai
Greenhorn

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(Call.java:2364)
Thanks,
balaji
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

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
Greenhorn

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
Greenhorn

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 java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> at java.lang.Class.forName0(Native Method)
Balaji Narasingapillai
Greenhorn

Joined: Jan 27, 2011
Posts: 4
Please help in abv
Regards,
Balaji
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Joboss deployment error
 
Similar Threads
Transaction error with Spring, Hibernate and JBOSS
different Class objects for one type, jboss 5.1, jpa/toplink, classloader?
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