@mozzy Can you share the link to your servers so that I can show you how to change the installed modules
I think you should only be running master with the released versions of the modules and not snapshots
I saw in the logs a classing loading issue of a class from one of the standard libraries, jetty ships with all the standard jsp and jstl libraries while tomcat omits one or 2 (I think jstl). So you might want to confirm if this is something specific to just tomcat or both.
your ryt @ssmusoke, the sdk can actually run platform 2.2.o snapshot…let me procede wth it and i c
thats true, let me try out with a released version and i c
thx sir @ssmusoke.i finally solved it by setting and running an sdk server wc runs on platform version 2.2.0 snaphot. and i can load all the modules without any problem. i just had a bias that the sdk is a bit outdated, couldnt imagine it could run a latest snapshot version platform
@mozzy SDK is the first thing since "discovery of fried rice "
i know , your an SDK advocate…
though me i was abit biased towards it…but am now changing my mind
it is nice to do things from first principles ,but some times you have to be careful not to re-invent the wheel.
ya thats true
to be sure where OpenMRS expects your modules, locate the properties file and put in a modules folder in its immediate parent folder. otherwise i suspect u are placing them into a wrong place.
FWIW, i have just done a sanity check by running the SDK to set up the latest reference application 2.8 Then stopped the sdk and replaced its openmrs-2.1.3.war file with that of the latest openmrs-core snapshot. Went into its modules folder and replaced the emrapi, coreapps, and webservices modules with the latest snapshot versions of each. Did run the sdk again and it took me to the setup wizard before bringing up the login screen with all modules running fine.
really . may be i ddnt mind about the core apps version?
can u just attach for me the ( core-apps, emrapi, and webservices) omods that uve used to this ticket https://issues.openmrs.org/browse/TRUNK-5342??? it will save me a great deal of time
so that tomorrow i start on the few remaining work on the ticket…
otherwise , its three days now ,am hustling with getting a reffrence app sit on the platform 2.2.0
Just compile them from source. It is part of the work you will be doing for this ticket because the changes will go in almost all these modules.
…ok sir
.
hi @dkayiwa i compiled the weservices.rest and emrapi , but have failed to compile the core apps . error here
Could you share the full log? @mozzy
here is the error
Found proxies: [default{protocol='', host='proxy.host.net', port=80}]
[INFO] Installing node version v6.10.0
[INFO] Downloading https://nodejs.org/dist/v6.10.0/node-v6.10.0-win-x64.zip to C:\Users\Dell\.m2\repository\com\github\eirslett\node\6.10.0\node-6.10.0-win-x64.zip
[INFO] Downloading via proxy default{protocol='', host='proxy.host.net', port=80}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Core Apps Module ................................... SUCCESS [ 8.841 s]
[INFO] Core Apps Module API-pre2.2 ........................ SUCCESS [ 14.052 s]
[INFO] Core Apps Module API ............................... SUCCESS [ 16.864 s]
[INFO] coreapps Module web 1.9 ............................ SUCCESS [ 0.865 s]
[INFO] coreapps Module web 2.0 ............................ SUCCESS [ 1.014 s]
[INFO] Core Apps Module API 2.2 ........................... SUCCESS [ 16.798 s]
[INFO] Core Apps Module OMOD .............................. FAILURE [ 23.917 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:39 min
[INFO] Finished at: 2018-06-29T08:49:16-06:00
[INFO] Final Memory: 54M/339M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-npm (install node and npm) on project coreapps-omod: Could not download Node.js: Could not download https://nodejs.org/dist/v6.10.0/node-v6.10.0-win-x64.zip: Unknown host proxy.host.net -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :coreapps-omod
D:\openMrs\code\tickets\openmrs-module-coreapps>
i have tried to delete the dependece over and over but it fails
What does this command return? mvn -v