Re: [xwiki-users] New Wiki Creation Issues / No Distribution Wizard

2014-07-30 Thread eamas
My final question regarding this topic: is the Distribution Wizard absolutely
necessary for the creation of a new sub-wiki (multi-wiki scenario)? In other
words, if the database for the new wiki is being created in MySQL and I get
the DocumentDoesNotExist page but I can still go to import the default set
of pages and can access this wiki through url.com/wiki/subwiki1/Main/ then
is it safe to assume that it worked and I can proceed with this as my newly
created sub-wiki?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/New-Wiki-Creation-Issues-No-Distribution-Wizard-tp7591477p7591518.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New Wiki Creation Issues / No Distribution Wizard

2014-07-29 Thread eamas
Thanks, Clemens. I’ll try your suggestion. From my understanding, we wanted to 
try and get this to work with path-based subwikis instead but I’ll see if this 
gets us closer to our goal.

On Tuesday, July 29, 2014 at 8:37 AM, Clemens Klein-Robbenhaar [via XWiki] 
wrote:

 I guess the problem is that if one want to use hostname based subwikis and 
 not path-basd subwikis,  
 unfortunately one need to change the config in two places:  
  
 - set url.standard.multiwiki.isPathBased=false in xwiki.properies  
 - set xwiki.virtual.usepath=0 in xwiki.cfg  
  
 Can you check if you maybe forgot to set the latter? I can reproduce your 
 problem if I leave xwiki.virtual.usepath in the default setting.  
  
 Clemens  
  
  
  Hello everyone,  
   
  Upon trying to create a new wiki we don’t get a Distribution Wizard and 
  instead get the DocumentDoesNotExist page.
  Setup Summary: Tomcat/MySQL  XWikiv6.0.1  
   
  We deployed a custom configured version of the WAR file to our Servlet 
  Container (Tomcat) and upgraded the UI on the main wiki using the Extension 
  Manager (carefully, we made sure rights we wanted to keep didn’t get 
  overwritten).  
  We want to expand our current wiki and split up into many “sub-wikis” and 
  start with creating the new wikis. We use the WikiManager/CreateWiki/ 
  dialog as admin-users with full rights.
   
  THE MAIN ISSUE: Upon hitting “create” we expect to see the Distribution 
  Wizard - but instead we see the DocumentDoesNotExist page and the URL reads 
  /wiki/secondwiki/view/Main. Our jobs folder does in fact have status.xml 
  which I have heard you could remove (then restart tomcat) and get the DW 
  that way but it isn’t working (same result).  
   
  My logs (catalina.out) show the following:  
  ---/bin/admin/XWiki/XWikiPreferences/] WARN  
  o.h.u.DTDEntityResolver- recognized obsolete hibernate namespace 
  http://hibernate.sourceforge.net/. Use namespace 
  http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration 
  Guide!  
  ---/bin/admin/XWiki/XWikiPreferences/] WARN  o.h.i.UUIDHexGenerator 
  - Using org.hibernate.id.UUIDHexGenerator which does not generate 
  IETF RFC 4122 compliant UUID values; consider using 
  org.hibernate.id.UUIDGenerator instead  
  NOTE: We actually have the hibernate namespace as they have suggested in 
  the warning (in hibernate.cfg.xml). Still it gives us that warning.  
   
  ---/bin/admin/XWiki/XWikiPreferences/] INFO  
  .HibernateDataMigrationManager - Storage schema updates and data migrations 
  are enabled  
  ---/bin/admin/XWiki/XWikiPreferences/] INFO  
  .HibernateDataMigrationManager - No data migration to apply for wiki 
  [xwiki] currently in version [54300]  
  ---/bin/admin/XWiki/XWikiPreferences/] INFO  
  .HibernateDataMigrationManager - Checking Hibernate mapping and updating 
  schema if needed for wiki [xwiki]  
  ---/bin/admin/XWiki/XWikiPreferences/] WARN  
  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
  [com.xpn.xwiki.api.XWiki.searchDocuments] in /templates/admin.vm@75,17  
  ---/bin/admin/XWiki/XWikiPreferences/] WARN  
  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
  [com.xpn.xwiki.api.XWiki.searchDocuments] in /templates/admin.vm@75,17  
  ---/bin/admin/XWiki/XWikiPreferences/] WARN  
  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
  [com.xpn.xwiki.api.XWiki.searchDocuments] in /templates/admin.vm@75,17  
  ---/bin/admin/XWiki/XWikiPreferences/] WARN  
  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
  [com.xpn.xwiki.api.XWiki.searchDocuments] in /templates/admin.vm@75,17  
  ---/bin/admin/XWiki/XWikiPreferences/] INFO  
  .HibernateDataMigrationManager - Checking Hibernate mapping and updating 
  schema if needed for wiki [secondwiki]  
  ---/bin/admin/XWiki/XWikiPreferences/] INFO  
  .HibernateDataMigrationManager - Checking Hibernate mapping and updating 
  schema if needed for wiki [testing]  
   
   
  Checked MySQL: the database is being properly created and is filled with 
  the expected tables (compared with database ‘xwiki' - the main wiki).  
   
  If you read all of that - thank you for your time. Any help or ideas you 
  can provide would be GREATLY appreciated.  
   
  Best,  
  eamas  
   
  ___  
  users mailing list  
  [hidden email] (/user/SendEmail.jtp?type=nodenode=7591495i=0)  
  http://lists.xwiki.org/mailman/listinfo/users
   
 ___  
 users mailing list  
 [hidden email] (/user/SendEmail.jtp?type=nodenode=7591495i=1)  
 http://lists.xwiki.org/mailman/listinfo/users
  
  
 If you reply to this email, your message will be added to the discussion 
 below: 
 http://xwiki.475771.n2.nabble.com/New-Wiki-Creation-Issues-No-Distribution-Wizard-tp7591477p7591495.html
   
 To unsubscribe from New Wiki Creation Issues