Troubleshooting
This page documents issues that may be encountered using OpenVPMS.
Failed to save <object>. It may have been changed by another user
This error occurs when two users edit the same object at the same time. When the second user saves their changes, OpenVPMS rejects them, to avoid the first user's changes being lost.
Failed to create document
This error typically indicates an issue connecting to the OpenOffice service.
On Windows, try terminating the soffice.bin and soffice.exe processes.
On Unix, try terminating the soffice.bin and soffice processes.
Failed to start OpenOffice service: Cannot run program "soffice.exe"
This error occurs when OpenOffice cannot be found in the path. The OpenOffice program directory must be in the PATH environment variable of the user that launches Tomcat.
See the Windows Installation for instructions on how to configure this for Windows.
Synchronisation errors
The message 'A synchronization error has occurred. Click "Ok" to re-synchronize.' will be displayed if you manage to open two OpenVPMS sessions with the same app number. ie normally the URL will be http://localhost:8080/openvpme/app/1
If you click the "Open new browser window" icon at the top right of the screen, this will create a new window with a unique URL, eg http://localhost:8080/openvpms/app/2 and this will work happily. However, if you open a second browser window or tab with same URL, then the synchronization error will occur.
Note that you can also get a synchronisation error if you have multiple windows open and you log out and in before all windows have expired. Fior example if you do the following:
- log in to window 1: URL = http://localhost:8080/openvpms/app/1
- open new window 2: URL = http://localhost:8080/openvpms/app/2
- log out of window 2
- log in to window 2: URL = http://localhost:8080/openvpms/app/1
- switch to window 1, and click something. You should get a synchronization error, if the window hasn't expired with a "Your session has been inactive for too long" message.
If you do get the error, just close one of the duplicate windows.