What would be the best way to generate pages using xwiki? We have a site we
are documenting and want to generate a series of standard pages for each
different page. Does anyone have examples?
regards,
rob
Hi
I am trying to be able to edit attachments through the webdav extension.
I found the WebDAV.XWikiUI.V1.PATCH and applyed it to xwiki version 1.7
But am not able to get the right url repencented in
javascript:davEdit($xwiki.getDavURL($doc, $attach)); but hte output is not
translated.
The link is displayed like this
javascript:davEdit($xwiki.getDavURL($doc, $attach)) and not as show at the
test page:
http://91.121.237.216/xwiki/bin/view/WebDAV/#Attachments
eg
javascript:davEdit('http://91.121.237.216/xwiki/webdav/spaces/WebDAV/WebHome/gradient.jpg');
Can you give me any pointers ?
Thanks in advance
Karsten
One of my main concerns with XWiki has been the difficulty in getting a
reasonably priced Java hosting service. Ideally, I want a service provider
that gives me the web server stack, but spares me the admin headache. This
may be just what I need:
http://www.cloudfoundry.com/
"Cloud Foundry provides automated, outsourced data center management for
Java applications. It eliminates the expense and distraction of building and
operating your own data center for your production applications and QA
environments. And, with no long term contracts, you simply use Cloud Foundry
for as long as you need. "
"With just a few clicks of the mouse, you deploy your application to a
load-balanced cluster running on Amazon EC2. Cloud Foundry monitors and
manages your applications and automatically handles auto-scaling and
failover. We insulate you from the messy details of using the cloud and
leave you free to focus on your business."
"Cloud Foundry supports the Apache, Tomcat and MySQL stack. It configures
MySQL for master/slave replication and uses Apache to load balance across
one or more Tomcat servers."
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi Everyone,
We have a very old version of xwiki installed on a linuxbox, by a previous
admin who installed it manually with mysql and tomcat. I've installed the
latest version of xwiki (1.7) onto another box using the standalone
installer, and I'm trying to import all the xwiki pages from the old box to
the new one. From what I've read, the standalone installer uses its own
hypersonic sql, and I'm having trouble figuring out if and how I can import
the old files to the new one. Is there a way to consolidate a mysql dump to
a hypersonic database? I've also tried exporting the XAR file from the old
xwiki and importing into the new one through the web interface, but I'm
getting a max_uploadsize error (I've already tried changing the limit in the
Preference class editor, but it still gives me the same error).
I've been stuck a while, and I feel like I've run out of options. Does
anyone have any suggestions?
Thanks,
James
On Sat, Jan 3, 2009 at 10:07 AM, manuel da silva <m.dasilva(a)albia.fr> wrote:
> I use postgresql.
See http://jira.xwiki.org/jira/browse/XWIKI-1960
>
> ________________________________
>
> De: users-bounces(a)xwiki.org de la part de Thomas Mortagne
> Date: sam. 03/01/2009 01:04
> À: XWiki Users
> Objet : Re: [xwiki-users] Create a new wiki error : CREATE DATABASE...
>
>
>
> On Wed, Dec 31, 2008 at 4:04 PM, manuel da silva <m.dasilva(a)albia.fr> wrote:
>> Hello
>> I'm a new user of xwiki and i try to create a new wiki with the manager.
>> But I have a problem...
>> though I put in "Wiki identifier" field I have the following message :
>> "A database with this identifier already exists"
>>
>> When I "force" creation, I have the following message in logs :
>> 2008-12-31 15:42:20,357
>> [http://127.0.0.1:8080/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname
>> =test&forcewikiname=on&XWiki.XWikiServerClass_0_wikiprettyname=Test&XWik
>> i.XWikiServerClass_0_description=&XWiki.XWikiServerClass_0_server=test.l
>> ocaldomain.com&XWiki.XWikiServerClass_0_owner=XWiki.Admin&XWiki.XWikiSer
>> verClass_0_owner=&readersgroups=xwiki%3AXWiki.XWikiAdminGroup&readersgro
>> ups=xwiki%3AXWiki.XWikiAllGroup&writersgroups=xwiki%3AXWiki.XWikiAdminGr
>> oup&adminsgroups=xwiki%3AXWiki.XWikiAdminGroup&stepbystep=0&doc=1&action
>> create=Cr%E9er] [http-8080-1] WARN wikimanager.WikiManager -
>> Wiki [test] creation failed: wiki database creation threw exception
>> com.xpn.xwiki.XWikiException: Error number 3401 in 3: Exception while
>> create wiki database test
>> Wrapped Exception: ERROR: CREATE DATABASE cannot run inside a
>> transaction block
>> at
>> com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.j
>> ava:243)
>> at
>> com.xpn.xwiki.store.XWikiCacheStore.createWiki(XWikiCacheStore.java:542)
>> at
>> com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiDatabase(WikiMana
>> ger.java:610)
>> at
>> com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.j
>> ava:503)
>> at
>> com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(Wiki
>> ManagerPluginApi.java:192)
>> ...
>>
>> Someone know how can I solv that???
>
> Which database engine are you using ?
>
> Currently XEM only fully supports MySQL and Oracle RDBMS. See
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation
>
>>
>> Thanks for help
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> 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
>
>
--
Thomas Mortagne
Hi!
Using XWiki 1.6.1.13621 for some time without any problems. Today, I
can't delete a page (which contains just few lines of text) or add /
delete an attachment (4.3mb) with Java Heap Space error (see below).
XWiki max upload size = ~32mb
MySQL max_allowed_packet = 64M
In tomcat5.5, java max heap size = 128M.
Any help?
-----
Error number 11014 in 11: Out Of Memory Exception
com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory
Exception
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2738)
at
com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2716)
at
com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
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:287)
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:151)
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:619)
----
Best regards, Mike
My XWiki has recently been hit by spam. I found a discussion of this issue
on:
http://markmail.org/message/yq6kbwyxznk7nezd
However, since my XWiki is on the farm, I don't have programming rights.
Luckily, the spam was localized to specific pages, so I edited those, added
the code below, ran in and deleted to code:
#set($comments = $doc.getComments())
#foreach($comment in $comments)
$doc.removeObject($comment)
#end
$doc.save()
But I was thinking, would it be worth adding some generic spam control? Or
at least bulk comment control?
e.g.:
* integrate http://sourceforge.net/projects/akismet-java/
* support captcha for user registration / anonymous comments
* provide an interface in the admin area for selecting multiple comments &
deleting them with one button
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737