Hi Erick,

I once in a while get this error and this is what i do:

1) Stop tomcat
2) Delete the .../tomcat/webapps/openmrs  folder
3) Start tomcat

And the error goes.


On Thu, Sep 22, 2011 at 4:15 PM, Erick Mugoma <[email protected]>wrote:

> *Am trying to upgrade from openmrs 1.6.2 to 1.8.2 but unfortunately the
> logic module can't start.
> I've done the following but nothing is changing, the problem still
> persists:
> 1. stopped all the modules first 1.6.2  (stopped thro mysql statement
> (update global_property set property_value=false where property like
> '%started' and **update global_property set property_value=false where
> property like '%mandatory'** ))>>
> 2. un-deployed 1.6.2
> 3. Restarted tomcat then deployed 1.8.2
>
> I did this after get the error below
> 1. Copied the logic 0.5 to the modules folder
> 2. Restarted Openmrs
>
> Can some please explain to me how to resolve the error below:
>
>
> The following modules are core to OpenMRS but could not be found and/or
> started:* logic
>
> Please upload a new version of each of these modules and restart OpenMRS to
> continue.
> Modules can usually be found at http://modules.openmrs.org.
>
>  logic v0.5:
>
> Show/hide full error message<http://192.168.168.38:8080/openmrs/initialsetup#>
>  The following modules are marked as 'core' by OpenMRS but were unable to
> start: logic v0.5,
>
> org.openmrs.module.OpenmrsCoreModuleException: The following modules are 
> marked as 'core' by OpenMRS but were unable to start: logic v0.5,
>       at 
> org.openmrs.module.ModuleUtil.checkOpenmrsCoreModulesStarted(ModuleUtil.java:866)
>       at org.openmrs.module.ModuleUtil.startup(ModuleUtil.java:136)
>       at org.openmrs.api.context.Context.startup(Context.java:816)
>       at org.openmrs.web.Listener.startOpenmrs(Listener.java:187)
>       at org.openmrs.web.Listener.contextInitialized(Listener.java:148)
>       at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
>       at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
>       at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>       at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>       at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
>       at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:525)
>       at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1359)
>       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:597)
>       at 
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>       at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>       at 
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1475)
>       at 
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:250)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>       at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>       at java.lang.Thread.run(Thread.java:662)
>
>
>
> See the server log for full output.
>
> Thanks
>
> Erick
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list




-- 
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

_________________________________________

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

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

Reply via email to