[Building Sakai] Profile2 error when starting tomcat
Karen Tsao
ktsao at stanford.edu
Wed Mar 10 13:46:52 PST 2010
Hi,
After I updated my sakai instance with the latest trunk code, I got
following tomcat error:
2010-03-10 13:44:40,613 ERROR main
org.sakaiproject.profile2.logic.SakaiProxyImpl - Profile2 SakaiProxy init()
2010-03-10 13:44:40,631 ERROR main
org.sakaiproject.util.NoisierDefaultListableBeanFactory - Failed to
preinstantiate the singleton named
org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderAutoRegistrar.
Destroying all Spring beans.
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.sakaiproject.entitybroker.impl.entityprovider.EntityProviderAutoRegistrar'
defined in file
[/opt/tomcat_trunk/components/entitybroker-pack/WEB-INF/components.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sakaiproject.profile2.entity.ProfileEntityProvider' defined
in file [/opt/tomcat_trunk/components/profile2-pack/WEB-INF/components.xml]:
Cannot resolve reference to bean
'org.sakaiproject.profile2.service.ProfileService' while setting bean
property 'profileService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sakaiproject.profile2.service.ProfileService' defined in file
[/opt/tomcat_trunk/components/profile2-pack/WEB-INF/components.xml]: Cannot
resolve reference to bean 'org.sakaiproject.profile2.logic.SakaiProxy' while
setting bean property 'sakaiProxy'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sakaiproject.profile2.logic.SakaiProxy' defined in file
[/opt/tomcat_trunk/components/profile2-pack/WEB-INF/components.xml]:
Invocation of init method failed; nested exception is
javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.MXParserFactory not found
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at
org.sakaiproject.util.NoisierDefaultListableBeanFactory.getBean(NoisierDefaultListableBeanFactory.java:114)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at
org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingletons(NoisierDefaultListableBeanFactory.java:73)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at
org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java:154)
at
org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManager.java:68)
at
org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:76)
at
org.sakaiproject.component.cover.ServerConfigurationService.getInstance(ServerConfigurationService.java:52)
at
org.sakaiproject.component.cover.ServerConfigurationService.getStrings(ServerConfigurationService.java:205)
at org.sakaiproject.util.BasicAuth.init(BasicAuth.java:111)
at
org.sakaiproject.access.tool.AccessServlet.init(AccessServlet.java:147)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
...
I have deleted my repo and started with a new tomcat, but the error is still
there... Appreciate any suggestions.
Thanks,
Karen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100310/cb30b2fd/attachment.html
More information about the sakai-dev
mailing list