issue with "Reference Application 2.9.0"

  • I have cloned the openmrs-core master codebase in my development computer, done mvn clean install and able to run successfully with legacy-ui and rest-services modules.

That is, cloned openmrs-module-legacyui and openmrs-module-webservices.rest mvn clean install on these. Copied omod/target/webservices.rest-2.26.0-SNAPSHOT.7e5930.omod and legacyui-1.6.0-SNAPSHOT.omod to “.OpenMRS/modules”. The worked fine.

Can you edit your post and include a link to the stack trace after pasting it at pastebin.com?

Hey please check OpenMRS SDK for setting up reference Application.

https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Installation

Updated the question with pastebin link

Thank you. I was trying to setup without OpenMRS SDK.

Can you exactly make these more clear ??

How are you running that ?? Are you doing an Enterprise installation or SDK ??

Cloned https://github.com/openmrs/openmrs-core code Through command-line, in the “openmrs-core” direcrtory Ran below commands: $ mvn clean install $ cd webapp $ mvn jetty:run

ok fine i understand. Now most of the module versions available in reff app , arent meant for the latest core version

You can download the following module versions . or you use the SDK to build this distribution

#Tue Aug 07 02:47:25 MDT 2018
db.h2.supported=false
db.sql=classpath\://openmrs-distro.sql
name=Reference Application
omod.addresshierarchy=2.11.0
omod.adminui=1.2.3
omod.allergyui=1.8.1
omod.appframework=2.11.0
omod.appointmentscheduling=1.9.0
omod.appointmentschedulingui=1.7.0
omod.appui=1.8.0
omod.atlas=2.2
omod.atlas.type=omod
omod.calculation=1.2
omod.chartsearch=2.1.0
omod.coreapps=1.20.0-SNAPSHOT
omod.dataexchange=1.3.2
omod.emrapi=1.25.0-SNAPSHOT
omod.event=2.6.0
omod.event.groupId=org.openmrs
omod.fhir=1.13.0
omod.formentryapp=1.4.2
omod.htmlformentry=3.7.0
omod.htmlformentryui=1.7.0
omod.htmlwidgets=1.9.0
omod.idgen=4.5.0
omod.legacyui=1.4.0
omod.metadatadeploy=1.10.0
omod.metadatamapping=1.3.4
omod.metadatasharing=1.5.0
omod.owa=1.9.0
omod.providermanagement=2.10.0
omod.referenceapplication=2.8.0
omod.referencedemodata=1.4.5-SNAPSHOT
omod.referencemetadata=2.9.0-SNAPSHOT
omod.registrationapp=1.12.0
omod.registrationcore=1.8.0
omod.reporting=1.16.0
omod.reportingcompatibility=2.0.5
omod.reportingrest=1.10.0
omod.reportingui=1.6.0
omod.serialization.xstream=0.2.14
omod.serialization.xstream.type=omod
omod.uicommons=2.6.0
omod.uiframework=3.13.0
omod.uilibrary=2.0.6
omod.webservices.rest=2.22.0
owa.openmrs-owa-sysadmin=1.1
version=2.9.0-SNAPSHOT
war.openmrs=2.2.0-SNAPSHOT

With the above , you can run the reff-app on the latest core version

1 Like

@mozzy thanks for this,@krishnashetty0000 you can surely pickup to the sdk if the above fails you

1 Like

Copy and place the above file in a file called openmrs-distro.properties
Then do

mvn openmrs-sdk:setup -Ddistro=path-to-distro-file\openmrs-distro.properties

Thanks a lot @mozzy @herbert24 @vankineenitawrun for the quick responses on this. I am trying with the OpenMRS SDK now. I will update the status here.

@krishnashetty0000 , we would like to hear from you if your problem has been solved because may be some other developers can also learn from you, or else add some contribution if neccessary. thanks .

1 Like

Hi, I continued this today. I got this error when I try to run “mvn openmrs-sdk:setup -Ddistro=path-to-distro-file\openmrs-distro.properties”. Any hints to fix?

mvn openmrs-sdk:help output

Try Running just mvn openmrs-sdk:setup

The error in the Log shows it as error from parsing the openmrs-distro.properties file.

@krishnashetty0000 , you were supposed to replace that with the actual path to your distro file

After the setup, I ran mvn openmrs-sdk:run -DserverId=myserverid

Got the error “…Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t set…”

I added aded “&useSSL=false” to the DB connection UR.

I am able to see this screen:

Looks like there were errors, here is the logs

My requirements with the SDK:

What do I need to do to get there? Thanks a lot for helping

1 Like

Hi, Any hints to fix this and go to the next steps?

Hey in admin interface check manage module page try running install all modules