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 2011/02/27 21:32:14 UTC

Apache Roller 5.0 RC4 available for testing

Apache Roller 5.0 Release Candidate RC4 is now available for testing.
Note that this is NOT a release of the Apache Software Foundation or
anybody else; this release candidate is for testing purposes only and
not recommended for production.

   What's new in Roller 5.0:
   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0

   Change list (issues resolved since 4.0)
   http://bit.ly/gAhDWR

   Issues resolved since last release candidate (RC4)
   http://bit.ly/iaLKyt

   Signed binary and source files. Also, documentation in PDF form
   http://people.apache.org/~snoopdave/apache-roller-5.0/

Could this be the one?

There were only minor fixes made since RC3 and RC4 is deployed
at blogs.apache.org (and my own blog), so hope to call for release
vote on this build depending how initial feedback goes.

If you would like to help out then please test RC4, discuss the
problems you encounter here and file specific bugs with steps to
reproduce in the Roller JIRA bug tracking system.

Thanks,
Dave

Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
Another thing I had to change. I previously used the CompressionFilter to compress *.css and *.js instead of using Wro4J's built-in gzip compression. The new CompressionFilter seems to have issues with wro4j, so I had to disable it for *.css and *.js and use wro4j instead.

On Mar 2, 2011, at 9:42 AM, Nicolas Muller wrote:

> I found the same problem with jndi configuration. Try the other one with
> informations (login, password...) into roller-custom.properties and it will
> be nice.
> 
> I think openjpa need a special configuration for datasource or ?
> 
> Best regards,
> 
> -----Message d'origine-----
> De : Matt Raible [mailto:matt@raibledesigns.com] 
> Envoyé : mercredi 2 mars 2011 17:35
> À : dev@roller.apache.org
> Cc : user
> Objet : Re: Apache Roller 5.0 RC4 available for testing
> 
> I tried installing my 4.0 database, upgrading it and getting all the proper
> JARs in place. I'm using Tomcat 7 with Java 6 on OS X and I get the
> following error on startup. 
> 
> I built from trunk rather than downloading the release.
> 
> My roller-custom.properties has the following:
> 
> plugins.page=\
> org.apache.roller.weblogger.business.plugins.entry.ConvertLineBreaksPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.TopicTagPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.ObfuscateEmailPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.SmileysPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.WikipediaLinkPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.GoogleLinkPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.AcronymsPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.BookmarkPlugin \
> ,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
> 
> comment.validator.excessSize.threshold=5000
> 
> O  2011-03-02 09:26:37,471 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:26:37,479 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:26:37,481 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2011-03-02 09:27:43,844 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:27:43,848 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:27:43,849 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> WARN  2011-03-02 09:27:44,192 WebloggerStartup:prepare - Failed to setup
> mail provider, continuing anways.
> Reason: ERROR connecting to mail server
> INFO  2011-03-02 09:27:44,222 DatabaseInstaller:upgradeDatabase - Database
> is old, beginning upgrade to version 500
> INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Bootstrapping
> Roller Weblogger business tier
> INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Weblogger
> Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
> hibernate.transaction.manager_lookup_class:
> org.hibernate.transaction.JBossTransactionManagerLookup
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
> hibernate.transaction.factory_class:
> org.hibernate.transaction.JTATransactionFactory
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - openjpa.Log:
> commons
> INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - search enabled: true
> INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - index dir:
> /Users/mraible/roller_data/search-index
> ERROR 2011-03-02 09:27:45,596 PluginManagerImpl:loadPagePluginClasses -
> ClassNotFoundException for
> net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
> INFO  2011-03-02 09:27:45,602 ReferrerQueueManagerImpl:<init> -
> Instantiating Referrer Queue Manager
> INFO  2011-03-02 09:27:45,603 ReferrerQueueManagerImpl:<init> - Asynchronous
> referrer processing = false
> INFO  2011-03-02 09:27:45,609 ThreadManagerImpl:<init> - Instantiating
> Thread Manager
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap - Roller Weblogger
> business tier successfully bootstrapped
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Version:
> 5.0.0-RC4
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Revision:
> r1076253
> INFO  2011-03-02 09:27:45,613 WebloggerImpl:initialize - Initializing Roller
> Weblogger business tier
> FATAL 2011-03-02 09:27:45,749 JPAPropertiesManagerImpl:initialize - Failed
> to initialize runtime configuration properties.Please check that the
> database has been upgraded!
> <openjpa-2.0.1-r422266:989424 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(DataSourceFac
> tory.java:76)
> 	at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(J
> DBCConfigurationImpl.java:839)
> 	at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(J
> DBCConfigurationImpl.java:597)
> 	at
> org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepos
> itory.java:1489)
> 	at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
> java:507)
> 	at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
> java:432)
> 	at
> org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
> 	at
> org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataReposito
> ryValue.java:68)
> 	at
> org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
> 	at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstan
> ce(OpenJPAConfigurationImpl.java:939)
> 	at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstan
> ce(OpenJPAConfigurationImpl.java:930)
> 	at
> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerF
> actory.java:639)
> 	at
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFact
> ory.java:206)
> 	at
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBroker
> Factory.java:156)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:227)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:154)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:60)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLoc
> alEntityManager(JPAPersistenceStrategy.java:238)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityMan
> ager(JPAPersistenceStrategy.java:225)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuer
> y(JPAPersistenceStrategy.java:258)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getPropert
> ies(JPAPropertiesManagerImpl.java:117)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize
> (JPAPropertiesManagerImpl.java:77)
> 	at
> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.
> java:338)
> 	at
> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerC
> ontext.java:161)
> 	at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 4600)
> 	at
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
> 	at
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
> 	at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
> va:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
> 08)
> 	at java.lang.Thread.run(Thread.java:680)
> 
> 
> On Feb 27, 2011, at 1:32 PM, Dave wrote:
> 
>> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
>> Note that this is NOT a release of the Apache Software Foundation or
>> anybody else; this release candidate is for testing purposes only and
>> not recommended for production.
>> 
>>  What's new in Roller 5.0:
>> 
> https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
>> 
>>  Change list (issues resolved since 4.0)
>>  http://bit.ly/gAhDWR
>> 
>>  Issues resolved since last release candidate (RC4)
>>  http://bit.ly/iaLKyt
>> 
>>  Signed binary and source files. Also, documentation in PDF form
>>  http://people.apache.org/~snoopdave/apache-roller-5.0/
>> 
>> Could this be the one?
>> 
>> There were only minor fixes made since RC3 and RC4 is deployed
>> at blogs.apache.org (and my own blog), so hope to call for release
>> vote on this build depending how initial feedback goes.
>> 
>> If you would like to help out then please test RC4, discuss the
>> problems you encounter here and file specific bugs with steps to
>> reproduce in the Roller JIRA bug tracking system.
>> 
>> Thanks,
>> Dave
> 


Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
After adding the following to my roller-custom.properties, I'm able to login:

# Password security settings
passwds.encryption.enabled=true
passwds.encryption.algorithm=SHA

Does this mean the defaults changed b/w 4 and 5?


On Mar 2, 2011, at 9:42 AM, Nicolas Muller wrote:

> I found the same problem with jndi configuration. Try the other one with
> informations (login, password...) into roller-custom.properties and it will
> be nice.
> 
> I think openjpa need a special configuration for datasource or ?
> 
> Best regards,
> 
> -----Message d'origine-----
> De : Matt Raible [mailto:matt@raibledesigns.com] 
> Envoyé : mercredi 2 mars 2011 17:35
> À : dev@roller.apache.org
> Cc : user
> Objet : Re: Apache Roller 5.0 RC4 available for testing
> 
> I tried installing my 4.0 database, upgrading it and getting all the proper
> JARs in place. I'm using Tomcat 7 with Java 6 on OS X and I get the
> following error on startup. 
> 
> I built from trunk rather than downloading the release.
> 
> My roller-custom.properties has the following:
> 
> plugins.page=\
> org.apache.roller.weblogger.business.plugins.entry.ConvertLineBreaksPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.TopicTagPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.ObfuscateEmailPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.SmileysPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.WikipediaLinkPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.GoogleLinkPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.AcronymsPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.BookmarkPlugin \
> ,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
> 
> comment.validator.excessSize.threshold=5000
> 
> O  2011-03-02 09:26:37,471 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:26:37,479 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:26:37,481 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2011-03-02 09:27:43,844 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:27:43,848 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:27:43,849 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> WARN  2011-03-02 09:27:44,192 WebloggerStartup:prepare - Failed to setup
> mail provider, continuing anways.
> Reason: ERROR connecting to mail server
> INFO  2011-03-02 09:27:44,222 DatabaseInstaller:upgradeDatabase - Database
> is old, beginning upgrade to version 500
> INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Bootstrapping
> Roller Weblogger business tier
> INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Weblogger
> Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
> hibernate.transaction.manager_lookup_class:
> org.hibernate.transaction.JBossTransactionManagerLookup
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
> hibernate.transaction.factory_class:
> org.hibernate.transaction.JTATransactionFactory
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - openjpa.Log:
> commons
> INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - search enabled: true
> INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - index dir:
> /Users/mraible/roller_data/search-index
> ERROR 2011-03-02 09:27:45,596 PluginManagerImpl:loadPagePluginClasses -
> ClassNotFoundException for
> net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
> INFO  2011-03-02 09:27:45,602 ReferrerQueueManagerImpl:<init> -
> Instantiating Referrer Queue Manager
> INFO  2011-03-02 09:27:45,603 ReferrerQueueManagerImpl:<init> - Asynchronous
> referrer processing = false
> INFO  2011-03-02 09:27:45,609 ThreadManagerImpl:<init> - Instantiating
> Thread Manager
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap - Roller Weblogger
> business tier successfully bootstrapped
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Version:
> 5.0.0-RC4
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Revision:
> r1076253
> INFO  2011-03-02 09:27:45,613 WebloggerImpl:initialize - Initializing Roller
> Weblogger business tier
> FATAL 2011-03-02 09:27:45,749 JPAPropertiesManagerImpl:initialize - Failed
> to initialize runtime configuration properties.Please check that the
> database has been upgraded!
> <openjpa-2.0.1-r422266:989424 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(DataSourceFac
> tory.java:76)
> 	at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(J
> DBCConfigurationImpl.java:839)
> 	at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(J
> DBCConfigurationImpl.java:597)
> 	at
> org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepos
> itory.java:1489)
> 	at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
> java:507)
> 	at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
> java:432)
> 	at
> org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
> 	at
> org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataReposito
> ryValue.java:68)
> 	at
> org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
> 	at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstan
> ce(OpenJPAConfigurationImpl.java:939)
> 	at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstan
> ce(OpenJPAConfigurationImpl.java:930)
> 	at
> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerF
> actory.java:639)
> 	at
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFact
> ory.java:206)
> 	at
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBroker
> Factory.java:156)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:227)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:154)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:60)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLoc
> alEntityManager(JPAPersistenceStrategy.java:238)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityMan
> ager(JPAPersistenceStrategy.java:225)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuer
> y(JPAPersistenceStrategy.java:258)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getPropert
> ies(JPAPropertiesManagerImpl.java:117)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize
> (JPAPropertiesManagerImpl.java:77)
> 	at
> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.
> java:338)
> 	at
> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerC
> ontext.java:161)
> 	at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 4600)
> 	at
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
> 	at
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
> 	at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
> va:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
> 08)
> 	at java.lang.Thread.run(Thread.java:680)
> 
> 
> On Feb 27, 2011, at 1:32 PM, Dave wrote:
> 
>> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
>> Note that this is NOT a release of the Apache Software Foundation or
>> anybody else; this release candidate is for testing purposes only and
>> not recommended for production.
>> 
>>  What's new in Roller 5.0:
>> 
> https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
>> 
>>  Change list (issues resolved since 4.0)
>>  http://bit.ly/gAhDWR
>> 
>>  Issues resolved since last release candidate (RC4)
>>  http://bit.ly/iaLKyt
>> 
>>  Signed binary and source files. Also, documentation in PDF form
>>  http://people.apache.org/~snoopdave/apache-roller-5.0/
>> 
>> Could this be the one?
>> 
>> There were only minor fixes made since RC3 and RC4 is deployed
>> at blogs.apache.org (and my own blog), so hope to call for release
>> vote on this build depending how initial feedback goes.
>> 
>> If you would like to help out then please test RC4, discuss the
>> problems you encounter here and file specific bugs with steps to
>> reproduce in the Roller JIRA bug tracking system.
>> 
>> Thanks,
>> Dave
> 


Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
Thanks. That got me a bit further. Now I see the following errors on startup, but they don't seem to affect my blog since it's working. How do I disable Planet from starting?

ERROR 2011-03-02 09:56:08,414 JPAMediaFileManagerImpl:upgradeFileStorage - ERROR upgrading
java.io.FileNotFoundException: /Users/mraible/roller_data/uploads/migration-status.properties (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at org.apache.roller.weblogger.business.jpa.JPAMediaFileManagerImpl.upgradeFileStorage(JPAMediaFileManagerImpl.java:713)
        at org.apache.roller.weblogger.business.jpa.JPAMediaFileManagerImpl.initialize(JPAMediaFileManagerImpl.java:83)
        at org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:342)
        at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:161)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        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:546)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
INFO  2011-03-02 09:56:08,483 WebloggerImpl:initialize - Roller Weblogger business tier successfully initialized
INFO  2011-03-02 09:56:08,494 PlanetConfig:<clinit> - successfully loaded default properties.
INFO  2011-03-02 09:56:08,495 PlanetConfig:<clinit> - no custom properties file found in classpath
INFO  2011-03-02 09:56:08,495 PlanetConfig:<clinit> - no custom properties file specified via jvm option
INFO  2011-03-02 09:56:08,497 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:56:08,499 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:56:08,500 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
ERROR 2011-03-02 09:56:08,502 DatabaseProvider:errorMessage - ERROR: unable to obtain database connection. Likely problem: bad connection parameters or database unavailable.
FATAL 2011-03-02 09:56:08,502 RollerContext:contextInitialized - Roller Planet startup failed during app preparation
org.apache.roller.planet.business.startup.StartupException: ERROR: unable to obtain database connection. Likely problem: bad connection parameters or database unavailable.
        at org.apache.roller.planet.business.DatabaseProvider.<init>(DatabaseProvider.java:147)
        at org.apache.roller.planet.business.startup.PlanetStartup.prepare(PlanetStartup.java:86)
        at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:175)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        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:546)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
--- ROOT CAUSE ---
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1452)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
        at org.apache.roller.planet.business.DatabaseProvider.getConnection(DatabaseProvider.java:178)
        at org.apache.roller.planet.business.DatabaseProvider.<init>(DatabaseProvider.java:140)
        at org.apache.roller.planet.business.startup.PlanetStartup.prepare(PlanetStartup.java:86)
        at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:175)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        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:546)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getDriver(DriverManager.java:264)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
        ... 30 more

On Mar 2, 2011, at 9:42 AM, Nicolas Muller wrote:

> I found the same problem with jndi configuration. Try the other one with
> informations (login, password...) into roller-custom.properties and it will
> be nice.
> 
> I think openjpa need a special configuration for datasource or ?
> 
> Best regards,
> 
> -----Message d'origine-----
> De : Matt Raible [mailto:matt@raibledesigns.com] 
> Envoyé : mercredi 2 mars 2011 17:35
> À : dev@roller.apache.org
> Cc : user
> Objet : Re: Apache Roller 5.0 RC4 available for testing
> 
> I tried installing my 4.0 database, upgrading it and getting all the proper
> JARs in place. I'm using Tomcat 7 with Java 6 on OS X and I get the
> following error on startup. 
> 
> I built from trunk rather than downloading the release.
> 
> My roller-custom.properties has the following:
> 
> plugins.page=\
> org.apache.roller.weblogger.business.plugins.entry.ConvertLineBreaksPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.TopicTagPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.ObfuscateEmailPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.SmileysPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.WikipediaLinkPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.GoogleLinkPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.AcronymsPlugin \
> ,org.apache.roller.weblogger.business.plugins.entry.BookmarkPlugin \
> ,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
> 
> comment.validator.excessSize.threshold=5000
> 
> O  2011-03-02 09:26:37,471 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:26:37,479 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:26:37,481 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2011-03-02 09:27:43,844 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:27:43,848 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:27:43,849 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> WARN  2011-03-02 09:27:44,192 WebloggerStartup:prepare - Failed to setup
> mail provider, continuing anways.
> Reason: ERROR connecting to mail server
> INFO  2011-03-02 09:27:44,222 DatabaseInstaller:upgradeDatabase - Database
> is old, beginning upgrade to version 500
> INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Bootstrapping
> Roller Weblogger business tier
> INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Weblogger
> Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
> hibernate.transaction.manager_lookup_class:
> org.hibernate.transaction.JBossTransactionManagerLookup
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
> hibernate.transaction.factory_class:
> org.hibernate.transaction.JTATransactionFactory
> INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - openjpa.Log:
> commons
> INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - search enabled: true
> INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - index dir:
> /Users/mraible/roller_data/search-index
> ERROR 2011-03-02 09:27:45,596 PluginManagerImpl:loadPagePluginClasses -
> ClassNotFoundException for
> net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
> INFO  2011-03-02 09:27:45,602 ReferrerQueueManagerImpl:<init> -
> Instantiating Referrer Queue Manager
> INFO  2011-03-02 09:27:45,603 ReferrerQueueManagerImpl:<init> - Asynchronous
> referrer processing = false
> INFO  2011-03-02 09:27:45,609 ThreadManagerImpl:<init> - Instantiating
> Thread Manager
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap - Roller Weblogger
> business tier successfully bootstrapped
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Version:
> 5.0.0-RC4
> INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Revision:
> r1076253
> INFO  2011-03-02 09:27:45,613 WebloggerImpl:initialize - Initializing Roller
> Weblogger business tier
> FATAL 2011-03-02 09:27:45,749 JPAPropertiesManagerImpl:initialize - Failed
> to initialize runtime configuration properties.Please check that the
> database has been upgraded!
> <openjpa-2.0.1-r422266:989424 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(DataSourceFac
> tory.java:76)
> 	at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(J
> DBCConfigurationImpl.java:839)
> 	at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(J
> DBCConfigurationImpl.java:597)
> 	at
> org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepos
> itory.java:1489)
> 	at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
> java:507)
> 	at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
> java:432)
> 	at
> org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
> 	at
> org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataReposito
> ryValue.java:68)
> 	at
> org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
> 	at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstan
> ce(OpenJPAConfigurationImpl.java:939)
> 	at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstan
> ce(OpenJPAConfigurationImpl.java:930)
> 	at
> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerF
> actory.java:639)
> 	at
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFact
> ory.java:206)
> 	at
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBroker
> Factory.java:156)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:227)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:154)
> 	at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
> EntityManagerFactoryImpl.java:60)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLoc
> alEntityManager(JPAPersistenceStrategy.java:238)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityMan
> ager(JPAPersistenceStrategy.java:225)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuer
> y(JPAPersistenceStrategy.java:258)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getPropert
> ies(JPAPropertiesManagerImpl.java:117)
> 	at
> org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize
> (JPAPropertiesManagerImpl.java:77)
> 	at
> org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.
> java:338)
> 	at
> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerC
> ontext.java:161)
> 	at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> 4600)
> 	at
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
> 	at
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
> 	at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
> va:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
> 08)
> 	at java.lang.Thread.run(Thread.java:680)
> 
> 
> On Feb 27, 2011, at 1:32 PM, Dave wrote:
> 
>> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
>> Note that this is NOT a release of the Apache Software Foundation or
>> anybody else; this release candidate is for testing purposes only and
>> not recommended for production.
>> 
>>  What's new in Roller 5.0:
>> 
> https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
>> 
>>  Change list (issues resolved since 4.0)
>>  http://bit.ly/gAhDWR
>> 
>>  Issues resolved since last release candidate (RC4)
>>  http://bit.ly/iaLKyt
>> 
>>  Signed binary and source files. Also, documentation in PDF form
>>  http://people.apache.org/~snoopdave/apache-roller-5.0/
>> 
>> Could this be the one?
>> 
>> There were only minor fixes made since RC3 and RC4 is deployed
>> at blogs.apache.org (and my own blog), so hope to call for release
>> vote on this build depending how initial feedback goes.
>> 
>> If you would like to help out then please test RC4, discuss the
>> problems you encounter here and file specific bugs with steps to
>> reproduce in the Roller JIRA bug tracking system.
>> 
>> Thanks,
>> Dave
> 


RE: Apache Roller 5.0 RC4 available for testing

Posted by Nicolas Muller <n....@nouvellemarque.com>.
I found the same problem with jndi configuration. Try the other one with
informations (login, password...) into roller-custom.properties and it will
be nice.

I think openjpa need a special configuration for datasource or ?

Best regards,

-----Message d'origine-----
De : Matt Raible [mailto:matt@raibledesigns.com] 
Envoyé : mercredi 2 mars 2011 17:35
À : dev@roller.apache.org
Cc : user
Objet : Re: Apache Roller 5.0 RC4 available for testing

I tried installing my 4.0 database, upgrading it and getting all the proper
JARs in place. I'm using Tomcat 7 with Java 6 on OS X and I get the
following error on startup. 

I built from trunk rather than downloading the release.

My roller-custom.properties has the following:

plugins.page=\
org.apache.roller.weblogger.business.plugins.entry.ConvertLineBreaksPlugin \
,org.apache.roller.weblogger.business.plugins.entry.TopicTagPlugin \
,org.apache.roller.weblogger.business.plugins.entry.ObfuscateEmailPlugin \
,org.apache.roller.weblogger.business.plugins.entry.SmileysPlugin \
,org.apache.roller.weblogger.business.plugins.entry.WikipediaLinkPlugin \
,org.apache.roller.weblogger.business.plugins.entry.GoogleLinkPlugin \
,org.apache.roller.weblogger.business.plugins.entry.AcronymsPlugin \
,org.apache.roller.weblogger.business.plugins.entry.BookmarkPlugin \
,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

comment.validator.excessSize.threshold=5000

O  2011-03-02 09:26:37,471 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:26:37,479 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:26:37,481 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-03-02 09:27:43,844 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:27:43,848 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:27:43,849 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
WARN  2011-03-02 09:27:44,192 WebloggerStartup:prepare - Failed to setup
mail provider, continuing anways.
Reason: ERROR connecting to mail server
INFO  2011-03-02 09:27:44,222 DatabaseInstaller:upgradeDatabase - Database
is old, beginning upgrade to version 500
INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Bootstrapping
Roller Weblogger business tier
INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Weblogger
Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
hibernate.transaction.manager_lookup_class:
org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> -
hibernate.transaction.factory_class:
org.hibernate.transaction.JTATransactionFactory
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - openjpa.Log:
commons
INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - search enabled: true
INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - index dir:
/Users/mraible/roller_data/search-index
ERROR 2011-03-02 09:27:45,596 PluginManagerImpl:loadPagePluginClasses -
ClassNotFoundException for
net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
INFO  2011-03-02 09:27:45,602 ReferrerQueueManagerImpl:<init> -
Instantiating Referrer Queue Manager
INFO  2011-03-02 09:27:45,603 ReferrerQueueManagerImpl:<init> - Asynchronous
referrer processing = false
INFO  2011-03-02 09:27:45,609 ThreadManagerImpl:<init> - Instantiating
Thread Manager
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap - Roller Weblogger
business tier successfully bootstrapped
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Version:
5.0.0-RC4
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Revision:
r1076253
INFO  2011-03-02 09:27:45,613 WebloggerImpl:initialize - Initializing Roller
Weblogger business tier
FATAL 2011-03-02 09:27:45,749 JPAPropertiesManagerImpl:initialize - Failed
to initialize runtime configuration properties.Please check that the
database has been upgraded!
<openjpa-2.0.1-r422266:989424 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(DataSourceFac
tory.java:76)
	at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(J
DBCConfigurationImpl.java:839)
	at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(J
DBCConfigurationImpl.java:597)
	at
org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepos
itory.java:1489)
	at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
java:507)
	at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.
java:432)
	at
org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
	at
org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataReposito
ryValue.java:68)
	at
org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
	at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstan
ce(OpenJPAConfigurationImpl.java:939)
	at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstan
ce(OpenJPAConfigurationImpl.java:930)
	at
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerF
actory.java:639)
	at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFact
ory.java:206)
	at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBroker
Factory.java:156)
	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
EntityManagerFactoryImpl.java:227)
	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
EntityManagerFactoryImpl.java:154)
	at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(
EntityManagerFactoryImpl.java:60)
	at
org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLoc
alEntityManager(JPAPersistenceStrategy.java:238)
	at
org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityMan
ager(JPAPersistenceStrategy.java:225)
	at
org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuer
y(JPAPersistenceStrategy.java:258)
	at
org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getPropert
ies(JPAPropertiesManagerImpl.java:117)
	at
org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize
(JPAPropertiesManagerImpl.java:77)
	at
org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.
java:338)
	at
org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerC
ontext.java:161)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
4600)
	at
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
	at
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
	at java.lang.Thread.run(Thread.java:680)


On Feb 27, 2011, at 1:32 PM, Dave wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>
https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave


Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
I tried installing my 4.0 database, upgrading it and getting all the proper JARs in place. I'm using Tomcat 7 with Java 6 on OS X and I get the following error on startup. 

I built from trunk rather than downloading the release.

My roller-custom.properties has the following:

plugins.page=\
org.apache.roller.weblogger.business.plugins.entry.ConvertLineBreaksPlugin \
,org.apache.roller.weblogger.business.plugins.entry.TopicTagPlugin \
,org.apache.roller.weblogger.business.plugins.entry.ObfuscateEmailPlugin \
,org.apache.roller.weblogger.business.plugins.entry.SmileysPlugin \
,org.apache.roller.weblogger.business.plugins.entry.WikipediaLinkPlugin \
,org.apache.roller.weblogger.business.plugins.entry.GoogleLinkPlugin \
,org.apache.roller.weblogger.business.plugins.entry.AcronymsPlugin \
,org.apache.roller.weblogger.business.plugins.entry.BookmarkPlugin \
,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

comment.validator.excessSize.threshold=5000

O  2011-03-02 09:26:37,471 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:26:37,479 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:26:37,481 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-03-02 09:27:43,844 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:27:43,848 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:27:43,849 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
WARN  2011-03-02 09:27:44,192 WebloggerStartup:prepare - Failed to setup mail provider, continuing anways.
Reason: ERROR connecting to mail server
INFO  2011-03-02 09:27:44,222 DatabaseInstaller:upgradeDatabase - Database is old, beginning upgrade to version 500
INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Bootstrapping Roller Weblogger business tier
INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Weblogger Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - hibernate.transaction.manager_lookup_class: org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - hibernate.transaction.factory_class: org.hibernate.transaction.JTATransactionFactory
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - openjpa.Log: commons
INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - search enabled: true
INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - index dir: /Users/mraible/roller_data/search-index
ERROR 2011-03-02 09:27:45,596 PluginManagerImpl:loadPagePluginClasses - ClassNotFoundException for net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
INFO  2011-03-02 09:27:45,602 ReferrerQueueManagerImpl:<init> - Instantiating Referrer Queue Manager
INFO  2011-03-02 09:27:45,603 ReferrerQueueManagerImpl:<init> - Asynchronous referrer processing = false
INFO  2011-03-02 09:27:45,609 ThreadManagerImpl:<init> - Instantiating Thread Manager
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap - Roller Weblogger business tier successfully bootstrapped
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Version: 5.0.0-RC4
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Revision: r1076253
INFO  2011-03-02 09:27:45,613 WebloggerImpl:initialize - Initializing Roller Weblogger business tier
FATAL 2011-03-02 09:27:45,749 JPAPropertiesManagerImpl:initialize - Failed to initialize runtime configuration properties.Please check that the database has been upgraded!
<openjpa-2.0.1-r422266:989424 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:76)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:839)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:597)
	at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1489)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:507)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:432)
	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
	at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:939)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:930)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:639)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:206)
	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
	at org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLocalEntityManager(JPAPersistenceStrategy.java:238)
	at org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityManager(JPAPersistenceStrategy.java:225)
	at org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuery(JPAPersistenceStrategy.java:258)
	at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getProperties(JPAPropertiesManagerImpl.java:117)
	at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize(JPAPropertiesManagerImpl.java:77)
	at org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:338)
	at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:161)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4600)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)


On Feb 27, 2011, at 1:32 PM, Dave wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave


Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
On Thu, Mar 3, 2011 at 9:29 AM, Matt Raible <ma...@raibledesigns.com> wrote:

> I was able to get past this by upgrading to a MySQL 5 database. I generally
> upgrade by coping the new roller codebase over my old one. This is because I
> have a lot of symlinks and other files in my "ROOT" directory and like to
> keep those. In doing this, I found I had to do a couple things after copying
> everything over:
>
> 1. Delete WEB-INF/lib and recopy from RC4's WEB-INF/lib.
> 2. Delete WEB-INF/classes and recopy from RC4's WEB-INF/classes.
> 3. Copy Lucene 1.4.3 into WEB-INF/lib for the JSPWiki plugin. Otherwise, I
> get the following error:
>
> Exception in thread "Thread-44" java.lang.NoSuchMethodError:
> org.apache.lucene.document.Field.Keyword(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/lucene/document/Field;
>         at
> com.ecyrd.jspwiki.search.LuceneSearchProvider.luceneIndexPage(LuceneSearchProvider.java:437)
>         at
> com.ecyrd.jspwiki.search.LuceneSearchProvider.doFullLuceneReindex(LuceneSearchProvider.java:191)
>         at
> com.ecyrd.jspwiki.search.LuceneSearchProvider.access$000(LuceneSearchProvider.java:70)
>         at
> com.ecyrd.jspwiki.search.LuceneSearchProvider$1.run(LuceneSearchProvider.java:352)
>
> Two issues I'm now dealing with:
>
> 1. Search doesn't seem to work. See
> http://raibledesigns.com/rd/search?q=jquery
>

This works locally, but still not on raibledesigns.com. I tried reindexing
search results, but don't see anything in the logs (catalina.out and
roller.log) that this is happening.


>
> 2. My archives page's calendar doesn't work. It shows the following:
> $calendarModel.showWeblogEntryCalendarBig($weblog, $cat)
>
> http://raibledesigns.com/rd/page/archives
>

Changing #showBigWeblogCalendar() to
#showWeblogEntryCalendarBig($model.weblog "nil") solved this issue.


> 3. Favicon doesn't shop up in Firefox.


Copying favicon.ico from my previous ROOT folder and clearing the cache on
Firefox solved this issue.

So search doesn't work, but everything else seems OK (so far).


>
>
> On Wed, Mar 2, 2011 at 10:57 AM, Matt Raible <ma...@raibledesigns.com>wrote:
>
>> When trying to upgrade my production database (which is 3.23.56), I get
>> the following error from dbscripts:
>>
>> $ mysql -u raible -p raible < 400-to-500-migration.sql
>> Enter password:
>> ERROR 1064 (00000) at line 42: You have an error in your SQL syntax near
>> 'as w set
>>    lastmodified = lastmodified,
>>    datecreated = datecreated,
>>    cr' at line 1
>>
>> On Feb 27, 2011, at 1:32 PM, Dave wrote:
>>
>> > Apache Roller 5.0 Release Candidate RC4 is now available for testing.
>> > Note that this is NOT a release of the Apache Software Foundation or
>> > anybody else; this release candidate is for testing purposes only and
>> > not recommended for production.
>> >
>> >   What's new in Roller 5.0:
>> >
>> https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0<https://cwiki.apache.org/confluence/display/ROLLER/What%27s+new+in+Roller+5.0>
>> >
>> >   Change list (issues resolved since 4.0)
>> >   http://bit.ly/gAhDWR
>> >
>> >   Issues resolved since last release candidate (RC4)
>> >   http://bit.ly/iaLKyt
>> >
>> >   Signed binary and source files. Also, documentation in PDF form
>> >   http://people.apache.org/~snoopdave/apache-roller-5.0/
>> >
>> > Could this be the one?
>> >
>> > There were only minor fixes made since RC3 and RC4 is deployed
>> > at blogs.apache.org (and my own blog), so hope to call for release
>> > vote on this build depending how initial feedback goes.
>> >
>> > If you would like to help out then please test RC4, discuss the
>> > problems you encounter here and file specific bugs with steps to
>> > reproduce in the Roller JIRA bug tracking system.
>> >
>> > Thanks,
>> > Dave
>>
>>
>

Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
I was able to get past this by upgrading to a MySQL 5 database. I generally
upgrade by coping the new roller codebase over my old one. This is because I
have a lot of symlinks and other files in my "ROOT" directory and like to
keep those. In doing this, I found I had to do a couple things after copying
everything over:

1. Delete WEB-INF/lib and recopy from RC4's WEB-INF/lib.
2. Delete WEB-INF/classes and recopy from RC4's WEB-INF/classes.
3. Copy Lucene 1.4.3 into WEB-INF/lib for the JSPWiki plugin. Otherwise, I
get the following error:

Exception in thread "Thread-44" java.lang.NoSuchMethodError:
org.apache.lucene.document.Field.Keyword(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/lucene/document/Field;
        at
com.ecyrd.jspwiki.search.LuceneSearchProvider.luceneIndexPage(LuceneSearchProvider.java:437)
        at
com.ecyrd.jspwiki.search.LuceneSearchProvider.doFullLuceneReindex(LuceneSearchProvider.java:191)
        at
com.ecyrd.jspwiki.search.LuceneSearchProvider.access$000(LuceneSearchProvider.java:70)
        at
com.ecyrd.jspwiki.search.LuceneSearchProvider$1.run(LuceneSearchProvider.java:352)

Two issues I'm now dealing with:

1. Search doesn't seem to work. See
http://raibledesigns.com/rd/search?q=jquery

2. My archives page's calendar doesn't work. It shows the following:
$calendarModel.showWeblogEntryCalendarBig($weblog, $cat)

http://raibledesigns.com/rd/page/archives

3. Favicon doesn't shop up in Firefox.

On Wed, Mar 2, 2011 at 10:57 AM, Matt Raible <ma...@raibledesigns.com> wrote:

> When trying to upgrade my production database (which is 3.23.56), I get the
> following error from dbscripts:
>
> $ mysql -u raible -p raible < 400-to-500-migration.sql
> Enter password:
> ERROR 1064 (00000) at line 42: You have an error in your SQL syntax near
> 'as w set
>    lastmodified = lastmodified,
>    datecreated = datecreated,
>    cr' at line 1
>
> On Feb 27, 2011, at 1:32 PM, Dave wrote:
>
> > Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> > Note that this is NOT a release of the Apache Software Foundation or
> > anybody else; this release candidate is for testing purposes only and
> > not recommended for production.
> >
> >   What's new in Roller 5.0:
> >
> https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0<https://cwiki.apache.org/confluence/display/ROLLER/What%27s+new+in+Roller+5.0>
> >
> >   Change list (issues resolved since 4.0)
> >   http://bit.ly/gAhDWR
> >
> >   Issues resolved since last release candidate (RC4)
> >   http://bit.ly/iaLKyt
> >
> >   Signed binary and source files. Also, documentation in PDF form
> >   http://people.apache.org/~snoopdave/apache-roller-5.0/
> >
> > Could this be the one?
> >
> > There were only minor fixes made since RC3 and RC4 is deployed
> > at blogs.apache.org (and my own blog), so hope to call for release
> > vote on this build depending how initial feedback goes.
> >
> > If you would like to help out then please test RC4, discuss the
> > problems you encounter here and file specific bugs with steps to
> > reproduce in the Roller JIRA bug tracking system.
> >
> > Thanks,
> > Dave
>
>

Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
When trying to upgrade my production database (which is 3.23.56), I get the following error from dbscripts:

$ mysql -u raible -p raible < 400-to-500-migration.sql 
Enter password: 
ERROR 1064 (00000) at line 42: You have an error in your SQL syntax near 'as w set 
    lastmodified = lastmodified,
    datecreated = datecreated,
    cr' at line 1

On Feb 27, 2011, at 1:32 PM, Dave wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave


Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
I tried installing my 4.0 database, upgrading it and getting all the proper JARs in place. I'm using Tomcat 7 with Java 6 on OS X and I get the following error on startup. 

I built from trunk rather than downloading the release.

My roller-custom.properties has the following:

plugins.page=\
org.apache.roller.weblogger.business.plugins.entry.ConvertLineBreaksPlugin \
,org.apache.roller.weblogger.business.plugins.entry.TopicTagPlugin \
,org.apache.roller.weblogger.business.plugins.entry.ObfuscateEmailPlugin \
,org.apache.roller.weblogger.business.plugins.entry.SmileysPlugin \
,org.apache.roller.weblogger.business.plugins.entry.WikipediaLinkPlugin \
,org.apache.roller.weblogger.business.plugins.entry.GoogleLinkPlugin \
,org.apache.roller.weblogger.business.plugins.entry.AcronymsPlugin \
,org.apache.roller.weblogger.business.plugins.entry.BookmarkPlugin \
,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

comment.validator.excessSize.threshold=5000

O  2011-03-02 09:26:37,471 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:26:37,479 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:26:37,481 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-03-02 09:27:43,844 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:27:43,848 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:27:43,849 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
WARN  2011-03-02 09:27:44,192 WebloggerStartup:prepare - Failed to setup mail provider, continuing anways.
Reason: ERROR connecting to mail server
INFO  2011-03-02 09:27:44,222 DatabaseInstaller:upgradeDatabase - Database is old, beginning upgrade to version 500
INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Bootstrapping Roller Weblogger business tier
INFO  2011-03-02 09:27:45,004 WebloggerFactory:bootstrap - Weblogger Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using configuration type JNDI_NAME
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - -- Using JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2011-03-02 09:27:45,007 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource [java:comp/env/jdbc/rollerdb]
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - hibernate.transaction.manager_lookup_class: org.hibernate.transaction.JBossTransactionManagerLookup
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - hibernate.transaction.factory_class: org.hibernate.transaction.JTATransactionFactory
INFO  2011-03-02 09:27:45,008 JPAPersistenceStrategy:<init> - openjpa.Log: commons
INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - search enabled: true
INFO  2011-03-02 09:27:45,584 IndexManagerImpl:<init> - index dir: /Users/mraible/roller_data/search-index
ERROR 2011-03-02 09:27:45,596 PluginManagerImpl:loadPagePluginClasses - ClassNotFoundException for net.java.dev.roller.plugins.weblogentry.jspwiki.WikiPlugin
INFO  2011-03-02 09:27:45,602 ReferrerQueueManagerImpl:<init> - Instantiating Referrer Queue Manager
INFO  2011-03-02 09:27:45,603 ReferrerQueueManagerImpl:<init> - Asynchronous referrer processing = false
INFO  2011-03-02 09:27:45,609 ThreadManagerImpl:<init> - Instantiating Thread Manager
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap - Roller Weblogger business tier successfully bootstrapped
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Version: 5.0.0-RC4
INFO  2011-03-02 09:27:45,613 WebloggerFactory:bootstrap -    Revision: r1076253
INFO  2011-03-02 09:27:45,613 WebloggerImpl:initialize - Initializing Roller Weblogger business tier
FATAL 2011-03-02 09:27:45,749 JPAPropertiesManagerImpl:initialize - Failed to initialize runtime configuration properties.Please check that the database has been upgraded!
<openjpa-2.0.1-r422266:989424 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:76)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:839)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:597)
	at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1489)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:507)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:432)
	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
	at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:939)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:930)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:639)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:206)
	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
	at org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getThreadLocalEntityManager(JPAPersistenceStrategy.java:238)
	at org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getEntityManager(JPAPersistenceStrategy.java:225)
	at org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy.getNamedQuery(JPAPersistenceStrategy.java:258)
	at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.getProperties(JPAPropertiesManagerImpl.java:117)
	at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize(JPAPropertiesManagerImpl.java:77)
	at org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:338)
	at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:161)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4600)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)


On Feb 27, 2011, at 1:32 PM, Dave wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave


Re: Apache Roller 5.0 RC4 available for testing

Posted by Michael Müller <mi...@mueller-bruehl.de>.
I just created my first blog, for testing purpose only.
If Roller works fine, I like to replace my wordpress blog 
(http://blog.mueller-bruehl.de).
But there is one requirement: How can I publish a multilingual blog?
Michael

Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
I plan on testing this tomorrow and reporting back shortly after.

On Feb 27, 2011, at 1:32 PM, Dave <sn...@gmail.com> wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave

Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
When trying to upgrade my production database (which is 3.23.56), I get the following error from dbscripts:

$ mysql -u raible -p raible < 400-to-500-migration.sql 
Enter password: 
ERROR 1064 (00000) at line 42: You have an error in your SQL syntax near 'as w set 
    lastmodified = lastmodified,
    datecreated = datecreated,
    cr' at line 1

On Feb 27, 2011, at 1:32 PM, Dave wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave


Re: Apache Roller 5.0 RC4 available for testing

Posted by Matt Raible <ma...@raibledesigns.com>.
I plan on testing this tomorrow and reporting back shortly after.

On Feb 27, 2011, at 1:32 PM, Dave <sn...@gmail.com> wrote:

> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
> 
>   What's new in Roller 5.0:
>   https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
> 
>   Change list (issues resolved since 4.0)
>   http://bit.ly/gAhDWR
> 
>   Issues resolved since last release candidate (RC4)
>   http://bit.ly/iaLKyt
> 
>   Signed binary and source files. Also, documentation in PDF form
>   http://people.apache.org/~snoopdave/apache-roller-5.0/
> 
> Could this be the one?
> 
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
> 
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
> 
> Thanks,
> Dave

Re: Apache Roller 5.0 RC4 available for testing

Posted by Michael Müller <mi...@mueller-bruehl.de>.
Different to RC3, roller for JEE could be installed without any problem 
to GlassFish.
Great!
Will try it during the next days.
Best,
Michael

Am 27.02.2011 21:32, schrieb Dave:
> Apache Roller 5.0 Release Candidate RC4 is now available for testing.
> Note that this is NOT a release of the Apache Software Foundation or
> anybody else; this release candidate is for testing purposes only and
> not recommended for production.
>
>     What's new in Roller 5.0:
>     https://cwiki.apache.org/confluence/display/ROLLER/What's+new+in+Roller+5.0
>
>     Change list (issues resolved since 4.0)
>     http://bit.ly/gAhDWR
>
>     Issues resolved since last release candidate (RC4)
>     http://bit.ly/iaLKyt
>
>     Signed binary and source files. Also, documentation in PDF form
>     http://people.apache.org/~snoopdave/apache-roller-5.0/
>
> Could this be the one?
>
> There were only minor fixes made since RC3 and RC4 is deployed
> at blogs.apache.org (and my own blog), so hope to call for release
> vote on this build depending how initial feedback goes.
>
> If you would like to help out then please test RC4, discuss the
> problems you encounter here and file specific bugs with steps to
> reproduce in the Roller JIRA bug tracking system.
>
> Thanks,
> Dave
>