[xwiki-users] Xwiki 1.8 WAR file?
Is there any way that I could download the Xwiki WAR file of version 1.8? I had a server crash and my database backup didn't work. I was able to export all of the pages in my wiki as .xar files, but when I try to import some of them, I get messages that say there are no documents in the .xar files. I think this is because my new installation is 2.0, instead of 1.8. I tried 1.9, and it helped a little. I could import a few more of the pages, but there are still a couple that I cannot. I would try to use the files from the server, but it is officially toast now. Any help would be greatly appreciated. Thanks, travis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Could not initialize main XWiki context - Xwiki 2.4
I recently switched to a new server and upgraded to the Xwiki Enterprise 2.4. I was able to get the installation working, but after an update to Tomcat6 from the Ubuntu repository, Xwiki stopped working. (I'm not completely sure that the tomcat update was the problem) I tried re-installing Xwiki using the same procedure as before (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually) but it still doesn't work. Tomcat works; at least the default test page. So, I then tried reinstalling tomcat6. Then I copied the previously expanded xwiki WAR contents back into webapps. Same thing. Tomcat appears to work just fine, but xwiki crashes. Details about my setup: Running Ubuntu 64-bit Lucid Lynx 10.04 Tomcat6.0.24 MySQL 5.1.41-3ubuntu12.6 (Ubuntu) The error seems to be complaining about my hibernate file. I have tried following the instructions from the link above by just editing the xml to match to lines in the instructions. I have also tried uncommenting the setup for MySQL in the hibernate file. Both ways produce the same results. Can anyone help, please? I'm pretty desperate. Thanks, travis Here is my hibernate file: ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory !-- Please refer to the installation guide on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for configuring your database. You'll need to do 2 things: 1) Copy your database driver JAR in WEB-INF/lib or in some shared lib directory 2) Uncomment the properties below for your specific DB (and comment the default database configuration if it doesn't match your DB) -- !-- Generic parameters common to all Databases -- property name=show_sqlfalse/property property name=use_outer_jointrue/property property name=dbcp.defaultAutoCommitfalse/property property name=dbcp.maxActive50/property property name=dbcp.maxIdle5/property property name=dbcp.maxWait3/property property name=dbcp.whenExhaustedAction1/property property name=dbcp.ps.whenExhaustedAction1/property property name=dbcp.ps.maxActive20/property property name=dbcp.ps.maxWait12/property property name=dbcp.ps.maxIdle20/property !-- Without it, some queries fail in MS SQL. XWiki doesn't need scrollable result sets, anyway. -- property name=jdbc.use_scrollable_resultsetfalse/property !-- Configuration for the default database. Comment out this section and uncomment other sections below if you want to use another database. Note that the database tables will be created automatically if they don't already exist. -- property name=connection.urljdbc:myql://localhost/xwiki/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property property name=connection.driver_classcom.mysql.jdbc.Driver/property property name=dialectorg.hibernate.dialect.MySQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ mapping resource=activitystream.hbm.xml/ !-- MySQL configuration. Uncomment if you want to use MySQL and comment out other database configurations. We need to set the sql_mode to a less strict value, see XWIKI-1945 property name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=falseamp;useUnicode=trueamp;characterEncoding=UTF-8amp;sessionVariables=sql_mode=''/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property property name=connection.driver_classcom.mysql.jdbc.Driver/property property name=dialectorg.hibernate.dialect.MySQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ mapping resource=activitystream.hbm.xml/ -- !-- HSQLDB configuration. Uncomment if you want to use HSQLDB and comment out other database configurations. property name=connection.urljdbc:hsqldb:file:/some/path/xwikidb;shutdown=true/property property name=connection.usernamesa/property property name=connection.password/property property name=connection.driver_classorg.hsqldb.jdbcDriver/property property name=dialectorg.hibernate.dialect.HSQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property
[xwiki-users] New Pages Immediately Orphaned?
When I try to create a new page via WYSIWYG or Source editor, then click Save View, I see a link with a question mark beside it. (All of this is the normal, so far) When I click on that link to create the page, the bread crumbs at the top of the page show the previous page as the parent. When I save that newly created page, whether I add any other content to the new page or not, the page shows as an orphan. The bread crumbs at the top disappear and point back to the root of the space. The Information tab shows no parent information. If I try to edit that page and manually enter the parent using the little pencil parent edit button, I enter the name of the parent page (which xwiki seems to recognize), but when I save it, the page is still orphaned. What's the deal? Any ideas? I'm running XWiki Enterprise 2.7.1.34853 on Ubuntu lucid 64-bit. My local computer is also running Ubuntu lucid 64-bit. I've tried using Firefox and Chrome, but both behave the same way. Any help would be appreciated. Thanks, travis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] All New Pages Are Orphaned
I've submitted this question before. I was told that no one could replicate this on xwiki 3.x. At the time I was running 2.7. I have just upgraded to xwiki 3.1. Whenever anyone creates a new page on my wiki, it becomes an orphan. If I try to edit the page and use the little parent editor box at the top of the editor, I can correctly add the parent. At that point, the full bread crumb trail shows up properly. But when I save that page, the bread crumb trail disappears and the page is still an orphan. It shows as an orphan in the Document Index and the page's Information shows No Parent. What's the deal? I started seeing this when I upgraded from 2.4 to 2.7. And I'm still seeing it with 3.1. I think the only thing I changed when I upgraded from 2.4 to 2.7 is that I enabled LDAP authentication. But this problem occurs for Xwiki users and LDAP users alike. Would it help to send out any of my config files (xwiki.cfg, hibernate..etc)? Any help would be greatly appreciated. This is a very annoying problem. We're going to have to switch wiki software if we can't resolve this. Thanks, travis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] UPDATE: All New Pages Are Orphaned
I switched from using the Toucan skin to the Colibri skin and I can now edit the pages and assign a parent to them correctly. When I click Save, the bread crumbs update properly and the page is no longer orphaned. Well, I'm okay switching to the colibri skin, but this sounds like a code bug - travis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users