Hi Haru, You saved my day! Actually I was using nginx as a reverse proxy for my installation and there is parameter on nginx (*client_max_body_size)* that limits PUT and POST requests and the default value is 1Mb. I just changed it to 0 (unlimited) and everything is working fine now.
Thanks a lot for your help, Marcelo On Tue, Mar 5, 2013 at 5:21 PM, Haru <[email protected]> wrote: > Hi! > > Try to check MySQL limitations (max_allowed_packet) and/or web server in > front of Tomcat (if present). Hope it helps. > > > Вторник, 5 марта 2013, 16:38 -03:00 от Marcelo Vaz <[email protected] > >: > >Folks, > > > >Has anyone faced the same issue? > > > >My config: > >Mysql 5.1 > >Tomcat6 > >XEM WAR package 4.5.1 installed manually > >File system storage enabled on installation, so no need to port from > >database storage. > >XWikiPreferences max upload size changed to 1Gb (1073741824 bytes). > > > >Details of the issue: > >It doesn't matter if I try to attach on the main wiki on any > >workspace. The result is the same: > >The upload progress to around 1Mb. After retring for 1 or 2 times the > >following error message is displayed: > >"An error occured while uploading <file>..." > > > >Here my xwiki.cfg (without the comments to make it short): > >xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1, xhtml/1.0, > >html/4.01, plain/1.0, docbook/4.4 > >xwiki.encoding=UTF-8 > >xwiki.section.edit=1 > >xwiki.section.depth=2 > >xwiki.backlinks=1 > >xwiki.tags=1 > >xwiki.store.attachment.hint=file > >xwiki.store.attachment.versioning.hint=file > >xwiki.store.attachment.recyclebin.hint=file > >xwiki.store.cache=0 > >xwiki.store.migration=0 > >xwiki.store.migration.databases=all > >xwiki.virtual=1 > >xwiki.virtual.redirect= > http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist > >xwiki.inactiveuser.allowedpages= > >xwiki.authentication.validationKey=totototototototototototototototo > >xwiki.authentication.encryptionKey=titititititititititititititititi > >xwiki.authentication.cookiedomains= > >xwiki.authentication.logoutpage=(/|/[^/]+/|/wiki/[^/]+/)logout/* > >xwiki.authentication.unauthorized_code=200 > >xwiki.editcomment=1 > >xwiki.editcomment.mandatory=0 > >xwiki.authentication.ldap.server=127.0.0.1 > >xwiki.authentication.ldap.port=389 > > >xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP > >xwiki.authentication.ldap.bind_pass={1} > >xwiki.authentication.ldap.base_DN= > > >xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail > >xwiki.authentication.ldap.update_user=1 > >xwiki.authentication.ldap.trylocal=1 > >xwiki.defaultskin=colibri > >xwiki.defaultbaseskin=colibri > >xwiki.title.compatibility=1 > >xwiki.plugins=\ > > com.xpn.xwiki.monitor.api.MonitorPlugin,\ > > com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\ > > com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\ > > com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin,\ > > com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\ > > com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\ > > com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin,\ > > com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\ > > com.xpn.xwiki.plugin.feed.FeedPlugin,\ > > com.xpn.xwiki.plugin.google.GooglePlugin,\ > > com.xpn.xwiki.plugin.mail.MailPlugin,\ > > com.xpn.xwiki.plugin.packaging.PackagePlugin,\ > > com.xpn.xwiki.plugin.svg.SVGPlugin,\ > > com.xpn.xwiki.plugin.charts.ChartingPlugin,\ > > com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\ > > com.xpn.xwiki.plugin.image.ImagePlugin,\ > > com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\ > > com.xpn.xwiki.plugin.lucene.LucenePlugin,\ > > com.xpn.xwiki.plugin.diff.DiffPlugin,\ > > com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\ > > com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\ > > com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\ > > com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\ > > com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \ > > com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \ > > com.xpn.xwiki.plugin.tag.TagPlugin > >xwiki.stats.default=0 > >xwiki.plugin.image.cache.capacity=30 > >_______________________________________________ > >users mailing list > >[email protected] > >http://lists.xwiki.org/mailman/listinfo/users > > > Kind regards, > > Dmitry > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
