[Building Sakai] Error creating bean

Sam Ottenhoff ottenhoff at longsight.com
Thu Aug 21 06:22:36 PDT 2014


This JIRA has lots of information:
https://jira.sakaiproject.org/browse/LSNBLDR-402


On Thu, Aug 21, 2014 at 6:08 AM, Steve Swinsburg <steve.swinsburg at gmail.com>
wrote:

> Are you behind a proxy? This issue came up a few weeks ago and may be to
> do with failing to resolve the DTDs within the XML.
>
>
> On Thu, Aug 21, 2014 at 5:03 PM, Ismail Naik <ismail.n at in.uaeexchange.com>
> wrote:
>
>> 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(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:112)
>>
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>
>>         at
>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(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.AdditionalHibernateMappingsImpl.processConfig(AdditionalHibernateMappingsImpl.java:65)
>>
>>         at
>> org.sakaiproject.springframework.orm.hibernate.AddableSessionFactoryBean.postProcessConfiguration(AddableSessionFactoryBean.java:78)
>>
>>         at
>> org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:727)
>>
>>         at
>> org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(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.AdditionalHibernateMappingsImpl.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(NoisierDefaultListableBeanFactory.java:94)
>>
>>         at
>> org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingletons(NoisierDefaultListableBeanFactory.java:83)
>>
>>         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:160)
>>
>>         at
>> org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManager.java:98)
>>
>>         at
>> org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:107)
>>
>>         at
>> org.sakaiproject.component.cover.ServerConfigurationService.getInstance(ServerConfigurationService.java:52)
>>
>>         at
>> org.sakaiproject.util.RequestFilter.init(RequestFilter.java:811)
>>
>>         at
>> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
>>
>>         at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
>>
>>         at
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
>>
>>         at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)
>>
>>         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:901)
>>
>>         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.java:886)
>>
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>
>>
>>
>> *Thanks & Regards*
>>
>> *Ismail N**.* - IT Department
>>
>> *X**m* *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
>>
>> 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.
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140821/239f1015/attachment.html 


More information about the sakai-dev mailing list