Good evening!
I have hopefully followed the online instructions for migrating to
the new roller 1.2 source base. I am having the following problem
when starting my roller context:
INFO 2005-10-08 19:12:56,528 LoginFilter:init - Remember Me enabled:
true
INFO 2005-10-08 19:13:01,105 LoginServlet:init - secure login
enabled: false
INFO 2005-10-08 19:13:01,106 LoginServlet:init - secure login port: 443
ERROR 2005-10-08 19:13:21,181 NavigationBarTag:prepareContext -
org.roller.RollerException: ERROR creating Page Model
ERROR 2005-10-08 19:13:21,186 NavigationBarTag:doEndTag -
EditorNavigationBarTag exception
org.roller.RollerException: Failure initializing ContextLoader.
at
org.roller.presentation.tags.menu.NavigationBarTag.doEndTag
(NavigationBarTag.java:158)
at org.roller.presentation.tags.HybridTag.doEndTag
(HybridTag.java:64)
at org.apache.jsp.main_jsp._jspx_meth_roller_NavigationBar_0
(org.apache.jsp.main_jsp:556)
at org.apache.jsp.main_jsp._jspService
(org.apache.jsp.main_jsp:181)
at org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service
(JspServlet.java:241)
I researched it a bit, and it seems that the problem is with the
velocity context not being able to find "/navbar.vm" in WEB-INF/
classes/. Perhaps the problem is in my configuration for tomcat
5.5.9 (SSL enabled). Here is the roller.xml config:
<Context path="/roller" docBase="/www/websites/roller" debug="99"
workDir="work/Catalina/www.stonescape.net/roller">
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="com.mysql.jdbc.Driver"
connectionURL=
"jdbc:mysql://localhost:3306/roller?
autoReconnect=true&useUnicode=true&characterEncoding=utf-8&m
ysqlEncoding=utf8"
connectionName="hidden"
connectionPassword="hidden"
userTable="rolleruser"
userNameCol="username"
userCredCol="passphrase"
userRoleTable="userrole"
roleNameCol="rolename" debug="99" />
<Resource name="jdbc/rollerdb" auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/roller?
autoReconnect=true&useUnicode=true&characterEncoding=utf-8&m
ysqlEncoding=utf8"
username="hidden"
password="hidden"
maxActive="20"
maxIdle="3"
removeAbandoned="true"
maxWait="3000" />
<!--
To enable email notification of comments: uncomment the
resouce below,
set your mailhost, and make sure you have mail.jar and
activation.jar
in <tomcat>/common/lib.
-->
<!--
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"
mail.smtp.host="mailhost.example.com" />
-->
</Context>
Thank you very much for any input you have. This problem is vexing
me...