1 Reply Latest reply on Sep 5, 2012 9:09 AM by Martin Kožený

    RichFaces 3.3.3.Final on JBoss 6.1.0. ajax problem

    Martin Kožený Newbie

      Hi to all,


      I have problem when using RichFaces 3.3.3.Final components on JBoss 6.1.0.Final. By using components attached to ajax like rich:dataScroller (when paging) I get following error:



      java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.ajax4jsf.org.w3c.tidy.DOMNodeImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/ajax4jsf/org/w3c/tidy/DOMNodeImpl, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Node have different Class objects for the type org/w3c/dom/UserDataHandler used in the signature
          at org.ajax4jsf.org.w3c.tidy.Node.getAdapter(Node.java:1460) [:3.3.3.Final]
          at org.ajax4jsf.org.w3c.tidy.Tidy.parseDOM(Tidy.java:607) [:3.3.3.Final]
          at org.ajax4jsf.webapp.tidy.TidyParser.parseHtmlByTidy(TidyParser.java:182) [:3.3.3.Final]
          at org.ajax4jsf.webapp.tidy.TidyParser.parseHtml(TidyParser.java:265) [:3.3.3.Final]



      I've found opinions that it can be caused by some libraries in JBoss 6.1.0.Final. And also these ajax compoments in my web app on JBoss 5.1.0.GA works fine.

      Any ideas?


      Thanks Martin.