The standalone comes with version 2.11.x of the webservices.rest module. The step to upgrade the webservices.rest to 2.12 was causing issues with the standalone version in particular the dependent modules emrapi 1.6,reportingrest 1.4,coreapps 1.6,allergyapi 1.3,appointmentschedulingui 1.0.2,appointmentscheduling 1.3. In short, I cannot upgrade because of a dependency problem. The entire application crashes.
And using version 2.11 of the webservices.rest I am unable to access the server from the Android client. I get the error message: “Server is not supported. Change URL address”.
The only workaround I found was to remove the dependent modules and then install v2.12 of the webservices.rest module.
So my question is there anyway I can install webservices.rest v2.12 without removing the dependent modules, or collectively upgrade all the modules with the dependencies matched?
This is what I get when I try to upload the webservices.rest module on a fresh standalone install.
An Internal Error has Occurred
org.springframework.transaction.CannotCreateTransactionException
Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
I was able to reproduce the issue. The server crashed after I uploaded a new version of the webservices.rest module. However, I restarted the standalone and went to advanced administration -> manage modules and clicked start all to start failed modules and they all started properly. Let me know if it works for you too.