Hi Daniel.
Yes, that is what I did.
Specifically:
-
I deleted the entire folder structure that was created by extracting the zip file. c:\openmrs\referenceapplication-standalone-2.12.2\referenceapplication-standalone-2.12.2>
-
I extracted the zip file again.
-
I turned off my internet access.
-
I turned off the antivirus service (all networks: domain, local, and internet).
-
I opened a cmd window and navigated to the reference application folder.
-
I ran: java -jar openmrs-standalone.jar -commandline
-
I entered “demo” in response to “Do you want the demo, empty, …”
-
I entered “browser” in response to “Type: exit - to quit … browser - to launch a …”
-
I logged in with admin and proceeded clicked through the two green arrows.
-
I clicked the browser reload icon after the console log displayed:
"ERROR - Slf4jLogger.severe(22) |2022-03-17T11:15:11,856| Change Set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34 failed. Error: Can’t create table ‘openmrs.#sql-7da0_6b’ (errno: 121) [Failed SQL: (1005) ALTER TABLE openmrs.conditions ADD CONSTRAINT conditions_encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES openmrs.encounter (encounter_id)]
INFO - Slf4jLogger.info(42) |2022-03-17T11:15:11,903| Successfully released change log lock"
Installation proceeded…
- I clicked the browser reload icon again when processing blocked again with message:
ERROR - CommonsLoggingOutput.error(75) |2022-03-17T11:17:31,617| Parameter mismatch parsing signatures section in dwr.xml on line: DWRHtmlFormEntryService.checkIfLoggedIn()"
-
The command console log displays: Mar 17, 2022 11:19:04 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet ‘openmrs’ WARN - OpenmrsJspServlet.rescanTldsIfNeeded(56) |2022-03-17T11:19:05,132| Rescanning TLDs Mar 17, 2022 11:19:06 AM org.apache.jasper.compiler.TldLocationsCache tldScanJar INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. WARN - OpenmrsUtil.getDirectoryInApplicationDataDirectory(1217) |2022-03-17T11:19:08,627| ‘c:\openmrs\referenceapplication-standalone-2.12.2\referenceapplication-standalone-2.12.2\appdata\configuration’ doesn’t exist. Creating directories now.
-
OpenMRS login screen displays on the browser, and the application can be started with any of the pre-defined accounts.