[Building Sakai] Java 7 and trunk (Tomcat 5.5 too)

Jean-Francois Leveque jean-francois.leveque at upmc.fr
Thu Nov 22 06:55:45 PST 2012


On 22/11/2012 14:50, Jean-Francois Leveque wrote:
> Hi all,
>
> Is anyone currently building the current trunk with Java 7 and
> deploying it into Tomcat 7?
>
> Are there known errors related to Samigo, Scheduler, or OSP?
>
> Cheers,
>
> J-F

Maybe I'm missing something like some configuration in sakai.properties 
but I'm also having errors with Tomcat 5.5.

ERROR main org.sakaiproject.util.NoisierDefaultListableBeanFactory - 
Failed to preinstantiate the singleton named PersistenceService. 
Destroying all Spring 
beans.org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'PersistenceService' defined in file 
[/usr/local/apache-tomcat-5.5.33/components/samigo-pack/WEB-INF/components.xml]: 
Can not resolve reference to bean 'AssessmentGradingFacadeQueries' while 
setting bean property 'assessmentGradingFacadeQueries'; nested exception 
is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'AssessmentGradingFacadeQueries' defined in file 
[/usr/local/apache-tomcat-5.5.33/components/samigo-pack/WEB-INF/components.xml]: 
Cannot create inner bean 
'org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries#57cd2006' 
of type 
[org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries] 
while setting bean property 'target'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries#57cd2006' 
defined in file 
[/usr/local/apache-tomcat-5.5.33/components/samigo-pack/WEB-INF/components.xml]: 
Error setting property values; nested exception is 
org.springframework.beans.NotWritablePropertyException: Invalid property 
'contentHostingService' of bean class 
[org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries]: Bean 
property 'contentHostingService' is not writable or has an invalid 
setter method. Does the parameter type of the setter match the return 
type of the getter?

WARN main org.sakaiproject.component.impl.SpringCompMgr - Error creating 
bean with name 'PersistenceService' defined in file 
[/usr/local/apache-tomcat-5.5.33/components/samigo-pack/WEB-INF/components.xml]: 
Cannot resolve reference to bean 'AssessmentGradingFacadeQueries' while 
setting bean property 'assessmentGradingFacadeQueries'; nested exception 
is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'AssessmentGradingFacadeQueries' defined in file 
[/usr/local/apache-tomcat-5.5.33/components/samigo-pack/WEB-INF/components.xml]: 
Cannot create inner bean 
'org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries#57cd2006' 
of type 
[org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries] 
while setting bean property 'target'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries#57cd2006' 
defined in file 
[/usr/local/apache-tomcat-5.5.33/components/samigo-pack/WEB-INF/components.xml]: 
Error setting property values; nested exception is 
org.springframework.beans.NotWritablePropertyException: Invalid property 
'contentHostingService' of bean class 
[org.sakaiproject.tool.assessment.facade.AssessmentGradingFacadeQueries]: Bean 
property 'contentHostingService' is not writable or has an invalid 
setter method. Does the parameter type of the setter match the return 
type of the getter?

ERROR QuartzScheduler_Worker-1 
org.hibernate.event.def.AbstractFlushingEventListener - Could not 
synchronize database state with session
org.hibernate.cache.CacheException: java.lang.IllegalStateException: The 
org.hibernate.cache.UpdateTimestampsCache Cache is not alive 
(STATUS_SHUTDOWN)

ERROR QuartzScheduler_Worker-1 org.hibernate.engine.ActionQueue - could 
not release a cache lock
org.hibernate.cache.CacheException: java.lang.IllegalStateException: The 
org.hibernate.cache.UpdateTimestampsCache Cache is not alive 
(STATUS_SHUTDOWN)

ERROR QuartzScheduler_Worker-1 org.quartz.core.ErrorLogger - Unable to 
notify TriggerListener(s) of Job that was executed: (error will be 
ignored). trigger= RECOVERING_JOBS.recover_demosakai_1353594036816 job= 
DEFAULT.Event Log Purge

WARN main org.sakaiproject.event.impl.BaseNotificationService - 
org.sakaiproject.event.impl.DbNotificationService$$EnhancerByCGLIB$$581b7e63 at 6a21e7b0.init(): 

java.lang.IllegalStateException: The CacheManager has been shut down. It 
can no longer be used.

ERROR main org.apache.commons.digester.Digester - Begin event threw error
java.lang.NoClassDefFoundError: org/apache/catalina/realm/RealmBase

ERROR main org.apache.catalina.startup.HostConfig - Erreur lors du 
déploiement du descripteur de configuration dav.xml
java.lang.NoClassDefFoundError: org/apache/catalina/realm/RealmBase

WARN main org.sakaiproject.component.impl.SpringCompMgr - 
get(org.sakaiproject.citation.api.CitationService):
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.sakaiproject.citation.api.CitationService' defined 
in class path resource [org/sakaiproject/citation/impl/citations.xml]: 
Cannot resolve reference to bean 
'org.sakaiproject.citation.api.ConfigurationService' while setting bean 
property 'configurationService'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.sakaiproject.citation.api.ConfigurationService' 
defined in class path resource 
[org/sakaiproject/citation/impl/citations.xml]: Invocation of init 
method failed; nested exception is java.lang.IllegalStateException: The 
org.sakaiproject.site.impl.SiteCacheImpl.cache Cache is not alive 
(STATUS_SHUTDOWN)

...


More information about the sakai-dev mailing list