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