I can't attach files to content

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

I can't attach files to content

Dean Del Ponte-2
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 execute JDBC batch
update
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
at
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:222)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2359)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:855)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:826)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:628)
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)
Caused by: java.sql.BatchUpdateException: Incorrect string value:
'\xEF\x83\xA0 IT...' for column 'XWR_PATCH' at row 1
at
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2018)
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1454)
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)
... 59 more
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

Dean Del Ponte-2
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 <[hidden email]>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 ***
>
> 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 execute JDBC batch
> update
> at
> org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
>  at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
> at
> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
>  at
> org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
> at
> org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
>  at
> org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
> at
> org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:222)
>  at
> org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2359)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
>  at
> org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
> at
> org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
>  at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
> at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
>  at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
> at
> org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
>  at
> org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
> at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
>  at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
> at
> org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
>  at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:855)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:826)
>  at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:628)
> 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)
> Caused by: java.sql.BatchUpdateException: Incorrect string value:
> '\xEF\x83\xA0 IT...' for column 'XWR_PATCH' at row 1
> at
> com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2018)
>  at
> com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1454)
> 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)
> ... 59 more
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

Roman Muntyanu
In reply to this post by Dean Del Ponte-2
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 ExceptionWhenSavingText-StackTrace.txt
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

vmassol
Administrator
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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

2smart4u
2010/3/31 Vincent Massol <[hidden email]>:
>
> 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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

vmassol
Administrator

On Mar 31, 2010, at 4:01 PM, 2smart4u wrote:

> 2010/3/31 Vincent Massol <[hidden email]>:
>>
>> 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?

you need to help yourself a bit...

you got an exception. Try googling it...

-Vincent

>
> 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
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

2smart4u
Vincent,

*I* don't have any exception since I'm still on 2.2.2

My - what I believe simple - question was, if 2.2.4 is stable or if
there are any issue which might be a show-stopper.

So can you give an statement if 2.2.4 has a regression concerning attachements?

Btw, asking auntie Google regarding "xwiki 2.2.4 attachement"... is
giving way too many hits - that's why I'm asking here

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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

Sergiu Dumitriu-2
In reply to this post by Dean Del Ponte-2
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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

2smart4u
On Wed, Mar 31, 2010 at 6:36 PM, Sergiu Dumitriu <[hidden email]> 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
> [hidden email]
> 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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

Sergiu Dumitriu-2
On 03/31/2010 06:52 PM, 2smart4u wrote:

> On Wed, Mar 31, 2010 at 6:36 PM, Sergiu Dumitriu<[hidden email]>  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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

2smart4u
Sergiu,

hope you don't kill me for this questions, but...

On Wed, Mar 31, 2010 at 7:35 PM, Sergiu Dumitriu <[hidden email]> 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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

Sergiu Dumitriu-2
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 Dumitriu<[hidden email]>  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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

2smart4u
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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: I can't attach files to content

Dean Del Ponte-2
Thanks everyone.  Modifying my database to be utf8 fixed everything!

On Wed, Mar 31, 2010 at 1:12 PM, 2smart4u <[hidden email]> 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
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users