Okay, so I guess the answer is that these modules aren't compatible.

-Darius

On Sun, Sep 25, 2011 at 11:40 PM, Lawrence Misoi <[email protected]> wrote:

> Ok the error massage i get is this:
>
> Error while trying to start module
> Not all required modules are started:
> org.openmrs.module.medicalproblem 1.0.  Module: Diabetes Management
>  **
> org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:464)
>  ** org.openmrs.api.context.Daemon$1.run(Daemon.java:56)
>
> and at this point i also downloaded medicalproblem 1.0.  Module as the
> missing above and get this error on it:
>
> Unable to refresh the WebApplicationContext
> Error creating bean with name 'messageSourceServiceTarget' defined in
> class path resource [applicationContext-service.xml]: Cannot resolve
> reference to bean 'mutableResourceBundleMessageSource' while setting
> bean property 'activeMessageSource'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'mutableResourceBundleMessageSource' defined
> in class path resource [applicationContext-service.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name
>
> 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0'
> defined in class path resource [applicationContext-service.xml]:
> Cannot resolve reference to bean 'transactionInterceptor' while
> setting bean property 'transactionInterceptor'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'transactionInterceptor' defined in class path
> resource [applicationContext-service.xml]: Cannot resolve reference to
> bean 'transactionManager' while setting bean property
> 'transactionManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'transactionManager' defined in class path
> resource [applicationContext-service.xml]: Cannot resolve reference to
> bean 'sessionFactory' while setting bean property 'sessionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sessionFactory' defined in class path
> resource [applicationContext-service.xml]: Invocation of init method
> failed; nested exception is org.hibernate.DuplicateMappingException:
> duplicate import: Problem refers to both
> org.openmrs.module.medicalproblem.Problem and
> org.openmrs.activelist.Problem (try using auto-import="false")
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
>
> org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:755)
>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:413)
>  **
> org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:775)
>  ** org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:793)
>  **
> org.openmrs.module.web.WebModuleUtil.startModule(WebModuleUtil.java:317)
>  **
> org.openmrs.module.web.controller.ModuleListController.onSubmit(ModuleListController.java:222)
>
> org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
>
> org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
>
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
>
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  **
> org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  **
> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
>  **
> org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:60)
>  **
> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
>  **
> org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  **
> org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  ** org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  ** org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  ** org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> java.lang.Thread.run(Thread.java:636)
>
> and both won't start up.
>
>
> On 22 September 2011 00:16, Ben Wolfe <[email protected]> wrote:
> > We can usually tell from the stack trace if it is compatible or not. :-)
> >
> > On Wed, Sep 21, 2011 at 7:37 PM, Lawrence Misoi <[email protected]>
> wrote:
> >>
> >> Hi all,
> >>
> >> Downloaded the diabetes management module and tried uploading it to my
> >> version 1.8 instance but unsuccesful thought i'd ask if it's compatible
> with
> >> 1.8 before I post the stack trace.
> >>
> >> lawrence
> >>
> >> ________________________________
> >> Click here to unsubscribe from OpenMRS Developers' mailing list
> >
> > ________________________________
> > Click here to unsubscribe from OpenMRS Developers' mailing list
>
>
>
> --
> Lawrence Misoi
> Tel:  +254 729 550 266
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body
> (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to