ODK Collect and OpexXData Server

34 views
Skip to first unread message

Ben K

unread,
Mar 17, 2016, 5:55:52 AM3/17/16
to openXdata Users
I have taken a done some reading on ODK Collect and OpenXData server including https://trac.openxdata.org/wiki/ODKCollect
I however have failed to know how to put and view the address: https://<ip-address>/<webapp>/mpsubmit/odk/formList
Does configuring and ODK Collect with OpenXData server require putting some ODK components on the OpenXData Server?? If it is so, would you please update the instruction on the link - https://trac.openxdata.org/wiki/ODKCollect?!!!!

Thanks

Dagmar Timler

unread,
Mar 17, 2016, 6:16:43 AM3/17/16
to openxda...@googlegroups.com
HI Ben

Have you installed an openXdata server? This is covered in "Step 1". If you have installed an openXdata server, can you tell us which version you have installed. Some older version of openXdata might not have the necessary jars.

Thanks
Dagmar

--
You received this message because you are subscribed to the Google Groups "openXdata Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openxdata-use...@googlegroups.com.
To post to this group, send email to openxda...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openxdata-users/6afe6647-877c-49c7-9bc7-6c668fff6ab4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dagmar Timler

unread,
Mar 17, 2016, 6:17:52 AM3/17/16
to openxda...@googlegroups.com
Also please send us the URL you use to login to the server. I don't need the username/password but that will allow me to format the URL into something you can click on.

Ben

unread,
Mar 17, 2016, 6:54:56 AM3/17/16
to openxda...@googlegroups.com
Hello Dagmar,
Here is the link to my server: http://52.37.49.195:8080/rmnch2/login.html
I installed Server Version 1.16.

I have enabled the ports 443 or 8443 on the server.
Regards,

Ben



You received this message because you are subscribed to a topic in the Google Groups "openXdata Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openxdata-users/UcYRdamYzd0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openxdata-use...@googlegroups.com.

To post to this group, send email to openxda...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Kb

Dagmar Timler

unread,
Mar 17, 2016, 7:14:57 AM3/17/16
to openxda...@googlegroups.com
Great! 

Your ODK submit URL will be one of the following: 

http://52.37.49.195:8443/rmnch2/mpsubmit/odk/formList

This is from the documentation and you need to replace <ip-address> with 2.37.49.195 and <webapp> with rmnch2.

Unfortunately it seems that the ports/SSL is not properly configured yet because none of those URLs are working (I get a Bad Request from Apache which probably means you are missing Apache configuration). I know the server is configured properly because I see that invoking that URL on port 8080 calls the MultiProtoSubmission filter. 

I trust this helps
Dagmar


Ben

unread,
Mar 17, 2016, 12:06:22 PM3/17/16
to openxda...@googlegroups.com
Thanks.
I have managed to put up SSL/port (443/8443) on the server.

So this links should ideally be working on but I get "Object not found!" error. So what could be missing from the server end?






For more options, visit https://groups.google.com/d/optout.



--
Kb

Dagmar Timler

unread,
Mar 17, 2016, 4:27:13 PM3/17/16
to openxda...@googlegroups.com
Hi Ben

It looks like you need to configure other ports on your server (the the operating system (os) otherwise apache - you need to write config for all the ports).
Also, looking for the error message in the ODK formList endpoint - I think you might be missing some odk jars in the protocol-jars folder - which version are you running?

Thanks
Dagmar

Ben

unread,
Mar 18, 2016, 3:15:39 AM3/18/16
to openxda...@googlegroups.com
Thanks Dagmar,
I have enebaled the 443/8443 ports on my server for incoming/inbound traffic. You mentioned the need to write config for all ports, how do I do that?! I am running OpenXData server 1.16.7. IF there are missing odk jars, how can place them on the server?

Ben


For more options, visit https://groups.google.com/d/optout.



--
Kb

Dagmar Timler

unread,
Mar 22, 2016, 3:06:16 AM3/22/16
to openxda...@googlegroups.com
Hi Ben

I'd suggest you take a look at your Apache port 8080 configuration for 52.37.49.195 - copy that and it's best if you just Google if you run into troubles.

About installing the missing jars, you need to:

1. Install the odk-proto-1.5-SNAPSHOT.jar to WEB-INF/protocol-jars (download from: https://jenkins.openxdata.org/job/odk%20protocol/37/org.openxdata$odk-proto/)
2. Open WEB-INF/protocol-jars/protomap.properties and add the line: `odk-proto-1.0=odk-proto-1.5-SNAPSHOT`
3. Copy odk-proto-resolver-1.1-SNAPSHOT.jar to WEB-INF/lib (download from: https://jenkins.openxdata.org/job/odk-protocol-resolver/10/org.openxdata$odk-proto-resolver/)
4. Restart Tomcat

Alternatively, if you can, just install the 1.39 snapshot release: https://jenkins.openxdata.org/job/OpenXdata-nightly/1853/org.openxdata$webapp/ which comes configured for ODK.

Thanks
Dagmar

ps: this is described on the ODK collect page under "updating the odk-proto.jar" although it assumes you have the odk-proto-resolver in the libs folder already.
pps: for future reference, here is a ticket with quite a fair bit of information on it: https://trac.openxdata.org/ticket/758

Ben

unread,
Mar 24, 2016, 6:06:37 AM3/24/16
to openxda...@googlegroups.com
Thanks alot Dagmar for the help.
I deployed the 1.39 snapshot and got the attached errors thrown. 


For more options, visit https://groups.google.com/d/optout.



--
Kb
openxdata.log
Reply all
Reply to author
Forward
0 new messages