You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by "a20134 (sent by Nabble.com)" <li...@nabble.com> on 2006/01/14 13:52:10 UTC
So many problems with Roller 2.0
I follow Roller 2.0 installation instruction. Created Roller databse, create all roller tables, set the UTF8 encoding and resolved "Illegal mix of collations" problem. But there is still two problems:
Problem one:
FATAL 2006-01-14 20:04:43,331 RollerContext:contextInitialized - RollerContext initialization failed
java.lang.NullPointerException
at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149)
Problem two:
WARN 2006-01-14 20:04:47,752 RollerRuntimeConfig:getProperty - Trouble accessing property: users.registration.enabled
java.lang.NullPointerException
WARN 2006-01-14 20:04:47,924 RollerRuntimeConfig:getProperty - Trouble accessing property: site.name
java.lang.NullPointerException
...
I just feel frustrated with this software!
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2377613
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
No such message. Here is the my roller log:
INFO 2006-01-18 00:00:00,011 TurnoverReferersTask:run - task started
INFO 2006-01-18 00:00:00,136 TurnoverReferersTask:run - task completed
ERROR 2006-01-18 16:39:08,877 StandardWrapperValve:invoke - Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at org.roller.presentation.website.actions.CreateWebsiteAction.create(CreateWebsiteAction.java:84)
at org.roller.presentation.website.actions.CreateWebsiteAction.unspecified(CreateWebsiteAction.java:56)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:258)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.roller.presentation.filters.BreadCrumbFilter.doFilter(BreadCrumbFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.roller.presentation.filters.RequestFilter.doFilter(RequestFilter.java:134)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.roller.presentation.filters.PersistenceSessionFilter.doFilter(PersistenceSessionFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(SchemeEnforcementFilter.java:97)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.roller.presentation.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2442144
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Anil Gangolli <an...@busybuddha.org>.
Look for an "ERROR: getting user object" message in the Roller logs. If
you see it, examine your database rolleruser table, checking for
anything unexpected.
a20134 (sent by Nabble.com) wrote:
>I have drop the roller database and create a fresh new database from scratch. But no use. I still have the problem:
>
>When I click "create new weblog", it shows:
>java.lang.NullPointerException
> org.roller.presentation.website.actions.CreateWebsiteAction.create(CreateWebsiteAction.java:84)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>When I click "edit user profile", it shows:
>java.lang.NullPointerException
> org.roller.presentation.forms.UserForm.copyFrom(UserForm.java:203)
> org.roller.presentation.website.actions.YourProfileAction.edit(YourProfileAction.java:76)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>There is no other actions I can choose from the "actions" pane, although I have grant myself "admin" role.
>
>--
>View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2417886
>Sent from the Roller - User forum at Nabble.com.
>
>
>
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
I have drop the roller database and create a fresh new database from scratch. But no use. I still have the problem:
When I click "create new weblog", it shows:
java.lang.NullPointerException
org.roller.presentation.website.actions.CreateWebsiteAction.create(CreateWebsiteAction.java:84)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
When I click "edit user profile", it shows:
java.lang.NullPointerException
org.roller.presentation.forms.UserForm.copyFrom(UserForm.java:203)
org.roller.presentation.website.actions.YourProfileAction.edit(YourProfileAction.java:76)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
There is no other actions I can choose from the "actions" pane, although I have grant myself "admin" role.
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2417886
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Anil Gangolli <an...@busybuddha.org>.
They're both the same link.
Did you by any chance have the wrong drivers in place when you created
the initial user and replaced them with the 3.0.17 drivers afterward?
If so, the user record will likely be garbled.
a20134 (sent by Nabble.com) wrote:
>ok, here they are:
>
>prob1: http://www.nabble.com/roller-2.0.-can%27t-create-weblog-after-user-created-t869750c12275.html#a2256320
>
>prob2: http://www.nabble.com/roller-2.0.-can%27t-create-weblog-after-user-created-t869750c12275.html#a2256320
>
>--
>View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2405316
>Sent from the Roller - User forum at Nabble.com.
>
>
>
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
ok, here they are:
prob1: http://www.nabble.com/roller-2.0.-can%27t-create-weblog-after-user-created-t869750c12275.html#a2256320
prob2: http://www.nabble.com/roller-2.0.-can%27t-create-weblog-after-user-created-t869750c12275.html#a2256320
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2405316
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Anil Gangolli <an...@busybuddha.org>.
Something clearly got lost or filtered out in the messages. So I don't
know what your second problem is.
If you just paste in the URLs with no tag it should be retained
properly in the e-mail
--a.
a20134 (sent by Nabble.com) wrote:
>Another two problems:
>1. The problem described here , resolved by replace ConnectorJ 3.1 driver with 3.0.17 driver.
>
>2. The problem described here , no resolution yet.
>
>Can you help out?
>--
>View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2404076
>Sent from the Roller - User forum at Nabble.com.
>
>
>
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
Another two problems:
1. The problem described here , resolved by replace ConnectorJ 3.1 driver with 3.0.17 driver.
2. The problem described here , no resolution yet.
Can you help out?
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2404076
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Anil Gangolli <an...@busybuddha.org>.
Thanks. I will add a line in the installation guide.
a20134 (sent by Nabble.com) wrote:
>It resolved. The root cause is $CATALINA_BASE/temp directory not exists. After I have created it, every problem went away.
>
>Probably other person might encounter the same problem. So I guess it is good to put it into installation FAQs.
>
>Thanks for all of you!
>--
>View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2399187
>Sent from the Roller - User forum at Nabble.com.
>
>
>
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
It resolved. The root cause is $CATALINA_BASE/temp directory not exists. After I have created it, every problem went away.
Probably other person might encounter the same problem. So I guess it is good to put it into installation FAQs.
Thanks for all of you!
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2399187
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Allen Gilliland <Al...@Sun.COM>.
You must still have some issues in the configuration of your
environment.
Problem one:
FATAL 2006-01-14 20:04:43,331 RollerContext:contextInitialized -
RollerContext initialization failed
java.lang.NullPointerException
at
org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149)
this one appears to be a problem creating a directory on the
filesystem. you said that the filesystem permissions shouldn't be an
issue, but did you set your "search.index.dir" property to a valid
location? you should also be able to try disabling the search code by
setting the property "search.enabled=false".
Problem two:
WARN 2006-01-14 20:04:47,752 RollerRuntimeConfig:getProperty - Trouble
accessing property: users.registration.enabled
java.lang.NullPointerException
WARN 2006-01-14 20:04:47,924 RollerRuntimeConfig:getProperty - Trouble
accessing property: site.name
java.lang.NullPointerException
this is definitely telling you that Roller can't find these properties
in the database, so something didn't go correctly when you first started
up the application. you can verify this by checking the database
directly ... "select * from roller_properties". that should return
around 25 properties and their values.
you can include your log file in the body of your email, that will work
fine.
-- Allen
On Sun, 2006-01-15 at 17:52, a20134 (sent by Nabble.com) wrote:
> It's no use. I get the same result again and again and again.
>
> I have set log level to DEBUG and got one 400k log. Is there any way I can post the log to the mail list for u roller guru to diagnose?
> --
> View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2397527
> Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
It's no use. I get the same result again and again and again.
I have set log level to DEBUG and got one 400k log. Is there any way I can post the log to the mail list for u roller guru to diagnose?
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2397527
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Anil Gangolli <an...@busybuddha.org>.
It looks like something failed partially when initializing the runtime
properties; these are initialized in the database the first time you run
Roller against a fresh database. My guess is that you had a db
configuration problem at that time, which prevented this from working
entirely. Since you've resolved the db issues now, stop the app server,
rebuild your Roller database using the createdb.sql with all of your db
configuration correct; then restart the app server.
I hope this helps. We are always trying to improve the installation
guides and troubleshooting FAQs.
--a.
a20134 (sent by Nabble.com) wrote:
>I follow Roller 2.0 installation instruction. Created Roller databse, create all roller tables, set the UTF8 encoding and resolved "Illegal mix of collations" problem. But there is still two problems:
>
>Problem one:
>FATAL 2006-01-14 20:04:43,331 RollerContext:contextInitialized - RollerContext initialization failed
>java.lang.NullPointerException
> at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149)
>
>Problem two:
>WARN 2006-01-14 20:04:47,752 RollerRuntimeConfig:getProperty - Trouble accessing property: users.registration.enabled
>java.lang.NullPointerException
>WARN 2006-01-14 20:04:47,924 RollerRuntimeConfig:getProperty - Trouble accessing property: site.name
>java.lang.NullPointerException
>...
>
>I just feel frustrated with this software!
>--
>View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2377613
>Sent from the Roller - User forum at Nabble.com.
>
>
>
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
Nope, I have done this many times.
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2378163
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Bryce Fischer <br...@berzerker-soft.com>.
Well, you might try a clean install of tomcat, and Roller, and start
from scratch.
On 1/14/06, a20134 (sent by Nabble.com) <li...@nabble.com> wrote:
>
> OS: Windows 2000
> App Server: apache-tomcat-5.5.12
> Database: MySql 5.0
>
> Both tomcat and mysql is log on as an account with Administrator right. So there should have no permission problem.
> --
> View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2377749
> Sent from the Roller - User forum at Nabble.com.
>
>
Re: So many problems with Roller 2.0
Posted by "a20134 (sent by Nabble.com)" <li...@nabble.com>.
OS: Windows 2000
App Server: apache-tomcat-5.5.12
Database: MySql 5.0
Both tomcat and mysql is log on as an account with Administrator right. So there should have no permission problem.
--
View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2377749
Sent from the Roller - User forum at Nabble.com.
Re: So many problems with Roller 2.0
Posted by Bryce Fischer <br...@berzerker-soft.com>.
What OS? What App Server?
Sounds like maybe the app server doesn't have permission to write to
the directory? Make sure your permissions are set correctly maybe?
I successfully installed Roller 2.0 on several different app
servers/OS combinations easily, with no problems, so its probably best
to look at your environment first.
On 1/14/06, a20134 (sent by Nabble.com) <li...@nabble.com> wrote:
>
> I follow Roller 2.0 installation instruction. Created Roller databse, create all roller tables, set the UTF8 encoding and resolved "Illegal mix of collations" problem. But there is still two problems:
>
> Problem one:
> FATAL 2006-01-14 20:04:43,331 RollerContext:contextInitialized - RollerContext initialization failed
> java.lang.NullPointerException
> at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149)
>
> Problem two:
> WARN 2006-01-14 20:04:47,752 RollerRuntimeConfig:getProperty - Trouble accessing property: users.registration.enabled
> java.lang.NullPointerException
> WARN 2006-01-14 20:04:47,924 RollerRuntimeConfig:getProperty - Trouble accessing property: site.name
> java.lang.NullPointerException
> ...
>
> I just feel frustrated with this software!
> --
> View this message in context: http://www.nabble.com/So-many-problems-with-Roller-2.0-t916801c12275.html#a2377613
> Sent from the Roller - User forum at Nabble.com.
>
>