Attachement problem

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

Attachement problem

Vitantonio Messa
Hi all,

I tried to upload a document (word, 5Mb) to a wiki page that already has
several other attachments.
I got an error: attached there is the error message that XWiki report.

The wiki is part of a wiki farm, version 1.2.2.
Any idea what the problem can be?

Vito


 Error number 3232 in 3: Exception while saving attachment D3.2-Version48HG.doc of document WP3.WebHome
Wrapped Exception: Error number 3201 in 3: Exception while saving document WP3.WebHome
Wrapped Exception: Error number 3211 in 3: Exception while updating archive WP3.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive -790,411,073
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment D3.2-Version48HG.doc of document WP3.WebHome
Wrapped Exception: Error number 3201 in 3: Exception while saving document WP3.WebHome
Wrapped Exception: Error number 3211 in 3: Exception while updating archive WP3.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive -790,411,073
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
        at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:99)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2494)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2477)
        at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:126)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
        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:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:

com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document WP3.WebHome
Wrapped Exception: Error number 3211 in 3: Exception while updating archive WP3.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive -790,411,073
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
        at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:384)
        at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
        at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:87)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2494)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2477)
        at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:126)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
        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:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:

com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception while updating archive WP3.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive -790,411,073
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:203)
        at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:305)
        at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
        at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:87)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2494)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2477)
        at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:126)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
        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:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:

com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while loading archive -790,411,073
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:129)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:110)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:197)
        at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:305)
        at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
        at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:87)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2494)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2477)
        at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:126)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
        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:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:

com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:922)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:947)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadAllRCSNodeInfo(XWikiHibernateVersioningStore.java:208)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:125)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:110)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:197)
        at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:305)
        at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
        at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:87)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2494)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2477)
        at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:126)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
        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:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:

net.sf.cglib.beans.BulkBeanException
        at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo$$BulkBeanByCGLIB$$75c048ec.setPropertyValues()
        at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValuesWithOptimizer(PojoEntityTuplizer.java:212)
        at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:185)
        at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3232)
        at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129)
        at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
        at org.hibernate.loader.Loader.doQuery(Loader.java:717)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
        at org.hibernate.loader.Loader.doList(Loader.java:2145)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
        at org.hibernate.loader.Loader.list(Loader.java:2024)
        at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1533)
        at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore$3.doInHibernate(XWikiHibernateVersioningStore.java:211)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:918)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:947)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadAllRCSNodeInfo(XWikiHibernateVersioningStore.java:208)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:125)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:110)
        at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:197)
        at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:305)
        at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
        at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:87)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2494)
        at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2477)
        at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:126)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
        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:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.lang.NullPointerException
        ... 50 more

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Vitantonio Messa
Hi again,

sorry to annoy you, but I'm still stuck with this error.
Is there a limit in the total size of attachments that a page can contain?
Thanks,

Vito

 

Vitantonio Messa wrote:

> Hi all,
>
> I tried to upload a document (word, 5Mb) to a wiki page that already
> has several other attachments.
> I got an error: attached there is the error message that XWiki report.
>
> The wiki is part of a wiki farm, version 1.2.2.
> Any idea what the problem can be?
>
> Vito
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users

--
Vitantonio Messa, [hidden email]
+358 46 889 48 49 - skype: vitantonio81
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Tiago Rinck Caveden
On Mon, Jul 7, 2008 at 8:10 AM, Vitantonio Messa <[hidden email]>
wrote:

> Hi again,
>
> sorry to annoy you, but I'm still stuck with this error.
> Is there a limit in the total size of attachments that a page can contain?


Not really a fixed but a practical one apparently, take a look:
http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query:attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results

If you turn of attachments versioning in the configuration file it might
help considerably...

Best regards,
--
Tiago Rinck Caveden
http://caveden.multiply.com
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Tiago Rinck Caveden
http://caveden.multiply.com
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Vitantonio Messa
I've turned off attachment versioning, but it didn't help. I still get
the same error..


Tiago Rinck Caveden wrote:

> On Mon, Jul 7, 2008 at 8:10 AM, Vitantonio Messa <[hidden email]>
> wrote:
>
>  
>> Hi again,
>>
>> sorry to annoy you, but I'm still stuck with this error.
>> Is there a limit in the total size of attachments that a page can contain?
>>    
>
>
> Not really a fixed but a practical one apparently, take a look:
> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query:attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
>
> If you turn of attachments versioning in the configuration file it might
> help considerably...
>
> Best regards,
>  

--
Vitantonio Messa, [hidden email]
+358 46 889 48 49 - skype: vitantonio81
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Vitantonio Messa
One thing more: I've also modified mediumblob to longblog in the
database, but the error is still there..

Vito



Vitantonio Messa wrote:

> I've turned off attachment versioning, but it didn't help. I still get
> the same error..
>
>
> Tiago Rinck Caveden wrote:
>  
>> On Mon, Jul 7, 2008 at 8:10 AM, Vitantonio Messa <[hidden email]>
>> wrote:
>>
>>  
>>    
>>> Hi again,
>>>
>>> sorry to annoy you, but I'm still stuck with this error.
>>> Is there a limit in the total size of attachments that a page can contain?
>>>    
>>>      
>> Not really a fixed but a practical one apparently, take a look:
>> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query:attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
>>
>> If you turn of attachments versioning in the configuration file it might
>> help considerably...
>>
>> Best regards,
>>  
>>    
>
>  

--
Vitantonio Messa, [hidden email]
+358 46 889 48 49 - skype: vitantonio81
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Guillaume Lerouge
Hi Vitantonio,

How many attachments do you have on that page ? What is their total size ?
Is the issue happening on one specific page or on many different ones ? Is
there any specific content on the page that may trigger the issue ? What
version of XWiki Enterprise are you using ? What are the memory settings of
your JVM ? Of the hardware it's running on ? Which DB are you using ?

Basically, it would be way faster and easier for you to get an helpful
answer if you provided us with as much information as you could about your
current configuration rather than sending it bit by bit ;-)

Guillaume

On Mon, Jul 7, 2008 at 12:17 PM, Vitantonio Messa <[hidden email]>
wrote:

> One thing more: I've also modified mediumblob to longblog in the
> database, but the error is still there..
>
> Vito
>
>
>
> Vitantonio Messa wrote:
> > I've turned off attachment versioning, but it didn't help. I still get
> > the same error..
> >
> >
> > Tiago Rinck Caveden wrote:
> >
> >> On Mon, Jul 7, 2008 at 8:10 AM, Vitantonio Messa <
> [hidden email]>
> >> wrote:
> >>
> >>
> >>
> >>> Hi again,
> >>>
> >>> sorry to annoy you, but I'm still stuck with this error.
> >>> Is there a limit in the total size of attachments that a page can
> contain?
> >>>
> >>>
> >> Not really a fixed but a practical one apparently, take a look:
> >>
> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query:attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
> >>
> >> If you turn of attachments versioning in the configuration file it might
> >> help considerably...
> >>
> >> Best regards,
> >>
> >>
> >
> >
>
> --
> Vitantonio Messa, [hidden email]
> +358 46 889 48 49 - skype: vitantonio81
> COSS - The Finnish Centre for Open Source Solutions
> @ Technology Centre Hermia Ltd.
> Hermiankatu 1, FIN-33720 Tampere, FINLAND
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Vitantonio Messa
Sorry, you're right ;)

XWiki 1.2.2 in virtual mode
MySQL 5
The JVM is using 300Mb of memory

The error is only in one page, there are already 47 attachments (doc,
pdf and images) and their total size is 55Mb more or less. Even trying
to add an image of few Kb, generates the error.



Guillaume Lerouge wrote:

> Hi Vitantonio,
>
> How many attachments do you have on that page ? What is their total size ?
> Is the issue happening on one specific page or on many different ones ? Is
> there any specific content on the page that may trigger the issue ? What
> version of XWiki Enterprise are you using ? What are the memory settings of
> your JVM ? Of the hardware it's running on ? Which DB are you using ?
>
> Basically, it would be way faster and easier for you to get an helpful
> answer if you provided us with as much information as you could about your
> current configuration rather than sending it bit by bit ;-)
>
> Guillaume
>
> On Mon, Jul 7, 2008 at 12:17 PM, Vitantonio Messa <[hidden email]>
> wrote:
>
>  
>> One thing more: I've also modified mediumblob to longblog in the
>> database, but the error is still there..
>>
>> Vito
>>
>>
>>
>> Vitantonio Messa wrote:
>>    
>>> I've turned off attachment versioning, but it didn't help. I still get
>>> the same error..
>>>
>>>
>>> Tiago Rinck Caveden wrote:
>>>
>>>      
>>>> On Mon, Jul 7, 2008 at 8:10 AM, Vitantonio Messa <
>>>>        
>> [hidden email]>
>>    
>>>> wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>> Hi again,
>>>>>
>>>>> sorry to annoy you, but I'm still stuck with this error.
>>>>> Is there a limit in the total size of attachments that a page can
>>>>>          
>> contain?
>>    
>>>>>          
>>>> Not really a fixed but a practical one apparently, take a look:
>>>>
>>>>        
>> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query:attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
>>    
>>>> If you turn of attachments versioning in the configuration file it might
>>>> help considerably...
>>>>
>>>> Best regards,
>>>>
>>>>
>>>>        
>>>      
>> --
>> Vitantonio Messa, [hidden email]
>> +358 46 889 48 49 - skype: vitantonio81
>> COSS - The Finnish Centre for Open Source Solutions
>> @ Technology Centre Hermia Ltd.
>> Hermiankatu 1, FIN-33720 Tampere, FINLAND
>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>    
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>  

--
Vitantonio Messa, [hidden email]
+358 46 889 48 49 - skype: vitantonio81
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Attachement problem

Sergiu Dumitriu-2
In reply to this post by Vitantonio Messa
Vitantonio Messa wrote:
> Hi all,
>
> I tried to upload a document (word, 5Mb) to a wiki page that already has
> several other attachments.
> I got an error: attached there is the error message that XWiki report.
>
> The wiki is part of a wiki farm, version 1.2.2.
> Any idea what the problem can be?

The problem is not in the attachments, but in the RCS versioning. There were some problems there,
you could either upgrade the farm to a newer version, or you could try to clean the history for that
document. Unfortunately, doing that from the wiki will not work because the archive is already
broken, so you must do it the hard way: directly from the database. Execute this: (mysql syntax)

delete from xwikircs where xwr_docid in (select xwd_id from xwikidoc where xwd_fullname =
'Document.Name');

(replace with your document's name)

--
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: Attachement problem

Vitantonio Messa
Thanks very much Sergiu, that worked!
I think, anyway, we will upgrade the wiki farm to a newer version soon.

Vito

Sergiu Dumitriu wrote:

> Vitantonio Messa wrote:
>  
>> Hi all,
>>
>> I tried to upload a document (word, 5Mb) to a wiki page that already has
>> several other attachments.
>> I got an error: attached there is the error message that XWiki report.
>>
>> The wiki is part of a wiki farm, version 1.2.2.
>> Any idea what the problem can be?
>>    
>
> The problem is not in the attachments, but in the RCS versioning. There were some problems there,
> you could either upgrade the farm to a newer version, or you could try to clean the history for that
> document. Unfortunately, doing that from the wiki will not work because the archive is already
> broken, so you must do it the hard way: directly from the database. Execute this: (mysql syntax)
>
> delete from xwikircs where xwr_docid in (select xwd_id from xwikidoc where xwd_fullname =
> 'Document.Name');
>
> (replace with your document's name)
>
>  

--
Vitantonio Messa, [hidden email]
+358 46 889 48 49 - skype: vitantonio81
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users