roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gian Luca Decurtins" <decurt...@genesiscom.ch>
Subject RE: Apache Roller 4.0 Installation with Derby
Date Fri, 25 Jan 2008 10:49:00 GMT
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.<init>(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.


Mime
View raw message