Been working on this ticket and this is my PR. I want to have the changes reflected on the database and on openrmrs. I seem not to succeed doing that. I started by running mvn clean install and then mvn openmrs-sdk:run to start the sdk though the changes aren’t reflected on the database or the refapp
If you execute the run command from a directory with a module or openmrs-core project, it will be automatically deployed before starting up the server. You can add the following run configuration to the IDE to build, deploy and run the project: mvn clean install openmrs-sdk:run -DserverId=myserver
@odorajonathan still,to view the changes,you can build .omod file for the module on which you worked on,then deploy this to the modules folder within the sdk,then start up the sdk
I tried replacing the war file C:\Users\Admin\openmrs\server openmrs-2.1.4.war in the server folder with the war with that from the core folder under C:\Users\Admin\core\webapp\target openmrs.war, has a build failure while trying to start the sdk with the command mvn openmrs-sdk:run
I have dropped DB root and any previous databases that were created yet reaching the updating database level while preparing the database it fails, am not taken to the welcome page or openmrs is not running. Here is a server side pastebin
@dkayiwa trying to run the same as you requested at github, I get the following browser side pastebin error. This is the server log for the full output.
It says ERROR - MarkerIgnoringBase.error(159) |2019-07-17 13:57:46,412| Failed to obtain JDBC connection To solve it, I wonder if deleting the already existing folder containing OpenMRS’ preferences (under C:\Users\Admin\AppData\Roaming\OpenMRS ) and try to run the server again might solve this. Need some guidance here
You are running it on a database different from the one you used before. You can drop the database, delete the runtime properties file, and run afresh.