[Building Sakai] Error creating bean

Ismail Naik ismail.n at in.uaeexchange.com
Thu Aug 21 00:03:07 PDT 2014


Greetings Team,

 

I am getting below exception in the start up of sakai server, can anyone
help us to rectify the same.

 

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.sakaiproject.springframework.orm.hibernate.GlobalSessionFactory'
defined in file [D:\sakai-demo-2.9.3\sakai

-demo-2.9.3\components\sakai-kernel-component\WEB-INF\db-components.xml]:
Invocation of init method failed; nested exception is
org.hibernate.MappingException: Failed to load class path resource
[org/sakaiproje

ct/lessonbuildertool/simplepageproperty.hbm.xml]

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

        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(Ab
stractBeanFactory.java:264)

        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi
ngleton(DefaultSingletonBeanRegistry.java:222)

        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst
ractBeanFactory.java:261)

        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:185)

        at
org.sakaiproject.util.NoisierDefaultListableBeanFactory.getBean(NoisierDefau
ltListableBeanFactory.java:112)

        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:164)

        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolv
eReference(BeanDefinitionValueResolver.java:269)

        ... 38 more

Caused by: org.hibernate.MappingException: Failed to load class path
resource [org/sakaiproject/lessonbuildertool/simplepageproperty.hbm.xml]

        at
org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappi
ngsImpl.processConfig(AdditionalHibernateMappingsImpl.java:65)

        at
org.sakaiproject.springframework.orm.hibernate.AddableSessionFactoryBean.pos
tProcessConfiguration(AddableSessionFactoryBean.java:78)

        at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFacto
ry(LocalSessionFactoryBean.java:727)

        at
org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertie
sSet(AbstractSessionFactoryBean.java:211)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

        ... 49 more

Caused by: org.hibernate.InvalidMappingException: Could not parse mapping
document from input stream

        at
org.hibernate.cfg.Configuration.addInputStream(Configuration.java:527)

        at
org.sakaiproject.springframework.orm.hibernate.impl.AdditionalHibernateMappi
ngsImpl.processConfig(AdditionalHibernateMappingsImpl.java:63)

        ... 54 more

Caused by: org.dom4j.DocumentException: www.hibernate.org Nested exception:
www.hibernate.org

        at org.dom4j.io.SAXReader.read(SAXReader.java:484)

        at
org.hibernate.cfg.Configuration.addInputStream(Configuration.java:518)

        ... 55 more

java.lang.Exception: traceback

        at
org.sakaiproject.util.NoisierDefaultListableBeanFactory.destroySingletons(No
isierDefaultListableBeanFactory.java:94)

        at
org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingle
tons(NoisierDefaultListableBeanFactory.java:83)

        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFac
toryInitialization(AbstractApplicationContext.java:728)

        at
org.springframework.context.support.AbstractApplicationContext.refresh(Abstr
actApplicationContext.java:380)

        at
org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java:160)

        at
org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManag
er.java:98)

        at
org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:
107)

        at
org.sakaiproject.component.cover.ServerConfigurationService.getInstance(Serv
erConfigurationService.java:52)

        at org.sakaiproject.util.RequestFilter.init(RequestFilter.java:811)

        at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilte
rConfig.java:281)

        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:262)

        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:107)

        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:47
46)

        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:
5399)

        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:9
01)

        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)

        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)

        at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        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)

 

Thanks & Regards

Ismail N. - IT Department

Xm Software Solutions Pvt Ltd | SKCL | CENTRAL SQUARE- 1

CIPET Road | Thiru-Vi-Ka  Industrial  Estate| Guindy | Chennai- 600032.

TEL: 044-30464899 | FAX: 044-30464861| 

Ext:613

 <mailto:ismail.n at in.uaeexchange.com> ismail.n at in.uaeexchange.com

 


Disclaimer: This communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance upon the information is strictly prohibited and is unlawful. If you have received this communication by error, please notify us immediately by responding to this email before deleting it from your system. UAE Exchange cannot be held responsible for the improper or incomplete transmission of information contained in this communication, or for any delay in its receipt. 

Warning: Internet communication cannot be guaranteed to be timely, secure, error-free or virus-free. It is the responsibility of the recipient to ensure that this email and its attachments, if any, are free from viruses. UAE Exchange doesn't accept liability for any damage that may result from viruses transmitted through this email.

Please be informed that as  per UAE Exchange Information Security policy, we will never request you to disclose your Account Number, Credit Card Information, User ID, Personal Identification Number (PIN), Telephone Identification Number (TIN), Password or any such information through e-mails or phone.

Any e-mail or written communication received by you, which appears to have been sent from UAE Exchange seeking your personal & confidential information, should not be answered but advised to UAE Exchange at info.sec at uaeexchange.com

For further assistance email us at info.sec at uaeexchange.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140821/b9441a38/attachment.html 


More information about the sakai-dev mailing list