• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Joboss deployment error

 
Balaji Narasingapillai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you packaging any jar file(s) containing java.xml.* classes in your application? If yes, remove those jar files from your application packaging.
 
Balaji Narasingapillai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes , am using jaxrpc.jar.

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

any other way to resove this
 
Balaji Narasingapillai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help in abv
Regards,
Balaji
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic