Re: [xwiki-users] I can't attach files to content
Thanks everyone. Modifying my database to be utf8 fixed everything! On Wed, Mar 31, 2010 at 1:12 PM, 2smart4u rc4...@googlemail.com wrote: Great, Sergiu, thanks for that information, so I'll put the upgrade on top of my todo-list Cheers! Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ 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] I can't attach files to content
Here's another interest line I found in the log file. Maybe this will help: ERROR util.JDBCExceptionReporter - Incorrect string value: '\xEF\x83\xA0 IT...' for column 'XWR_PATCH' at row 1 ERROR .AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update Thanks again, Dean Del Ponte On Wed, Mar 31, 2010 at 8:23 AM, Dean Del Ponte dean.delpo...@gmail.comwrote: I've recently migrated from the standalone version to the war version, in the hopes of making the use of the wiki more permanent. I'm running xwiki-2.2.4 in tomcat-6.0.24 with MySQL 5.1. Everything works, except I am now unable to attach files of any kind. I receive the following error. All help is appreciated. Thanks! *** Begin error *** Notice A problem occurred while trying to process your request. Please contact the webmaster if this happens again. Detailed information: Error number 3201 in 3: Exception while saving document Web Documentation.Customer Service Popup Window in AnswerNET Wrapped Exception: Failed to commit or rollback transaction. Root cause [] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Web Documentation.Customer Service Popup Window in AnswerNET Wrapped Exception: Failed to commit or rollback transaction. Root cause [] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:638) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:182) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1320) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1315) at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:114) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) 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:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) 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.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: org.hibernate.exception.GenericJDBCException: Could not
Re: [xwiki-users] I can't attach files to content
I receive almost the same error when trying to save the following text як думаєте чи є зміст розділяти Resolved на Resolved for Code Review i Resolved for QA? мається на увазі що після того як щось запрограмовано - воно обов’язково повинно бути віддане на Code Review і тільки після того на QA. Переваги: по-ідеї буде легше розрізняти що потребує Code Review і рівномірно розподіляти такі задачі на команду. Недоліки: додатковий формальний крок, по ідеї Code Review має робитися зразу - щоби не відтягувати віддачу в Trunk, тому на практиці це буде виглядати так: натисли кнопочку в жирі (це призводить до перекидання квитка на мене, як розподіляючого кому робити CR) і одразу підходите і питаєте, а хто би міг подивитися. З одного боку формальність - з іншого - нагадувалка яка дозволить запровадити обовязкове CR на рівні процесу. the error is Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xD1\x8F\xD0\xBA \xD0...' for column 'XWR_PATCH' at row 1 at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1669) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1085) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) ... 70 more Full stack trace attached in file http://n2.nabble.com/file/n4830873/ExceptionWhenSavingText-StackTrace.txt ExceptionWhenSavingText-StackTrace.txt -- View this message in context: http://n2.nabble.com/I-can-t-attach-files-to-content-tp4830758p4830873.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] I can't attach files to content
Hi, On Mar 31, 2010, at 3:52 PM, coldserenity wrote: I receive almost the same error when trying to save the following text як думаєте чи є зміст розділяти Resolved на Resolved for Code Review i Resolved for QA? мається на увазі що після того як щось запрограмовано - воно обов’язково повинно бути віддане на Code Review і тільки після того на QA. Переваги: по-ідеї буде легше розрізняти що потребує Code Review і рівномірно розподіляти такі задачі на команду. Недоліки: додатковий формальний крок, по ідеї Code Review має робитися зразу - щоби не відтягувати віддачу в Trunk, тому на практиці це буде виглядати так: натисли кнопочку в жирі (це призводить до перекидання квитка на мене, як розподіляючого кому робити CR) і одразу підходите і питаєте, а хто би міг подивитися. З одного боку формальність - з іншого - нагадувалка яка дозволить запровадити обовязкове CR на рівні процесу. the error is Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xD1\x8F\xD0\xBA \xD0...' for column 'XWR_PATCH' at row 1 at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1669) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1085) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) ... 70 more Full stack trace attached in file http://n2.nabble.com/file/n4830873/ExceptionWhenSavingText-StackTrace.txt ExceptionWhenSavingText-StackTrace.txt See http://dev.xwiki.org/xwiki/bin/view/IRC/xwikiArchive20100303 Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
2010/3/31 Vincent Massol vinc...@massol.net: See http://dev.xwiki.org/xwiki/bin/view/IRC/xwikiArchive20100303 Thanks -Vincent wow - a really usefull posting here - to whoch of the 1000+ lines are you referring to? anyhow: 2.2.4 was a bug-fix to fix some regressions - I've still not upgraded from 2.2.2, and when i read those posts, seems that was a pretty good idea. now can you confirm that 2.2.4 is stable or ist there a general problem with attachmenets / utf-8 / etc.? wondering... gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
On 03/31/2010 03:23 PM, Dean Del Ponte wrote: I've recently migrated from the standalone version to the war version, in the hopes of making the use of the wiki more permanent. I'm running xwiki-2.2.4 in tomcat-6.0.24 with MySQL 5.1. Everything works, except I am now unable to attach files of any kind. I receive the following error. All help is appreciated. Thanks! *** Begin error *** Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xEF\x83\xA0 IT...' for column 'XWR_PATCH' at row 1 This means that your database is not correctly configured as utf8. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
On Wed, Mar 31, 2010 at 6:36 PM, Sergiu Dumitriu ser...@xwiki.com wrote: This means that your database is not correctly configured as utf8. I see. Well, I didn't scroll down Dean's complete exception-tree. @Dean: Directions for setting up MySQL to work woth UTF-8 can be found here: http://dev.mysql.com/doc/refman/5.0/en/create-database.html @Sergiu: So I presume that there are no regressions with 2.2.4, right? Cheers Gregor -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
On 03/31/2010 06:52 PM, 2smart4u wrote: On Wed, Mar 31, 2010 at 6:36 PM, Sergiu Dumitriuser...@xwiki.com wrote: This means that your database is not correctly configured as utf8. I see. Well, I didn't scroll down Dean's complete exception-tree. @Dean: Directions for setting up MySQL to work woth UTF-8 can be found here: http://dev.mysql.com/doc/refman/5.0/en/create-database.html @Sergiu: So I presume that there are no regressions with 2.2.4, right? Right, no regressions regarding this. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
Sergiu, hope you don't kill me for this questions, but... On Wed, Mar 31, 2010 at 7:35 PM, Sergiu Dumitriu ser...@xwiki.com wrote: Right, no regressions regarding this. *Cough*, regarding anything else (I'm asking about regressions)? If so and you don't mean known bugs listed in the release-notes, can it be read up somewhere? TIA Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
On 03/31/2010 07:47 PM, 2smart4u wrote: Sergiu, hope you don't kill me for this questions, but... On Wed, Mar 31, 2010 at 7:35 PM, Sergiu Dumitriuser...@xwiki.com wrote: Right, no regressions regarding this. *Cough*, regarding anything else (I'm asking about regressions)? If so and you don't mean known bugs listed in the release-notes, can it be read up somewhere? Well, I mean that we definitely don't have any storage regressions, but there might be other yet unknown regressions, although the chances of that happening are small enough. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] I can't attach files to content
Great, Sergiu, thanks for that information, so I'll put the upgrade on top of my todo-list Cheers! Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users