Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 13945 invoked from network); 25 Jan 2008 10:49:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 10:49:32 -0000 Received: (qmail 14956 invoked by uid 500); 25 Jan 2008 10:49:22 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 14913 invoked by uid 500); 25 Jan 2008 10:49:22 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 14904 invoked by uid 99); 25 Jan 2008 10:49:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 02:49:21 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.246.118.4] (HELO gozo.interway.ch) (194.246.118.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 10:49:07 +0000 Received: from zhnbdegi07 (unknown [217.162.30.10]) (Authenticated sender: decurtins@genesiscom.ch) by gozo.interway.ch (Postfix) with ESMTP id F11D5E1FE for ; Fri, 25 Jan 2008 11:48:59 +0100 (CET) Reply-To: From: "Gian Luca Decurtins" To: Subject: RE: Apache Roller 4.0 Installation with Derby Date: Fri, 25 Jan 2008 11:49:00 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <4798D018.4050606@ngasi.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Scanned: ClamAV 0.92/5550/Fri Jan 25 08:02:45 2008 on gozo.interway.ch X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hi again > Was Tomcat downloaded from tomcat.apache.org? Is it a Sun JDK? Or are > they the 3rd party packaged default Linux installs? I've installed Tomcat with the YaST Package Manager. The version of Apache Tomcat is 5.5.20. Java has been also installed through the package management (java-1_5_0-sun-devel, java-1_5_0-sun). -- 8< -- $ java -version java version "1.5.0_13" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) -- >8 -- I also installed Derby, JavaMail and JAF with the package manager. If the link wasn't automatically created I copied the necessary files (derby.jar, mail.jar, activation.jar) to the common/lib directory. Then I created the roller-custom.properties in WEB-INF/classes directory. -- 8< -- $ more roller-custom.properties installation.type=auto database.configurationType=jdbc database.jdbc.driverClass=org.apache.derby.jdbc.EmbeddedDriver database.jdbc.connectionURL=jdbc:derby:/srv/www/tomcat55/base/rollerdb;creat e=true mail.configurationType=properties mail.hostname=localhost -- >8 -- With this configuration I get the following output in logs/roller.log: -- 8< -- INFO 2008-01-25 11:20:43,399 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JDBC_PROPERTIES INFO 2008-01-25 11:20:43,403 DatabaseProvider:successMessage - -- Using JDBC driver class: org.apache.derby.jdbc.EmbeddedDriver INFO 2008-01-25 11:20:43,404 DatabaseProvider:successMessage - -- Using JDBC connection URL: jdbc:derby:/srv/www/tomcat55/base/rollerdb;create=true INFO 2008-01-25 11:20:43,405 DatabaseProvider:successMessage - -- Using JDBC username: INFO 2008-01-25 11:20:43,406 DatabaseProvider:successMessage - -- Using JDBC password: [hidden] INFO 2008-01-25 11:20:44,165 DatabaseProvider:successMessage - SUCCESS: loaded JDBC driver class [org.apache.derby.jdbc.EmbeddedDriver] ERROR 2008-01-25 11:20:44,769 StandardContext:listenerStart - Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext java.lang.NoClassDefFoundError: gnu/inet/util/Logger at org.apache.roller.weblogger.business.MailProvider.(MailProvider.java:9 2) at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(Weblog gerStartup.java:179) at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerC ontext.java:138) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 60) -- >8 -- It seems I've got the Derby database up and running with this config. But there is still an other error within my installation. Any hints on that one? Greetings -luca.