[xwiki-users] Problems saving special charachters: Error 3201

2012-09-14 Thread Enzo Promatiker


Hello everybody,

we have problems when our users want to save special characters like the polish 
Ż (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a xwiki page. We 
are currently using Xwiki ..  Milestone   with an mysql database. And as far as 
I can ascertain, all parameters are set to UTF-8. The mysql tables seem to be 
also UTF-8  encoded. But we are still getting this error here:

Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving 
document xwiki:EDV.Office2010
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at 
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
at 
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at 
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.ActionFilter.doFilter(ActionFilter.java:120)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 

Re: [xwiki-users] Problems saving special charachters: Error 3201

2012-09-14 Thread Enzo Promatiker

Hi,

my email program killed a few chars.  Here the link 
https://secure.wikimedia.org/wikipedia/en/wiki/%C5%BB.
And we are using Xwiki 4.2 Milestone 2.

Sorry for the mess.

 From: promati...@live.de
 To: users@xwiki.org
 Date: Fri, 14 Sep 2012 08:49:16 +0200
 Subject: [xwiki-users] Problems saving special charachters: Error 3201
 
 
 
 Hello everybody,
 
 we have problems when our users want to save special characters like the 
 polish Ż (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a xwiki 
 page. We are currently using Xwiki ..  Milestone   with an mysql database. 
 And as far as I can ascertain, all parameters are set to UTF-8. The mysql 
 tables seem to be also UTF-8  encoded. But we are still getting this error 
 here:
 
 Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
 Wrapped Exception: Failed to commit or rollback transaction. Root cause []
 com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving 
 document xwiki:EDV.Office2010
 Wrapped Exception: Failed to commit or rollback transaction. Root cause []
   at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
   at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
   at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
   at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
   at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
   at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
   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.doPost(ActionServlet.java:432)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   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.ActionFilter.doFilter(ActionFilter.java:120)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
   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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at 
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
   at 
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at 
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at 
 

Re: [xwiki-users] Problems saving special charachters: Error 3201

2012-09-14 Thread Thomas Mortagne
On Fri, Sep 14, 2012 at 8:49 AM, Enzo Promatiker promati...@live.de wrote:


 Hello everybody,

 we have problems when our users want to save special characters like the 
 polish Ż (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a xwiki 
 page. We are currently using Xwiki ..  Milestone   with an mysql database. 
 And as far as I can ascertain, all parameters are set to UTF-8. The mysql 
 tables seem to be also UTF-8  encoded. But we are still getting this error 
 here:

 Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
 Wrapped Exception: Failed to commit or rollback transaction. Root cause []
 com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving 
 document xwiki:EDV.Office2010
 Wrapped Exception: Failed to commit or rollback transaction. Root cause []
 at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
 at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
 at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
 at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
 at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
 at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
 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.doPost(ActionServlet.java:432)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 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.ActionFilter.doFilter(ActionFilter.java:120)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
 at 
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
 at 
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
 at 
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at 
 

Re: [xwiki-users] Problems saving special charachters: Error 3201

2012-09-14 Thread Enzo Promatiker

Hello Thomas,

thank you for your reply. You're right. I checked my installation guide of 
February 2011 and I created the database without setting the default character 
set. Because at that the time this information was missing in the guide. This 
must have been added after my installation in 2011. Since then we merged to 
version 3 and a few weeks ago to version 4.2 Milestone 2. Is it possible to fix 
that ptoblem and how can I do that?

Thank you in advance.

 Date: Fri, 14 Sep 2012 09:31:11 +0200
 From: thomas.morta...@xwiki.com
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Problems saving special charachters: Error 3201
 
 On Fri, Sep 14, 2012 at 8:49 AM, Enzo Promatiker promati...@live.de wrote:
 
 
  Hello everybody,
 
  we have problems when our users want to save special characters like the 
  polish Ż (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a 
  xwiki page. We are currently using Xwiki ..  Milestone   with an mysql 
  database. And as far as I can ascertain, all parameters are set to UTF-8. 
  The mysql tables seem to be also UTF-8  encoded. But we are still getting 
  this error here:
 
  Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
  Wrapped Exception: Failed to commit or rollback transaction. Root cause []
  com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while 
  saving document xwiki:EDV.Office2010
  Wrapped Exception: Failed to commit or rollback transaction. Root cause []
  at 
  com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
  at 
  com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
  at 
  com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
  at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
  at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
  at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
  at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
  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.doPost(ActionServlet.java:432)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  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.ActionFilter.doFilter(ActionFilter.java:120)
  at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
  org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
  at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
  org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
  at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
  org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
  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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
  at 
  org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
  at 
  org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
  at 
  org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
  at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
  at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
  org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)

Re: [xwiki-users] Problems saving special charachters: Error 3201

2012-09-14 Thread Paul Libbrecht
Enzo,

I think the way is:

- mysqldump
- drop db
- create the table with the right charset
- reimport

(all with xwiki off of course)

Paul


Le 14 sept. 2012 à 09:53, Enzo Promatiker a écrit :

 
 Hello Thomas,
 
 thank you for your reply. You're right. I checked my installation guide of 
 February 2011 and I created the database without setting the default 
 character set. Because at that the time this information was missing in the 
 guide. This must have been added after my installation in 2011. Since then we 
 merged to version 3 and a few weeks ago to version 4.2 Milestone 2. Is it 
 possible to fix that ptoblem and how can I do that?
 
 Thank you in advance.
 
 Date: Fri, 14 Sep 2012 09:31:11 +0200
 From: thomas.morta...@xwiki.com
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Problems saving special charachters: Error 3201
 
 On Fri, Sep 14, 2012 at 8:49 AM, Enzo Promatiker promati...@live.de wrote:
 
 
 Hello everybody,
 
 we have problems when our users want to save special characters like the 
 polish Ż (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a 
 xwiki page. We are currently using Xwiki ..  Milestone   with an mysql 
 database. And as far as I can ascertain, all parameters are set to UTF-8. 
 The mysql tables seem to be also UTF-8  encoded. But we are still getting 
 this error here:
 
 Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
 Wrapped Exception: Failed to commit or rollback transaction. Root cause []
 com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while 
 saving document xwiki:EDV.Office2010
 Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.ActionFilter.doFilter(ActionFilter.java:120)
at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at 
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at 
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 

Re: [xwiki-users] [xwiki-devs] [Brainstorm] Web sites where we should announce XWiki releases

2012-09-14 Thread Paul Libbrecht

Allow me to add:
http://www.framasoft.net/article3086.html

Also, I've seen ADTmag cover some releases: http://adtmag.com/ 
Maybe they're a good place to contact?

Probably other magazines should be useful?
http://www.heise.de/ would probably receive such announcement (they produce C'T 
among others).

How about IBM DeveloperWorks?
Isn't there a GWT-powered-software listing?

paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WYSIWYG editor + Authentication server

2012-09-14 Thread Sergio Carrasco
Hi,

I had the problem than when editing a page accessing the wiki through an
authentication server, the WYSIWYG editor wouldn't appear.

I tried the solution u gave me, applying this fix:
https://github.com/xwiki/xwiki-platform/commit/5f5e49ded1bb3c61ead93a21cd62f5ca76df7ab9

And with that fix, the editor appeared again, so the error was related with
that.

The new problem was, that when saving changes, any change is saved. The
page remains as if never edited (so i had to remove that fix). There are
not any logs so i can't figure out the problem.

Any other clue?

Thanks
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Remote observation threads blocks server instance

2012-09-14 Thread Sergio Carrasco
Hi,

our Wiki is running on a WebSphere Application Server 6.0

We're using the remote observer configuration to avoid caching problems
between our server instances.

The problem is, when a server instance is restarted, if the Wiki is not
stopped at that time, sometimes gives us this problem:

[9/6/12 0:50:34:567 CEST] 002e ThreadMonitor W   WSVR0605W: Thread
server.startup : 1 (0025) has been active for 662151 milliseconds and
may be hung.  There is/are 1 thread(s) in total in the server that may be
hung.
at sun.misc.Unsafe.park(Native Method)
at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2014)
at org.jgroups.util.Promise.doWait(Promise.java:117)
at org.jgroups.util.Promise._getResultWithTimeout(Promise.java:73)
at org.jgroups.util.Promise.getResultWithTimeout(Promise.java:42)
at org.jgroups.util.Promise.getResult(Promise.java:104)
at
org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(ClientGmsImpl.java:142)
at
org.jgroups.protocols.pbcast.ClientGmsImpl.join(ClientGmsImpl.java:38)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:924)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:836)
at org.jgroups.JChannel.downcall(JChannel.java:1652)
at org.jgroups.JChannel.connect(JChannel.java:417)
at org.jgroups.JChannel.connect(JChannel.java:380)
at
org.xwiki.observation.remote.internal.jgroups.JGroupsNetworkAdapter.startChannel(JGroupsNetworkAdapter.java:111)
at
And the  server instance cannot be started.

On controlled restarts, we can avoid this by having the wiki  stopped at
the time the server instance restart. But on unexpected restarts, the wiki
blocks our server instance.

Is there any way to avoid this problem??

Thanks a lot in advance

Sergio Carrasco
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [Brainstorm] Web sites where we should announce XWiki releases

2012-09-14 Thread Thomas Mortagne
On Fri, Sep 14, 2012 at 11:59 AM, Paul Libbrecht p...@hoplahup.net wrote:

 Allow me to add:
 http://www.framasoft.net/article3086.html

Indeed, we should at least fix it since it's pretty outdated and has
some wrong informations (Compatibilité avec les plugins TWiki en
Perl).


 Also, I've seen ADTmag cover some releases: http://adtmag.com/
 Maybe they're a good place to contact?

 Probably other magazines should be useful?
 http://www.heise.de/ would probably receive such announcement (they produce 
 C'T among others).

 How about IBM DeveloperWorks?
 Isn't there a GWT-powered-software listing?

 paul
 ___
 devs mailing list
 d...@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/devs



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WYSIWYG editor + Authentication server

2012-09-14 Thread Marius Dumitru Florea
On Fri, Sep 14, 2012 at 1:03 PM, Sergio Carrasco sercar...@gmail.com wrote:
 Hi,

 I had the problem than when editing a page accessing the wiki through an
 authentication server, the WYSIWYG editor wouldn't appear.

 I tried the solution u gave me, applying this fix:
 https://github.com/xwiki/xwiki-platform/commit/5f5e49ded1bb3c61ead93a21cd62f5ca76df7ab9

 And with that fix, the editor appeared again, so the error was related with
 that.


 The new problem was, that when saving changes, any change is saved. The
 page remains as if never edited (so i had to remove that fix). There are
 not any logs so i can't figure out the problem.

You should keep the fix.


 Any other clue?

What happens on Preview? Do you see the modified content or the
original one? What happens on Save  Continue? You can check with
Firebug (or any other similar tool) if the modified content is
submitted (check the POST parameters) and if the AJAX request is send
to the right place (check request URL).

Note that the edit buttons should behave the same in WYSIWYG and Wiki
edit modes. Check that the wiki edit mode works fine.

Hope this helps,
Marius


 Thanks
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems saving special charachters: Error 3201

2012-09-14 Thread Enzo Promatiker

Hi Paul,

this worked for me and solved my problem.
Thank you very much.

Enzo

 From: p...@hoplahup.net
 Date: Fri, 14 Sep 2012 10:23:24 +0200
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Problems saving special charachters: Error 3201
 
 Enzo,
 
 I think the way is:
 
 - mysqldump
 - drop db
 - create the table with the right charset
 - reimport
 
 (all with xwiki off of course)
 
 Paul
 
 
 Le 14 sept. 2012 à 09:53, Enzo Promatiker a écrit :
 
  
  Hello Thomas,
  
  thank you for your reply. You're right. I checked my installation guide of 
  February 2011 and I created the database without setting the default 
  character set. Because at that the time this information was missing in the 
  guide. This must have been added after my installation in 2011. Since then 
  we merged to version 3 and a few weeks ago to version 4.2 Milestone 2. Is 
  it possible to fix that ptoblem and how can I do that?
  
  Thank you in advance.
  
  Date: Fri, 14 Sep 2012 09:31:11 +0200
  From: thomas.morta...@xwiki.com
  To: users@xwiki.org
  Subject: Re: [xwiki-users] Problems saving special charachters: Error 3201
  
  On Fri, Sep 14, 2012 at 8:49 AM, Enzo Promatiker promati...@live.de 
  wrote:
  
  
  Hello everybody,
  
  we have problems when our users want to save special characters like the 
  polish Ż (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a 
  xwiki page. We are currently using Xwiki ..  Milestone   with an mysql 
  database. And as far as I can ascertain, all parameters are set to UTF-8. 
  The mysql tables seem to be also UTF-8  encoded. But we are still getting 
  this error here:
  
  Error number 3201 in 3: Exception while saving document 
  xwiki:EDV.Office2010
  Wrapped Exception: Failed to commit or rollback transaction. Root cause []
  com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while 
  saving document xwiki:EDV.Office2010
  Wrapped Exception: Failed to commit or rollback transaction. Root cause []
 at 
  com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
 at 
  com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
 at 
  com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
 at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
 at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
 at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
 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.doPost(ActionServlet.java:432)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 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.ActionFilter.doFilter(ActionFilter.java:120)
 at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
  org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
 at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
  org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
  org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
 at 
  org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
 at 
  org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
 at 
  

Re: [xwiki-users] Registration and Layout settings resetting

2012-09-14 Thread Ashtar Communications
I ran a flush on the cache immediately after the problem recurred, and
the settings were not restored.

Any other ideas?

Thanks,

aaron

On Wed, Sep 12, 2012 at 12:46 AM, Ashtar Communications
ashtarcommunicati...@gmail.com wrote:
 Vincent,

 Thanks for the help. Answers below:

 Email -- Admin Email and SMTP server. The rest of the settings are 
 maintained.

 What other setting remains that is not the default value?

 On the Email page, the Port, Server Username, and Server Password
 always stay - only the Admin Email and SMTP server are cleared out.

 Page Elements - All panel settings, reverting to zero displayed
 panels. Metadata visibility settings are maintained

 You modified those and they remain? If so the problem is not a cache issue 
 that resets XWikiPreferences.

 I modified the panel settings to display two panels on the left, and
 no panels on the right. When the bug occurs, The show left/right
 panel? settings are set to -- and the Panels to Display are
 blank.

 The frequency of occurrence has dropped in the last day - at first it
 was happening every 15-20 minutes, and today it went most of the day
 with no apparent problems. The next time it occurs I will try to flush
 the cache and see if that sheds any light...

 thanks,

 aaron


 One thing you can test to ensure this:
 When the problem happens do a flush cache in a wiki page:

 {{velocity}}
 $xwiki.flushCache()
 {{/velocity}}

 And then verify if your settings are back.

 Thanks
 -Vincent

 Registration - Use Email Verification, Active Authentication Check,
 Validation Email Content, Confirmation Email Content. Everything else
 is maintained.
 Several entire Spaces - the wiki has a large number of spaces (~150).
 They seem to be getting deleted at random. I will leave the page for
 an hour, come back, and the link to the space homepage will have the
 question mark icon next to it. The space will no longer appear in
 the spaces list on the Dashboard.

 Any other ideas? I'm ready to downgrade back to 3.x - this only
 started happening with a fresh install of 4.2 and it's obviously a
 serious problem...

 thanks,

 aaron


 On Sun, Sep 9, 2012 at 3:17 AM, Vincent Massol vinc...@massol.net wrote:

 On Sep 9, 2012, at 8:11 AM, Dmitry Bakbardin haru_mamb...@mail.ru wrote:

 +1 vote
 I had the same problem until set Prevent unregistered users from editing 
 pages, regardless of the page or space rights on.
 But I don't know still if it is a bug or a feature :-)

 It's a bug… Fixed in 4.2M3, see 
 http://jira.xwiki.org/jira/browse/XWIKI-8160

 -Vincent

 Kind regards,

 Dmitry


 Sun, 9 Sep 2012 01:52:12 -0400 от Ashtar Communications 
 ashtarcommunicati...@gmail.com:









 Hi,


 It seems that my wiki is spontaneously resetting several configuration

 settings, most notably the registration, email, and layout settings. I

 enter information like the email server, address, and port, which

 panels to display in the sidebar, or whether to require email

 verification. After a few hours, I return to the site to find that the

 panels are turned off, email registration is turned off and the boxes

 for formatting verification emails, etc are blank, and half of the

 email settings are cleared. There may also be other configuration

 options being reset that I haven't found yet.


 I am the only administrative user on the wiki. It's also definitely

 not due to vandalism - exactly the same settings disappear every time,

 and it has now repeated itself 4 times in the last 24 hours.


 I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly

 appreciated...


 thanks,


 Aaron

 ___

 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users









 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] new wiki request

2012-09-14 Thread Sean Chadwell
Hi,

I'm interested in building a new wiki at myxwiki.org. We'd like to use this
wiki as a way of documenting and sharing (and updating) information about
community life on and around the campus of Xing Wei College (in Shanghai,
China), a new, private liberal-arts college.

my username: smchadwell
servername: xwc

Many thanks,

Sean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users