Return-Path: Delivered-To: apmail-roller-commits-archive@www.apache.org Received: (qmail 91461 invoked from network); 2 Apr 2011 21:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2011 21:58:43 -0000 Received: (qmail 50491 invoked by uid 500); 2 Apr 2011 21:58:43 -0000 Delivered-To: apmail-roller-commits-archive@roller.apache.org Received: (qmail 50464 invoked by uid 500); 2 Apr 2011 21:58:43 -0000 Mailing-List: contact commits-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@roller.apache.org Delivered-To: mailing list commits@roller.apache.org Received: (qmail 50457 invoked by uid 99); 2 Apr 2011 21:58:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 21:58:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 21:58:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C52BC8FE1F for ; Sat, 2 Apr 2011 21:58:05 +0000 (UTC) Date: Sat, 2 Apr 2011 21:58:05 +0000 (UTC) From: "David Johnson (JIRA)" To: commits@roller.apache.org Message-ID: <2120161572.30821.1301781485804.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2120679468.20465.1301450225909.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (ROL-1916) Verify Planet works on Glassfish and prominently point out planet-custom.properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ROL-1916?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] David Johnson resolved ROL-1916. -------------------------------- Resolution: Fixed Level of effort:=20 Author: snoopdave Date: Sat Apr 2 21:52:50 2011 New Revision: 1088146 URL: http://svn.apache.org/viewvc?rev=3D1088146&view=3Drev Log: Issue ROL-1916: Verify Planet works on Glassfish and prominently point out = planet-custom.properties https://issues.apache.org/jira/browse/ROL-1916 - Corrected cache dir property name in Install Guide - Made sure JPARollerPlanetPersistenceStrategy uses same logic as non-Rolle= r one Modified: roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogge= r/planet/business/jpa/JPARollerPlanetPersistenceStrategy.java roller/trunk/weblogger-docs/installguide/generated/html/roller-install-g= uide.html roller/trunk/weblogger-docs/installguide/generated/roller-install-guide.= pdf roller/trunk/weblogger-docs/installguide/roller-install-guide.odt > Verify Planet works on Glassfish and prominently point out planet-custom.= properties > -------------------------------------------------------------------------= ---------- > > Key: ROL-1916 > URL: https://issues.apache.org/jira/browse/ROL-1916 > Project: Roller > Issue Type: Bug > Components: Planet Aggregator > Affects Versions: 5.0 > Reporter: David Johnson > Assignee: David Johnson > Fix For: 5.0 > > > From Peter Evans: > > Still with the roller.properties, it needs a big warning sign in there = for > > planet. saying > > "DONT FORGET YOUR planet-custom.properties!" > > > > ERROR 2011-03-29 22:50:39,970 RomeFeedFetcher:getRomeFetcherCache - Pla= net > > cache directory is not writable: /var/planet/cache > > > > There's some other stuff in the planet.properties that might need some > > discussion, for example: > > output.dir=3D/usr/local/planet/webapp > > template.dir=3D/usr/local/planet/webapp/WEB-INF/templates > > > > Anyway, attempting to turn on planet, gets my favourite show stopper: > > > > INFO =C2=A02011-03-29 23:05:14,737 WebloggerFactory:bootstrap - =C2=A0 = =C2=A0Version: > > 5.0.0-RC4 > > INFO =C2=A02011-03-29 23:05:14,738 WebloggerFactory:bootstrap - =C2=A0 = =C2=A0Revision: > > r1075074 > > INFO =C2=A02011-03-29 23:05:14,738 WebloggerImpl:initialize - Initializ= ing Roller > > Weblogger business tier > > FATAL 2011-03-29 23:05:14,740 JPAPropertiesManagerImpl:initialize - Fai= led > > to initialize runtime configuration properties.Please check that the > > database has been upgraded! > > java.lang.ClassCastException: > > org.apache.roller.weblogger.pojos.RuntimeConfigProperty cannot be cast = to > > org.apache.roller.weblogger.pojos.RuntimeConfigProperty > > =C2=A0 =C2=A0 =C2=A0 at > > org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getPr= operties(JPAPropertiesManagerImpl.java:127) > > =C2=A0 =C2=A0 =C2=A0 at > > org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initi= alize(JPAPropertiesManagerImpl.java:77) > > > > =C2=A0 Once this error happens, that is fatal until one destroys the da= tabase and > > starts all over again! > > =C2=A0 Which is magnificent. > > > > =C2=A0 now, its asking about the database being upgraded, but how? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira