No announcement yet.

Property "MAX_UPLOAD_SIZE" is not defined

  • Filter
  • Time
  • Show
Clear All
new posts

  • Property "MAX_UPLOAD_SIZE" is not defined

    This exception is thrown when sending an email from OXSE 6.14.0 rev 6 (both with and without attachments). The email is correctly sent and there is no apparent error on the GUI, so this error does not seem to affect the delivery, but the exception is logged into open-xchange.log

    Dec 9, 2009 3:49:25 PM com.openexchange.mail.json.parser.AbstractAttachmentHandler <init>
    SEVERE: CFG-0005 Category=10 Message=Property "MAX_UPLOAD_SIZE" is not defined. exceptionID=-402757732-13
    CFG-0005 Category=10 Message=Property "MAX_UPLOAD_SIZE" is not defined. exceptionID=-402757732-13
            at com.openexchange.configuration.ServerConfig.getInt(
            at com.openexchange.mail.json.parser.AbstractAttachmentHandler.<init>(
            at com.openexchange.mail.json.parser.AbortAttachmentHandler.<init>(
            at com.openexchange.mail.json.parser.MessageParser.parse(
            at com.openexchange.mail.json.parser.MessageParser.parse4Transport(
            at com.openexchange.ajax.Mail.action(
            at com.openexchange.ajax.AJAXServlet.fireUploadEvent(
            at com.openexchange.ajax.Mail.doPost(
            at javax.servlet.http.HttpServlet.service(
            at com.openexchange.ajax.AJAXServlet.service(
            at com.openexchange.ajax.SessionServlet.service(
            at com.openexchange.ajax.PermissionServlet.service(
            at javax.servlet.http.HttpServlet.service(
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(
            at com.openexchange.ajp13.AJPv13Request.response(
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(
            at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(
            at java.util.concurrent.FutureTask$Sync.innerRun(
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$
    The property MAX_UPLOAD_SIZE seems correctly defined (I've not changed it from the standard setup on RHEL 5):
    - => 0
    - => 10485760
    - => 10485760

    I've debugged OX and, at runtime, there is no property named MAX_UPLOAD_SIZE in the ServerConfig class (so the exception is thrown).

    I've also checked this thread
    but the problem seems slightly different...

  • #2

    we are aware of this issue. The cause is that we have switched to a new ConfigrationService and but the implementation still tries to access the property which does not exist any longer. It does not have any influence other than spaming the log file. We're gonna check if and when we're removing the faulty usage.

    Thanks for reporting


    • #3
      Martin, sorry this does not seem to be correct in my eyes.

      There seems to be indeed some configuration attribute missing in the configuration. This appears if the server is upgraded from some older version. As long as this issue is not fixed you should compare your existing configuration with the one from the Debian packages.


      • #4
        I've two different OXSE 6.14 installations, both based on RHEL 5.1.
        The first is the result of an upgrade from OXSE 6.12, the second is a clean OXSE 6.14 installation.
        In both cases, I've noticed this issue. I'll check if Debian packages are somewhat different. Thanks for your support