This is a discussion page about the CeryleWikiPlugins, a package of plugins designed for use with JSPWiki.

Does this Plugin (CeryleWikiPlugin) run with v2.8.100? Vinayak


Does this Plugin (CeryleWikiPlugin) run with v2.4.100? With the New Version from the Author-Page i got Plugin failed or something common in my Wiki-Instance

Thanks!

--MartinU, 30-Mar-2007

Martin,

Which plugin are you talking about? There is no plugin called "CeryleWikiPlugin", that's the name of the group of plugins described on this page. Most of them should run on 2.4.100 though I don't know if all have been tested on that version specifically. Note that for any of them to work you'll have to add the 'org.ceryle.wiki.plugin' to the plugin path property 'jspwiki.plugin.searchPath' in WEB-INF/jspwiki.properties. Assuming that has been done I'd still need more information to answer your question.

-- MurrayAltheim, 1-Apr-2007

Hi Murray,

Hmm.. i thought here can i get the 'whole' plugin-package?... i Tried to use the "FormDebugHandler" like this

[{FormSet form='newTodoForm'}]

[{FormOutput form='newTodoForm' handler='FormDebugHandler' populate='handler'}] 

[{FormOpen form='testform'}]

[{FormInput type='text' name='format'}]

[{FormClose}]
on the Page appears "Plugin failed" :( ... Don't know what i do wrong?

Thanks for Answer!

--MartinU, 30-Mar-2007

Yes, the plugin package is available from the page you mention, in both binary and source jar files. I'm not distributing them as individual plugins because it's a lot of work to set up creation and maintenance of that many small jar files and a lot easier to do just one. You can (as I describe below) simply download the source distribution and compile only the ones you want. As to what's going wrong with your example, hard to say. You might want to look at your wiki logs and see what is actually going wrong. Forms are a bit tricky to debug since there's a lot of plugins and a lot of interaction between them, so you might (a) trying adding to the plugin parameters, or (b) modify the plugin source by adding stack traces to see what's exploding if you're not seeing any indication in the logs. If I get a chance I'll see if your example runs but I'm currently trying to kill a bug as big as a house.

-- MurrayAltheim, 02-Apr-2007

Hmm Murray, i understand that its very difficult to find a solution for my problem... but now i tried it with this instanciation ...

and this ERROR appears in my WikiLog:

2007-04-02 13:33:17,064 [http-15984-Processor25] INFO com.ecyrd.jspwiki.plugin.PluginManager TestWiki:/TestWiki/Wiki.jsp TestWiki:http://xxx/TestWiki/Wiki.jsp - Plugin failed while executing:
java.lang.NullPointerException
        at org.ceryle.wiki.handler.FormDebugHandler.debug(FormDebugHandler.java:64)
        at org.ceryle.wiki.handler.FormDebugHandler.execute(FormDebugHandler.java:49)
        at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:380)
        at com.ecyrd.jspwiki.forms.FormOutput.execute(FormOutput.java:123)
        at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:380)
        [[...]

any idea why?

Thanks as well!

--MartinU, 02-Apr-2007 01:35h PM GMT+1

Okay now the page-"View" works (i changed one line to [{FormOutput form='testform' handler='org.ceryle.wiki.handler.FormDebugHandler'}] without the "populate"-attribute)...
but if i submit the form this error is written on my Wiki Page Plugin Failed and this error appears in my WikiLog:

2007-04-02 13:43:08,780 [http-15984-Processor20] INFO com.ecyrd.jspwiki.plugin.PluginManager TestWiki:/TestWiki/Wiki.jsp TestWiki:http://xxx/TestWiki/Wiki.jsp - Plugin failed while executing:
java.lang.NullPointerException
        at org.ceryle.wiki.handler.FormDebugHandler.debug(FormDebugHandler.java:64)
        at org.ceryle.wiki.handler.FormDebugHandler.execute(FormDebugHandler.java:49)
        at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:380)
        at com.ecyrd.jspwiki.forms.FormOutput.execute(FormOutput.java:123)
        at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:380)
        [[...]

Thanks for any help!

--MartinU, 02-Apr-2007 01:47h PM GMT+1

Martin,

Okay, I can see where in the FormDebugHandler this is causing that exception, so that's an easy fix, but my guess is that there still might be another problem, dunno. As a quick fix, if you're compiling your own code, you can change the code to add an if() check around the problem area beginning on line 63, e.g.,

63    String key = (String)iter.next();
64    if ( key != null ) // add this check to void the NullPointerException
65    {
66        String value = params.get(key).toString() ;
67        buffer.append(key + " = " + value + brElt );
68    }
I'll do that on the next release of the code, but that will be awhile...

-- MurrayAltheim, 02-Apr-2007

Hey Murray,

thanks for this Fix! ... but i dont know hot to compile this code for myself... how can i compile the .java file to be a working .jar?

Thanks for Answers!

-- MartinU, 02-Apr-2007 at 09:51 AM GMT+1

Martin, a tutorial on building Java jar files is a bit beyond the scope of help I can provide here. I'd suggest either digging into one of the thousands of Java books on the market, or using the ant build tool (also see the ant user manual), e.g., grabbing an existing ant build.xml file and seeing how it's done from the inside. There's a build file distributed with JSPWiki that builds the JSPWiki.jar file using the "jar" target, so you could use that as a starting point. There's lots of help on the ant site on this as well. These are good skills to learn in any case.

-- MurrayAltheim, 04-Apr-2007


I want to only install EmailNotifierPlugin, but not other CeryleWikiPlugins.

Is it possible? Thanks!

--AnonymousCoward, 02-Apr-2007

Yes, you can install any of the individual plugins by compiling them yourself. You would just download the source distribution (labeled with 'src' in the filename) and compile it into a jar file, installing it as you would the full package, which includes adding the package name to your WEB-INF/jspwiki.properties file as described in the installation instructions, e.g.:

  jspwiki.plugin.searchPath = org.ceryle.wiki.plugin
(You'd still set this property since it is necessary for any and all of the plugins.)

I don't know much about the EmailNotifierPlugin since it was written by John Volkar; you might ask on the jspwiki-users mailing list if you have any specific questions about that plugin.

-- MurrayAltheim, 02-Apr-2007


We are using NewPageHandler to create pages. We need to make the create page more user friendly by catching the null form fields. Do we need to make changes to NewPageHandler?s On the UI all form field are not mandatory. so when the user hits submit the fields that are not filled in result in showing up some garbage (NULL) in the newly created page. Can you provide us some guidance on how to fix this?

--AbhijitPatil, 15-Oct-2007


I am using jspwiki 2.6.0 with ceryle-wikiutil-1.0a12-20070216.jar. I have the following on my main page:

[{INSERT EmailNotifier server='localhost' from='do-not-reply@myserver.net' subject='Wiki Changes' subscriptionPage='NotificationList' minuteOffset='01' hourInterval='0' useAuthentication='false' changedPagePattern='<li><a href=http://www.myserver.net/Wiki/Wiki.jsp?page=CHANGED_PAGE_NAME>CHANGED_PAGE_NAME</a></li> \n'

<html><body>
<p>The following pages have changed in the last 24 hours.</p>
<ul>CHANGED_PAGE_LIST</ul>
<p>
<hr/>
To remove your email address from this list, edit the <a href=http://www.myserver.net/Wiki/Wiki.jsp?page=SUBSCRIPTION_PAGE>SUBSCRIPTION_PAGE</a> page.
</p>
</body></html>
}]

It saves okay and says on my main page:

Wiki next notification at Feb 28, 2008 3:46:00 PM. Subscribe at NotificationList.

But I am still not getting any emails... Any ideas?

--BrianAnderson, 29-Feb-2008


Hello all,

I am trying to use the tag plugin (including HasTagOf, TagCloud, Tag) on my JSPWiki 2.6.1 installation.
It comes seperate from the ceryle plugin lib.
I followed the installation hints, but if I am trying to use a tag, the following error message occurs:

Can't find resource for bundle java.util.PropertyResourceBundle, key plugin.error.pluginfailed

I am using the follwing syntax for tagging a page with the Tag 'Info':

[{Tag Info}] 

Does anybody know something about this problem? Is it possibly a JSPWiki Version problem?

it would really help me out, because I think it's a really great Plugin.

Thanks in advance
Greetz Marius, 31-MAR-2008


@EDIT 03-APR-2008:
I solved the Problem above. The ceryle basic jar (ceryle-wikiutil-1.0a12-20070216.jar) needs also to be put in the WEB_INF/lib directory. Now everything works just fine !


Hello all, I am trying to use the NewPageFormHandler plugin in JSPWiki to give the users the ability to be able to create new pages with names given by them. I tried everything as mentioned in the documentation - but I get the following error when I click the form submit button - Plugin insertion failed: Can't find resource for bundle java.util.PropertyResourceBundle, key plugin.error.pluginfailed
Any help is greatly appreciated.
Thanks, Rg, 6/10/08


The QueryPlugin requires org.ceryle.xml.XHTML which isn't included in the ceryle-wikiutil-%VERSION%.jar. If anyone can provide a link to the jar as it is required within PluginTextUtils class, that would be great.

--AnonymousCoward, 05-Aug-2008


It seems this package isn't for the latest version of JSP Wiki currently (v2.6.3). The latest Erorr with EmailNotifier Plugin gives the following error :

.... Exception starting filter WikiJSPFilter
java.lang.AbstractMethodError: org.ceryle.wiki.plugin.EmailNotifier.initialize(Lcom/ecyrd/jspwiki/WikiEngine;)V
        at com.ecyrd.jspwiki.plugin.PluginManager$WikiPluginInfo.initializePlugin(PluginManager.java:797)
        at com.ecyrd.jspwiki.plugin.PluginManager.registerPlugin(PluginManager.java:683)
        at com.ecyrd.jspwiki.plugin.PluginManager.executeParse(PluginManager.java:1000)
        at com.ecyrd.jspwiki.parser.PluginContent.executeParse(PluginContent.java:191)
        at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleHyperlinks(JSPWikiMarkupParser.java:1407)
        at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleOpenbracket(JSPWikiMarkupParser.java:2203)
        at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.parseToken(JSPWikiMarkupParser.java:2768)
        at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.fillBuffer(JSPWikiMarkupParser.java:2578)
        at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.parse(JSPWikiMarkupParser.java:2820)
        at com.ecyrd.jspwiki.providers.CachingProvider.refreshMetadata(CachingProvider.java:664)
        at com.ecyrd.jspwiki.providers.CachingProvider.getPageInfo(CachingProvider.java:709)
        at com.ecyrd.jspwiki.PageManager.getPageInfo(PageManager.java:430)
        at com.ecyrd.jspwiki.WikiEngine.getPage(WikiEngine.java:1833)
        at com.ecyrd.jspwiki.WikiEngine.getPage(WikiEngine.java:1813)
        at com.ecyrd.jspwiki.ReferenceManager.initialize(ReferenceManager.java:252)
        at com.ecyrd.jspwiki.WikiEngine.initReferenceManager(WikiEngine.java:667)
        at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:569)
        at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:386)
        at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:334)
        at com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:55)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4349)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:617)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

So that would make at least the QueryPlugin and EmailNotifierPlugin not working on the current version. The question is should i roll back JSPWiki to 2.4.x ?

--YesIAmACoward, 08-Aug-2008

If I'm not mistaken, the AbstractMethodError is caused by a break in backwards compatibility of the JSPWiki API's. Since the versions of the wiki and the plugin are incompatible, a method is called that is not implemented. I tried to write a patch for this, but I got lots of functional errors once the plugin got deployed. So I suppose the JSPWiki architecture has been altered quite significantly with regard to the plugin - and I haven't got the time to look into it...

Also, when looking at the CeryleWikiPlugin page, it seems that no release was done after 2007, and no activity on this page since mid-2008. I think the project is currently more or less dead.

Maybe look at this issue: https://issues.apache.org/jira/browse/JSPWIKI-90;

--Kwakeroni, 07-Jan-2009


Hallo,

I succesfully installed the tag cloud plugin on my JSPWiki 2.8.1. It works fine but when I delete a page it gives this error:

JSPWiki has detected an error
Error Message 
An unknown exception java.lang.NullPointerException was caught by Error.jsp.
Exception 
java.lang.NullPointerException 
Place where detected 
org.ceryle.wiki.plugin.tag.TagManagerImpl.setTagsForPage(), line 167 
...
and in the log...
2009-01-14 16:57:19,213 DEBUG [JSPWiki] Error.jsp exception is:
java.lang.NullPointerException
        at org.ceryle.wiki.plugin.tag.TagManagerImpl.setTagsForPage(TagManagerImpl.java:167)
        at org.ceryle.wiki.plugin.tag.TagManagerImpl.handleWikiPageEvent(TagManagerImpl.java:562)
        at org.ceryle.wiki.plugin.tag.TagManagerImpl.access$000(TagManagerImpl.java:82)
        at org.ceryle.wiki.plugin.tag.TagManagerImpl$1.actionPerformed(TagManagerImpl.java:136)
        at com.ecyrd.jspwiki.event.WikiEventManager$WikiEventDelegate.fireEvent(WikiEventManager.java:566)
        at com.ecyrd.jspwiki.event.WikiEventManager.fireEvent(WikiEventManager.java:347)
        at com.ecyrd.jspwiki.PageManager.fireEvent(PageManager.java:781)
        at com.ecyrd.jspwiki.PageManager.deletePage(PageManager.java:605)
        at com.ecyrd.jspwiki.WikiEngine.deletePage(WikiEngine.java:2170)
        at org.apache.jsp.Delete_jsp._jspService(Delete_jsp.java:106)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        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:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:595)

Does anybody know how to fix it or where could I download CeryleWikiPlugin source code?

Thank you!

--ElenaGuandalini, 14-Jan-2009 18:30


What's the state of those plugins? If orphaned, are there replacements?

--Robert W., 26-Apr-2010 00:02

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-30) was last changed on 26-Apr-2010 00:02 by Robert W.