Hi,
I'm wondering if it's possible to migrate Xwiki from one system to another??
I currently run Xwiki on a FreeBSD 8.0 RELEASE x64 platform with 4GB RAM
in a dedicated FreeBSD Jail, however I'm having an issue with Java
spinning up the CPU to 100% rendering Xwiki inoperable!
If I migrate it would be from FreeBSD to either a dedicated FreeBSD
system or an OpenSolaris based system on Nexenta.
Currently I run Tomcat6 coupled with Postgresql, but would migrate to
Glassfish and MySQL.
Is it just a matter of backup the Xwiki from the web GUI then restore
under Glassfish and convert database from Postgresql to MySQL then
attach at other end?
Or can I just simply dump the /webapps/xwiki folder into Glassfish or
another instance of Tomcat?
Thanks for any advice!!
Regards,
Kaya
Hello community,
how can I create tables that would have different background colours for odd
and even table rows with the new WYSIWYG (like it was in old vers.1.0
Syntax .wiki-table?). Or is there the appropriate macro?
Best Regards,
Alla
-----
Best Regards,
Alla
--
View this message in context: http://xwiki.475771.n2.nabble.com/Table-styles-tp5534521p5534521.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I upgrade my xWiki to 2.4 and I have a problem with SpaceExplorer. It doesn't work. When I try to use it, xWiki returns an error:
XWIKIEXPLORER.JS DEPENDS ON XWIKI.JS
In the older version of xWiki everything works fine (2.2). I was going through the js scripts and the structure is the same as it was in xWiki 2.2.
Does anybody know where is the problem?
Thanks, Zuzana.
Hi @all,
did one of you guys get the SQL-Plugin to work with 2.4?
I did everything the installation instructions said to do. Even made a
sample jsp page which worked just fine with querying the database and
displaying my table. But usage of the plugin in any xwiki page doesn't work.
Even when using such stupid query as
select '1' as 1, '2' as 2
there does not seem to be any resultset returned which i could display via
velocity script. Is there any trick i don't know or is the plugin simply
broken?
Thx
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-SQL-Plugin-tp5530893p5530893.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello xwiki users,
I have to upload larger files (i.e. ebooks (above 100MB) or images of 80MB) and at the moment the upload fails.
I increased the size of mysql packages to 512 MB, but it didn't help, any ideas?
Best regards
Pierre
Hello xwiki users,
I have to upload larger files (i.e. ebooks (above 100MB) or images of 80MB) and at the moment the upload fails.
I increased the size of mysql packages to 512 MB, but it didn't help, any ideas?
Best regards
Pierre
I've got pristine installations of both mysql 5.1.48 and glassfish 2.1.1,
and I always get:
PWC1406: Servlet.service() for servlet action threw exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class Wrapped Exception: Could not
initialize class net.sf.cglib.proxy.Enhancer at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402) at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) 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:734) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at .....
[rest of dump cut]
This is annoying, because I was able to get an earlier version of Xwiki
going, but had a server crash where everything got wiped out, and I'm
starting fresh.
Any help would be gratefully received.
Many thanks.
Regards,
Mike
Hello,
How can I force (via some admin script or configuration) that a specific user's group have a predefined watchlist? I would like to guarantee that a specific set of pages and/or spaces are being monitored by certain groups. I'm using XWiki 2.4 with LDAP groups for authentication.
Regards,
Ramon Gomes Brandão
Hi xwikiers,
Since May and actively since end of August I'm working on a POC for
the future (long awaited) Extension Manager. It's now in a state where
you can play with it a bit !
So here is a quick advertisement.
You can find it on
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-extension/
What it does already:
- display remote extension and its dependencies as a tree
- install remote extension and its dependencies from repositories
- framework support any kind of extension using ExtensionInstaller
component interface but only jar installer is implemented right now
- framework support any kind of repository using RepositoryFactory
component interface but only maven is implemented right now
- load installed application when XWiki starts
Critical features not yet supported:
- miscellaneous rights protections in extension manager script service
- uninstall/upgrade support: need to find a way to remove a jar from
classloader. Note that you can remove an extension from local
repository and restart.
- xar installer: just need to provide a ExtensionInstaller
implementation with role hint "xar" since this needs access to the
whole model the first version will probably be implemented with old
APIs (XWikiDocument, etc.) on xwiki-core side
- install extension not coming from a repository: the current API is
very repository centric but you can do it "by hand" by putting
directly the extension jar file in the local repository.
- real descriptors in local repository for installed extensions (to
store in a repository independent way extension information as well as
some local only metadas like the fact that an extension as been
installed as a dependency of another etc.)
- others on http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-extension/README.t…
I'm preparing some design documentation that will go on
http://dev.xwiki.org/xwiki/bin/view/Design/ExtensionManagerProposal
but i don't have much time right now so it will probably be tomorrow
(GMT).
The current state is not final at all but it still introduce a lot of
APIs and design, lets call it an over designed POC. It needs to be
discussed in all it's aspects before having its experimental tag
removed. The plan is to distribute it with XE coming with 2.5 whatever
it's state (when it does not represent a risk for XE obviously) as an
experimental playground with all the required warnings in the UI and
promote it when we are happy with a first version.
Thanks,
--
Thomas Mortagne
Ok I figured this one out!!
The pg_hba.conf file of Postgresql needed to have this line added:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
*host all all 192.168.0.151/32 trust*
Now all is fine!! :-)
Few!
Regards,
Kaya
-------- Original Message --------
Subject: Strange HTTP://500 error?? hibernate.cfg.xml wrong?
Date: Mon, 13 Sep 2010 16:23:37 +0300
From: Kaya Saman <kayasaman(a)gmail.com>
To: XWiki Users <users(a)xwiki.org>
Hi,
as some of you guys who've already helped me know by now that I have a
working instance of Xwiki....
Recently I tried to simulate this and go over the steps I'd already done
in order to document the install!
I installed FreeBSD 8.0 Release x64 and recreated my FreeBSD jail that I
currently run Xwiki in.
Everything went to plan with all steps involved being documented all the
way and versions of software checked against each other; however, when
it came to actually browsing to Xwiki I got an error 500 message??
All details of my install can be found here:
http://wiki.optiplex-networks.com/xwiki/bin/view/FreeBSD/XWiki
however it is quite long so I am only going to explain about the error
and areas that the error highlights:
I'm using Postgresql as the DB backend as I had issues with MySQL so
that needs further testing later, and Tomcat6.
My hibernate.cfg.xml file looks like so:
<!-- PostgreSQL configuration.
Uncomment if you want to use PostgreSQL and comment out other
database configurations. -->
<property
name="connection.url">jdbc:postgresql://localhost:5432/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">org.postgresql.Driver</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
With the rest all commented out apart from the default non-database
stuff right at the top of the stock file; the default DB lines have been
commented out!
Although no need I uncommented this line:
xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
in the xwiki.cfg file.
This is the exact error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
The only thing I did differently is initially build the JDK environment and Tomcat without the TZupdater tool from Sun??
Has anyone got any ideas of what I'm missing here and why the system claims that there is an error in the hibernate.cfg.xml file??
These are the versions of Postgresql connector that I have tried:
postgresql-8.2-511.jdbc4.jar
postgresql-8.3-603.jdbc4.jar
postgresql-8.3-606.jdbc4.jar
On my production build I use 8.3-603.jdbc4.jar
On the test version I also installed some patches for the JDK environment as I hadn't updated my ports tree before building the packages even though
upgrading the ports rebuilt all the installed packages by removing them first so I don't know if the patch has been applied again or not???
Anyway, fact is that somethings wrong and I need to get to the bottom of this :-)
Many thanks for any help!
Regards,
Kaya