On 11/01/2009 02:46 PM, Dilipkumar Jadhav wrote:
Hi Sergiu, Thanks for taking the time out to look into the issue. I reinstalled the XWiki instance& now have a clean XWiki instance. I checked the xwiki/WEB-INF/lib folder and I see that the JAXB library shipped with XWiki is JAXB2.1 (jaxb-api-2.1, jaxb-fluent-api-2.1.8, jaxb-impl-2.1.10,jaxb-xjc-2.1.8,jaxrpc-api-1.1& activation-1.1). Tried accessing the URL http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome directly from the browser.
Following is the java.lang.Linkage error that I get:
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Tomcat6.0/webapps/xwiki/WEB-INF/lib/jaxb-impl-2.1.10.jar!/com/s un/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
What container are you using? It looks like the container already provides an incompatible JAXB jar. -- Sergiu Dumitriu http://purl.org/net/sergiu/