TitleCould not find plugin GoDiagram
Date27-Jun-2005 18:21:41 EEST
Version2.2.20
Submitter66.93.123.194
Bug criticalityLightBug
Browser versionIE
Bug statusOpen Bug
PageProvider usedFileSystemProvider
Servlet ContainerTomcat 5.0
Operating SystemWinXP
URLintranet - not visible to outside world
Java versionJDK 1.4

Update: 2005-07-22 - found out this bug is still in the code, it just doesn't prevent JSPWiki from starting and running, but I do still see the error message and stack trace in the log.

Update: 2005-07-18 - started over today, installed a fresh copy of 2.2.28 and it works. Then pointed it to my wikifiles, still works. Pointed it to my template, works. Tried to use my JSP's, breaks. My JSP's were broken, but I can live without them as it seems to work with my template, and all I really needed was a WikiPrint.jsp in addition to the standard ones. Wrote that quickly using the new auth and so forth scheme. Works. I knew it was a config issue, just hadn't started from the beginning to identify what was going wrong. A good plan in general to not customize any of the JSP's that are part of the higher level functioning of the Wiki, but rather to just make changes in the template (which is mostly what I did, don't know why I thought I had to use _my_ JSP's from the base directory).

Update: 2005-07-14 - tried again today, with 2.2.28 still get same result. Is it my configuration? I've checked, and rechecked, and do not see a problem. It generates the rdf file just fine which is interesting. It just won't render the HTML. Old notes on the site here mention GoDiagram, for the life of me I cannot figure why it is not found!

Hi there,

I just changed machines, from W2K to WinXP. I tried at the same time to upgrade my Wiki from 2.0.52 to 2.2.20. I unzipped the entire 2.2.20 WAR into my Tomcat dirs, the JSP's compile, but when they try to run and display my Wiki files, I get the following:


2005-06-27 09:11:18,438 [http-8080-Processor25] INFO com.ecyrd.jspwiki.TranslatorReader  - Failed to insert plugin

com.ecyrd.jspwiki.plugin.PluginException: Could not find plugin GoDiagram

	at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:359)

	at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:520)

	at com.ecyrd.jspwiki.TranslatorReader.handleHyperlinks(TranslatorReader.java:906)

	at com.ecyrd.jspwiki.TranslatorReader.handleOpenbracket(TranslatorReader.java:1733)

	at com.ecyrd.jspwiki.TranslatorReader.fillBuffer(TranslatorReader.java:2263)

	at com.ecyrd.jspwiki.TranslatorReader.read(TranslatorReader.java:2353)

	at com.ecyrd.jspwiki.FileUtil.copyContents(FileUtil.java:156)

	at com.ecyrd.jspwiki.FileUtil.readContents(FileUtil.java:278)

	at com.ecyrd.jspwiki.WikiEngine.textToHTML(WikiEngine.java:1361)

	at com.ecyrd.jspwiki.WikiEngine.scanWikiLinks(WikiEngine.java:1290)

	at com.ecyrd.jspwiki.ReferenceManager.updatePageReferences(ReferenceManager.java:149)

	at com.ecyrd.jspwiki.ReferenceManager.initialize(ReferenceManager.java:234)

	at com.ecyrd.jspwiki.WikiEngine.initReferenceManager(WikiEngine.java:557)

	at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:497)

	at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:384)

	at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:280)

	at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:236)

	at org.apache.jsp.Wiki_jsp.jspInit(Wiki_jsp.java:16)

	at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:75)

	at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)

	at org.apache.jasper.servlet.JspServletWrapper.getDependants(JspServletWrapper.java:247)

	at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:564)

	at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:501)

	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:509)

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

	at java.lang.Thread.run(Thread.java:534)

2005-06-27 09:11:18,454 [http-8080-Processor25] INFO com.ecyrd.jspwiki.TranslatorReader  - Root cause:

java.lang.ClassNotFoundException: Class not found in search path!

	at com.ecyrd.jspwiki.util.ClassUtil.findClass(ClassUtil.java:73)

	at com.ecyrd.jspwiki.plugin.PluginManager.findPluginClass(PluginManager.java:232)

	at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:294)

	at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:520)

	at com.ecyrd.jspwiki.TranslatorReader.handleHyperlinks(TranslatorReader.java:906)

	at com.ecyrd.jspwiki.TranslatorReader.handleOpenbracket(TranslatorReader.java:1733)

	at com.ecyrd.jspwiki.TranslatorReader.fillBuffer(TranslatorReader.java:2263)

	at com.ecyrd.jspwiki.TranslatorReader.read(TranslatorReader.java:2353)

	at com.ecyrd.jspwiki.FileUtil.copyContents(FileUtil.java:156)

	at com.ecyrd.jspwiki.FileUtil.readContents(FileUtil.java:278)

	at com.ecyrd.jspwiki.WikiEngine.textToHTML(WikiEngine.java:1361)

	at com.ecyrd.jspwiki.WikiEngine.scanWikiLinks(WikiEngine.java:1290)

	at com.ecyrd.jspwiki.ReferenceManager.updatePageReferences(ReferenceManager.java:149)

	at com.ecyrd.jspwiki.ReferenceManager.initialize(ReferenceManager.java:234)

	at com.ecyrd.jspwiki.WikiEngine.initReferenceManager(WikiEngine.java:557)

	at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:497)

	at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:384)

	at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:280)

	at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:236)

	at org.apache.jsp.Wiki_jsp.jspInit(Wiki_jsp.java:16)

	at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:75)

	at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)

	at org.apache.jasper.servlet.JspServletWrapper.getDependants(JspServletWrapper.java:247)

	at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:564)

	at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:501)

	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:509)

	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)

	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

	at java.lang.Thread.run(Thread.java:534)

Did I do something wrong? I've reverted to my old 2.0.52 version and it runs just fine. I'm a bit perplexed since the only references I see at the top of the Google search for "GoDiagram" all point to a .NET technology??? I cannot figure out how a plugin of that nature could be missing from the 2.2.20 distribution, and I am sure I downloaded this and had it running on my old machine (a W2K box as I mentioned before).

Thanks for having a look at this.

-Scotty

mailto:Scott.deBeaubien@swisslog.com


GoDiagram has been made into a separate project, and is not included in the main distribution. You can check it out from the CVS by using the module name "GoWiki" instead of "JSPWiki".

So the bug is really about having faulty documentation...

Are you saying that your entire installation does not work with 2.2?

-- JanneJalkanen


Ah, I see now. My installation is actually working fine. I just get the stack trace in the log due to the fact that it cannot find GoDiagram. The same stack trace reported above is what I am seeing, although at first, I thought this error was keeping JSPWiki from running -- it is not.

Again, JSPWiki 2.2 is running on my machine, but with this stack trace in the logs every time it starts. Perhaps there is a configuration I can set to make it not try to find GoDiagram?

Thanks!

-- Scotty

What it means that on somewhere your pages you have the command to insert the plugin [{GoDiagram}]. Try to use something like "grep" or Windows Find to look for such a file, and remove that text.

-- JanneJalkanen

This plugin is part of the default Sandbox page. Remove it from that page and the stacktrace should disappear.

-- PascalWillemsen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-10) was last changed on 20-Mar-2006 14:58 by 161.85.127.152