<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C4910B.DDDDB9A0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="time"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:DontDisplayPageBoundaries/>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi <span class=SpellE>Chis</span>, and
all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I’ve tried to publish a folder with
+/- 25 MB but I got exception (see below):<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>When I changed the java <span
class=SpellE>vm</span> to –Xms128m –Xmx256m and I <span
class=GramE>was</span> able to publish the folder.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>But I think it’s a memory leak so I updated
the <span class=SpellE>CmsResourceBroker</span> but I still got the following
exception:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Anyone can tell me why this is happening
and how to resolve this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Rodrigo Baptista<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><st1:time Hour="16" Minute="24"><font size=2 color=navy
 face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>16:24</span></font></st1:time><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>:<span class=GramE>33,936 ERROR [STDERR] <span class=SpellE>java.lang.OutOfMemoryError</span></span><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:time Hour="16" Minute="24"><font size=2 color=navy
 face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>16:24</span></font></st1:time><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>:34,637 <span class=GramE>WARN<span style='mso-spacerun:yes'> 
</span>[</span><span class=SpellE>jbossweb</span>] WARNING: Exception for
/opencms/opencms/system/workplace/action/publish_resource.html?action=showPublishResult<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>java.lang.NullPointerException</span></font></span><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>com.opencms.file.CmsRequestContext.getSiteRoot</span>(CmsRequestContext.java:532)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>com.opencms.file.CmsObject.getSiteRoot</span>(CmsObject.java:4051)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>com.opencms.file.CmsObject.readFile</span>(CmsObject.java:2895)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>com.opencms.core.OpenCms.initResource</span>(OpenCms.java:793)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>com.opencms.core.OpenCmsHttpServlet.doGet</span>(OpenCmsHttpServlet.java:306)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>javax.servlet.http.HttpServlet.service</span>(HttpServlet.java:740)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>javax.servlet.http.HttpServlet.service</span>(HttpServlet.java:853)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.jetty.servlet.ServletHolder.handle</span>(ServletHolder.java:366)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.jetty.servlet.WebApplicationHandler.dispatch</span>(WebApplicationHandler.java:293)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>  </span><span
style='mso-spacerun:yes'>      </span><span class=GramE>at</span> <span
class=SpellE>org.mortbay.jetty.servlet.ServletHandler.handle</span>(ServletHandler.java:581)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.http.HttpContext.handle</span>(HttpContext.java:1687)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.jetty.servlet.WebApplicationContext.handle</span>(WebApplicationContext.java:544)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>     
</span><span style='mso-spacerun:yes'>  </span><span class=GramE>at</span> <span
class=SpellE>org.mortbay.http.HttpContext.handle</span>(HttpContext.java:1637)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.http.HttpServer.service</span>(HttpServer.java:875)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.jboss.jetty.Jetty.service</span>(Jetty.java:543)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.http.HttpConnection.service</span>(HttpConnection.java:806)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.http.HttpConnection.handleNext</span>(HttpConnection.java:956)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.http.HttpConnection.handle</span>(HttpConnection.java:823)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.http.SocketListener.handleConnection</span>(SocketListener.java:203)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.util.ThreadedServer.handle</span>(ThreadedServer.java:290)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>org.mortbay.util.ThreadPool$JobRunner.run</span>(ThreadPool.java:743)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><span style='mso-spacerun:yes'>       
</span><span class=GramE>at</span> <span class=SpellE>java.lang.Thread.run</span>(Thread.java:536)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Rodrigo Baptista
[mailto:rbaptista@criticalsoftware.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> terça-feira, 31 de Agosto de
2004 16:53<br>
<b><span style='font-weight:bold'>To:</span></b> 'opencms-dev@opencms.org'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Error while publishing a
big folder</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Dear all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’m using OpenCms 5.0.1 with MySql. This version of
MySql has a variable called max_allowed_packet that limits the size of the file
we upload (mine max_allowed_packet = 16M ), so I only can upload files to 16MB
of size. When I upload files which have a max of 16MB one by one everything is
ok, but when a do “publish directly” under of folder where these
files are (i.e folder size > 16 MB), the OpenCms simply crashes. I thought
that publishing a folder was simply a insert/update of the tables where the
online resources and files <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>were.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I searched the mailing lists and bug tracking and I
didn’t found anything relating with this. Anyone can tell me why this is
happening and how to resolve this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Rodrigo Baptista</span></font><b><font color="#b23040"><span
style='color:#B23040;mso-ansi-language:PT;font-weight:bold;mso-no-proof:yes'> </span></font></b><span
lang=PT style='mso-ansi-language:PT;mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=PT
style='font-size:12.0pt;mso-ansi-language:PT'><o:p> </o:p></span></font></p>

</div>

<br><br><Font size="1" color="#0000ff">DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise dissimenate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard-copy version if verification is required. Critical Software.</Font><br><br>
</body>

</html>