XWiki Platform

Cannot import xar file in empty xwiki running on standard tomcat5.5

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 3.1
  • Fix Version/s: None
  • Component/s: Old Core
  • Labels:
    None
  • keywords:
    Tomcat,Xar,Import,Setup
  • Difficulty:
    Unknown

Description

When empty xwiki instance is created and xar file is imported, it does not work without any warning on tomcat5.5, from ubuntu 8.04 standard repository but work on tomcat6 from apache website.
To reproduce bug, set-up ubuntu 8.04 x86_64 server with tomcat5.5 from ubuntu repository (sudo apt-get install tomcat5.5) and tomcat 6.0.33 from apache http://tomcat.apache.org/download-60.cgi
Then try to import xar file. note, that in one case import simply doesn't do anything, but work on other.

Activity

Hide
Yevsey Beylinson added a comment -

identical problem with tomcat 7 on fedora 15 fresh install mysql

Show
Yevsey Beylinson added a comment - identical problem with tomcat 7 on fedora 15 fresh install mysql
Hide
Yevsey Beylinson added a comment -

seems to be related to the SQL max_allowed_packet size being too small. After changing it to a higher value, everything seems to be working as it should.

Show
Yevsey Beylinson added a comment - seems to be related to the SQL max_allowed_packet size being too small. After changing it to a higher value, everything seems to be working as it should.
Hide
Valdis Vitolins added a comment - - edited

I cannot agree, that this is root cause, because I in both cases ran it with the same mysql instance and configuration in /etc/mysql/my.cnf file with
max_allowed_packet = 512M
and only difference was that one or other tomcat instance was used.

Show
Valdis Vitolins added a comment - - edited I cannot agree, that this is root cause, because I in both cases ran it with the same mysql instance and configuration in /etc/mysql/my.cnf file with max_allowed_packet = 512M and only difference was that one or other tomcat instance was used.
Hide
Yevsey Beylinson added a comment -

what's your maxPostSize in the failing tomcat instance.

Show
Yevsey Beylinson added a comment - what's your maxPostSize in the failing tomcat instance.
Hide
Valdis Vitolins added a comment -

It is not set explicitly for any instance (grepping for maxPostSize dindn't show anything except documentation), so, from documentation:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
it should be 2097152 (2 megabytes) in both cases.

Show
Valdis Vitolins added a comment - It is not set explicitly for any instance (grepping for maxPostSize dindn't show anything except documentation), so, from documentation: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html http://tomcat.apache.org/tomcat-6.0-doc/config/http.html it should be 2097152 (2 megabytes) in both cases.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Date of First Response: