Subject: | Re: Unable to establish a stable Mirebalais OpenMRS development environment |
---|---|
Date: | Mon, 16 Feb 2015 14:16:26 -0500 |
From: | Alan Simmons <asim...@pih.org> |
To: | Ellen Ball <elle...@alumni.rutgers.edu>, Mark Goodrich <mgoo...@pih.org> |
I tried again after completely backing out tomcat.
I reinstalled tomcat, deleted the OpenMRS folder in
Application Data, and deleted the OpenMRS database.
I reinstalled the 1.9.9 WAR. The install again failed at the updating database step at 65%. The error message in the log was that it could not start logic v0.5.2.
I then stopped tomcat, deleted the work and temp folders in tomcat, deleted the openmrs web app, and then restarted tomcat. When I tried to start openmrs, I got the same error.
I have done this at least three times so far.
I believe that I have demonstrated definitively that the
1.9.9 WAR installation program does not work for Windows, or
at least Windows 8. I recommend that someone else try
installing OpenMRS 1.9 on another Windows machine to replicate
the problem.
Has anyone actually deployed a 1.9.9 OpenMRS WAR successfully in Windows?
1.9.8 deploys with no problem, every time.
1.9.9 has not yet deployed cleanly for me, any time. I've tried at least 10 times, even after reinstalling/installing tomcat.
If it is a cleanup problem, then it may be a bug in the installer.
J. Alan SimmonsMedical Informatics Implementation Manager
Hôpital Universitaire de Mirebalais | Partners In Health
From: Alan Simmons
Sent: Friday, February 13, 2015 11:58 AM
To: Ellen Ball
Subject: Re: Unable to establish a stable Mirebalais OpenMRS development environmentNo dice. I still got the errors. When I tried to start and stop openmrs, I got a permgen error. When I bounced tomcat, I got the logic error.
I suppose that I can try wiping the openmrs deployment and retrying. I've done that a few times already.
J. Alan SimmonsMedical Informatics Implementation Manager
Hôpital Universitaire de Mirebalais | Partners In Health
From: elln...@gmail.com <elln...@gmail.com> on behalf of Ellen Ball <elle...@alumni.rutgers.edu>
Sent: Friday, February 13, 2015 11:32 AM
To: Alan Simmons
Subject: Re: Unable to establish a stable Mirebalais OpenMRS development environmentTry again. Stop tomcat. Remove those 3 directories. Restart tomcat.
The error about the logic module is usually about improper cleanup.
e
On Fri, Feb 13, 2015 at 11:28 AM, Alan Simmons <asim...@pih.org> wrote:
The only thing that I had not been doing in my prior attempts was deleting the temp and work directories of my tomcat instance.
When I did this and deployed the 1.9.9 WAR, the initial setup made it past the 65% stopping point in the database update of previous installs. However, it appeared to hang after reaching 100%.I closed the browser window and opened again. It appears that OpenMRS was deployed; however, for some reason, it did not create the admin user with the password that I gave in the setup. I was able to log in using admin/test.
I then tried to change the password using Administration/Manage user. It initially threw an error, complaining about being unable to load a class; however, I've noticed that OpenMRS seems to throw errors the first time you do something after a deployment, so I reclicked and it seemed to work.
I then restarted tomcat. This time, openmrs failed to load with the error that it could not start logic v0.5.2, which is the error that I have been getting with 1.9.9 deployments.
So removing the temp and work directories resulted in further progress in the 1.9.9 deployment, but did not result in a stable deployment.
I have noticed that the logic module is not normally loaded in the C:\Application Data\openmrs\modules folder (or in the equivalent folder path in Linux). So it appears that the 1.9.9 installer either does not include the logic module or actively removes it from the deployment.
J. Alan SimmonsMedical Informatics Implementation Manager
Hôpital Universitaire de Mirebalais | Partners In Health
From: Ellen Ball <elln...@gmail.com>
Sent: Friday, February 13, 2015 10:56 AM
To: d...@openmrs.org
Cc: Alan Simmons; Mark Goodrich
Subject: Re: Unable to establish a stable Mirebalais OpenMRS development environmentThis happens sometimes when files are left behind in the tomcat directories. Alan should try deleting the [TOMCAT_HOME]/webapps/openmrs directory along with the [TOMCAT_HOME]/temp and [TOMCAT_HOME]/work directories.
- Stop tomcat
- Remove those directories
- Restart tomcat
Ellen BallPartners In Health
On Thursday, February 12, 2015 at 5:15:28 PM UTC-5, Mark Goodrich wrote:Hello all--
We have an implementer that's having trouble getting OpenMRS 1.9.9-SNAPSHOT running... he's seeing the errors listed below... has anyone else run into similar issues?
Thanks,
Mark
On 02/12/2015 12:38 PM, Alan Simmons wrote:
I will summarize below technical details of the some of the problems that I encountered most recently.
My configuration currently runs a new, clean install of TomCat (6.0.29), along with Java 7 and MySQL. In other words, I am ready to bring in OpenMRS and the Mirebalais modules. Perhaps it is possible to establish a stable implementation by means of Maven and git; I don't know. I have both Maven and git installed on my development machine. I need assistance or recommendations for the next step.
---
Technical details:
- In order to develop HTML forms, I need the htmlformentry modules, which are not part of the vanilla OpenMRS install.
- The htmlformentry modules depend on other modules, which--at least in the Mirebalais configuration--wind up depending on 1.9.9 snapshot, which means that I have to install the 1.9.9 WAR.
- I can deploy the 1.9.8 WAR with no problem. However, I cannot drop in the mirebalis modules because of the dependency on 1.9.9.
- I cannot deploy the 1.9.9 WAR from scratch. The initial setup hangs in the "updating database" step (at 65%). If I exit the initial setup (after waiting as long as 4 hours), I can't start OpenMRS; it complains that the logic v0.52 module is missing.
- I cannot deploy the 1.9.9 WAR over a 1.9.8 deployment, which I have done per recommendations as follows:
- Deploy 1.9.8 from scratch.
- Delete the C:\Application Data\openmrs folder (which contains the runtime properties file).
- Replace the 1.9.8 WAR in the tomcat webapps folder with the 1.9.9 WAR.
- Bounce TomCat.
- OpenMRS fails, again complaining that the logic module is missing. It appears that the OpenMRS 1.9.9 setup actually removes the logic module.
- I considered deploying 1.9.8, making a backup copy of the logic omod, deploying 1.9.9, and then copying the logic omod back in, but then realized that this was turning into more of a rabbit hole than it already was.
J. Alan SimmonsMedical Informatics Implementation Manager
Hôpital Universitaire de Mirebalais | Partners In Health
--
“Tout moun se moun”
Every person is a person
--
OpenMRS Implementers: http://om.rs/implist
Post: implem...@openmrs.org | Unsubscribe: implementers...@openmrs.org
Manage your OpenMRS subscriptions: http://om.rs/id
Visit OpenMRS Talk at http://om.rs/talk for chat and discussions!
To unsubscribe from this group and stop receiving emails from it, send an email to implementers...@openmrs.org.
...
--
OpenMRS Implementers: http://om.rs/implist
Post: implem...@openmrs.org | Unsubscribe: implementers...@openmrs.org
Manage your OpenMRS subscriptions: http://om.rs/id
Visit OpenMRS Talk at http://om.rs/talk for chat and discussions!
To unsubscribe from this group and stop receiving emails from it, send an email to implementers...@openmrs.org.
...
--
OpenMRS Implementers: http://om.rs/implist
Post: implem...@openmrs.org | Unsubscribe: implementers...@openmrs.org
Manage your OpenMRS subscriptions: http://om.rs/id
Visit OpenMRS Talk at http://om.rs/talk for chat and discussions!
To unsubscribe from this group and stop receiving emails from it, send an email to implementers...@openmrs.org.
Hello all--
...