I have the groovy code you provided to detect
Xerces version installed on XWiki homepage.
In this way I know whether it is Xerces-J 2.6.2
or 2.8.1.

I use XWiki 2.0.5 only.

Thanks as always!

On Tue, Jan 26, 2010 at 12:51 AM, Marius Dumitru Florea <
[email protected]> wrote:

> Dayong Sun wrote:
> > Thanks again, Marius.
> >
> > I couldn't remove Xerces-J 2.6.2 from our server.
>
> > But I installed Xerces-J 2.6.2 on my own machine.
> > XWiki on my machine still works well. In the
> > same way I tried BeanUtil.
>
> Is Xerces-J 2.6.2 or Xerces-J 2.8.1 detected on the (2.2.1) XWiki
> instance running on your local machine? If it's still Xerces-J 2.8.1
> after you installed Xerces-J 2.6.2 then this doesn't prove anything. If
> your local XWiki instance runs indeed with Xerces-J 2.6.2 then the
> problem must be in some other place. The exception you get
> (java.lang.NoSuchFieldError: fFeatures) is precisely related to Xerces
> though.
>
> >
> > In fact today I downloaded all .jar files from
> > our server/tomcat/shared/lib and copied
> > to my machine/xwiki/WEB-INF/lib one by one.
> > And still, XWiki works well.
>
> Same comment as above. Did the detected version of Xerces change after
> you copied the jars from the Tomcat lib?
>
> Hope this helps,
> Marius
>
> >
> > Then I tried re-install XWiki on our server
> > and this time I use Hibernate. The error
> > is still there!
> >
> > This thing really drives me crazy.
> >
> >
> >
> > On Mon, Jan 25, 2010 at 4:02 AM, Marius Dumitru Florea <
> > [email protected]> wrote:
> >
> >> jackyork wrote:
> >>> I have posted a few questions here and I really appreciated your
> replies.
> >> I
> >>> just received the 1,000,001 error from this XWiki program when I was
> >> trying
> >>> to switch editor from WYSIWYG to WIKI. This error must be a result of
> >> some
> >>> old version libs. I have excluded beanutil.jar and xercesImpl.jar.
> >> What do you mean by excluded? Is "Xerces-J 2.8.1" detected as pointed
> >> out in http://lists.xwiki.org/pipermail/users/2010-January/018949.html?
> >> This library is needed so don't remove entirely, just make sure the
> >> right version is loaded (i.e. remove only the jars that correspond to an
> >> older/incorrect version).
> >>
> >> Hope this helps,
> >> Marius
> >>
> >>> Again the error info:
> >>>
> >>> Jan 24, 2010 10:46:38 PM org.apache.tomcat.util.http.Parameters
> >>> processParameters
> >>> WARNING: Parameters: Invalid chunk ignored.
> >>> 2010-01-24 22:46:38,351 []
> >>> [
> >>
> http://secure10.olemiss.edu/xwiki/bin/edit/Main/WebHome?editor=wiki&&$param
> >> ]
> >>> ERROR [/xwiki].[action]               - Servlet.service() for servlet
> >> action
> >>> threw exception
> >>> java.lang.NoSuchFieldError: fFeatures
> >>>         at
> >>>
> org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
> >>> Source)
> >>>         at
> >>>
> org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
> >>> Source)
> >>>         at
> >> sun.reflect.GeneratedConstructorAccessor116.newInstance(Unknown
> >>> Source)
> >>>         at
> >>>
> >>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >>>         at
> >> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >>>         at java.lang.Class.newInstance0(Class.java:350)
> >>>         at java.lang.Class.newInstance(Class.java:303)
> >>>         at
> >>>
> >>
> org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81)
> >>>         at
> >>>
> >>
> org.xwiki.rendering.internal.util.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:50)
> >>>         at
> >>>
> >>
> org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:154)
> >>>         at
> >>>
> >>
> org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:86)
> >>>         at
> >>>
> >>
> org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.parse(WikiModelXHTMLParser.java:111)
> >>>         at
> >>>
> >>
> com.xpn.xwiki.wysiwyg.server.converter.internal.DefaultHTMLConverter.fromHTML(DefaultHTMLConverter.java:100)
> >>>         at
> >>>
> >>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:117)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >>>         at
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >>>         at
> >>>
> >>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >>>         at
> >>>
> >>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >>>         at
> >>>
> >>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >>>         at
> >>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> >>>         at
> >>>
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> >>>         at
> >>>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> >>>         at
> >>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
> >>>         at
> >>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> >>>         at
> >> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
> >>>         at
> >>>
> >>
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
> >>>         at
> >>>
> >>
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
> >>>         at
> >>>
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
> >>>         at java.lang.Thread.run(Thread.java:595)
> >>>
> >> _______________________________________________
> >> users mailing list
> >> [email protected]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to