You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Dave <sn...@gmail.com> on 2007/10/05 06:21:02 UTC

VOTE: release RC7 as Apache Roller 4.0

I believe Roller 4.0 is ready for release. The code base has been in
production at several sites for months now, it's gone through several
rounds of testing at Sun and we've tested and fixed six RCs here on
the dev mailing list.

The release files are here:
   http://people.apache.org/~snoopdave/apache-roller-4.0-rc7/

The only changes since RC6 are:
- Support for encrypted passwords in Admin API
- Removal of Henry Yandel from default blog roll

So please take a final look at the release files, try the 5-minute
install if you haven't already and let's vote this release out the
door.

Thanks,
- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Jonathan Chen <da...@gmail.com>.
Hi all,

On 16/10/2007, Jonathan Chen <da...@gmail.com> wrote:
> Hi Dave,
>
> On 16/10/2007, Dave <sn...@gmail.com> wrote:
>
> [...]
> > I'm not having any problem with my reset hits and turn-over referrers
> > tasks. Unfortunately, I don't have much experience with the new task
> > management system. I suppose it is possible that your task-lock table
> > has become inconsistent -- so you might want to try stopping Roller,
> > clearing the roller_tasklock table and then restarting.
>
> I had a closer look at the logs, and the lease aquisition failure
> appears to be happening with *all* the tasks. On clearing the table as
> suggested above, the problem goes away. I did have a look at the data
> before clearing, and again once the system restarted; I suspect that
> the daylight savings changeover (which happened during my upgrade from
> 3.1 to 4.0) may have had something to do with the failure to acquire a
> valid lease.

Well, I had a dig in the code yesterday, and that hypothesis proved to
be incorrect. The problem looks to be either in OpenJPA or the
PostgreSQL driver. There appears to be a loss of precision when
dealing with Dates and database timestamps when building queries.
Timestamps values from roller_tasklock were being read as Dates with
millisecond precision from the database; but queries generated using
those Dates values only had centisecond precision. This resulted in
the rows not being found, and thus not being updated for lease
acquisition.

This problem raises it head with PostgreSQL, as timestamp
database-values are stored to the millisecond. MySQL doesn't store
fractional seconds, and so doesn't have the problem.

For the time being, I worked around the problem by hacking
TaskLock.orm.xml to ignore using roller_tasklock.timeAcquired as a
search criteria when updating a row for lease-acquisition; I'll dig
into the OpenJPA and/or the PostgreSQL driver later.

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Jonathan Chen <da...@gmail.com>.
Hi Dave,

On 16/10/2007, Dave <sn...@gmail.com> wrote:

[...]
> I'm not having any problem with my reset hits and turn-over referrers
> tasks. Unfortunately, I don't have much experience with the new task
> management system. I suppose it is possible that your task-lock table
> has become inconsistent -- so you might want to try stopping Roller,
> clearing the roller_tasklock table and then restarting.

I had a closer look at the logs, and the lease aquisition failure
appears to be happening with *all* the tasks. On clearing the table as
suggested above, the problem goes away. I did have a look at the data
before clearing, and again once the system restarted; I suspect that
the daylight savings changeover (which happened during my upgrade from
3.1 to 4.0) may have had something to do with the failure to acquire a
valid lease.

I'm glad the problem has been worked around, and will probably poke
around in the code to see if I can figure why it got confused.

> Also, how do you have your tasks configured? Are you using the default
> start times and intervals?

Default values only.

> And, do you know if this behavior exists on Tomcat too, or just Geronimo?

Tomcat as well.

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/15/07, Jonathan Chen <da...@gmail.com> wrote:
> I've attached a log snippet below. It looks like the
> ResetHitsCountTask is Launched, but fails to aquire a lease, and then
> when it retries it decides that it can't run and decides to wait until
> next midnight - but that's only an uninformed view. I hope the logs
> can tell you exactly what's happening here.
>
> Cheers.
> --
> Jonathan Chen <da...@gmail.com>
>
> --- Roller debug log ---
> DEBUG 2007-10-16 00:00:00,050 GeronimoLog:debug - Current time = Tue
> Oct 16 00:00:00 NZDT 2007
> DEBUG 2007-10-16 00:00:00,052 GeronimoLog:debug - Started - Tue Oct 16
> 00:00:00 NZDT 2007
> DEBUG 2007-10-16 00:00:00,055 GeronimoLog:debug -
> ScheduledEntriesTask: next allowed run time = Sat Sep 29 17:11:00 NZST
> 2007
> DEBUG 2007-10-16 00:00:00,056 GeronimoLog:debug - MISSED last run,
> checking if waiting is necessary
> DEBUG 2007-10-16 00:00:00,056 GeronimoLog:debug -
> ScheduledEntriesTask: LAUNCHING task
> DEBUG 2007-10-16 00:00:00,058 GeronimoLog:debug -
> ScheduledEntriesTask: Attempting to acquire lease
> DEBUG 2007-10-16 00:00:00,066 GeronimoLog:debug -
> ScheduledEntriesTask: Lease NOT acquired, cannot continue

I'm not having any problem with my reset hits and turn-over referrers
tasks. Unfortunately, I don't have much experience with the new task
management system. I suppose it is possible that your task-lock table
has become inconsistent -- so you might want to try stopping Roller,
clearing the roller_tasklock table and then restarting.

Also, how do you have your tasks configured? Are you using the default
start times and intervals?

And, do you know if this behavior exists on Tomcat too, or just Geronimo?

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Jonathan Chen <da...@gmail.com>.
Hi Dave,

On 12/10/2007, Dave <sn...@gmail.com> wrote:
> On 10/11/07, Jonathan Chen <da...@gmail.com> wrote:
> > On 12/10/2007, Dave <sn...@gmail.com> wrote:
> > > On 10/10/07, Jonathan Chen <da...@gmail.com> wrote:
> > > > I've been running 4.0 RC7 with PostgreSQL on Geronimo2 for almost a
> > > > week now, and I'm noticing that it doesn't appear to reset the
> > > > "Today's Hits" with the frontpage-theme; nor the count on [Create &
> > > > Edit] -> [Referrers] -> "Hits Counted Today" on a user's login. Is
> > > > anyone else seeing this?
> > >
> > > Could this be a caching issue? Are the values being reset in the
> > > database? What happens if you clear the cache. Do you see any evidence
> > > in the logs that the tasks are running?
> >
> > I had a look in the database, and I noticed that referer.reftime is
> > null for all the rows in the table. Perhaps this could be the cause
> > for the non-expiry?
>
> Hmm... I don't think that would stop the reset. I guess it is more
> likely that the reset is not running or hitting some other error.
>
> Are you seeing the task manager startup like so:
>
> INFO  2007-10-11 17:01:03,115 ThreadManagerImpl:initialize -
> Initializing task: ResetHitCountsTask
> INFO  2007-10-11 17:01:03,181 ThreadManagerImpl:initialize -
> Initializing task: TurnoverReferersTask
> INFO  2007-10-11 17:01:03,197 ThreadManagerImpl:initialize -
> Initializing task: PingQueueTask
> INFO  2007-10-11 17:01:03,228 ThreadManagerImpl:initialize -
> Initializing task: RefreshRollerPlanetTask
> INFO  2007-10-11 17:01:03,260 ThreadManagerImpl:initialize -
> Initializing task: SyncWebsitesTask

Yes.

> For more debug output, turn up debugging on task manager like so:
>     log4j.category.org.apache.roller.weblogger.business.runnable=DEBUG
>
> And watch what happens when tasks start and stop.

I've attached a log snippet below. It looks like the
ResetHitsCountTask is Launched, but fails to aquire a lease, and then
when it retries it decides that it can't run and decides to wait until
next midnight - but that's only an uninformed view. I hope the logs
can tell you exactly what's happening here.

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

--- Roller debug log ---
DEBUG 2007-10-16 00:00:00,050 GeronimoLog:debug - Current time = Tue
Oct 16 00:00:00 NZDT 2007
DEBUG 2007-10-16 00:00:00,052 GeronimoLog:debug - Started - Tue Oct 16
00:00:00 NZDT 2007
DEBUG 2007-10-16 00:00:00,055 GeronimoLog:debug -
ScheduledEntriesTask: next allowed run time = Sat Sep 29 17:11:00 NZST
2007
DEBUG 2007-10-16 00:00:00,056 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:00:00,056 GeronimoLog:debug -
ScheduledEntriesTask: LAUNCHING task
DEBUG 2007-10-16 00:00:00,058 GeronimoLog:debug -
ScheduledEntriesTask: Attempting to acquire lease
DEBUG 2007-10-16 00:00:00,066 GeronimoLog:debug -
ScheduledEntriesTask: Lease NOT acquired, cannot continue
DEBUG 2007-10-16 00:00:00,068 GeronimoLog:debug - ResetHitCountsTask:
next allowed run time = Sat Sep 29 00:00:00 NZST 2007
DEBUG 2007-10-16 00:00:00,069 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:00:00,069 GeronimoLog:debug - ResetHitCountsTask:
LAUNCHING task
DEBUG 2007-10-16 00:00:00,072 GeronimoLog:debug -
TurnoverReferersTask: next allowed run time = Sat Sep 29 00:00:00 NZST
2007
DEBUG 2007-10-16 00:00:00,073 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:00:00,073 GeronimoLog:debug -
TurnoverReferersTask: LAUNCHING task
DEBUG 2007-10-16 00:00:00,077 GeronimoLog:debug - PingQueueTask: next
allowed run time = Sat Sep 29 13:18:56 NZST 2007
DEBUG 2007-10-16 00:00:00,077 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:00:00,078 GeronimoLog:debug - PingQueueTask: LAUNCHING task
DEBUG 2007-10-16 00:00:00,078 GeronimoLog:debug - Finished
DEBUG 2007-10-16 00:00:00,079 GeronimoLog:debug - sleeping - 59970
DEBUG 2007-10-16 00:00:00,079 GeronimoLog:debug - ResetHitCountsTask:
Attempting to acquire lease
DEBUG 2007-10-16 00:00:00,081 GeronimoLog:debug -
TurnoverReferersTask: Attempting to acquire lease
DEBUG 2007-10-16 00:00:00,089 GeronimoLog:debug - PingQueueTask:
Attempting to acquire lease
DEBUG 2007-10-16 00:00:00,094 GeronimoLog:debug -
TurnoverReferersTask: Lease NOT acquired, cannot continue
DEBUG 2007-10-16 00:00:00,108 GeronimoLog:debug - PingQueueTask: Lease
NOT acquired, cannot continue
DEBUG 2007-10-16 00:00:00,113 GeronimoLog:debug - ResetHitCountsTask:
Lease NOT acquired, cannot continue
DEBUG 2007-10-16 00:00:43,416 GeronimoLog:debug - Completed: 0 secs
DEBUG 2007-10-16 00:00:43,417 GeronimoLog:debug -
HitCountQueueProcessor SLEEPING for 180000 milliseconds ...
DEBUG 2007-10-16 00:01:00,051 GeronimoLog:debug - Current time = Tue
Oct 16 00:01:00 NZDT 2007
DEBUG 2007-10-16 00:01:00,051 GeronimoLog:debug - Started - Tue Oct 16
00:01:00 NZDT 2007
DEBUG 2007-10-16 00:01:00,057 GeronimoLog:debug -
ScheduledEntriesTask: next allowed run time = Sat Sep 29 17:11:00 NZST
2007
DEBUG 2007-10-16 00:01:00,058 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:01:00,058 GeronimoLog:debug -
ScheduledEntriesTask: LAUNCHING task
DEBUG 2007-10-16 00:01:00,061 GeronimoLog:debug - ResetHitCountsTask:
next allowed run time = Sat Sep 29 00:00:00 NZST 2007
DEBUG 2007-10-16 00:01:00,062 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:01:00,062 GeronimoLog:debug - ResetHitCountsTask:
LAUNCHING task
DEBUG 2007-10-16 00:01:00,066 GeronimoLog:debug -
TurnoverReferersTask: next allowed run time = Sat Sep 29 00:00:00 NZST
2007
DEBUG 2007-10-16 00:01:00,066 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:01:00,067 GeronimoLog:debug -
TurnoverReferersTask: LAUNCHING task
DEBUG 2007-10-16 00:01:00,070 GeronimoLog:debug - PingQueueTask: next
allowed run time = Sat Sep 29 13:18:56 NZST 2007
DEBUG 2007-10-16 00:01:00,071 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:01:00,071 GeronimoLog:debug - PingQueueTask: LAUNCHING task
DEBUG 2007-10-16 00:01:00,072 GeronimoLog:debug - Finished
DEBUG 2007-10-16 00:01:00,073 GeronimoLog:debug - sleeping - 59976
DEBUG 2007-10-16 00:01:00,071 GeronimoLog:debug -
TurnoverReferersTask: Attempting to acquire lease
DEBUG 2007-10-16 00:01:00,080 GeronimoLog:debug - PingQueueTask:
Attempting to acquire lease
DEBUG 2007-10-16 00:01:00,071 GeronimoLog:debug - ResetHitCountsTask:
Attempting to acquire lease
DEBUG 2007-10-16 00:01:00,094 GeronimoLog:debug - ResetHitCountsTask:
Lease NOT acquired, cannot continue
DEBUG 2007-10-16 00:01:00,096 GeronimoLog:debug -
TurnoverReferersTask: Lease NOT acquired, cannot continue
DEBUG 2007-10-16 00:01:00,071 GeronimoLog:debug -
ScheduledEntriesTask: Attempting to acquire lease
DEBUG 2007-10-16 00:01:00,104 GeronimoLog:debug -
ScheduledEntriesTask: Lease NOT acquired, cannot continue
DEBUG 2007-10-16 00:01:00,106 GeronimoLog:debug - PingQueueTask: Lease
NOT acquired, cannot continue
DEBUG 2007-10-16 00:02:00,051 GeronimoLog:debug - Current time = Tue
Oct 16 00:02:00 NZDT 2007
DEBUG 2007-10-16 00:02:00,051 GeronimoLog:debug - Started - Tue Oct 16
00:02:00 NZDT 2007
DEBUG 2007-10-16 00:02:00,055 GeronimoLog:debug -
ScheduledEntriesTask: next allowed run time = Sat Sep 29 17:11:00 NZST
2007
DEBUG 2007-10-16 00:02:00,056 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:02:00,056 GeronimoLog:debug -
ScheduledEntriesTask: LAUNCHING task
DEBUG 2007-10-16 00:02:00,059 GeronimoLog:debug - ResetHitCountsTask:
next allowed run time = Sat Sep 29 00:00:00 NZST 2007
DEBUG 2007-10-16 00:02:00,060 GeronimoLog:debug - MISSED last run,
checking if waiting is necessary
DEBUG 2007-10-16 00:02:00,060 GeronimoLog:debug - WAITING for next
reasonable run time

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Jonathan Chen <da...@gmail.com>.
On 12/10/2007, Dave <sn...@gmail.com> wrote:

[..]
> For more debug output, turn up debugging on task manager like so:
>     log4j.category.org.apache.roller.weblogger.business.runnable=DEBUG
>
> And watch what happens when tasks start and stop.

I've managed to locate the roller logs, and it's reporting:

ERROR 2007-10-12 14:38:27,622 GeronimoLog:error - Problem in doStop of
org.apache.roller/roller/4.0/war?J2EEApplication=null,PersistenceUnitModule=WEB-INF/lib/roller-business.jar,WebModule=org.apache.roller/roller/4.0/war,j2eeType=PersistenceUnit,name=RollerPU
<0.9.7-incubating fatal user error>
org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or
DataSource class name must be specified in the ConnectionDriverName
property.
	at org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:70)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:800)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:566)
	at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1185)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:450)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:375)
	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:102)
	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:79)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:831)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:826)
[...]

It looks like some seems to be some configuration confusion between
Roller's OpenJPA and Geronimo's OpenJPA usage. I'm not sure why the
scheduled tasks can't seem to find the same Datasource name that the
main roller app uses.

Any suggestions welcome. I'll have a look at the code as well.

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/11/07, Jonathan Chen <da...@gmail.com> wrote:
> On 12/10/2007, Dave <sn...@gmail.com> wrote:
> > On 10/10/07, Jonathan Chen <da...@gmail.com> wrote:
> > > I've been running 4.0 RC7 with PostgreSQL on Geronimo2 for almost a
> > > week now, and I'm noticing that it doesn't appear to reset the
> > > "Today's Hits" with the frontpage-theme; nor the count on [Create &
> > > Edit] -> [Referrers] -> "Hits Counted Today" on a user's login. Is
> > > anyone else seeing this?
> >
> > Could this be a caching issue? Are the values being reset in the
> > database? What happens if you clear the cache. Do you see any evidence
> > in the logs that the tasks are running?
>
> I had a look in the database, and I noticed that referer.reftime is
> null for all the rows in the table. Perhaps this could be the cause
> for the non-expiry?

Hmm... I don't think that would stop the reset. I guess it is more
likely that the reset is not running or hitting some other error.

Are you seeing the task manager startup like so:

INFO  2007-10-11 17:01:03,115 ThreadManagerImpl:initialize -
Initializing task: ResetHitCountsTask
INFO  2007-10-11 17:01:03,181 ThreadManagerImpl:initialize -
Initializing task: TurnoverReferersTask
INFO  2007-10-11 17:01:03,197 ThreadManagerImpl:initialize -
Initializing task: PingQueueTask
INFO  2007-10-11 17:01:03,228 ThreadManagerImpl:initialize -
Initializing task: RefreshRollerPlanetTask
INFO  2007-10-11 17:01:03,260 ThreadManagerImpl:initialize -
Initializing task: SyncWebsitesTask

For more debug output, turn up debugging on task manager like so:
    log4j.category.org.apache.roller.weblogger.business.runnable=DEBUG

And watch what happens when tasks start and stop.

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Jonathan Chen <da...@gmail.com>.
On 12/10/2007, Dave <sn...@gmail.com> wrote:
> On 10/10/07, Jonathan Chen <da...@gmail.com> wrote:
> > I've been running 4.0 RC7 with PostgreSQL on Geronimo2 for almost a
> > week now, and I'm noticing that it doesn't appear to reset the
> > "Today's Hits" with the frontpage-theme; nor the count on [Create &
> > Edit] -> [Referrers] -> "Hits Counted Today" on a user's login. Is
> > anyone else seeing this?
>
> Could this be a caching issue? Are the values being reset in the
> database? What happens if you clear the cache. Do you see any evidence
> in the logs that the tasks are running?

I had a look in the database, and I noticed that referer.reftime is
null for all the rows in the table. Perhaps this could be the cause
for the non-expiry?

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/10/07, Jonathan Chen <da...@gmail.com> wrote:
> I've been running 4.0 RC7 with PostgreSQL on Geronimo2 for almost a
> week now, and I'm noticing that it doesn't appear to reset the
> "Today's Hits" with the frontpage-theme; nor the count on [Create &
> Edit] -> [Referrers] -> "Hits Counted Today" on a user's login. Is
> anyone else seeing this?

Could this be a caching issue? Are the values being reset in the
database? What happens if you clear the cache. Do you see any evidence
in the logs that the tasks are running?

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Jonathan Chen <da...@gmail.com>.
Hi,

I've been running 4.0 RC7 with PostgreSQL on Geronimo2 for almost a
week now, and I'm noticing that it doesn't appear to reset the
"Today's Hits" with the frontpage-theme; nor the count on [Create &
Edit] -> [Referrers] -> "Hits Counted Today" on a user's login. Is
anyone else seeing this?

Cheers.
-- 
Jonathan Chen <da...@gmail.com>

Re: release RC7 as Apache Roller 4.0

Posted by Anil Gangolli <an...@busybuddha.org>.
Sorry for the late response.

Experienced the following minor issues during a from-scratch installation:

The instances of the property mail.hostname in the cut-and-paste initial 
roller-custom properties (Sections 6 and 6.1) are mis-capitalized as 
mail.hostName; this is treated as absence of the property mail.hostname, 
which means it defaults to localhost; you will notice only if you don't have 
a local SMTP server.

Not sure if this was just some local machine configuration quirk or an 
intended change but the timezone pull-down which used to pick my timezone as 
default when creating a weblog didn't.

Am still doing more testing.

--a.


----- Original Message ----- 
From: "Dave" <sn...@gmail.com>
To: <de...@roller.apache.org>
Sent: Thursday, October 04, 2007 9:21 PM
Subject: VOTE: release RC7 as Apache Roller 4.0


>I believe Roller 4.0 is ready for release. The code base has been in
> production at several sites for months now, it's gone through several
> rounds of testing at Sun and we've tested and fixed six RCs here on
> the dev mailing list.
>
> The release files are here:
>   http://people.apache.org/~snoopdave/apache-roller-4.0-rc7/
>
> The only changes since RC6 are:
> - Support for encrypted passwords in Admin API
> - Removal of Henry Yandel from default blog roll
>
> So please take a final look at the release files, try the 5-minute
> install if you haven't already and let's vote this release out the
> door.
>
> Thanks,
> - Dave
> 


Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
On 10/9/07, Dave <sn...@gmail.com> wrote:
> On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > I was able to get past this issue by manually running the dbupgrade
> > script. Now I'm stumped on plugins. None of the ones I had listed seem
> > to exist anymore. The only ones I can find are:
> >
> > core/plugins:
> > TextEditor.class
> > UIPluginManager.class
> > UIPluginManagerImpl.class
> > WeblogEntryEditor.class
> > XinhaEditor.class
> >
> > rendering/plugin/comments:
> > AkismetCommentValidator.class
> > BlacklistCommentValidator.class
> > CommentAuthenticator.class
> > CommentValidationManager.class
> > CommentValidator.class
> > DefaultCommentAuthenticator.class
> > ExcessLinksCommentValidator.class
> > ExcessSizeCommentValidator.class
> > MathCommentAuthenticator.class
> > TrackbackLinkbackCommentValidator.class
> >
> > What happened to Smileys and the rest of them?
> >
> > org.apache.roller.weblogger.ui.rendering.plugins.ConvertLineBreaksPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.TopicTagPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.WikipediaLinkPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.GoogleLinkPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.AcronymsPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.BookmarkPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.ObfuscateEmailPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.SmileysPlugin
>
> They were moved to the Roller Support project.

I can't seem to find the SmileysPlugin on the support project:

https://roller.dev.java.net/servlets/ProjectDocumentList?folderID=6960

However, I did notice that Emoticons was an option in my list of
available plugins. Maybe this is bundled by default?

Matt

>
> - Dave
>


-- 
http://raibledesigns.com

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> I was able to get past this issue by manually running the dbupgrade
> script. Now I'm stumped on plugins. None of the ones I had listed seem
> to exist anymore. The only ones I can find are:
>
> core/plugins:
> TextEditor.class
> UIPluginManager.class
> UIPluginManagerImpl.class
> WeblogEntryEditor.class
> XinhaEditor.class
>
> rendering/plugin/comments:
> AkismetCommentValidator.class
> BlacklistCommentValidator.class
> CommentAuthenticator.class
> CommentValidationManager.class
> CommentValidator.class
> DefaultCommentAuthenticator.class
> ExcessLinksCommentValidator.class
> ExcessSizeCommentValidator.class
> MathCommentAuthenticator.class
> TrackbackLinkbackCommentValidator.class
>
> What happened to Smileys and the rest of them?
>
> org.apache.roller.weblogger.ui.rendering.plugins.ConvertLineBreaksPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.TopicTagPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.WikipediaLinkPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.GoogleLinkPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.AcronymsPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.BookmarkPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.ObfuscateEmailPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.SmileysPlugin

They were moved to the Roller Support project.

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
On 10/9/07, Dave <sn...@gmail.com> wrote:
> On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > I got past this issue by re-copying roller-ui and WEB-INF/jsps into my
> > application. I also changed the absolute URL from
> > http://raibledesigns.com to http://localhost:8080. Now I'm getting the
> > following error:
> >
> > WARN  2007-10-09 11:54:31,806 ThemeManagerImpl:getTheme - Unable to
> > lookup theme andreas08
> > ERROR 2007-10-09 11:54:31,821 PageServlet:doGet - Error getting
> > default page for weblog = rd
> > java.lang.NullPointerException
>
> Yes. Themes must support the new theme.xml file. I upgraded Andreas08
> as part of the Roller Support themes, so you can grab that -- but I
> suppose you will have to copy in all of your mods.
>

Is there any magic I have to do to get my decorator picked up? It
doesn't seem to be working. Here's what I have in theme.xml:

    <template action="custom">
        <name>_decorator</name>
        <description>_decorator</description>
        <link></link>
        <navbar>false</navbar>
        <hidden>true</hidden>
        <templateLanguage>velocity</templateLanguage>
        <contentType></contentType>
        <contentsFile>_decorator.vm</contentsFile>
    </template>

Also, do I need to list all the resources, or is that only useful for
folks that want to customize the theme?

I also noticed this when looking at the Stylesheets page:

<quote>
Sorry, but the theme you are using does not provide a custom
stylesheet for you to edit. lame huh? feel free to complain about it
to your system administrator.
</quote>

We might want to make this a little friendlier - here's a suggestion:

Unfortunately, the theme you're using does not provide a custom
stylesheet for you to edit. You can customize your theme or contact
your system administrator to see about enabling this feature.

Matt

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
On 10/9/07, Dave <sn...@gmail.com> wrote:
> On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > I got past this issue by re-copying roller-ui and WEB-INF/jsps into my
> > application. I also changed the absolute URL from
> > http://raibledesigns.com to http://localhost:8080. Now I'm getting the
> > following error:
> >
> > WARN  2007-10-09 11:54:31,806 ThemeManagerImpl:getTheme - Unable to
> > lookup theme andreas08
> > ERROR 2007-10-09 11:54:31,821 PageServlet:doGet - Error getting
> > default page for weblog = rd
> > java.lang.NullPointerException
>
> Yes. Themes must support the new theme.xml file. I upgraded Andreas08
> as part of the Roller Support themes, so you can grab that -- but I
> suppose you will have to copy in all of your mods.
>
> - Dave

Is there a 4.0 version of this theme or should I use the one from 3.1?

https://roller.dev.java.net/servlets/ProjectDocumentList?folderID=6963

Matt

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> I got past this issue by re-copying roller-ui and WEB-INF/jsps into my
> application. I also changed the absolute URL from
> http://raibledesigns.com to http://localhost:8080. Now I'm getting the
> following error:
>
> WARN  2007-10-09 11:54:31,806 ThemeManagerImpl:getTheme - Unable to
> lookup theme andreas08
> ERROR 2007-10-09 11:54:31,821 PageServlet:doGet - Error getting
> default page for weblog = rd
> java.lang.NullPointerException

Yes. Themes must support the new theme.xml file. I upgraded Andreas08
as part of the Roller Support themes, so you can grab that -- but I
suppose you will have to copy in all of your mods.

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
I got past this issue by re-copying roller-ui and WEB-INF/jsps into my
application. I also changed the absolute URL from
http://raibledesigns.com to http://localhost:8080. Now I'm getting the
following error:

WARN  2007-10-09 11:54:31,806 ThemeManagerImpl:getTheme - Unable to
lookup theme andreas08
ERROR 2007-10-09 11:54:31,821 PageServlet:doGet - Error getting
default page for weblog = rd
java.lang.NullPointerException
	at org.apache.roller.weblogger.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:276)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Will old themes still work or do I have to upgrade my theme to use the
new configuration? It doesn't appear like it will. Everytime I try to
edit my theme, I get:

WARN  2007-10-09 11:57:07,868 ThemeManagerImpl:getTheme - Unable to
lookup theme andreas08

Matt

On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> After commenting out my plugins in roller-custom.properties, I was
> able to get Roller to start. However, when I go to
> http://localhost:8080, all I get is a 404. Here's what's in the logs:
>
> INFO  2007-10-09 11:39:57,998 InitFilter:getAbsoluteUrl - http://localhost:8080
>
> If I manually type in /roller-ui/login-redirect.jsp, I get the following error:
>
> javax.servlet.ServletException: java.lang.NoClassDefFoundError:
> org/apache/roller/ui/core/RollerSession
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> I re-copied all the JARs from the distribution to my WEB-INF/lib to
> make sure I'm not missing anything. But I still get the same error:
>
> ERROR 2007-10-09 11:43:43,648 BasicTilesContainer:render - Error rendering tile
> java.io.IOException: Error including path
> '/WEB-INF/jsps/tiles/tiles-simplepage.jsp'.
> java.lang.NoClassDefFoundError:
> org/apache/roller/ui/core/RollerSession
>
> I'm on OS X with JDK 5 and MySQL 5 on Tomcat 6.
>
> Matt
>
> On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > I was able to get past this issue by manually running the dbupgrade
> > script. Now I'm stumped on plugins. None of the ones I had listed seem
> > to exist anymore. The only ones I can find are:
> >
> > core/plugins:
> >
> > TextEditor.class
> > UIPluginManager.class
> > UIPluginManagerImpl.class
> > WeblogEntryEditor.class
> > XinhaEditor.class
> >
> > rendering/plugin/comments:
> >
> > AkismetCommentValidator.class
> > BlacklistCommentValidator.class
> > CommentAuthenticator.class
> > CommentValidationManager.class
> > CommentValidator.class
> > DefaultCommentAuthenticator.class
> > ExcessLinksCommentValidator.class
> > ExcessSizeCommentValidator.class
> > MathCommentAuthenticator.class
> > TrackbackLinkbackCommentValidator.class
> >
> > What happened to Smileys and the rest of them?
> >
> > org.apache.roller.weblogger.ui.rendering.plugins.ConvertLineBreaksPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.TopicTagPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.WikipediaLinkPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.GoogleLinkPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.AcronymsPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.BookmarkPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.ObfuscateEmailPlugin \
> > ,org.apache.roller.weblogger.ui.rendering.plugins.SmileysPlugin
> >
> > Thanks,
> >
> > Matt
> > On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > > I don't know what this issue was caused by but it went away. Now I'm
> > > trying to upgrade my existing site to 4.0. I believe I'm currently
> > > running an RC of 3.1. Here's the error I'm getting:
> > >
> > > INFO  2007-10-09 10:35:08,153 DatabaseProvider:successMessage -
> > > SUCCESS: Got parameters. Using configuration type JNDI_NAME
> > > INFO  2007-10-09 10:35:08,157 DatabaseProvider:successMessage - --
> > > Using JNDI datasource name: java:comp/env/jdbc/rollerdb
> > > INFO  2007-10-09 10:35:08,159 DatabaseProvider:successMessage -
> > > SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> > > INFO  2007-10-09 10:35:08,571 DatabaseInstaller:upgradeDatabase -
> > > Database is old, beginning upgrade to version 400
> > > ERROR 2007-10-09 10:35:08,599 DatabaseInstaller:errorMessage - Problem
> > > upgrading database to version 320
> > > com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
> > > 'parentid' in 'field list'
> > >         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
> > >         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
> > >         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
> > >         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
> > >         at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
> > >         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
> > >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
> > >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
> > >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
> > >         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
> > >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
> > >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
> > >         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
> > >         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
> > >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> > >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
> > >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> > >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> > >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> > >         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> > >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> > >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> > >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> > >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> > >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> > >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> > >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> > >         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> > >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> > >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > > FATAL 2007-10-09 10:35:08,603 RollerContext:contextInitialized -
> > > Roller Weblogger startup failed during app preparation
> > > org.apache.roller.weblogger.business.startup.StartupException: Problem
> > > upgrading database to version 320
> > >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:764)
> > >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
> > >         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
> > >         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
> > >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> > >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
> > >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> > >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> > >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> > >         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> > >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> > >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> > >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> > >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> > >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> > >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> > >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> > >         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> > >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> > >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > > --- ROOT CAUSE ---
> > > com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
> > > 'parentid' in 'field list'
> > >         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
> > >         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
> > >         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
> > >         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
> > >         at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
> > >         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
> > >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
> > >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
> > >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
> > >         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
> > >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
> > >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
> > >         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
> > >         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
> > >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> > >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
> > >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> > >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> > >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> > >         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> > >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> > >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> > >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> > >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> > >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> > >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> > >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> > >         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> > >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> > >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > >
> > > Any ideas?
> > >
> > > Matt
> > >
> > > On 10/5/07, Dave <sn...@gmail.com> wrote:
> > > > On 10/5/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > > > > My roller-custom.properties (in tomcat6/lib) doesn't seem to be
> > > > > getting picked up. Therefore, my legacy theme doesn't work. Any ideas?
> > > > > Here's the contents:
> > > > >
> > > > > plugins.page=\
> > > > > org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.TopicTagPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.WikipediaLinkPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.GoogleLinkPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.AcronymsPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.BookmarkPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.ObfuscateEmailPlugin \
> > > > > ,org.apache.roller.ui.rendering.plugins.SmileysPlugin \
> > > > > ,net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
> > > >
> > > > Take a look at the roller.properties file at the end of the
> > > > installation guide to get the correct package names for those plugins.
> > > >
> > > > - Dave
> > > >
> > >
> > >
> > > --
> > > http://raibledesigns.com
> > >
> >
> >
> > --
> > http://raibledesigns.com
> >
>
>
> --
> http://raibledesigns.com
>


-- 
http://raibledesigns.com

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> ERROR 2007-10-09 11:43:43,648 BasicTilesContainer:render - Error rendering tile
> java.io.IOException: Error including path
> '/WEB-INF/jsps/tiles/tiles-simplepage.jsp'.
> java.lang.NoClassDefFoundError:
> org/apache/roller/ui/core/RollerSession

Hmm... an old 'org.apache.roller' package name.
Sure you cleared out tomcat/work?

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
After commenting out my plugins in roller-custom.properties, I was
able to get Roller to start. However, when I go to
http://localhost:8080, all I get is a 404. Here's what's in the logs:

INFO  2007-10-09 11:39:57,998 InitFilter:getAbsoluteUrl - http://localhost:8080

If I manually type in /roller-ui/login-redirect.jsp, I get the following error:

javax.servlet.ServletException: java.lang.NoClassDefFoundError:
org/apache/roller/ui/core/RollerSession
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

I re-copied all the JARs from the distribution to my WEB-INF/lib to
make sure I'm not missing anything. But I still get the same error:

ERROR 2007-10-09 11:43:43,648 BasicTilesContainer:render - Error rendering tile
java.io.IOException: Error including path
'/WEB-INF/jsps/tiles/tiles-simplepage.jsp'.
java.lang.NoClassDefFoundError:
org/apache/roller/ui/core/RollerSession

I'm on OS X with JDK 5 and MySQL 5 on Tomcat 6.

Matt

On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> I was able to get past this issue by manually running the dbupgrade
> script. Now I'm stumped on plugins. None of the ones I had listed seem
> to exist anymore. The only ones I can find are:
>
> core/plugins:
>
> TextEditor.class
> UIPluginManager.class
> UIPluginManagerImpl.class
> WeblogEntryEditor.class
> XinhaEditor.class
>
> rendering/plugin/comments:
>
> AkismetCommentValidator.class
> BlacklistCommentValidator.class
> CommentAuthenticator.class
> CommentValidationManager.class
> CommentValidator.class
> DefaultCommentAuthenticator.class
> ExcessLinksCommentValidator.class
> ExcessSizeCommentValidator.class
> MathCommentAuthenticator.class
> TrackbackLinkbackCommentValidator.class
>
> What happened to Smileys and the rest of them?
>
> org.apache.roller.weblogger.ui.rendering.plugins.ConvertLineBreaksPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.TopicTagPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.WikipediaLinkPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.GoogleLinkPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.AcronymsPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.BookmarkPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.ObfuscateEmailPlugin \
> ,org.apache.roller.weblogger.ui.rendering.plugins.SmileysPlugin
>
> Thanks,
>
> Matt
> On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > I don't know what this issue was caused by but it went away. Now I'm
> > trying to upgrade my existing site to 4.0. I believe I'm currently
> > running an RC of 3.1. Here's the error I'm getting:
> >
> > INFO  2007-10-09 10:35:08,153 DatabaseProvider:successMessage -
> > SUCCESS: Got parameters. Using configuration type JNDI_NAME
> > INFO  2007-10-09 10:35:08,157 DatabaseProvider:successMessage - --
> > Using JNDI datasource name: java:comp/env/jdbc/rollerdb
> > INFO  2007-10-09 10:35:08,159 DatabaseProvider:successMessage -
> > SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> > INFO  2007-10-09 10:35:08,571 DatabaseInstaller:upgradeDatabase -
> > Database is old, beginning upgrade to version 400
> > ERROR 2007-10-09 10:35:08,599 DatabaseInstaller:errorMessage - Problem
> > upgrading database to version 320
> > com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
> > 'parentid' in 'field list'
> >         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
> >         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
> >         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
> >         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
> >         at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
> >         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
> >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
> >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
> >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
> >         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
> >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
> >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
> >         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
> >         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
> >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> >         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > FATAL 2007-10-09 10:35:08,603 RollerContext:contextInitialized -
> > Roller Weblogger startup failed during app preparation
> > org.apache.roller.weblogger.business.startup.StartupException: Problem
> > upgrading database to version 320
> >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:764)
> >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
> >         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
> >         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
> >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> >         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > --- ROOT CAUSE ---
> > com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
> > 'parentid' in 'field list'
> >         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
> >         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
> >         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
> >         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
> >         at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
> >         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
> >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
> >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
> >         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
> >         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
> >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
> >         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
> >         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
> >         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
> >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> >         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> >
> > Any ideas?
> >
> > Matt
> >
> > On 10/5/07, Dave <sn...@gmail.com> wrote:
> > > On 10/5/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > > > My roller-custom.properties (in tomcat6/lib) doesn't seem to be
> > > > getting picked up. Therefore, my legacy theme doesn't work. Any ideas?
> > > > Here's the contents:
> > > >
> > > > plugins.page=\
> > > > org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.TopicTagPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.WikipediaLinkPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.GoogleLinkPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.AcronymsPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.BookmarkPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.ObfuscateEmailPlugin \
> > > > ,org.apache.roller.ui.rendering.plugins.SmileysPlugin \
> > > > ,net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
> > >
> > > Take a look at the roller.properties file at the end of the
> > > installation guide to get the correct package names for those plugins.
> > >
> > > - Dave
> > >
> >
> >
> > --
> > http://raibledesigns.com
> >
>
>
> --
> http://raibledesigns.com
>


-- 
http://raibledesigns.com

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
I was able to get past this issue by manually running the dbupgrade
script. Now I'm stumped on plugins. None of the ones I had listed seem
to exist anymore. The only ones I can find are:

core/plugins:

TextEditor.class
UIPluginManager.class
UIPluginManagerImpl.class
WeblogEntryEditor.class
XinhaEditor.class

rendering/plugin/comments:

AkismetCommentValidator.class
BlacklistCommentValidator.class
CommentAuthenticator.class
CommentValidationManager.class
CommentValidator.class
DefaultCommentAuthenticator.class
ExcessLinksCommentValidator.class
ExcessSizeCommentValidator.class
MathCommentAuthenticator.class
TrackbackLinkbackCommentValidator.class

What happened to Smileys and the rest of them?

org.apache.roller.weblogger.ui.rendering.plugins.ConvertLineBreaksPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.TopicTagPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.WikipediaLinkPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.GoogleLinkPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.AcronymsPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.BookmarkPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.ObfuscateEmailPlugin \
,org.apache.roller.weblogger.ui.rendering.plugins.SmileysPlugin

Thanks,

Matt
On 10/9/07, Matt Raible <ma...@raibledesigns.com> wrote:
> I don't know what this issue was caused by but it went away. Now I'm
> trying to upgrade my existing site to 4.0. I believe I'm currently
> running an RC of 3.1. Here's the error I'm getting:
>
> INFO  2007-10-09 10:35:08,153 DatabaseProvider:successMessage -
> SUCCESS: Got parameters. Using configuration type JNDI_NAME
> INFO  2007-10-09 10:35:08,157 DatabaseProvider:successMessage - --
> Using JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2007-10-09 10:35:08,159 DatabaseProvider:successMessage -
> SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2007-10-09 10:35:08,571 DatabaseInstaller:upgradeDatabase -
> Database is old, beginning upgrade to version 400
> ERROR 2007-10-09 10:35:08,599 DatabaseInstaller:errorMessage - Problem
> upgrading database to version 320
> com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
> 'parentid' in 'field list'
>         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
>         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
>         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
>         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
>         at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
>         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
>         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
>         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
>         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
>         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
>         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> FATAL 2007-10-09 10:35:08,603 RollerContext:contextInitialized -
> Roller Weblogger startup failed during app preparation
> org.apache.roller.weblogger.business.startup.StartupException: Problem
> upgrading database to version 320
>         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:764)
>         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
>         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
>         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> --- ROOT CAUSE ---
> com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
> 'parentid' in 'field list'
>         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
>         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
>         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
>         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
>         at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
>         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
>         at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
>         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
>         at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
>         at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
>         at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>
> Any ideas?
>
> Matt
>
> On 10/5/07, Dave <sn...@gmail.com> wrote:
> > On 10/5/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > > My roller-custom.properties (in tomcat6/lib) doesn't seem to be
> > > getting picked up. Therefore, my legacy theme doesn't work. Any ideas?
> > > Here's the contents:
> > >
> > > plugins.page=\
> > > org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.TopicTagPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.WikipediaLinkPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.GoogleLinkPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.AcronymsPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.BookmarkPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.ObfuscateEmailPlugin \
> > > ,org.apache.roller.ui.rendering.plugins.SmileysPlugin \
> > > ,net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
> >
> > Take a look at the roller.properties file at the end of the
> > installation guide to get the correct package names for those plugins.
> >
> > - Dave
> >
>
>
> --
> http://raibledesigns.com
>


-- 
http://raibledesigns.com

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
I don't know what this issue was caused by but it went away. Now I'm
trying to upgrade my existing site to 4.0. I believe I'm currently
running an RC of 3.1. Here's the error I'm getting:

INFO  2007-10-09 10:35:08,153 DatabaseProvider:successMessage -
SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2007-10-09 10:35:08,157 DatabaseProvider:successMessage - --
Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2007-10-09 10:35:08,159 DatabaseProvider:successMessage -
SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2007-10-09 10:35:08,571 DatabaseInstaller:upgradeDatabase -
Database is old, beginning upgrade to version 400
ERROR 2007-10-09 10:35:08,599 DatabaseInstaller:errorMessage - Problem
upgrading database to version 320
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
'parentid' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
	at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
	at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
	at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
	at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
FATAL 2007-10-09 10:35:08,603 RollerContext:contextInitialized -
Roller Weblogger startup failed during app preparation
org.apache.roller.weblogger.business.startup.StartupException: Problem
upgrading database to version 320
	at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:764)
	at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
	at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
	at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
--- ROOT CAUSE ---
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
'parentid' in 'field list'
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
	at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeTo400(DatabaseInstaller.java:741)
	at org.apache.roller.weblogger.business.startup.DatabaseInstaller.upgradeDatabase(DatabaseInstaller.java:245)
	at org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:192)
	at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Any ideas?

Matt

On 10/5/07, Dave <sn...@gmail.com> wrote:
> On 10/5/07, Matt Raible <ma...@raibledesigns.com> wrote:
> > My roller-custom.properties (in tomcat6/lib) doesn't seem to be
> > getting picked up. Therefore, my legacy theme doesn't work. Any ideas?
> > Here's the contents:
> >
> > plugins.page=\
> > org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin \
> > ,org.apache.roller.ui.rendering.plugins.TopicTagPlugin \
> > ,org.apache.roller.ui.rendering.plugins.WikipediaLinkPlugin \
> > ,org.apache.roller.ui.rendering.plugins.GoogleLinkPlugin \
> > ,org.apache.roller.ui.rendering.plugins.AcronymsPlugin \
> > ,org.apache.roller.ui.rendering.plugins.BookmarkPlugin \
> > ,org.apache.roller.ui.rendering.plugins.ObfuscateEmailPlugin \
> > ,org.apache.roller.ui.rendering.plugins.SmileysPlugin \
> > ,net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
>
> Take a look at the roller.properties file at the end of the
> installation guide to get the correct package names for those plugins.
>
> - Dave
>


-- 
http://raibledesigns.com

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Dave <sn...@gmail.com>.
On 10/5/07, Matt Raible <ma...@raibledesigns.com> wrote:
> My roller-custom.properties (in tomcat6/lib) doesn't seem to be
> getting picked up. Therefore, my legacy theme doesn't work. Any ideas?
> Here's the contents:
>
> plugins.page=\
> org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin \
> ,org.apache.roller.ui.rendering.plugins.TopicTagPlugin \
> ,org.apache.roller.ui.rendering.plugins.WikipediaLinkPlugin \
> ,org.apache.roller.ui.rendering.plugins.GoogleLinkPlugin \
> ,org.apache.roller.ui.rendering.plugins.AcronymsPlugin \
> ,org.apache.roller.ui.rendering.plugins.BookmarkPlugin \
> ,org.apache.roller.ui.rendering.plugins.ObfuscateEmailPlugin \
> ,org.apache.roller.ui.rendering.plugins.SmileysPlugin \
> ,net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin

Take a look at the roller.properties file at the end of the
installation guide to get the correct package names for those plugins.

- Dave

Re: VOTE: release RC7 as Apache Roller 4.0

Posted by Matt Raible <ma...@raibledesigns.com>.
My roller-custom.properties (in tomcat6/lib) doesn't seem to be
getting picked up. Therefore, my legacy theme doesn't work. Any ideas?
Here's the contents:

plugins.page=\
org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin \
,org.apache.roller.ui.rendering.plugins.TopicTagPlugin \
,org.apache.roller.ui.rendering.plugins.WikipediaLinkPlugin \
,org.apache.roller.ui.rendering.plugins.GoogleLinkPlugin \
,org.apache.roller.ui.rendering.plugins.AcronymsPlugin \
,org.apache.roller.ui.rendering.plugins.BookmarkPlugin \
,org.apache.roller.ui.rendering.plugins.ObfuscateEmailPlugin \
,org.apache.roller.ui.rendering.plugins.SmileysPlugin \
,net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin

passwds.encryption.enabled=true
rememberme.enabled=true

planet.aggregator.enabled=true
editor.theme=blue

rendering.legacyModels.enabled=true

Matt

On 10/4/07, Dave <sn...@gmail.com> wrote:
> I believe Roller 4.0 is ready for release. The code base has been in
> production at several sites for months now, it's gone through several
> rounds of testing at Sun and we've tested and fixed six RCs here on
> the dev mailing list.
>
> The release files are here:
>    http://people.apache.org/~snoopdave/apache-roller-4.0-rc7/
>
> The only changes since RC6 are:
> - Support for encrypted passwords in Admin API
> - Removal of Henry Yandel from default blog roll
>
> So please take a final look at the release files, try the 5-minute
> install if you haven't already and let's vote this release out the
> door.
>
> Thanks,
> - Dave
>


-- 
http://raibledesigns.com