I am trying to install Roller 3.0 on Win XP with MySql 5.1.11 with UTF8,
Tomcat 5.5.17 and Java 1.4.2_08.
Followed install guide.
Unzipped apache-roller-3.0-incubating.zip into C:\Roller.
Added contents of required-jars-roller-3.0-incubating.zip to WEB-INF/lib
directory, except for mail.jar and activation.jar which I added to D:\Apache
Group\Tomcat 5.5\common\lib.
Add the file mysql-connector-java-3.1.14-bin.jar to the common\lib
directory.
Created user scott/tiger on MySql, granted all permissions and ran
createdb.sql script. This ran successfully.
Created roller.xml as described in install guide and updated server.xml to
add URIEncoding="UTF-8".
Created roller_data/uploads and roller_data/search-index directories and
changed references in roller.properties to point there.
Modified hibernate.cfg.xml file to use MySQL5Dialect.
Added CATALINA_HOME and %ROLLER% environment variables.
When starting up tomcat, in the roller.log everything looks good, then I
get:
WARN 2007-01-19 11:07:50,780 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.BookmarkData]; using defaults.
WARN 2007-01-19 11:07:51,157 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.CommentData]; using defaults.
WARN 2007-01-19 11:07:51,220 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.FolderData]; using defaults.
WARN 2007-01-19 11:07:51,251 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PermissionsData]; using defaults.
WARN 2007-01-19 11:07:51,283 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.RoleData]; using defaults.
WARN 2007-01-19 11:07:51,299 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogCategoryData]; using defaults.
WARN 2007-01-19 11:07:51,409 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.RefererData]; using defaults.
WARN 2007-01-19 11:07:51,440 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.AutoPingData]; using defaults.
WARN 2007-01-19 11:07:51,456 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogCategoryAssoc]; using defaults.
WARN 2007-01-19 11:07:51,550 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogEntryData]; using defaults.
WARN 2007-01-19 11:07:51,581 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogTemplate]; using defaults.
WARN 2007-01-19 11:07:51,597 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingQueueEntryData]; using defaults.
WARN 2007-01-19 11:07:51,644 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingCategoryRestrictionData]; using
defaults.
WARN 2007-01-19 11:07:51,660 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingTargetData]; using defaults.
WARN 2007-01-19 11:07:51,676 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.EntryAttributeData]; using defaults.
WARN 2007-01-19 11:07:51,707 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.FolderAssoc]; using defaults.
INFO 2007-01-19 11:07:52,178 SessionFactoryObjectFactory:addInstance - Not
binding factory to JNDI, no JNDI name configured
INFO 2007-01-19 11:07:52,194 RollerFactory:setRoller - Using Roller Impl:
org.apache.roller.business.hibernate.HibernateRollerImpl
.......
INFO 2007-01-19 11:07:52,681 ApplicationContext:log - Loading Spring root
WebApplicationContext
INFO 2007-01-19 11:07:53,671 RollerContext:initializeSecurityFeatures -
Remember Me enabled: false
INFO 2007-01-19 11:07:53,671 RollerContext:setupVelocity - Initializing
Velocity
INFO 2007-01-19 11:07:54,582 ThemeManagerImpl:loadThemeFromDisk - Loading
theme basic
INFO 2007-01-19 11:07:54,629 ThemeManagerImpl:loadThemeFromDisk - Loading
theme brushedmetal
INFO 2007-01-19 11:07:54,660 ThemeManagerImpl:loadThemeFromDisk - Loading
theme frontpage
INFO 2007-01-19 11:07:54,755 ThemeManagerImpl:loadThemeFromDisk - Loading
theme sotto
INFO 2007-01-19 11:07:54,818 ThemeManagerImpl:<init> - Loaded 4 themes from
disk.
FATAL 2007-01-19 11:07:54,912 RollerContext:contextInitialized -
RollerContext initialization failed
java.lang.NullPointerException
at
org.apache.roller.business.IndexManagerImpl.<init>(IndexManagerImpl.java:105)
at
org.apache.roller.business.RollerImpl.getIndexManager(RollerImpl.java:90)
at
org.apache.roller.ui.core.RollerContext.setupIndexManager(RollerContext.java:407)
at
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:185)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
It fails in IndexManagerImpl with a null pointer which causes context
failure. Everything is downhill after that.
Does anyone know why this basic installation should be failing?
Thanks.
--
View this message in context:
http://www.nabble.com/Basic-Roller-3.0-Install-Not-Working-tf3041367s12275.html#a8453977
Sent from the Roller - User mailing list archive at Nabble.com.