Hi all.
See below for steps and for the threads related to local instance questions since the Government Shutdown.
1. Files I downloaded
2. Prerequisites
3. Download 3 Repos
4. Run Maven Install
5. Run Maven Package
- Run the following commands for the Reference Validator Project
- Change to the directory of your Content Validator download
- cd "C:\Temp\Github\Version_1.1.3\reference-ccda-validator-master"
- Run a Maven command
- mvn clean package -DskipTests
- This will create the WAR File and reference the code-validator and content-validator as needed when it's mentioned in the pom.xml file for dependencies
- Your result should be BUILD SUCCESS

6. The WAR file will be created and located here
"C:\Temp\Github\Version_1.1.3\reference-ccda-validator-master\target\referenceccdaservice.war"
7. Review the POM.XML file located here to confirm the version matches the target Github release
"C:\Temp\Github\Version_1.1.3\reference-ccda-validator-master\pom.xml"

Fresh Installing a WAR File
Troubleshooting Building A WAR File
- I had a few issues due to not properly setting my JAVA_HOME > Path and other environment variables
- I also had to make sure I installed the JDK vs the JRE download from Oracle
- Make sure to Google to find others who have had similar Java issues
- Make sure to review previous ETT Google Group conversations
- Feel free to post here as well but there's no guarantee on support or if I can help
Updating To The Latest WAR File
- These are the steps I've taken that have been successful
- I backed up my folders and files
- I especially backed up this file:
"C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost\referenceccdaservice.xml" - I backed up any other folders as needed as well
- I deleted my web app folders
- After backing up my C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps folders, I deleted the following:
- Deleted - "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\referenceccdaservice"
- Deleted - "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\referenceccdaservice.war"
- Get the latest WAR File and save it anywhere to disk for now
- Drop that latest WAR File directly into "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps"
- Tomcat will automatically extract and deploy the app
- NOTE: This auto deployment will also auto delete your config file from
- "C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost\referenceccdaservice.xml"
- Now, copy your previous referenceccdaservice.xml file back to "C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost"
- Reload or stop and start your site via the TomCat Manager


- Perform Post Update Testing to confirm
- The sites load:
- http://localhost:8080/
- http://localhost:8080/referenceccdaservice/static/validationui.html
- http://localhost:8080/referenceccdaservice/swagger-ui.html#/
- You should validate a C-CDA XML file as well
- Review the latest version of the referenceccdaservice.xml to confirm if any changes have been made
- If changes have been made, you'll need to:
- copy the latest file
- re-update the defaults paths to match your paths
- then copy that file back into "C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost"
- Reload your web app again
- Confirm all is well