My tomcat server is running on localhost 8080 should I kill it?
Thankyou @wyclif @lluismf @janflowers @darius @dkayiwa It finally got build
and it’s running successfully It would Have been impossible without you people’s guidance I am grateful to all you people from deep of my heart such a relief
Thank you
Now I will start deploying Smart Health care extension on OpenmMRS and get back to you people with integration.
@avijitghosh82 @wyclif @dkayiwa can you please help me about how to connect the openMRS android client with localhost8080/openMRS local server .l am using a wifi (campus wifi with proxy) should I connect my laptop with mobile’s hotspot or USB debugging wil work the server is running on my system
@rajpratim21 Did you try to use your machine’s(the one that you are running server on) IP instead of “localhost” ? e.g http://192.168.0.15:8080/openmrs
@SolDevelo when I typed ifconfig on mybuntu machine I got this
I could n’t understand what’s my ip My laptop is connected to a wifi and no ethernet please help
@adamg @avijitghosh82 @wyclif @SolDevelo
I am under a common university wifi when I typed
ip route get 8.8.8.8 | awk ‘{print $NF; exit}’
I got 10.31.13.80
which is common ip of the wifi router I guess as it’s also shown on my phone now when I typed
http://10.31.13.80:8080/openmrs/intialsetup I can access it on my laptop
can I use this above address in android client when I tried I got this and it keep on spinning
You will need to first run, from the computer browser, the initial setup of openmrs to completion. That is, up to the point where it will show you a login screen. It is after then, that you will make another attempt to connect the android client.
Thank-you @dkayiwa I can reach the server now and my smart health care app can also reach it and send the json data my integration is almost done and now I need to make a webapp on OpenMRS to interact with the fetched data
@darius @dkayiwa @adamg I was installing openmrs then accidentally I closed the terminal while 83% of tables were created now when I try to reinstall it I get this waiting for changelog lock According to me this may be due to the sql locks that remained from previous incomplete installation . how am I supposed to get over it? should I reinstall mysql or something else please help
Try restart tomcat. If that does not work, then take a look at this: https://issues.openmrs.org/browse/TRUNK-533
installation done
Hi @SolDevelo @darius @dkayiwa @wyclif @lluismf I have setup with the environment , openmrs core and also one legacy Ui for openmrs so what I wanted to do is make my Android app post json data like {user id, calories burned , temp, bp , ecg etc medical data from sensors} to thelocal server of openmrs , therefore I decided to make a new module for it . But I am confused should I make new tables for it within openmrs core Or I need to make a new module . Please guide me where should I begin
Did you get a chance to look at this? https://wiki.openmrs.org/display/docs/REST+Module
@rajpratim21 the general idea is that you want to store your data as an Encounter that has Obs (short for Observations) in it. These are a core part of the OpenMRS domain model, and you would create them by using the REST API’s encounter
endpoint.
I will give it a try @darius
@dkayiwa @darius I was trying to install openmrs-module-webservices.rest some how due to network failure may be some files were not downloaded I am getting this it sows that Rest Web Services … SUCCESS [ 1.373 s] [INFO] Rest Web Services Common OMOD … SUCCESS [ 41.072 s] [INFO] Rest Web Services 1.8 OMOD … SUCCESS [01:09 min] [INFO] Rest Web Services 1.9 OMOD … SUCCESS [01:59 min] [INFO] Rest Web Services 1.10 OMOD … SUCCESS [ 44.800 s] [INFO] Rest Web Services 1.11 OMOD … FAILURE [ 52.416 s] [INFO] Rest Web Services 1.12 OMOD … SKIPPED
1.11 OMOD is not installed when I checked /home/.m2/org/openmrs/module I coudn’t find Rest-web-Services -1.11 OMOD there so like earlier I may have to delete some jar files and reinstall it but which jar flles should I
Sounds like the actual build of REST WS failed in your environment.
So you ran mvn clean install
within openmrs-module-webservices.rest and that’s the output? If yes, could you paste the entire build log (in any paste bin tool, and provide the link)?
I’m assuming you built the master branch?
@mksd yes I was doing mvn clean install , where can I found the log should I give you the surefire reports?
No the whole output, using a paste bin please.
should I upload complete output I got in terminal log but I could n’t get whole output as I coudn’t scrolled up more than that