<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hello everybody,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>due to work requirements I was asked to move development of our OpenCms to a PostgreSQL database instead of the usual mySQL</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I decided to do a clean install of Tomcat, PostgreSQL and OpenCms, when I go through the setup wizard of the OpenCms, I chose ProstgreSQL as the database, chose postgres database for installation, everything goes just fine, it starts installing and importing modules, then around 5 minutes into the setup it finishes the installation telling me the Status is ok (with the green tick) however, looking at the output this is what shows up just before it finishes:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-----------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2656:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2655:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>Shutdown completed, total uptime was 00:06:13.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2654:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>Shutting down OpenCms, version 6.2.1 in web application "opencms"</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2653:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2652:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2651:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>The OpenCms system used for the setup will now shut down.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2650:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>The setup is finished!</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2649:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2648:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2647:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>Admin@Offline>exit</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2646:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>Admin@Offline></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2645:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>java.lang.OutOfMemoryError: Java heap space</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2644:<SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>( 42 / 56 ) Importing /demopages/search-demo/example-documents/Alkacon_OpenCms_6_Business.pdf ... Exception while calling method "importModulesFromSetupBean".</DIV><DIV>------------------------------<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>As you can see on line 2645 it says (java.lang.OutOfMemoryError: Java heap space) it is giving an out of memory error. checking around, it seems that this is supposed to be a mySQL limitation, where you should make the <FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">max_allowed_packet larger around 16MB, but usually that error happen when trying to import a large module or files into opencms after installation, also I could not find any reference to it in connection with PostgreSQL!</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">Even though, in the setup output it says the setup is finished and all is fine, when you do try to go to opencms/index.jsp it is not found, and a lot of the pages naturally are not found either, since the setup cut off before it installed them all.</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">Has anybody encountered this problem? any suggestions, to how to go around it and fix it?</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I appreciate any help you can give,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Relevant environment setup:</DIV><DIV>OSX 10.4.6 (powePC)</DIV><DIV>Tomcat 5.5.17</DIV><DIV>PostgreSQL 8.1.4</DIV><DIV>OpenCms 6.2.1</DIV><DIV>Physical memory : 1GB </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV>Gaith</DIV><DIV>-----------------------------------</DIV><DIV>Gaith Bader</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Computer Systems Officer</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">School of Computer Science and Engineering</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The University of New South Wales</DIV><DIV>-----------------------------------</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV></BODY></HTML>