« Return to Thread: Minor problems after upgrading to 4.0

Minor problems after upgrading to 4.0

by Mike Cavanaugh :: Rate this Message:

Reply to Author | View in Thread

We've upgraded our 3.0 site to 4.0. The upgrade seemed to go ok and the new site appears to be also running ok. But, there are a few minor problems.

The 3.0  Roller database was actually moved to a new system running FC 8, mysql 5.0.45, and Java 1.7.

I'm not sure if these problems have already been discussed. Any help with these would be greatly appreciated.

The register link in the frontpage template is not displayed. Though, you can access the register form. The property the frontpage template is looking for does seem to be set right.

The installation guide says the planet cache directory property is named planet.aggregator.cache.dir, but the planet.properties file looks like it uses cache.dir which is set to /var/planet/cache. Setting the former doesn't do anything and planet is indeed storing data in /var/planet/cache.

In roller.log there are periodic exceptions like this. And the frontpage hot tags list does not seem to be working.

ERROR 2007-12-12 16:11:42,808 SiteModel:getPopularTags - ERROR: fetching site tags list
<0.9.7-incubating nonfatal user error> org.apache.openjpa.persistence.ArgumentException: java.lang.String cannot be cast to java.lang.Number
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:805)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:766)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:762)
        at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:517)
        at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:230)
        at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:269)
        at org.apache.roller.weblogger.business.jpa.JPAWeblogManagerImpl.getPopularTags(JPAWeblogManagerImpl.java:1274)
        at org.apache.roller.weblogger.ui.rendering.model.SiteModel.getPopularTags(SiteModel.java:564)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)


Deleting a custom planet group in the Planet Adminstration form generates an exception in roller.log

ERROR 2007-12-12 16:27:02,332 Dispatcher:serviceAction - Could not find action or result
There is no Action mapped for action name planetGroups. - [unknown location]
        at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
        at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
        at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
        at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

We have a planet feed subscription with a very log URL which is not competely displayed in the subscriptions tab. But, planet does fetch data from it anyway. Trying to delete this subscription produces an Expected Exception page with the message "java.lang.NullPointerException". In roller.log it says

DEBUG 2007-12-12 17:02:25,836 WeblogRequestMapper:handleRequest - evaluating [/roller/roller-ui/admin/planetSubscriptions!delete.rol]
DEBUG 2007-12-12 17:02:25,837 WeblogRequestMapper:handleRequest - potential weblog handle = roller-ui
DEBUG 2007-12-12 17:02:25,837 WeblogRequestMapper:handleRequest - SKIPPED roller-ui
DEBUG 2007-12-12 17:02:25,838 RequestMappingFilter:doFilter - request not mapped
DEBUG 2007-12-12 17:02:25,840 UIActionInterceptor:intercept - Entering UIActionInterceptor
DEBUG 2007-12-12 17:02:25,841 UIActionInterceptor:intercept - action is a UIAction, setting relevant attributes
DEBUG 2007-12-12 17:02:25,850 UISecurityInterceptor:intercept - Entering UISecurityInterceptor
DEBUG 2007-12-12 17:02:25,851 UISecurityInterceptor:intercept - action is UISecurityEnforced ... enforcing security rules
DEBUG 2007-12-12 17:02:25,862 UIActionPrepareInterceptor:intercept - Entering UIActionPrepareInterceptor
DEBUG 2007-12-12 17:02:25,863 UIActionPrepareInterceptor:intercept - action is UIActionPreparable, calling myPrepare() method

 « Return to Thread: Minor problems after upgrading to 4.0