<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space">
<DIV dir=ltr align=left>Hi Jan,.<BR>which version of Opencms are you trying to
use?<BR>I'm using successfully the 6.2.1 on Postgresql 8.1.3 on Linux
envinroment.<BR>Try to follow the Gaith's suggestion, sometimes the JDBC driver
is using an huge amount of memory. <BR>But in your stack trace you haven't
OutOfMemoryException.<BR><BR>I will try to re-test the postgresql's driver if
you are using a different version of OpenCMS<BR><BR>Keep me
informed.<BR>Ivan</DIV><BR>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Da:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>Per conto di </B>Gaith
Bader<BR><B>Inviato:</B> luned́ 4 dicembre 2006 5.20<BR><B>A:</B> The OpenCms
mailing list<BR><B>Oggetto:</B> Re: [opencms-dev] Exception after installing
opencms on a postgresqldatabase<BR></FONT><BR></DIV>
<DIV></DIV>Hello Jan,
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>with Postgres I have noticed that even though the wizard says installation
successful, sometimes if you actually look at the details you would notice it
says that there was a Java out of memory error. </DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>If this is what actually happened in your case you can search the opencms
mailing list archives and you would find more details on the subject.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>However, what that usually means is that it is running out of memory, if
you allocated more memory to tomcat the installation would work, depending on
your available memory this addition is what worked for me:</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>CATALINA_OPTS="-Xms256m -Xmx512m"</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>You add the above line (with the appropriate memory depending on your
system, to your tomcat startup script.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Regards,</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Gaith</DIV>
<DIV><BR>
<DIV>
<DIV>On 04/12/2006, at 2:50 AM, Jan Roehrich wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">Hello list,<BR><BR>this is my first post. I want to
check out opencms but I have an error after doing a full installation on a
postgres 8.1 database.<BR><BR>I installed the opencms.war and used the setup
wizard. After the installation procedure the wizard says "installation
successful" but when it tries to forward to the opencms workplace on <A
href="http://localhost/opencms/opencms/">http://localhost/opencms/opencms/</A>
I get an error 404 and a CmsDbEntryNotFoundException is logged. I repeated
thes steps several times - always with same result.<BR><BR>Hope someone has an
idea or just a hint where to look at. <BR><BR>Best
regards<BR><BR>Jan<BR><BR>----------------------------------------------------<BR>Extract
from
opencms.log<BR>----------------------------------------------------<BR><BR>02
Dez 2006 23:30:44,654 INFO [workplace.tools.CmsToolManager : 175] . Tool
Manager config : Tool Manager is being initialized<BR>02 Dez 2006 23:30:44,664
WARN [workplace.tools.CmsToolManager: 211] . Tool Manager config : unknown
error during configuration of the admin tool root.
<BR>org.opencms.db.CmsDbEntryNotFoundException: Error reading all resources on
the path "/system/workplace/admin/" that have property
"admintoolhandler-class". <BR>at
org.opencms.db.CmsDbEntryNotFoundException.createException
(CmsDbEntryNotFoundException.java:74)<BR>at
org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)<BR>at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)<BR>at
org.opencms.db.CmsSecurityManager.readResourcesWithProperty
(CmsSecurityManager.java:3897)<BR>at
org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:2783)<BR>at
org.opencms.workplace.tools.CmsToolManager.configureToolRoot(CmsToolManager.java:608)<BR>at
org.opencms.workplace.tools.CmsToolManager.configure(CmsToolManager.java:201)<BR>at
org.opencms.workplace.CmsWorkplaceManager.initialize(CmsWorkplaceManager.java:852)<BR>at
org.opencms.main.OpenCmsCore.initConfiguration (OpenCmsCore.java:1001)<BR>at
org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1111)<BR>at
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1527)<BR>at
org.opencms.main.OpenCmsServlet.init (OpenCmsServlet.java:234)<BR>at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)<BR>at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)<BR>at
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:130)<BR>at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<BR>at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<BR>at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<BR>at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<BR>at
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)<BR>at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)<BR>at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
:664)<BR>at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<BR>at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<BR>at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)<BR>at java.lang.Thread.run(Thread.java:595)<BR>Caused
by: org.opencms.db.CmsDbEntryNotFoundException: Property definition with name
"admintoolhandler-class" not found.<BR>at
org.opencms.db.generic.CmsVfsDriver.readPropertyDefinition
(CmsVfsDriver.java:1178)<BR>at
org.opencms.db.CmsDriverManager.readPropertyDefinition(CmsDriverManager.java:5344)<BR>at
org.opencms.db.CmsDriverManager.readResourcesWithProperty(CmsDriverManager.java:5681)<BR>at
org.opencms.db.CmsSecurityManager.readResourcesWithProperty(CmsSecurityManager.java:3895)<BR>...
22 more<BR>02 Dez 2006 23:30:44,674 INFO [workplace.tools.CmsToolManager: 192]
. Tool Manager config : Tool Manager skipped root explorer, since resource
/system/workplace/explorer/ does not exist. <BR>02 Dez 2006 23:30:44,674 INFO
[ org.opencms.main.OpenCmsCore:2062] . Runlevel change : Switching from 2 to
4<BR>02 Dez 2006 23:30:44,675 INFO [ org.opencms.main.OpenCmsCore: 329] .
Added RequestHandler : 404 ( org.opencms.main.OpenCmsServlet)<BR>02 Dez 2006
23:30:44,675 INFO [ org.opencms.main.OpenCmsCore:1301] . OpenCms is running! :
Total startup time was 00:00:03<BR><BR>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
<DIV style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">This mail is sent to you from the opencms-dev mailing
list</DIV>
<DIV style="MARGIN: 0px">To change your list options, or to unsubscribe from
the list, please visit</DIV>
<DIV style="MARGIN: 0px"><A
href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</A></DIV></BLOCKQUOTE></DIV><BR>
<DIV><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2">
<DIV>____</DIV></SPAN></SPAN></SPAN></DIV><BR></DIV></BODY></HTML>