ODK Aggregate VM Default port (80) Issue

Hello ,

I just configured ODK aggregate VM and changed the default port 80 to 81
in Tomcat server.xml settings .
In ODK Collect app, i configured the url with *192.168.1.10:81 * and
provided the username and password in server settings
.When i press the *refresh *button , it shows me the form along with the
title "Demo" , which i have uploaded from the web site . But when i press
Get-Selected , it gives me this error after few seconds .

"failed to connect to /192.168.1.10 (port 80) after 30000ms . Connection
refused .

i see that internally it is trying to get the form from port 80 while i
have already configured the URL in http://192.168.1.10:81/ in *Server
Settings *.
I am currently using port 80 for another application so cannot change it to
port 80 . i need to work on some other port .
Please suggest .

Many Thanks,
Muhammad Ali.

Muhammad,

Please do not email multiple lists with the same question.

If you change the default port on the Tomcat server, you'll need to
also edit the Tomcat WAR with that new port. The easiest way to
accomplish this is to create a new WAR with the Aggregate installer.

If you want to reconfigure the war manually, I believe the port number
is line 34 (security.server.port) of
ODKAggregate/WEB-INF/lib/ODKAggregate-settings/security.properties.
The port from the installer might be included elsewhere, so no
guarantees this will work...

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Sat, May 31, 2014 at 3:33 PM, Muhammad ALi malizahid52@gmail.com wrote:

Hello ,

I just configured ODK aggregate VM and changed the default port 80 to 81 in
Tomcat server.xml settings .
In ODK Collect app, i configured the url with 192.168.1.10:81 and provided
the username and password in server settings
.When i press the refresh button , it shows me the form along with the title
"Demo" , which i have uploaded from the web site . But when i press
Get-Selected , it gives me this error after few seconds .

"failed to connect to /192.168.1.10 (port 80) after 30000ms . Connection
refused .

i see that internally it is trying to get the form from port 80 while i have
already configured the URL in http://192.168.1.10:81/ in Server Settings .
I am currently using port 80 for another application so cannot change it to
port 80 . i need to work on some other port .
Please suggest .

Many Thanks,
Muhammad Ali.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Yaw,

Thank you very much for your suggestion . I have actually downloaded the
configured VM from odk website . I dont know much about ubuntu server and
its directory structure .After googling for some time i found out to
configure this tomcat server through vi command .
Can you guide how can i get to this directory and what exactly to write on
the command line to edit this file ?
Your help is appreciated .

Many Thanks,
Muhammad Ali

··· On Sunday, June 1, 2014 7:49:41 PM UTC+5, Yaw Anokwa wrote: > > Muhammad, > > Please do not email multiple lists with the same question. > > If you change the default port on the Tomcat server, you'll need to > also edit the Tomcat WAR with that new port. The easiest way to > accomplish this is to create a new WAR with the Aggregate installer. > > If you want to reconfigure the war manually, I believe the port number > is line 34 (security.server.port) of > ODKAggregate/WEB-INF/lib/ODKAggregate-settings/security.properties. > The port from the installer might be included elsewhere, so no > guarantees this will work... > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Sat, May 31, 2014 at 3:33 PM, Muhammad ALi <maliz...@gmail.com > wrote: > > Hello , > > > > I just configured ODK aggregate VM and changed the default port 80 to 81 > in > > Tomcat server.xml settings . > > In ODK Collect app, i configured the url with 192.168.1.10:81 and > provided > > the username and password in server settings > > .When i press the refresh button , it shows me the form along with the > title > > "Demo" , which i have uploaded from the web site . But when i press > > Get-Selected , it gives me this error after few seconds . > > > > "failed to connect to /192.168.1.10 (port 80) after 30000ms . > Connection > > refused . > > > > i see that internally it is trying to get the form from port 80 while i > have > > already configured the URL in http://192.168.1.10:81/ in Server > Settings . > > I am currently using port 80 for another application so cannot change it > to > > port 80 . i need to work on some other port . > > Please suggest . > > > > Many Thanks, > > Muhammad Ali. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Hi Muhammad,

The VM was not designed with your use-case in mind. If you don't know
much about Ubuntu, then it'll be hard for me to provide the level of
guidance you'll need.

I recommend you either use App Engine or use the Tomcat install
detailed at http://opendatakit.org/use/aggregate/tomcat-install.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Sun, Jun 1, 2014 at 1:48 PM, Muhammad ALi malizahid52@gmail.com wrote:

Hi Yaw,

Thank you very much for your suggestion . I have actually downloaded the
configured VM from odk website . I dont know much about ubuntu server and
its directory structure .After googling for some time i found out to
configure this tomcat server through vi command .
Can you guide how can i get to this directory and what exactly to write on
the command line to edit this file ?
Your help is appreciated .

Many Thanks,
Muhammad Ali

On Sunday, June 1, 2014 7:49:41 PM UTC+5, Yaw Anokwa wrote:

Muhammad,

Please do not email multiple lists with the same question.

If you change the default port on the Tomcat server, you'll need to
also edit the Tomcat WAR with that new port. The easiest way to
accomplish this is to create a new WAR with the Aggregate installer.

If you want to reconfigure the war manually, I believe the port number
is line 34 (security.server.port) of
ODKAggregate/WEB-INF/lib/ODKAggregate-settings/security.properties.
The port from the installer might be included elsewhere, so no
guarantees this will work...

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sat, May 31, 2014 at 3:33 PM, Muhammad ALi maliz...@gmail.com wrote:

Hello ,

I just configured ODK aggregate VM and changed the default port 80 to 81
in
Tomcat server.xml settings .
In ODK Collect app, i configured the url with 192.168.1.10:81 and
provided
the username and password in server settings
.When i press the refresh button , it shows me the form along with the
title
"Demo" , which i have uploaded from the web site . But when i press
Get-Selected , it gives me this error after few seconds .

"failed to connect to /192.168.1.10 (port 80) after 30000ms . Connection
refused .

i see that internally it is trying to get the form from port 80 while i
have
already configured the URL in http://192.168.1.10:81/ in Server Settings
.
I am currently using port 80 for another application so cannot change it
to
port 80 . i need to work on some other port .
Please suggest .

Many Thanks,
Muhammad Ali.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.