roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <m...@raibledesigns.com>
Subject Re: Apache Roller 5.0 RC4 available for testing
Date Wed, 02 Mar 2011 16:34:34 GMT
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


Mime
View raw message