Hello everyone,
I've been having problems with attachment
deletion. Basically, xwiki allows me to "delete" the attachment, but
the attachment link that displays the file name doesn't get deleted.
More
specifically, after I delete the attachment, the file disappears, so it
seems it gets deleted correctly. However, if I refresh the page, the
attachment link reappears. When I click on the attachment, it leads me
to another page that says "Error. This template does not exist". What I
assume is happening is that the attachment link, or pointer, points to
the already deleted file that doesn't exist anymore (like a dangling pointer).
I am the administrator and I am allowed to delete the attachment, so it isn't an access control problem.
Has anyone else been having this problem? Why does this problem happen?
Thanks,
Felix Wu
Hi Radek,
Glad I could help.
On 1/8/10 3:13 AM, Radek Rekas wrote:
> Thanks, using firebug to take a look at the reponse of the JSON page helped me to diagnose what the problem was.
>
> The following blog post helped me with figuring out how to access the JSON used by the livetable: http://www.softwareishard.com/blog/firebug/json-explorer-for-firebug/
>
> In case anyone else comes accross wondering how to do this it would appear that all of the class properties are stored in seperate tables and the query parameter in the gridresultwithfilter macro is used to filter on these tables. For my example I needed to use the StringProperty table as the title property was set to type string in my xwiki class. Integers appear to go in the IntegerProperty table and so on.
>
> My example was the below where "title" was the field name in the xwiki class that I was trying to filter on and "test6" was the field value.
>
> #gridresultwithfilter($request.classname $request.collist.split(",") ", StringProperty as stringtable", " and obj.id=stringtable.id.id and stringtable.id.name='title' and stringtable.value='test6'")
>
> Thanks again for pointing me in the right direction.
>
>
> Radek Rekas
>
>
>
> ----- Original Message -----
> From: oana.tabaranu<oana.tabaranu(a)xwiki.com>
> Sent: Thu, 7/1/2010 11:22pm
> To: XWiki Users<users(a)xwiki.org>
> Subject: Re: [xwiki-users] Livetable filtering format
>
> Hi Radek,
>
> When writing custom code for the live table, I suggest you copy the
> content from XWiki.LiveTableResultsMacros and paste it into your own
> wiki page. Create a small example for the livetable that uses your wiki
> page and debug the query and JSON generated by the macro using Firebug
> or the direct URL in your browser.
> This also might help:
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable
>
> Oana
>
> On 07.01.2010 06:04, Radek Rekas wrote:
>
>> Hi,
>>
>> I'm trying to get livetable filtering working however I'm having trouble figuring out what objects/properties are available in the $filterfrom and $filterwhere parameters of the gridresultwithmacro() macro contained in the XWiki.LiveTableResultsMacros document.
>>
>> I'm trying to filter the livetable to display only records where the "title" field is set to "test" but setting the $filterwhere parameter to " and obj.name='title' and obj.value='test'" does not seem to work and I'm having trouble finding any documentation etc to find out what format these where clauses should be in.
>>
>> The closest documentation that ive been able to find is at the bottom of the following page http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiGridComponentTutorial however it doesnt give much clues as to what format the $filterwhere and $filterfrom parameters (3rd and 4th parameter) of the gridresultwithmacro() macro should be in.
>>
>> The livetable displays all records correctly if I leave the $filterfrom and $filterwhere parameters blank.
>>
>> Can anyone offer any hints or point me to any relevant documentation?
>>
>> Thanks,
>>
>>
>> Radek Rekas
>>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Oana Tabaranu
Hi,
Isnt there a way to link to a file on the local file system? I tried using
both the WYSIWYG editor and the creole syntax and both dont work. I know i
can link to an attachment but thats not what i want. I want to add a
hyperlink to a document that links to a file that is somewhere on the C:
drive. Is this possible?
Im using the latest version of xwiki downloaded yesterday.
Thanks
The new Version 2.1.1 ist working really quiet well!
But there is a small problem with sometimes bad consequences in the WYSIWYG Editor when inserting the code makro.
If I insert a code makro and enter a language which is probably? not supported (in my case it is xml) it can happen that I get an exception an the whole wiki crashes. This may be a bug which can be as I already said, a big problem.
Greetings,
Florian
Hi
I'm trying to build XWiki Web 1.8.1. It fails. I'm using Ubuntu 9.10 and tried building it in the terminal and in Netbeans. Both failed with the same error message. I know i'm using the right settings.xml.
ThanksAllen
Here is part of the message:
------------------------------------------------------------------------Building XWiki Platform - Web - WYSIWYG task-segment: [install]------------------------------------------------------------------------[enforcer:enforce][remote-resources:process {execution: xwiki-license-resources}][resources:resources]Using default encoding to copy filtered resources.[compiler:compile]Nothing to compile - all classes are up to date[dependency:unpack]Configured Artifact: com.google.gwt:gwt-dev:linux-libs:1.5.3:zipgwt-dev-1.5.3-linux-libs.zip already unpacked.[gwt:compile]establishing classpath list (buildClaspathList - scope = COMPILE)google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependenciesRemoving units with errors [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java' [ERROR] Line 48: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultApp; did you forget to inherit a required module? [ERROR] Line 61: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java' [ERROR] Line 137: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java' [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to inherit a required module? [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you forget to inherit a required module? [ERROR] Line 452: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module?Removing invalidated units [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/DefaultPluginManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/widget/WikiSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/editor/WysiwygEditorDebugger.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/importer/ImporterPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/list/ListPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/importer/ui/ImporterDialog.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/widget/SpaceSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/separator/SeparatorPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/exec/RefreshExecutable.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ImagePlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/MacroPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/ui/CreateNewPageWizardStep.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/text/TextPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/justify/JustifyPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/ui/WikipageSelectorWizardStep.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/symbol/SymbolPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/font/FontPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/editor/WysiwygEditorFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/editor/WysiwygEditor.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/LinkPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/ui/EditMacroDialog.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/format/FormatPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/undo/UndoPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/color/ColorPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/widget/PageSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/ui/SelectMacroDialog.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/AbstractPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/indent/IndentPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/ui/LinkWizard.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/ui/WikipageSelectorWizardStep.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/ui/CreateNewPageWizardStep.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/importer/ImporterPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/importer/ImporterPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/MacroPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/MacroPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/indent/IndentPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/indent/IndentPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/DeleteCol.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/separator/SeparatorPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/separator/SeparatorPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/text/TextPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/text/TextPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ImagePluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ImagePlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/InsertRowBefore.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/DeleteRow.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/InsertRowAfter.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/DeleteTable.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/font/FontPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/font/FontPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/InsertColAfter.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/justify/JustifyPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/justify/JustifyPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/symbol/SymbolPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/symbol/SymbolPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/LinkMenuExtension.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/LinkPlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/AbstractStatefulPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/AbstractPlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/InsertTable.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/AbstractTableFeature.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/MacroMenuExtension.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/MacroPlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/LinkPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/link/LinkPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/list/ListPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/list/ListPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageDialog.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageSelector.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/format/FormatPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/format/FormatPlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/feature/InsertColBefore.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/color/ColorPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/color/ColorPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/undo/UndoPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/undo/UndoPlugin.java [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/Plugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/exec/InsertExecutable.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/macro/MacroPlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TableFeature.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/DefaultPluginFactoryManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginFactory.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/AbstractPluginFactory.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginFactory.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginFactoryManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginFactory.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/PluginFactoryManager.javaComputing all possible rebind results for 'com.xpn.xwiki.gwt.api.client.Api' Rebinding com.xpn.xwiki.gwt.api.client.Api Checking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/> [ERROR] Unable to find type 'com.xpn.xwiki.gwt.api.client.Api' [ERROR] Hint: Check that the type name 'com.xpn.xwiki.gwt.api.client.Api' is really what you meant [ERROR] Hint: Check that your classpath includes all required source roots[ERROR]Build failed------------------------------------------------------------------------[ERROR]BUILD ERROR------------------------------------------------------------------------Exception attempting to run script - compile.sh
Embedded error: compile.sh script exited abnormally with code - 1------------------------------------------------------------------------For more information, run Maven with the -e switch------------------------------------------------------------------------Total time: 1 minute 5 secondsFinished at: Thu Jan 07 15:33:10 PHT 2010Final Memory: 39M/102M------------------------------------------------------------------------
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
HI,
Could you give me some more information on where xwiki attachements are
stored and how i can access them directly. I just attached a file to a wiki
page but i havent got a clue where that files is saved in the filesystem.
And most importantly how can i access it?
The reason i ask is i want to use another tool to have access to that same
file. If i know where in teh filesystem it is it would be usefull.
Thanks
Hello everyone,
Is it safe to remove a wiki from a wiki farm once information has been added
to it. Are there any additional steps that need to followed to make sure the
particular wiki is not referenced by the farm (in the app server, wiki or
the database).
Thank you for your time and consideration folks...
Greetings from Me and the GreenPepper Team,
With our stronger commitment to Open Source software, we are pleased to
announce the availability of the GreenPepper Plugin for XWiki.
GreenPepper is a tool integrating executable specifications and
automated functional testing into software development processes, thus
reducing any ambiguity related to the expression of needs between all
actors. Complete product information about GreenPepper is available at
http://www.greenpeppersoftware.com.
The GreenPepper XWiki plugin will allow you to quickly adopt the
executable specifications practices in your software development teams
while maintaining your specifications in the wiki you already know and
love! Furthermore, taking advantage of our starter program you can get a
license for your team for 10 $ !
To download the XWiki plugin, browse to
http://www.greenpeppersoftware.com/confluence/display/GPW/Download.
There are a standalone version ready to be use for those you just want
to evaluate GreenPepper. For those having an existing XWiki instance,
you can integrate GreenPepper easily by following
http://www.greenpeppersoftware.com/confluence/display/GPWODOC/XWiki+Install….
We hope you will enjoy the GreenPepper plugin for XWiki. If you have any
questions regarding GreenPepper, please feel free to contact me via
email (mailto:fdenommee AT pyxis-tech.com) or via the forum
(http://www.greenpeppersoftware.com/site/forums/list.page).
Francois D.
Hi,
we are currently studying XWiki Concerto. It uses xwiki enterprise 1.8.1. Is it possible to change the XE version it uses to the latest version? How?
Thanks in advance.
Allen
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
I just installed a fresh install of xwiki 2.1.1
I had previously used v2.0 without any problems. I did the following to
install 2.1.1
- Got a backup of the mysql database folder and the tomcat webapps/xwiki
folder to backup the v2.0
- delete the database
- Created the database as shown below
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
+--------------------+
2 rows in set (0.13 sec)
mysql> create database xwiki
-> ;
Query OK, 1 row affected (0.08 sec)
mysql> grant all privileges on xwiki.* to xwiki(a)127.0.0.1 identified by
'xwiki'
-> ;
Query OK, 0 rows affected (0.34 sec)
mysql>
- I then updated the hibernate.cfg.xml file. All i did in this file is
comment out the hsqldb configuration and uncommented the mysql
configuration.
Here is my hibernate.cfg.xml file
---
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installationfor
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared
lib directory
2) Uncomment the properties below for your specific DB (and comment
the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Without it, some queries fail in MS SQL. XWiki doesn't need
scrollable result sets, anyway. -->
<property name="jdbc.use_scrollable_resultset">false</property>
<!-- Configuration for the default database.
Comment out this section and uncomment other sections below if you
want to use another database.
Note that the database tables will be created automatically if they
don't already exist.
<property
name="connection.url">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property
name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>-->
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other database
configurations.
We need to set the sql_mode to a less strict value, see
XWIKI-1945-->
<property
name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other database
configurations.
<property
name="connection.url">jdbc:hsqldb:file:/some/path/xwikidb;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property
name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- PostgreSQL configuration.
Uncomment if you want to use PostgreSQL and comment out other
database configurations.
<property name="connection.url">jdbc:postgresql:xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other database
configurations.
Note: the 2 properties named
"hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell Oracle to
allow CLOBs larger than
32K.
<property name="connection.url">jdbc:oracle:thin:@localhost
:1521:XE</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property
name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property
name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- Derby configuration.
Uncomment if you want to use Derby and comment out other database
configurations.
<property
name="connection.url">jdbc:derby:/some/path/xwikidb;create=true</property>
<property
name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="dialect">org.hibernate.dialect.DerbyDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.derby.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
</session-factory>
</hibernate-configuration>
----
I tried to launch xwiki via http://localhost:8080/xwiki and i got this error
on the browser..
HTTP Status 500 -
------------------------------
*type* Exception report
*message*
*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*
*exception*
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
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(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
*root cause*
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
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(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.*
*Any cluses as to what i need to do to get it to work?
*
------------------------------
Apache Tomcat/6.0.20