roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris <mili...@gmail.com>
Subject Roller Weblogger has not been bootstrapped
Date Wed, 27 Aug 2014 20:33:46 GMT
Hi!

I've been running roller for several years in the cloud  where application
and db were on the same server. Now I'm  migrating rollerdb to Amazon RDS
cloud. Here is the problem. Roller respond wirh Roller Weblogger has not
been bootstrapped yet


Roller log file:

ERROR 2014-08-26 13:11:23,900 ValidateSaltFilter:doFilter - Error
validating salt
java.lang.IllegalStateException: Roller Weblogger has not been bootstrapped
yet
        at
org.apache.roller.weblogger.business.WebloggerFactory.getWeblogger(WebloggerFactory.java:60)
        at
org.apache.roller.weblogger.ui.core.filters.ValidateSaltFilter.doFilter(ValidateSaltFilter.java:47)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.roller.weblogger.ui.core.filters.LoadSaltFilter.doFilter(LoadSaltFilter.java:72)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.roller.weblogger.ui.core.filters.InitFilter.doFilter(InitFilter.java:71)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.roller.weblogger.ui.core.filters.PersistenceSessionFilter.doFilter(PersistenceSessionFilter.java:60)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.roller.weblogger.ui.core.filters.BootstrapFilter.doFilter(BootstrapFilter.java:67)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
        at
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        at
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
        at
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
        at
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
        at
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
        at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
        at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.roller.weblogger.ui.core.filters.SchemeEnforcementFilter.doFilter(SchemeEnforcementFilter.java:121)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at
org.apache.roller.weblogger.ui.core.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:81)

My roller contex file

installation.type=manual
#installation.type=auto
database.configurationType=jdbc
database.jdbc.driverClass=com.mysql.jdbc.Driver
#database.jdbc.connectionURL=jdbc:mysql://
teldomdbinstance.xxxzggttyu5l.eu-west-1.rds.amazonaws.com:3306/rollerdb?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8
database.jdbc.username=scott
database.jdbc.password=yyyyy
database.jdbc.connectionURL=jdbc:mysql://
teldomdbinstance.catzggttyu5l.eu-west-1.rds.amazonaws.com:3306/rollerdb?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&user=scott&password=tiger&failOverReadOnly=false&maxReconnects=10
mail.configurationType=properties
#mail.hostname=[hostname]
mail.hostname=localhost
#mail.username=[username]
#mail.password=[password]
newuser.categories=General
weblog.export.enabled=true
uploads.dir=/home/roller/roller_dir/roller_data/uploads/
search.index.dir=/home/roller/data/search-index
#set migrate
uploads.migrate.auto=true
mediafiles.storage.dir=/home/roller/data/mediafiles

log4j.appender.roller.File=/var/lib/tomcat7/logs/roller.log
#log4j.appender.roller-startup.File=/var/lib/tomcat7/logs/roller-startup.log
log4j.properties:log4j.rootLogger=ERROR, roller-startup
log4j.properties:log4j.appender.roller-startup=org.apache.log4j.DailyRollingFileAppender
log4j.properties:log4j.appender.roller-startup.File=roller-startup.log
log4j.properties:log4j.appender.roller-startup.layout=org.apache.log4j.PatternLayout
log4j.properties:log4j.appender.roller-startup.layout.ConversionPattern=%-5p

# Password security settings
passwds.encryption.enabled=false
passwds.encryption.algorithm=SHA

planet.aggregator.enabled=false


My rollerdb connection is OK


boris@ubuntu:/var/lib/tomcat7/webapps$ mysql -h
teldomdbinstance.xxxzggttyu5l.eu-west-1.rds.amazonaws.com -u scott  -p
 -P3306
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 214292
Server version: 5.6.13-log MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.
mysql>


I've tried with fresh instalation, but roller responed with the same error
Roller Weblogger has not been bootstrapped


mysql -h teldomdbinstance.catzggttyu5l.eu-west-1.rds.amazonaws.com -u scott
 -ptiger -P3306 rollerdb <
/var/lib/tomcat7/webapps/roller-5.0.4-tomcat/WEB-INF/classes/dbscripts/mysql/createdb.sql

I've copied mysql  driver to Tomcat.
cp '/home/boris/Prejemi/mysql-connector-java-5.1.32-bin.jar'
 /usr/share/tomcat7/lib/



Kind regards


 Boris

 [image: Facebook] <http://www.facebook.com/borismil> [image: Twitter]
<http://www.twitter.com/borismi>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message