shutdown/restart bug in openmrs user desktop script

7 views
Skip to first unread message

philipp...@gmail.com

unread,
Jun 27, 2008, 11:10:29 AM6/27/08
to openmrs-express
Hello,

There is a bug in the way the desktop openmrs icon works:

Description

When OpenMRS Express is first installed, it works fine on when the
icon is double clicked (or you get a browser page not found error,
wait 30 seconds then try again and it works). You later shut down
your computer and the next time you restart the computer, the icon
fails to start OpenMRS, all you get is a console window with no
messages which disappears after a few seconds

The problem

You should shut down OpenMRS express using the shutdown script rather
than closing the console window where it is running or simply shutting
down the computer. The shutdown script can be found here: click on
"Start" -> "All Programs" -> "OpenMRS" -> "stop_openmrs.cmd"
When OpenMRS Express is not terminated this way, it leaves a marker
file, c:\openmrs\openmrs.pid that makes the startup script think that
the application is already running

The fix

If this happens to you, first try running the shutdown script as
described above, then double click on the openmrs icon on the
desktop. If this still does not work, open a console window:
Click on "Start" -> "Run", then type: cmd
This will bring up a console window, into which you should type the
commands:
c:
cd \openmrs
del openmrs.pid
exit
Then try to restart openmrs by double clicking the desktop icon

This problem will be corrected for the next release (which should
occur in about a week)


Philippe


Reply all
Reply to author
Forward
0 new messages