It looks like something went horribly wrong in your first startup of Roller on that database, which is when the runtime configuration property table gets initialized.

I'd suggest dropping and recreating the Roller database from scratch (running the createdb.sql).

Then starting Tomcat/Roller and recording the logs.

If you see errors or warnings from that, please include them in your correspondence. If you don't, you may be ok at this point.

Attachments don't get through to the list.

--a.


cbattles (sent by Nabble.com) wrote:

I completed a new install of roller and I am not getting the registration link. 
 It appears that there is a java problem going on, but I have no idea how to 
fix it.  I only know enough about Linux to be really really dangerous. :-]  
Also, no matter what user and pass I enter in the browser, I get an error.  No 
messges in the apache or sql logs, and nysql works great from the CL.

The config is roller-mysql-tomcat-apache-jdk-FC4-epiphany browser.  All the 
gory details are below.  I've also attached a screenshot of the initial browser 
screen that I get.

Since I had problems with httpd and SElinux in the past, I disabled SELinux 
enforcing and tried again, but that didn't work  (too simple a solution I guess)

Any help would be tremendous.  I feel a deep seated psycological need to start 
blogging :)

Thanks in advance,

Chris

Roller version
roller-2.0-incubating.tar.gz

#mysql --version
mysql  Ver 14.7 Distrib 4.1.15, for redhat-linux-gnu (i386) using readline 4.3

#tomcat5 version
Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME:       /usr/lib/jvm/java
Version: Apache Tomcat/5.0

#java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

#uname -a
Linux Galileo 2.6.14-1.1644_FC4 #1 Sun Nov 27 03:25:11 EST 2005 i686 i686 i386 
GNU/Linux

#/etc/init.d/httpd fullstatus
   Apache/2.0.54 (Fedora) Server at [1]www.*********.com Port 80

#epiphany --version

Gnome epiphany 1.6.5

#tail -50 catalina.out
Dec 8, 2005 9:26:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 8, 2005 9:26:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3179 ms
Dec 8, 2005 9:26:07 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 8, 2005 9:26:07 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0
Dec 8, 2005 9:26:07 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 8, 2005 9:26:07 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx ) Dec 8, 2005 9:26:07 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat5/Catalina/localhost/admin.xml
Dec 8, 2005 9:26:12 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Dec 8, 2005 9:26:12 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Dec 8, 2005 9:26:12 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Dec 8, 2005 9:26:20 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat5/Catalina/localhost/balancer.xml
Dec 8, 2005 9:26:20 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat5/Catalina/localhost/roller.xml
Dec 8, 2005 9:26:20 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
AbandonedObjectPool is used ([EMAIL PROTECTED])
  LogAbandoned: false
  RemoveAbandoned: true
  RemoveAbandonedTimeout: 300
Dec 8, 2005 9:26:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat5/Catalina/localhost/manager.xml
Dec 8, 2005 9:26:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL 
file:/var/lib/tomcat5/webapps/servlets-examples
Dec 8, 2005 9:26:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path  from URL 
file:/var/lib/tomcat5/webapps/ROOT
Dec 8, 2005 9:26:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL 
file:/var/lib/tomcat5/webapps/jsp-examples
Dec 8, 2005 9:26:31 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL 
file:/var/lib/tomcat5/webapps/webdav
Dec 8, 2005 9:26:31 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL 
file:/var/lib/tomcat5/webapps/tomcat-docs
Dec 8, 2005 9:26:31 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 8, 2005 9:26:31 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 8, 2005 9:26:31 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=27/29  config=/usr/share/tomcat5/conf/jk2.properties
Dec 8, 2005 9:26:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 25177 ms
#tail localhost_log.2005-12-08.txt
2005-12-08 21:24:26 StandardContext[/jsp-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@1629e96')
2005-12-08 21:24:26 StandardContext[/jsp-examples]SessionListener: 
contextDestroyed()
2005-12-08 21:24:26 StandardContext[/jsp-examples]ContextListener: 
contextDestroyed()
2005-12-08 21:26:20 
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): 
ruleChain: [org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / 
Redirect URL: http://www.cnn.com], 
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: 
paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: 
Redirect URL: http://jakarta.apache.org]]
2005-12-08 21:26:28 StandardContext[/roller]Use of the properties 
initialization parameter 'properties' has been deprecated by 
'org.apache.velocity.properties'
2005-12-08 21:26:30 StandardContext[/roller]Use of the properties 
initialization parameter 'properties' has been deprecated by 
'org.apache.velocity.properties'
2005-12-08 21:26:30 StandardContext[/servlets-examples]ContextListener: 
contextInitialized()
2005-12-08 21:26:30 StandardContext[/servlets-examples]SessionListener: 
contextInitialized()
2005-12-08 21:26:31 StandardContext[/jsp-examples]ContextListener: 
contextInitialized()
2005-12-08 21:26:31 StandardContext[/jsp-examples]SessionListener: 
contextInitialized()


#tail -2000 roller.log | grep -A1 WARN
WARN  2005-12-08 21:39:27,286 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.shortName
java.lang.NullPointerException
--
WARN  2005-12-08 21:39:27,323 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.absoluteurl
java.lang.NullPointerException
--
WARN  2005-12-08 21:39:27,339 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.enabled
java.lang.NullPointerException
--
WARN  2005-12-08 21:39:27,355 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.url
java.lang.NullPointerException
--
WARN  2005-12-08 21:39:27,393 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.shortName
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:28,144 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.shortName
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:28,189 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.absoluteurl
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:28,209 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.enabled
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:28,219 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.url
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:28,254 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.shortName
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,728 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.enabled
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,747 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.name
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,751 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.description
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,755 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.shortName
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,801 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.absoluteurl
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,851 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.absoluteurl
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,869 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.absoluteurl
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,875 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.absoluteurl
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,896 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.enabled
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,909 RollerRuntimeConfig:getProperty - Trouble 
accessing property: users.registration.url
java.lang.NullPointerException
--
WARN  2005-12-08 22:25:33,918 RollerRuntimeConfig:getProperty - Trouble 
accessing property: site.shortName
java.lang.NullPointerException



--
Sent from the Roller - User forum at Nabble.com:
http://www.nabble.com/Roller-2.0-new-install-problem-t710268c12275.html#a1870163


Reply via email to