request help trouble shooting an error when attempting to login to openvpms as admin
I downloaded openvpms some years ago and was impressed.
I recently started considering using it for my clinic again. I downloaded it on a macos Monterey and got it (openvpms-release-2.2.2) running with apache-tomcat-9.0.44 and mysql-5.5.53-osx10.8-x86_64. It has been running smoothly for several months as I test it to see if it fits my needs. The trial period did run out but seems to be working still, until now. I am still not sure I want to use openvpms for our nonprofit vet clinic in Ohio.
It suddenly stopped working this morning and I can't figure out why. I would appreciate any help you could offer. I believe tomcat is working fine, since http://localhost:8080 works. I have stopped and started my sql server several times and I don't think my mac installed updates in the last 24hours.
I was setting up the main clinic and other administrative settings and then restarted my computer and now I get a "HTTP Status 404 – Not Found" error when I attempt to login with http://localhost:8080/openvpms/login using chrome and safari browers. I looked at "/usr/local/apache-tomcat-9.0.44/logs/openvpms.log" and found the following information, but I don't know what it means. Any thoughts/help would be much appreciated.
Terminal log output:
15 Jan 2022 13:10:37,974 ERROR ReferenceDataService,main:102 - - Error: incorrect clinicApiKey or emrApiKey
15 Jan 2022 13:10:38,006 ERROR QueueDispatcher,main:165 - - Failed start dispatching SFS events for location=Petfix North East Ohio: SFS-0103: Failed to connect to Smart Flow Sheet.
15 Jan 2022 13:10:38,008 INFO QueueDispatchers,main:316 - - Scheduling start of Azure Service Bus Queue for Petfix North East Ohio in 60s
15 Jan 2022 13:10:38,762 INFO StyleSheetCache,main:135 - - Loading stylesheet style/default.stylesheet
15 Jan 2022 13:10:38,785 INFO StyleSheetCache,main:97 - - No style overrides found for: style/site.properties
15 Jan 2022 13:10:38,991 INFO StyleSheetCache,main:192 - - Adding resolution 480x320 from style/default-480x320.properties
15 Jan 2022 13:10:38,992 INFO StyleSheetCache,main:192 - - Adding resolution 640x480 from style/default-640x480.properties
15 Jan 2022 13:10:38,993 INFO StyleSheetCache,main:192 - - Adding resolution 768x1024 from style/default-768x1024.properties
15 Jan 2022 13:10:38,994 INFO StyleSheetCache,main:192 - - Adding resolution 1280x800 from style/default-1280x800.properties
15 Jan 2022 13:10:38,994 INFO StyleSheetCache,main:192 - - Adding resolution 800x600 from style/default-800x600.properties
15 Jan 2022 13:10:38,995 INFO StyleSheetCache,main:192 - - Adding resolution 1024x768 from style/default-1024x768.properties
15 Jan 2022 13:10:39,432 WARN ArchetypeAccessDecisionManager,main:153 - - Access denied to principal=User[id=153,archetypeId=security.user.1.0,linkId=80671066-2459-11ec-bde5-ebb3ac267d2f,version=0,name=Lorna Johnston], operation=create, archetype=entity.jobMedicalRecordLocker
15 Jan 2022 13:10:39,447 WARN XmlWebApplicationContext,main:558 - - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openvpms.web.jobs.recordlocking.MedicalRecordLockingScheduler#0' defined in ServletContext resource [/WEB-INF/openvpms-web-app.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openvpms.web.jobs.recordlocking.MedicalRecordLockingScheduler]: Constructor threw exception; nested exception is org.openvpms.component.business.service.security.OpenVPMSAccessDeniedException: Access is denied
15 Jan 2022 13:11:09,508 INFO AbstractEventCache,main:285 - - Clearing cache rosterAreaCache
15 Jan 2022 13:11:09,511 INFO AbstractEventCache,main:285 - - Clearing cache calendarCache
15 Jan 2022 13:11:09,512 INFO AbstractEventCache,main:285 - - Clearing cache taskCache
15 Jan 2022 13:11:09,513 INFO AbstractEventCache,main:285 - - Clearing cache appointmentCache
15 Jan 2022 13:11:09,764 WARN DisposableBeanAdapter,main:267 - - Invocation of destroy method failed on bean with name 'lookupService': java.lang.IllegalStateException: State is UNINITIALIZED
15 Jan 2022 13:11:09,799 ERROR ContextLoader,main:313 - - Context initialization failed
Re: request help trouble shooting an error when attempting ...
Looks like security roles have been revoked for the practice Service User, which is required by the Medical Record Locker. Send an email to support[at]openvpms[dot]com to get the issue resolved.
Re: request help trouble shooting an error when attempting ...
Thank you so much for the advise. I will post how it goes.
Lorna Johnston :)
Re: request help trouble shooting an error when attempting ...
Thank you for your help. The problem was resolved with the help of the openvpms support team. They said:
~Your roles were updated to Clinician only .. you need minimum of Base to operate anything in OpenVPMS. The Administrator role was changed to "you", in the backend database.
This resolved the issue. I have also emailed about my subscription.
Thanks again for your help/advise.
Lorna :)
Lorna Johnston :)