Menu

#3 Upload Attachment Exception

closed
nobody
None
5
2007-06-19
2007-06-08
Anonymous
No

When i include a large attachment as part of one of my JTRAC items i get an maxuploadsizeexceedexceopion. Maxium upload size of 5120000 exceeded.

Is this a setting i can set in JTRAC or in TOMCAT.

please send the reply to james.dawkins@sita.co.za.

thx

james

Discussion

  • Peter Thomas

    Peter Thomas - 2007-06-08

    Logged In: YES
    user_id=523749
    Originator: NO

    I think you are using JTrac 2.0

    You can edit the value in "WEB-INF/jtrac-servlet.xml" You should see a section like this:

    <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
    <property name="maxUploadSize" value="5120000"/>
    </bean>

    Let me know if this helps.

    Thanks,

    Peter.

    P.S. Just checked in for JTrac 2.1.0 feature where this can be set on the "Settings" page, and the exception is shown gracefully as a form error.

     
  • Peter Thomas

    Peter Thomas - 2007-06-19
    • status: open --> closed
     
  • Peter Thomas

    Peter Thomas - 2007-06-19

    Logged In: YES
    user_id=523749
    Originator: NO

    closing this since no response

     

Log in to post a comment.