Re: Make Scarab accept attachments with 1GB file size

Johannes Höchstädter <[email protected]> Thu, 04 Mar 2010 10:29:48 +0100
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
------=_Part_7920_14087402.1267694009750
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,

I never did that before, but I think you have to modify Scarab's intake.xml=
.

Look for "group name=3D"Attachment"" and modify value for "maxLength" for
node "rule" in "File", rebuild and restart.

I cannot see what effect the property changes you mentioned should have
for Scarab as the mentioned property is not used in any other file Sf
scarab, except the property file...

Good Luck.

Am 04.03.2010 02:52, schrieb FRED.YY.LIN =E6=9E=97=E5=AE=A5=E5=BB=B6:
> Dear All,
> I set scarab.file.max.size to around 1.5 GB (10 times of the original
> defined value) and reboot Tomcat and MySQL again
> And then I attached a file sizd 170 MB, the result was something like
> "Alert! this issue ID null is invalid"
> but when I put a file less than 150 MB which was the original system
> configuration value.
> File was attached to scarab successfully.
> It seems that I cannot only increase the scarab.file.max.size value to
> make the maxinum upload file size bigger.
> Does anyone know what else I shall do the make Scarab accept
> attachments with the size of 1GB ?
> Thanks,
> Fred
> *************************************************************************=
************************************************
> This email message, including any attachments, is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or distribution
> is prohibited. If you are not the intended recipient, please contact
> the sender by reply e-mail and destroy all copies of the original
> message. [Delta Electronic, INC. Taiwan]
> *************************************************************************=
************************************************
>

--=20

Johannes Ho"chsta"dter
www.memocomp.de

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D24=
54849

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].
------=_Part_7920_14087402.1267694009750
Content-Type: text/html; charset=Big5
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content=3D"text/html; charset=3DBig5" http-equiv=3D"Content-Type">
  <title></title>
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
Hi,<br>
<br>
I never did that before, but I think you have to modify Scarab's
intake.xml.<br>
<br>
Look for "group name=3D"Attachment"" and modify value for "maxLength" for
node "rule" in "File", rebuild and restart. <br>
<br>
I cannot see what effect the property changes you mentioned should have
for Scarab as the mentioned property is not used in any other file Sf
scarab, except the property file...<br>
<br>
Good Luck.<br>
<br>
Am 04.03.2010 02:52, schrieb FRED.YY.LIN =AAL=AB=C9=A9=B5:
<blockquote
 cite=3D"mid:[email protected]"
 type=3D"cite">
  <title></title>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DBig5">
  <meta content=3D"MSHTML 6.00.2900.3603" name=3D"GENERATOR">
  <div><span class=3D"057114301-04032010"><font color=3D"#0000ff"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9">Dear All,</font></span></div>
  <div><span class=3D"057114301-04032010"></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#0000ff"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9">I set&nbsp;</font></span><span class=3D"05=
7114301-04032010">&nbsp;</span>scarab.file.max.size<span
 class=3D"057114301-04032010"><font color=3D"#0000ff" face=3D"=B7s=B2=D3=A9=
=FA=C5=E9">&nbsp;&nbsp;to
around&nbsp;1.5 GB (10 times of the original defined value) and reboot
Tomcat and MySQL again</font></span></div>
  <div><span class=3D"057114301-04032010"></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#0000ff"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9">And then&nbsp;I attached a file sizd 170 M=
B,&nbsp; the result
was&nbsp;something like &nbsp;"Alert! this&nbsp;issue ID null is invalid"</=
font></span></div>
  <div><span class=3D"057114301-04032010"></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#0000ff"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9">but when I put a file less than 150 MB whi=
ch was the
original system configuration value. </font></span></div>
  <div><span class=3D"057114301-04032010"></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#0000ff"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9">File was attached to scarab successfully.<=
/font></span></div>
  <div><span class=3D"057114301-04032010"></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#0000ff"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9">It seems that I cannot only increase the <=
font
 color=3D"#000000">scarab.file.max.size</font><span
 class=3D"057114301-04032010"><font color=3D"#0000ff" face=3D"=B7s=B2=D3=A9=
=FA=C5=E9">&nbsp;<font
 color=3D"#000000"> value to make the maxinum upload file size bigger.</fon=
t></font></span></font></span></div>
  <div><span class=3D"057114301-04032010"><font color=3D"#000000"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9"><span class=3D"057114301-04032010"></span>=
</font></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#000000"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9"><span class=3D"057114301-04032010">Does an=
yone know what
else I shall do the make Scarab accept attachments with the size of 1GB
?</span></font></span></div>
  <div><span class=3D"057114301-04032010"><font color=3D"#000000"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9"><span class=3D"057114301-04032010"></span>=
</font></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#000000"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9"><span class=3D"057114301-04032010">Thanks,=
</span></font></span></div>
  <div><span class=3D"057114301-04032010"><font color=3D"#000000"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9"><span class=3D"057114301-04032010"></span>=
</font></span>&nbsp;</div>
  <div><span class=3D"057114301-04032010"><font color=3D"#000000"
 face=3D"=B7s=B2=D3=A9=FA=C5=E9"><span class=3D"057114301-04032010">Fred</s=
pan></font></span></div>
  <table>
    <tbody>
      <tr>
        <td bgcolor=3D"#ffffff"><font color=3D"#000000">*******************=
***************************************************************************=
***************************<br>
This email message, including any attachments, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original
message. [Delta Electronic, INC. Taiwan]<br>
***************************************************************************=
**********************************************<br>
        </font></td>
      </tr>
    </tbody>
  </table>
</blockquote>
<br>
<pre class=3D"moz-signature" cols=3D"72">--=20

Johannes H&ouml;chst&auml;dter
<a class=3D"moz-txt-link-abbreviated" href=3D"http://www.memocomp.de">www.m=
emocomp.de</a></pre>
</body>
</html>

------=_Part_7920_14087402.1267694009750--