I need to install XKiki on an internet hosting account on Linux. I don't
know anything of Java...
I installed xwiki-enterprise-hsqldb-1.3.2.zip and it worked just fine.
As far as I undesrtand, this runs with the database in memory. Can I
just change that instalation so that I have the database in the disk? I
do not expect to have a big database, but I need to make online backups :)
Is there a reason why I should not try that?
I have no Java experience and it can be a lot to learn just to make the
install...
Thanks,
Alain
On the same note, I also have the following questions: The answers will help
implement whichever option we choose:
1) Is there a limit on the number of members that can belong to a group?
2) How can I create a "global" hashmap (xwiki.getHashMap()) that can be
referenced anywhere (any page/space) to retrieve values based on keys?
3) Can I use the $context to add some more values(needed for our project) to
the hashtable?
4) I came across the following code snippet int he Wiki editor of the
PanelWizard:
#set($categoryMap = $xwiki.getHashMap())
#foreach($category in $categoryList)
$!categoryMap.put($category, $xwiki.getArrayList())
#end
I do not understand the use of "!" in the put() method. what do we achieve
with this!
Thanks for all help!
On 5/5/08, Kamna Jain <kammy.scorpi(a)gmail.com> wrote:
>
> Hi All,
>
> This question "might" be related to the thread that has been active in the
> past couple of days about the data model.
> We have a similar situation with the only difference being that we want
> to create lists or collections (like Groups) of certain pre- created
> Objects.
> The Object as a whole may/will belong to more than one such collection -
> which means that if we were to use a Document to link a Collection and its
> contents, then every document will have a COPY of the same object and this
> is definitely not desirable for good performance - Right?
>
> So, in that case, we have 2 alternatives:
> 1) Use the techiniques used in XWiki to create Groups: each group has
> objects of class XWikiGroup with just one field that refers to the Member
> name. OR
> 2) Use XWiki.getHashmap() and add the Collection and its members to the
> hashmap (as the Key and Value resp.)
>
> The XWiki API indicates that the option #2 must be used in xwiki when
> Objects can not be created.
> My Question is:
> -> Even though I could use option #1 and create objects and add them to
> the document that would represent the Collection, can I still use option #2
> because I think that it will provide better performance. Am I right in my
> assumption? What should I do?
>
> Thanks a lot for all help!
>
>
>
Hi All,
This question "might" be related to the thread that has been active in the
past couple of days about the data model.
We have a similar situation with the only difference being that we want to
create lists or collections (like Groups) of certain pre- created Objects.
The Object as a whole may/will belong to more than one such collection -
which means that if we were to use a Document to link a Collection and its
contents, then every document will have a COPY of the same object and this
is definitely not desirable for good performance - Right?
So, in that case, we have 2 alternatives:
1) Use the techiniques used in XWiki to create Groups: each group has
objects of class XWikiGroup with just one field that refers to the Member
name. OR
2) Use XWiki.getHashmap() and add the Collection and its members to the
hashmap (as the Key and Value resp.)
The XWiki API indicates that the option #2 must be used in xwiki when
Objects can not be created.
My Question is:
-> Even though I could use option #1 and create objects and add them to the
document that would represent the Collection, can I still use option #2
because I think that it will provide better performance. Am I right in my
assumption? What should I do?
Thanks a lot for all help!
Hi ,
I am working on Blogs,
I want to add some more links when all the comments for an article is
getting displayed.
That is the page from where one can add more comments and can view all the
previous comments.
When I am putting the cursor on comments then it redirects me to some
xpage=comments.
can anyone help me to know from where the above mentioned page is coming
and where I can get the code for it.
thanks in advance.
Shruti Modi
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hello
When set up the SMTP server and administrator E-Mail address at the xwiki1.3 version, receive the e-mail of all Chinese to show "???" ?
Any suggestion?
Thanks a lot!
sunjin
Hello!
I wonder if you could help me out a little. I have just reinstalled Xwiki (emptied the tablespace), undeployed the old one and installed xwiki-enterprise-1.3.2 as a standalone war file. I did it by deploying it to the application server. The system runs Oracle Application Server and Oracle Database 10g. I can login (right now I have superadmin enabled), but when I try to create an account, nothing happens. When I check the logs I get:
com.xpn.xwiki.XWikiException: Error number 8002 in 8: Cannot create user XWiki.KaninHare
Wrapped Exception: Error number 3201 in 3: Exception while saving document XWiki.KaninHare
Wrapped Exception: Error number 3212 in 3: Exception while saving property groups of object XWiki.KaninHare
Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name=
:name]
08/05/05 11:06:41 at com.xpn.xwiki.XWiki.createUser(XWiki.java:3156)
08/05/05 11:06:41 at com.xpn.xwiki.XWiki.createUser(XWiki.java:2919)
...
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.KaninHare
Wrapped Exception: Error number 3212 in 3: Exception while saving property groups of object XWiki.KaninHare
Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name=
:name]
08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:457)
08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
...
08/05/05 11:06:41
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while saving property groups of object XWiki.KaninHare
Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name=
:name]
08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiProperty(XWikiHibernateStore.java:1151)
08/05/05 11:06:41 at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:776)
...
08/05/05 11:06:41
Wrapped Exception:
org.hibernate.QueryException: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and pr
op.id.name= :name]
at org.hibernate.hql.classic.PathExpressionParser.token(PathExpressionParser.java:167)
at org.hibernate.hql.classic.WhereParser.doPathExpression(WhereParser.java:347)
...
<and the list goes on>
Does anyone knows what is wrong here? I think it is related to any modification. When I try to modify a page I get:
Error number 3201 in 3: Exception while saving document Main.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while saving property tags of object Main.WebHome
Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Main.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while saving property tags of object Main.WebHome
Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:457)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
...
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while saving property tags of object Main.WebHome
Wrapped Exception: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiProperty(XWikiHibernateStore.java:1151)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:776)
...
Wrapped Exception:
org.hibernate.QueryException: dereferenced: baseproper0_.id.id [select prop.name from com.xpn.xwiki.objects.BaseProperty as prop where prop.id.id = :id and prop.id.name= :name]
at org.hibernate.hql.classic.PathExpressionParser.token(PathExpressionParser.java:167)
at org.hibernate.hql.classic.WhereParser.doPathExpression(WhereParser.java:347)
...
Thanks for any help I get.
PS: To get everything working I had to add to hibernate.cfg.xml:
<property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
Anders Andersson
Hi,
I've just upgraded the XWiki of my company from version 0.9.840 to
version 1.3.2 (latest stable version), using the "database copy" method
to copy data. Everything is OK now, but I cannot rollback any page to a
previous version in the history , even if the page is created in the new
installation (1.3.2).
I've got this error:
WARN web.XWikiAction - Uncaught exception: Error number 3004 in 3:
Exception while manipulating the archive for file new.jpg
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line 1 of document : Content is not allowed
in prolog. Nested exception: Content is not allowed in prolog.
com.xpn.xwiki.XWikiException: Error number 3004 in 3: Exception while
manipulating the archive for file new.jpg
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line 1 of document : Content is not allowed
in prolog. Nested exception: Content is not allowed in prolog.
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:513)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:690)
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.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line 1 of document : Content is not allowed
in prolog. Nested exception: Content is not allowed in prolog.
at
com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:327)
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:690)
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.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.dom4j.DocumentException: Error on line 1 of document : Content is
not allowed in prolog. Nested exception: Content is not allowed in prolog.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at
com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:325)
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:690)
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.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Nested exception:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1183)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at
com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:325)
at
com.xpn.xwiki.doc.XWikiAttachment.getAttachmentRevision(XWikiAttachment.java:507)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6127)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:197)
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:690)
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.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
I use a MySQL database (v. 5.0) and Tomcat (v. 6.0.16) as servlet container.
Any suggestion?
Thanks a lot!
Diego
Hi all,
I am afraid the title of this thread is a bit pompous :-)
In fact the question seems to me to be an entry level object oriented
database design, but I am not able to make my mind about this. Your help
will be greatly appreciated!
Here a simple chart about the problem:
http://mire.environmentalchange.net/~webmaster/pdr/dataModelpdR.png
I have two ever-growing pools of data: providers and fishes. By
following the ToDo and FAQ tutorials, I "easily" could create and
instantiate the two classes but, how could I establish the relationship
between providers and fishes?
Thanks!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
After importing the xar for XEM 1.2M2 into an empty mysql database
(per http://manager.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL) I
am experiencing some odd behavior.
I can register as a new user, however, when trying to re-login as the user,
no indication is given that the login was successful. ( I can¹t get to any
edit¹ menus, etc...)
This also applies for Admin/admin ... I don¹t get a login failure but I
don¹t get a change in the panels either.
I did have some trouble getting the import to work (separate issue) - but it
did eventually succeed or so it seemed.
What¹s the best way to reset¹ the database (or otherwise overcome this
failure)?
Hi,
I'm using XWiki Enterprise 1.3.2 are have a simple question.
How do you do enable page section edits?
If I look at something like the sandbox pages, in between the "Training
Zone" heading and the "You can practice editing here..." text, there is a
horizontal rule and just below this on the right is a pencil icon which
links to
http://<host>/xwiki/bin/edit/Sandbox/WebHome?xpage=wysiwyg§ion=1
Examining the page source seems to show that this is the relevant code
<a style='text-decoration: none;' title='Edit section: Training Zone'
href='/xwiki/bin/edit/Sandbox/WebHome?xpage=wysiwyg&section=1'>edit</a>
but I can't find how to demarcate sections within a page and get the 'edit
button'.
I've looked at the User guide, searched the documentation for "section",
looked at the FAQs and searched the user forum.
I found these posts
http://www.nabble.com/Edit-sections-to14756105.html#a14756105http://www.nabble.com/xwiki.section.edit-to13625877.html#a13625877
but I have xwiki.section.edit=1 set already, and I'm using level 1 and 2
titles. I still don't get the 'edit button' on my pages, but it is there on
the sandbox pages.
Am I missing something obvious?
Many thanks
Chris
Hi all,
Please, is there any way of restricting visibility of a given user? I
mean, could a given user name1 be visible for name2, name3 and name5 and
remain hidden for name4? I am trying by denying access and if doesn't
seem to work.
I'm working with XE 1.3.8295.
Thanks!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi,
Does anyone know how to select files from a directory and have XWiki attach
all those files in that directory to a wiki page? I'm thinking I could have
a directory with a load of outlook emails copied there that would be useful
to attach and index in a wiki page so the emails can be searched within
XWiki - except Lucene doesn't seem to be able to search attached Outlook
email files as I've just discovered.
What I want is to be able to get emails into XWiki so say a marketing
department could search on them - is there another way?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Benjamin K Leung
Sent: 01 May 2008 14:33
To: 'XWiki Users'
Subject: Re: [xwiki-users] Import/Export
Hi,
I think the export failed due to insufficient memory. Increasing the memory
pool available the container would solve this.
I agree the export code should definitely generate an error message
appropriately.
BL
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: Thursday, May 01, 2008 3:54 AM
To: 'XWiki Users'
Subject: Re: [xwiki-users] Import/Export
Vincent,
I had this exception while (having first attached the file) importing
(clicking on the file) (even when I exported from 1.3.2 and then tried to
import again)
er 11015 in 11: Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importin
g
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
...and then a message saying there was no documents in the file!
I eventually traced it down to an empty "WebHome" file in the archive - I
deleted this from the archive and the import worked. Why the export produced
an empty WebHome file - I don't know!? But I hope this information helps
other users with similar difficulties.
Maybe the export code needs refactoring so it can't produce empty files, and
maybe the import code needs to be more robust so it doesn't produce an
exception if it fails to read anyone file, but produces an message to flag
up the problem but continues processing the other files so the import
doesn't fail completely because of one file. I wish I had some to time to
help fix this at this time ... maybe these issues can be addressed later in
the year.
Best Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 29 April 2008 07:31
To: XWiki Users
Subject: Re: [xwiki-users] Import/Export
On Apr 29, 2008, at 8:25 AM, goldring, richard wrote:
> Hi all,
>
> I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried
> to
> import into xwiki enterprise hsqldb 1.3.2 by attaching the exported
> file,
> but when I click on the attached file it doesn't list the exported
> files
> within so I can import them.
That should work fine. So you need to tell us what error you get in
the xwiki logs.
Also make sure you click only once and you wait enough. If your XAR is
large it'll take time to display the items.
BTW what's the size of your XAR?
> Anyone know how to get my pages from 1.2 to 1.3.2?
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
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
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
We've just installed Workspaces for our students to use but have a
problem with space rights. When an student is added as an Author to a
space they can see the space in My Memberships but are unable to view or
edit the space. When they are added as a Reader they can see the space
in My Memberships, cannot view the space but can edit the space. We are
able to use Admin to go in and correct the space rights manually but
this will become unworkable as Workspaces become more used. Have we
made an error or is there a fix? It appears that space rights are
reversed?
Thanks
Graeme
This email is intended for the named recipients only. It may contain copyright protected, privileged and/or confidential information. Named recipients may only communicate this message to third parties if authorised to do so. If you are not the intended recipient of this communication please delete all copies and kindly notify the sender by reply email or telephone the Catholic Schools Office on (02) 4979 1200.
The views expressed are those of the individual sender, and not necessarily those of the Catholic Schools Office, Diocese of Maitland-Newcastle, NSW, Australia.
hello
i am looking at how the search property is created in xwiki because i wanna make my own "search" for a specific space. does anyone know where does the function for this operation has to be written. what i can tell so far... i found the search tag in more .vm files, like: global.vm, suggest, viewtoolbar etc but still don;t know where can i writte my own code.
if u know something give a buzz. thanks:)
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
BL,
You think the export failed and produced an empty WebHome file? Everything
else seemed to be exported correctly, and once I deleted the empty WebHome
file I was able to import the archive.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Benjamin K Leung
Sent: 01 May 2008 14:33
To: 'XWiki Users'
Subject: Re: [xwiki-users] Import/Export
Hi,
I think the export failed due to insufficient memory. Increasing the memory
pool available the container would solve this.
I agree the export code should definitely generate an error message
appropriately.
BL
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: Thursday, May 01, 2008 3:54 AM
To: 'XWiki Users'
Subject: Re: [xwiki-users] Import/Export
Vincent,
I had this exception while (having first attached the file) importing
(clicking on the file) (even when I exported from 1.3.2 and then tried to
import again)
er 11015 in 11: Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importin
g
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
...and then a message saying there was no documents in the file!
I eventually traced it down to an empty "WebHome" file in the archive - I
deleted this from the archive and the import worked. Why the export produced
an empty WebHome file - I don't know!? But I hope this information helps
other users with similar difficulties.
Maybe the export code needs refactoring so it can't produce empty files, and
maybe the import code needs to be more robust so it doesn't produce an
exception if it fails to read anyone file, but produces an message to flag
up the problem but continues processing the other files so the import
doesn't fail completely because of one file. I wish I had some to time to
help fix this at this time ... maybe these issues can be addressed later in
the year.
Best Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 29 April 2008 07:31
To: XWiki Users
Subject: Re: [xwiki-users] Import/Export
On Apr 29, 2008, at 8:25 AM, goldring, richard wrote:
> Hi all,
>
> I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried
> to
> import into xwiki enterprise hsqldb 1.3.2 by attaching the exported
> file,
> but when I click on the attached file it doesn't list the exported
> files
> within so I can import them.
That should work fine. So you need to tell us what error you get in
the xwiki logs.
Also make sure you click only once and you wait enough. If your XAR is
large it'll take time to display the items.
BTW what's the size of your XAR?
> Anyone know how to get my pages from 1.2 to 1.3.2?
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
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
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Vincent,
I had this exception while (having first attached the file) importing
(clicking on the file) (even when I exported from 1.3.2 and then tried to
import again)
er 11015 in 11: Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importin
g
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested
exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
...and then a message saying there was no documents in the file!
I eventually traced it down to an empty "WebHome" file in the archive - I
deleted this from the archive and the import worked. Why the export produced
an empty WebHome file - I don't know!? But I hope this information helps
other users with similar difficulties.
Maybe the export code needs refactoring so it can't produce empty files, and
maybe the import code needs to be more robust so it doesn't produce an
exception if it fails to read anyone file, but produces an message to flag
up the problem but continues processing the other files so the import
doesn't fail completely because of one file. I wish I had some to time to
help fix this at this time ... maybe these issues can be addressed later in
the year.
Best Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 29 April 2008 07:31
To: XWiki Users
Subject: Re: [xwiki-users] Import/Export
On Apr 29, 2008, at 8:25 AM, goldring, richard wrote:
> Hi all,
>
> I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried
> to
> import into xwiki enterprise hsqldb 1.3.2 by attaching the exported
> file,
> but when I click on the attached file it doesn't list the exported
> files
> within so I can import them.
That should work fine. So you need to tell us what error you get in
the xwiki logs.
Also make sure you click only once and you wait enough. If your XAR is
large it'll take time to display the items.
BTW what's the size of your XAR?
> Anyone know how to get my pages from 1.2 to 1.3.2?
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
In a client/server Xwiki/MySQL configuration, where are the appropriate
locations to specify max_allowed_packet?
(In attempting to import the XEM xar, I am getting an error indicating this
may be the cause... The mysql server has the parameter set in /etc/my.cnf)
Thanks in advance,
--
Jim Dowson, CTO Global Services, EMC Corporation
Vincent,
Checking this again.
I have the following files:
XwikiBackup.xar Administrator 1.1 28/04/2008 13441188 Delete
xwiki-enterprise-wiki-1.3~.xar Administrator 1.1 28/04/2008 363033 Delete
I can click on the downloaded (from xwiki.org)
xwiki-enterprise-wiki-1.3~.xar to display its contentsm, but I get the
following message on the import page when I click on any of the other
archives exported from XWiki 1.2: "No documents found in the selected
archive" even though the files aren't empty and when I open the archive it
does contain files. Why doesn't see the files in the archive? Is there
anyway of getting it to see those files?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 29 April 2008 07:31
To: XWiki Users
Subject: Re: [xwiki-users] Import/Export
On Apr 29, 2008, at 8:25 AM, goldring, richard wrote:
> Hi all,
>
> I've exported from xwiki enterprise hsqldb 1.2 milestone 2 and tried
> to
> import into xwiki enterprise hsqldb 1.3.2 by attaching the exported
> file,
> but when I click on the attached file it doesn't list the exported
> files
> within so I can import them.
That should work fine. So you need to tell us what error you get in
the xwiki logs.
Also make sure you click only once and you wait enough. If your XAR is
large it'll take time to display the items.
BTW what's the size of your XAR?
> Anyone know how to get my pages from 1.2 to 1.3.2?
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello,
Please don't use the notification mailing list to answer questions,
I've cc-ed your message to the xwiki users list.
About your problem the errors shows that xwiki is unable to connect to
your database.
On Wed, Apr 30, 2008 at 1:05 AM, Fabrizio Lamari (TeleJob - WebMaster)
<fabrizio.lamari(a)aveth.ethz.ch> wrote:
>
>
>
>
> Hello
>
>
>
> I was using the XWiki for our company and since yesterday evening it doesn't
> work anymore.
>
> I haven't changed anything on the settings yesterday.
>
> When I want to go on the XWiki (www.telejob.ch/wiki.html) I get this error:
> HTTP ERROR: 500 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 create a DBCP pool
>
>
> RequestURI=/xwiki/bin/view/Main/WebHome
>
> Powered by Jetty://
>
> On the terminal side of the XWiki I have the outlines shown on the end of
> this message.
>
>
>
> I hope somebody can help me in adjusting the XWiki, cause we have already
> written many things in it.
>
> Perhaps somebody knows how to get the content of the wiki out, to import in
> a new one, manually.
>
>
>
> Thank you in advance for your help.
>
>
>
> With regards
>
>
>
> ______________________________
>
> Fabrizio Lamari
>
>
>
> TeleJob.ch - WebMaster
>
> fabrizio.lamari(a)aveth.ethz.ch
>
>
>
>
>
>
>
>
>
> Outlines from the terminarl side:
>
>
>
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:175)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:516)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1031)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1074)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:62)
>
> at
> com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:49)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:852)
>
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:791)
>
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:733)
>
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:305)
>
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:503)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
>
> 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:596)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
>
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
>
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Caused by: java.sql.SQLException: General error: java.lang.OutOfMemoryError:
> Java heap space
>
> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>
> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
>
> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
>
> at org.hsqldb.jdbcDriver.connect(Unknown Source)
>
> at
> org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
>
> at
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
>
> at
> org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
>
> ... 47 more
>
> getException():
>
> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
> execute
>
> Wrapped Exception: Could not create a DBCP pool
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1041)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1074)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:62)
>
> at
> com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:49)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:852)
>
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:791)
>
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:733)
>
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:305)
>
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:503)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
>
> 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:596)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
>
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
>
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
>
>
>
>
> Wrapped Exception:
>
>
>
> org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (General error: java.lang.OutOfMemoryError: Java
> heap space)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
>
> at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
>
> at
> com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:181)
>
> at
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>
> at
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>
> at
> org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
>
> at
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
>
> at
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
>
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:175)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:516)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1031)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1074)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:62)
>
> at
> com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:49)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:852)
>
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:791)
>
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:733)
>
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:305)
>
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:503)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
>
> 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:596)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
>
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
>
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Caused by: java.sql.SQLException: General error: java.lang.OutOfMemoryError:
> Java heap space
>
> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>
> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
>
> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
>
> at org.hsqldb.jdbcDriver.connect(Unknown Source)
>
> at
> org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
>
> at
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
>
> at
> org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
>
> ... 47 more
>
> getException():
>
> org.hibernate.HibernateException: Could not create a DBCP pool
>
> at
> com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:199)
>
> at
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
>
> at
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
>
> at
> org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
>
> at
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
>
> at
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
>
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:175)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:516)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1031)
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1074)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:62)
>
> at
> com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
>
> at
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:49)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:852)
>
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:791)
>
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:733)
>
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:305)
>
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:503)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
>
> 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:596)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
>
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>
> at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
>
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (General error: java.lang.OutOfMemoryError: Java
> heap space)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
>
> at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
>
> at
> com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:181)
>
> ... 45 more
>
> Caused by: java.sql.SQLException: General error: java.lang.OutOfMemoryError:
> Java heap space
>
> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>
> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
>
> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
>
> at org.hsqldb.jdbcDriver.connect(Unknown Source)
>
> at
> org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
>
> at
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
>
> at
> org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
>
> ... 47 more
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
>
>
--
Jean-Vincent Drean
I would like to execute an export of all/some of the wiki pages in a
batch mode (ex. with a script and a java program). In the same way I
would like to execute an import.
Is there a easy way to do this?
thanks,
Lorenzo
Hello all,
So far I had been working on my standalone wiki installation and created
some pages, preferences, groups etc.
Now, we want to start using a (x)wiki set up on a server and want to move
all my changes to that.
Is there a short, elegant way to do this? (I know we can import stuff..but I
don't know what can be imported? (or would I just have to copy/repeat all
the changes manually)
Thanks