[Building Sakai] Fail on 10.1 Starup CacheManager / PortfolioAdmin

Warwick Chapman warwickchapman at gmail.com
Sat Sep 6 05:01:02 PDT 2014


OK, so I'm running.

Issue here was auto.ddl = true

I am using DB for file storage (don't ask), and I did try deleting *osp*
and *metaobj* from tomcat/webapps.  The only thing that worked was setting
auto.ddl = false.

I will check through the SQL upgrade scripts and apply any necessary
changes manually.

-- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com


On Sat, Sep 6, 2014 at 7:20 AM, Warwick Chapman <warwickchapman at gmail.com>
wrote:

> Hi All
>
> Please help.
>
> After 10.1 upgrade I have unusable Sakai. Full log attached.  Errors and
> related warnings (?)listed below:
>
> 2014-09-06 07:00:21,653 ERROR localhost-startStop-1
> org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl
> - .createResource
> org.sakaiproject.exception.PermissionException: user=admin
> lock=content.new resource=/content/group/PortfolioAdmin/ id:
> /content/group/PortfolioAdmin/
> 2014-09-06 07:00:21,697 ERROR localhost-startStop-1
> org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl
> - .createResource
> org.sakaiproject.exception.PermissionException: user=admin
> lock=content.new resource=/content/group/PortfolioAdmin/ id:
> /content/group/PortfolioAdmin/
> 2014-09-06 07:00:21,714 ERROR localhost-startStop-1
> org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl
> - .createResource
> org.sakaiproject.exception.PermissionException: user=admin
> lock=content.new resource=/content/group/PortfolioAdmin/ id:
> /content/group/PortfolioAdmin/
> 2014-09-06 07:00:23,310  WARN localhost-startStop-1
> org.sakaiproject.authz.impl.DbAuthzGroupService - isAllowed(): called with
> no realms: lock: realm.upd user:
> 2014-09-06 07:00:23,311 ERROR localhost-startStop-1
> org.sakaiproject.util.NoisierDefaultListableBeanFactory - Failed to
> preinstantiate the singleton named
> org.theospi.portfolio.security.model.SakaiDefaultPermsManager.sakaiTools.
> Destroying all Spring beans.
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name
> 'org.theospi.portfolio.security.model.SakaiDefaultPermsManager.sakaiTools'
> defined in file
> [/opt/tomcat-dev/components/osp-common-component/WEB-INF/components.xml]:
> Invocation of init method failed; nested exception is
> java.lang.RuntimeException:
> org.sakaiproject.authz.api.AuthzPermissionException user=admin
> function=realm.upd resource=/realm/!site.template.portfolio
> 2014-09-06 07:02:15,914 ERROR localhost-startStop-1
> org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl
> - .createResource
> org.sakaiproject.exception.PermissionException: user=admin
> lock=content.new resource=/content/group/PortfolioAdmin/ id:
> /content/group/PortfolioAdmin/
> 2014-09-06 07:02:15,934 ERROR localhost-startStop-1
> org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl
> - .createResource
> org.sakaiproject.exception.PermissionException: user=admin
> lock=content.new resource=/content/group/PortfolioAdmin/ id:
> /content/group/PortfolioAdmin/
> 2014-09-06 07:02:15,943 ERROR localhost-startStop-1
> org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl
> - .createResource
> org.sakaiproject.exception.PermissionException: user=admin
> lock=content.new resource=/content/group/PortfolioAdmin/ id:
> /content/group/PortfolioAdmin/
> 2014-09-06 07:02:15,954  WARN localhost-startStop-1
> org.sakaiproject.metaobj.security.impl.sakai.AgentManager - Unable to find
> user: 9ebc3f52-7b25-4fe1-982c-7ebd377d710a
> org.sakaiproject.exception.IdUnusedException id:
> 9ebc3f52-7b25-4fe1-982c-7ebd377d710a
> 2014-09-06 07:02:16,007  INFO localhost-startStop-1
> org.theospi.portfolio.style.impl.StyleManagerImpl - init()
> 2014-09-06 07:02:16,019  INFO localhost-startStop-1
> org.theospi.portfolio.security.model.DefaultRealmManagerImpl - init()
> 2014-09-06 07:02:16,022 ERROR localhost-startStop-1
> org.springframework.web.context.ContextLoader - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'presentationItemCustomEditor' defined in ServletContext
> resource [/WEB-INF/presentation-web-config.xml]: Cannot resolve reference
> to bean 'presentationManager' while setting bean property
> 'presentationManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'presentationManager' defined in file
> [/opt/tomcat-dev/components/osp-presentation-component/WEB-INF/components.xml]:
> Cannot resolve reference to bean 'presentationManagerTarget' while setting
> bean property 'target'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'presentationManagerTarget' defined in file
> [/opt/tomcat-dev/components/osp-presentation-component/WEB-INF/components.xml]:
> Cannot resolve reference to bean
> 'org.theospi.portfolio.security.model.BeanLoadCollector.common' while
> setting bean property 'initializedServices' with key [1]; nested exception
> is org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name
> 'org.theospi.portfolio.security.model.BeanLoadCollector.common' defined in
> file
> [/opt/tomcat-dev/components/osp-common-component/WEB-INF/components.xml]:
> Cannot resolve reference to bean
> 'org.theospi.portfolio.security.DefaultRealmManager.portfolio' while
> setting bean property 'beans' with key [6]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name
> 'org.theospi.portfolio.security.DefaultRealmManager.portfolio' defined in
> file
> [/opt/tomcat-dev/components/osp-common-component/WEB-INF/components.xml]:
> Invocation of init method failed; nested exception is
> java.lang.IllegalStateException: The CacheManager has been shut down. It
> can no longer be used.
>
>
> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140906/80fbcade/attachment.html 


More information about the sakai-dev mailing list