Hi Kenneth, I've been able to resolve the issue by, well, reading the Xerces documentation :-) In addition to the xercesImpl.jar (implementation) you have to drop in the xml-apis.jar, too (interfaces). No idea why it used to work with only the xercesImpl.jar so far. I guess this was possible as a side effect of the JDK implementation.
Regards Florian ----- Ursprüngliche Mail ----- Von: "Kenneth V George [NTK]" <[email protected]> An: [email protected] Gesendet: Montag, 21. März 2011 17:45:03 Betreff: RE: FCK Editor I have captured the DEBUG trace when the error occurs, but I am NOT able to know where the exception was thrown: 2011-03-21 09:41:50,079 ["http-bio-8080"-exec-719] DEBUG JSPWiki INSD Projects Wiki:/wiki/Edit.jsp INSD Projects Wiki:http://10.180.220.12:8080/wiki/Edit.jsp - Error.jsp exception is: java.lang.NoClassDefFoundError: org/apache/xerces/parsers/AbstractSAXParser at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2775) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1115) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1610) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1488) at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:49) at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:180) at org.jdom.input.SAXBuilder.createParser(SAXBuilder.java:525) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:424) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851) at com.ecyrd.jspwiki.htmltowiki.HtmlStringToWikiTranslator.htmlStringToElement(HtmlStringToWikiTranslator.java:112) at com.ecyrd.jspwiki.htmltowiki.HtmlStringToWikiTranslator.translate(HtmlStringToWikiTranslator.java:95) at com.ecyrd.jspwiki.htmltowiki.HtmlStringToWikiTranslator.translate(HtmlStringToWikiTranslator.java:79) at org.apache.jsp.Edit_jsp._jspService(Edit_jsp.java:132) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:174) at com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:111) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.AbstractSAXParser at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1643) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1488) ... 43 more -----Original Message----- From: Janne Jalkanen [mailto:[email protected]] Sent: Saturday, March 19, 2011 5:26 AM To: [email protected] Subject: Re: FCK Editor It's possible you have multiple xerces' in your classpath. Try renaming one as "axercesImpl.jar" to ensure it always comes first in the classpath? /Janne On 18 Mar 2011, at 17:37, George, Kenneth V [NTK] wrote: > Ok, so I installed the latest CK editor, downloaded all the necessary files > from the link below and still I get the same error: > > JSPWiki has detected an error > Error Message > org/apache/xerces/parsers/AbstractSAXParser > Exception > java.lang.NoClassDefFoundError > Place where detected > native methodjava.lang.ClassLoader.defineClass1(), line -2 If you have > changed the templates, please do check them. This error message may show up > because of that. If you have not changed them, and you are either installing > JSPWiki for the first time or have changed configuration, then you might want > to check your configuration files. If you are absolutely sure that JSPWiki > was running quite okay or you can't figure out what is going on, then by all > means, come over to jspwiki.org and tell us. There is more information in the > log file (like the full stack trace, which you should add to any error > report). > > And don't worry - it's just a computer program. Nothing really serious is > probably going on: at worst you can lose a few nights sleep. It's not like > it's the end of the world. > > > -----Original Message----- > From: Derek Hohls [mailto:[email protected]] > Sent: Friday, March 18, 2011 1:29 AM > To: [email protected] > Subject: RE: FCK Editor > > Try switching to another browser; I had no problems downloading this > file with Chrome or Firefox. (And I am not even going to ask why IE > renamed a file?!) > > > >>>> "George, Kenneth V [NTK]" 03/18/11 1:13 AM >>> > Just tried it, but I get this error message when I try to download it > (click on the CK.jsp file) > > "Internet Explorer cannot download CK.jsp from issues.apache.org > > Internet Explorer was not able to open this Internet site. The requested > site is either unavailable or cannot be found. Please try again later." > > I had no problems downloading CK.jar (although it comes down as > CK.zip) > > > -----Original Message----- > From: Florian Holeczek [mailto:[email protected]] > Sent: Thursday, March 17, 2011 6:08 PM > To: [email protected] > Subject: Re: FCK Editor > > I can at least reproduce it. I assume it's caused by a version of > xercesImpl.jar being too new. > At this point, I'd try to go for the CK.jsp which can be downloaded > via > https://issues.apache.org/jira/browse/JSPWIKI-623 > > Regards > Florian > > > ----- Ursprüngliche Mail ----- > Von: "Kenneth V George [NTK]" > An: [email protected] > Gesendet: Donnerstag, 17. März 2011 23:16:40 > Betreff: RE: FCK Editor > > Terribly sorry... > > JSPWiki 2.8.4 > FCK editor 2.6.3 > Tomcat 6.0.26 > > Error: > > JSPWiki has detected an error > Error Message > org/apache/xerces/parsers/AbstractSAXParser > Exception > java.lang.NoClassDefFoundError > Place where detected > native methodjava.lang.ClassLoader.defineClass1(), line -2 If you have > changed the templates, please do check them. This error message may show up > because of that. If you have not changed them, and you are either installing > JSPWiki for the first time or have changed configuration, then you might want > to check your configuration files. If you are absolutely sure that JSPWiki > was running quite okay or you can't figure out what is going on, then by all > means, come over to jspwiki.org and tell us. There is more information in the > log file (like the full stack trace, which you should add to any error > report). > > And don't worry - it's just a computer program. Nothing really serious is > probably going on: at worst you can lose a few nights sleep. It's not like > it's the end of the world. > > -----Original Message----- > From: Florian Holeczek [mailto:[email protected]] > Sent: Thursday, March 17, 2011 5:12 PM > To: [email protected] > Subject: Re: FCK Editor > > Hi Kenneth, > > you should give more details... Which versions of JSPWiki and FCK editor? > Which application server? Which errors? > > Regards > Florian > > > ----- Ursprüngliche Mail ----- > Von: "Kenneth V George [NTK]" > An: [email protected] > Gesendet: Donnerstag, 17. März 2011 23:01:50 > Betreff: FCK Editor > > I want to install the FCK editor for my wiki. I have followed the > instructions on JSP Wiki (except for installing xercesImpl.jar) and the > editor seems to be running. However, I get errors when I save a document. > So, I added xercesImpl.jar, but the application will not start with it in > WEB-INF/lib. I had to remove it in order to get the app to run. > > Any ideas? > > ________________________________ > > This e-mail may contain Sprint Nextel proprietary information intended for > the sole use of the recipient(s). Any use by others is prohibited. > If you are not the intended recipient, please contact the sender and delete > all copies of the message. > > > ________________________________ > > This e-mail may contain Sprint Nextel proprietary information intended for > the sole use of the recipient(s). Any use by others is prohibited. > If you are not the intended recipient, please contact the sender and delete > all copies of the message. > > > ________________________________ > > This e-mail may contain Sprint Nextel proprietary information intended for > the sole use of the recipient(s). Any use by others is prohibited. > If you are not the intended recipient, please contact the sender and delete > all copies of the message. > > > > -- > This message is subject to the CSIR's copyright terms and conditions, e-mail > legal notice, and implemented Open Document Format (ODF) standard. > The full disclaimer details can be found at > http://www.csir.co.za/disclaimer.html. > > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. MailScanner thanks Transtec > Computers for their support. > > > > ________________________________ > > This e-mail may contain Sprint Nextel proprietary information intended for > the sole use of the recipient(s). Any use by others is prohibited. If you are > not the intended recipient, please contact the sender and delete all copies > of the message. ________________________________ This e-mail may contain Sprint Nextel proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.
