Aggregate.html

Hello all,

Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web
browser. It appears that index.html loads and proceeds to redirect me to
Aggregate.html which does not exist in the ODK Aggregate folder under the
Tomcat webapps folder. Tomcat is running fine and I can access it from any
computer, both on and off the network. It's just ODK Aggregate that won't
function correctly due to this Aggregate.html file which doesn't seem to
exist. My brain is racked from days of troubleshooting so I apologize if
this is not enough information to get any assistance. Has anyone
encountered this issue and know of a solution? Thanks.

Are you using Tomcat 6? We don't provide the web container configuration
necessary to run on Tomcat 7.

While in any a normal implementation, Aggregate.html would be a plain old
static text file, we needed to have it be produced by a servlet so that the
site could be secured (i.e., force a login screen); Google AppEngine does
not provide programmatic security at the level of control that we need when
it vends static text files.

Mitch

ยทยทยท On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery wrote:

Hello all,

Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web
browser. It appears that index.html loads and proceeds to redirect me to
Aggregate.html which does not exist in the ODK Aggregate folder under the
Tomcat webapps folder. Tomcat is running fine and I can access it from any
computer, both on and off the network. It's just ODK Aggregate that won't
function correctly due to this Aggregate.html file which doesn't seem to
exist. My brain is racked from days of troubleshooting so I apologize if
this is not enough information to get any assistance. Has anyone
encountered this issue and know of a solution? Thanks.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi,
If this issue was resolved, kindly provide solution or the link to the solution.

Regards,

ยทยทยท On Tuesday, November 20, 2012 at 4:59:54 PM UTC+3, Lucas McGlamery wrote: > Hello all, > > Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web browser. It appears that index.html loads and proceeds to redirect me to Aggregate.html which does not exist in the ODK Aggregate folder under the Tomcat webapps folder. Tomcat is running fine and I can access it from any computer, both on and off the network. It's just ODK Aggregate that won't function correctly due to this Aggregate.html file which doesn't seem to exist. My brain is racked from days of troubleshooting so I apologize if this is not enough information to get any assistance. Has anyone encountered this issue and know of a solution? Thanks.

My specs are:

Windows Server 2008 x64
Java JDK 7 u 9
Apache Tomcat 6
MySQL 5.5
ODK Aggregate 1.2

Is there a way to manually access the servlet?

ยทยทยท On Tuesday, November 20, 2012 9:56:39 PM UTC+4:30, Mitch wrote: > > Are you using Tomcat 6? We don't provide the web container configuration > necessary to run on Tomcat 7. > > While in any a normal implementation, Aggregate.html would be a plain old > static text file, we needed to have it be produced by a servlet so that the > site could be secured (i.e., force a login screen); Google AppEngine does > not provide programmatic security at the level of control that we need when > it vends static text files. > > Mitch > > > > On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery <roflom...@gmail.com wrote: > >> Hello all, >> >> Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web >> browser. It appears that index.html loads and proceeds to redirect me to >> Aggregate.html which does not exist in the ODK Aggregate folder under the >> Tomcat webapps folder. Tomcat is running fine and I can access it from any >> computer, both on and off the network. It's just ODK Aggregate that won't >> function correctly due to this Aggregate.html file which doesn't seem to >> exist. My brain is racked from days of troubleshooting so I apologize if >> this is not enough information to get any assistance. Has anyone >> encountered this issue and know of a solution? Thanks. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

A common cause of this is the failure to download and install the MySQL
Connector/J library.

On Mac's, another common cause is a failure to properly install Java 7 so
that it is the default Java library on the computer.

Look in your Tomcat log files for any errors

ยทยทยท On Mon, Jan 19, 2015 at 2:18 AM, wrote:

On Tuesday, November 20, 2012 at 4:59:54 PM UTC+3, Lucas McGlamery wrote:

Hello all,

Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web
browser. It appears that index.html loads and proceeds to redirect me to
Aggregate.html which does not exist in the ODK Aggregate folder under the
Tomcat webapps folder. Tomcat is running fine and I can access it from any
computer, both on and off the network. It's just ODK Aggregate that won't
function correctly due to this Aggregate.html file which doesn't seem to
exist. My brain is racked from days of troubleshooting so I apologize if
this is not enough information to get any assistance. Has anyone
encountered this issue and know of a solution? Thanks.

Hi,
If this issue was resolved, kindly provide solution or the link to the
solution.

Regards,

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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi, I used Tomcat 8, Java 8 and Postgres 9. Everything worked fine but the
servlet could not load Aggregate.html.

Please help.

ยทยทยท On Tuesday, November 20, 2012 at 8:26:39 PM UTC+3, Mitch wrote: > > Are you using Tomcat 6? We don't provide the web container configuration > necessary to run on Tomcat 7. > > While in any a normal implementation, Aggregate.html would be a plain old > static text file, we needed to have it be produced by a servlet so that the > site could be secured (i.e., force a login screen); Google AppEngine does > not provide programmatic security at the level of control that we need when > it vends static text files. > > Mitch > > > > On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery <roflom...@gmail.com > wrote: > >> Hello all, >> >> Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web >> browser. It appears that index.html loads and proceeds to redirect me to >> Aggregate.html which does not exist in the ODK Aggregate folder under the >> Tomcat webapps folder. Tomcat is running fine and I can access it from any >> computer, both on and off the network. It's just ODK Aggregate that won't >> function correctly due to this Aggregate.html file which doesn't seem to >> exist. My brain is racked from days of troubleshooting so I apologize if >> this is not enough information to get any assistance. Has anyone >> encountered this issue and know of a solution? Thanks. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

Lucas,

First thanks for asking this question on the developer list.

A discussion similar to this happened on the general list that I tried
(and failed to move to developers).
https://groups.google.com/forum/?fromgroups=#!/opendatakit/jQCClrrNUJo/stxHecdUBjoJ

As stated in the previous thread Aggregate.html doesn't actually exist
as a file, the URL redirects to a Servlet.

"
To answer your question there is no Aggregate.html any more, to reduce
confusion during an upgrade cycle we kept the name the same and had
the web container map it to a servlet so users would be unaware of the
change. It's currently mapped to a AggregateHtmlServlet as shown on
lines 162-168 in the web.xml.
http://code.google.com/p/opendatakit/source/browse/eclipse-aggregate-gae/war/WEB-INF/web.xml?repo=aggregate#162
"

Waylon

ยทยทยท On Tue, Nov 20, 2012 at 7:55 PM, Lucas McGlamery wrote: > My specs are: > > Windows Server 2008 x64 > Java JDK 7 u 9 > Apache Tomcat 6 > MySQL 5.5 > ODK Aggregate 1.2 > > Is there a way to manually access the servlet? > > > > On Tuesday, November 20, 2012 9:56:39 PM UTC+4:30, Mitch wrote: >> >> Are you using Tomcat 6? We don't provide the web container configuration >> necessary to run on Tomcat 7. >> >> While in any a normal implementation, Aggregate.html would be a plain old >> static text file, we needed to have it be produced by a servlet so that the >> site could be secured (i.e., force a login screen); Google AppEngine does >> not provide programmatic security at the level of control that we need when >> it vends static text files. >> >> Mitch >> >> >> >> On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery wrote: >>> >>> Hello all, >>> >>> Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web >>> browser. It appears that index.html loads and proceeds to redirect me to >>> Aggregate.html which does not exist in the ODK Aggregate folder under the >>> Tomcat webapps folder. Tomcat is running fine and I can access it from any >>> computer, both on and off the network. It's just ODK Aggregate that won't >>> function correctly due to this Aggregate.html file which doesn't seem to >>> exist. My brain is racked from days of troubleshooting so I apologize if >>> this is not enough information to get any assistance. Has anyone encountered >>> this issue and know of a solution? Thanks. >> >> >> >> >> -- >> Mitch Sundt >> Software Engineer >> University of Washington >> mitche...@gmail.com

Thanks for the reply. I've seen that thread before and it did not help. I
know that the URL should redirect to a servlet. The web.xml file looks fine
and I'm thinking the problem resides in either Tomcat or the connector/J
file. Something is not starting the servlet but I can't quite figure out
what isn't starting it or how to manually start it. Tomcat works great and
the test servlets supplied with Tomcat also work great, it's just the
servlet for ODK Aggregate that won't function correctly.

ยทยทยท On Wednesday, November 21, 2012 10:32:15 AM UTC+4:30, Waylon wrote: > > Lucas, > > First thanks for asking this question on the developer list. > > A discussion similar to this happened on the general list that I tried > (and failed to move to developers). > > https://groups.google.com/forum/?fromgroups=#!/opendatakit/jQCClrrNUJo/stxHecdUBjoJ > > As stated in the previous thread Aggregate.html doesn't actually exist > as a file, the URL redirects to a Servlet. > > " > To answer your question there is no Aggregate.html any more, to reduce > confusion during an upgrade cycle we kept the name the same and had > the web container map it to a servlet so users would be unaware of the > change. It's currently mapped to a AggregateHtmlServlet as shown on > lines 162-168 in the web.xml. > > http://code.google.com/p/opendatakit/source/browse/eclipse-aggregate-gae/war/WEB-INF/web.xml?repo=aggregate#162 > " > > Waylon > > On Tue, Nov 20, 2012 at 7:55 PM, Lucas McGlamery <roflom...@gmail.com > wrote: > > My specs are: > > > > Windows Server 2008 x64 > > Java JDK 7 u 9 > > Apache Tomcat 6 > > MySQL 5.5 > > ODK Aggregate 1.2 > > > > Is there a way to manually access the servlet? > > > > > > > > On Tuesday, November 20, 2012 9:56:39 PM UTC+4:30, Mitch wrote: > >> > >> Are you using Tomcat 6? We don't provide the web container > configuration > >> necessary to run on Tomcat 7. > >> > >> While in any a normal implementation, Aggregate.html would be a plain > old > >> static text file, we needed to have it be produced by a servlet so that > the > >> site could be secured (i.e., force a login screen); Google AppEngine > does > >> not provide programmatic security at the level of control that we need > when > >> it vends static text files. > >> > >> Mitch > >> > >> > >> > >> On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery wrote: > >>> > >>> Hello all, > >>> > >>> Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web > >>> browser. It appears that index.html loads and proceeds to redirect me > to > >>> Aggregate.html which does not exist in the ODK Aggregate folder under > the > >>> Tomcat webapps folder. Tomcat is running fine and I can access it from > any > >>> computer, both on and off the network. It's just ODK Aggregate that > won't > >>> function correctly due to this Aggregate.html file which doesn't seem > to > >>> exist. My brain is racked from days of troubleshooting so I apologize > if > >>> this is not enough information to get any assistance. Has anyone > encountered > >>> this issue and know of a solution? Thanks. > >> > >> > >> > >> > >> -- > >> Mitch Sundt > >> Software Engineer > >> University of Washington > >> mitche...@gmail.com >

Open an issue ( http://code.google.com/p/opendatakit/issues/list ) and
attach your catalina.log file to it.

Mitch

ยทยทยท On Wed, Nov 21, 2012 at 12:24 AM, Lucas McGlamery wrote:

Thanks for the reply. I've seen that thread before and it did not help. I
know that the URL should redirect to a servlet. The web.xml file looks fine
and I'm thinking the problem resides in either Tomcat or the connector/J
file. Something is not starting the servlet but I can't quite figure out
what isn't starting it or how to manually start it. Tomcat works great and
the test servlets supplied with Tomcat also work great, it's just the
servlet for ODK Aggregate that won't function correctly.

On Wednesday, November 21, 2012 10:32:15 AM UTC+4:30, Waylon wrote:

Lucas,

First thanks for asking this question on the developer list.

A discussion similar to this happened on the general list that I tried
(and failed to move to developers).
https://groups.google.com/**forum/?fromgroups=#!/**
opendatakit/jQCClrrNUJo/**stxHecdUBjoJhttps://groups.google.com/forum/?fromgroups=#!/opendatakit/jQCClrrNUJo/stxHecdUBjoJ

As stated in the previous thread Aggregate.html doesn't actually exist
as a file, the URL redirects to a Servlet.

"
To answer your question there is no Aggregate.html any more, to reduce
confusion during an upgrade cycle we kept the name the same and had
the web container map it to a servlet so users would be unaware of the
change. It's currently mapped to a AggregateHtmlServlet as shown on
lines 162-168 in the web.xml.
http://code.google.com/p/**opendatakit/source/browse/**
eclipse-aggregate-gae/war/WEB-**INF/web.xml?repo=aggregate#162http://code.google.com/p/opendatakit/source/browse/eclipse-aggregate-gae/war/WEB-INF/web.xml?repo=aggregate#162
"

Waylon

On Tue, Nov 20, 2012 at 7:55 PM, Lucas McGlamery roflom...@gmail.com wrote:

My specs are:

Windows Server 2008 x64
Java JDK 7 u 9
Apache Tomcat 6
MySQL 5.5
ODK Aggregate 1.2

Is there a way to manually access the servlet?

On Tuesday, November 20, 2012 9:56:39 PM UTC+4:30, Mitch wrote:

Are you using Tomcat 6? We don't provide the web container
configuration
necessary to run on Tomcat 7.

While in any a normal implementation, Aggregate.html would be a plain
old
static text file, we needed to have it be produced by a servlet so
that the
site could be secured (i.e., force a login screen); Google AppEngine
does
not provide programmatic security at the level of control that we need
when
it vends static text files.

Mitch

On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery roflom...@gmail.com wrote:

Hello all,

Upon configuring ODK Aggregate I to navigate to ODKAggregate in my
web
browser. It appears that index.html loads and proceeds to redirect me
to
Aggregate.html which does not exist in the ODK Aggregate folder under
the
Tomcat webapps folder. Tomcat is running fine and I can access it
from any
computer, both on and off the network. It's just ODK Aggregate that
won't
function correctly due to this Aggregate.html file which doesn't seem
to
exist. My brain is racked from days of troubleshooting so I apologize
if
this is not enough information to get any assistance. Has anyone
encountered
this issue and know of a solution? Thanks.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Open an issue ( http://code.google.com/p/opendatakit/issues/list ) and attach your catalina.log file to it.

Mitch

Thanks for the reply. I've seen that thread before and it did not help. I know that the URL should redirect to a servlet. The web.xml file looks fine and I'm thinking the problem resides in either Tomcat or the connector/J file. Something is not starting the servlet but I can't quite figure out what isn't starting it or how to manually start it. Tomcat works great and the test servlets supplied with Tomcat also work great, it's just the servlet for ODK Aggregate that won't function correctly.

Lucas,

First thanks for asking this question on the developer list.

A discussion similar to this happened on the general list that I tried

(and failed to move to developers).

https://groups.google.com/forum/?fromgroups=#!/opendatakit/jQCClrrNUJo/stxHecdUBjoJ

As stated in the previous thread Aggregate.html doesn't actually exist

as a file, the URL redirects to a Servlet.

"

To answer your question there is no Aggregate.html any more, to reduce

confusion during an upgrade cycle we kept the name the same and had

the web container map it to a servlet so users would be unaware of the

change. It's currently mapped to a AggregateHtmlServlet as shown on

lines 162-168 in the web.xml.

http://code.google.com/p/opendatakit/source/browse/eclipse-aggregate-gae/war/WEB-INF/web.xml?repo=aggregate#162

"

Waylon

My specs are:

Windows Server 2008 x64

Java JDK 7 u 9

Apache Tomcat 6

MySQL 5.5

ODK Aggregate 1.2

Is there a way to manually access the servlet?

Are you using Tomcat 6? We don't provide the web container configuration

necessary to run on Tomcat 7.

While in any a normal implementation, Aggregate.html would be a plain old

static text file, we needed to have it be produced by a servlet so that the

site could be secured (i.e., force a login screen); Google AppEngine does

not provide programmatic security at the level of control that we need when

it vends static text files.

Mitch

Hello all,

Upon configuring ODK Aggregate I to navigate to ODKAggregate in my web

browser. It appears that index.html loads and proceeds to redirect me to

Aggregate.html which does not exist in the ODK Aggregate folder under the

Tomcat webapps folder. Tomcat is running fine and I can access it from any

computer, both on and off the network. It's just ODK Aggregate that won't

function correctly due to this Aggregate.html file which doesn't seem to

exist. My brain is racked from days of troubleshooting so I apologize if

this is not enough information to get any assistance. Has anyone encountered

this issue and know of a solution? Thanks.

--

Mitch Sundt

Software Engineer

University of Washington

mitche...@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Hi Mitch/Lucas,

This issue is more than three years old. I am wondering if it was resolved or if I could get a pointer the issue list.

Regards,

ยทยทยท On Wednesday, November 21, 2012 at 7:56:00 PM UTC+3, Mitch wrote: > On Wed, Nov 21, 2012 at 12:24 AM, Lucas McGlamery wrote: > On Wednesday, November 21, 2012 10:32:15 AM UTC+4:30, Waylon wrote: > On Tue, Nov 20, 2012 at 7:55 PM, Lucas McGlamery wrote: > > On Tuesday, November 20, 2012 9:56:39 PM UTC+4:30, Mitch wrote: > >> On Tue, Nov 20, 2012 at 5:59 AM, Lucas McGlamery wrote:

Clearly, everything did not work fine :wink:

Note that the hostname / IP address and port that you specify during the install needs to be the IP address / hostname that is visible to your client browser. The software forces this to match with a redirect, so if the redirect to the Aggregate.html fails, look very closely at the URL it is trying to redirect to. There is likely a typo. You will need to re-run your installer to generate a new WAR file with any corrections.

Otherwise, look in your tomcat logs. Particularly the tomcat8-stderr log.

If you did not run the database creation script, this can also cause this problem.

1 Like