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/)
com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.j
ava:431)
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:288)
com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBCon
textImpl.java:1111)
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
javax.xml.bind.ContextFinder.newInstance(Unknown Source)
javax.xml.bind.ContextFinder.find(Unknown Source)
javax.xml.bind.JAXBContext.newInstance(Unknown Source)
javax.xml.bind.JAXBContext.newInstance(Unknown Source)
org.restlet.ext.jaxrs.internal.provider.AbstractJaxbProvider.getJaxbContext(
AbstractJaxbProvider.java:63)
org.restlet.ext.jaxrs.internal.provider.AbstractJaxbProvider.marshal(Abstrac
tJaxbProvider.java:84)
org.restlet.ext.jaxrs.internal.provider.JaxbProvider.writeTo(JaxbProvider.ja
va:106)
org.restlet.ext.jaxrs.internal.wrappers.provider.SingletonProvider.writeTo(S
ingletonProvider.java:335)
org.restlet.ext.jaxrs.internal.util.JaxRsOutputRepresentation.write(JaxRsOut
putRepresentation.java:105)
com.noelios.restlet.http.HttpServerCall.writeResponseBody(HttpServerCall.jav
a:492)
com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:428
)
com.noelios.restlet.ext.servlet.ServletCall.sendResponse(ServletCall.java:40
7)
com.noelios.restlet.http.HttpServerConverter.commit(HttpServerConverter.java
:391)
com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:148)
com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881
)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)