ODK Aggregate source configuration - 404 on Tomcat Server

Hi,

I am struggling with the configuration and setup files for getting the ODK Aggregate source running on Tomcat. I am stuck on step 6 in the Setup.txt instructions in eclipse-aggregate-mysql. All previous steps are working, it runs OK under Jetty. I have verified that I can access the vanilla ODKAggregate installed by the installer.

I have specified localhost and port 8080 in both security.properties and the installer.

Step 6 - I have removed the original Tomcat Server from Eclipse and added a new Tomcat Server 6, pointing to the Tomcat installation directory and the installed JRE 7.

If I start the Tomcat Server and browse to localhost:8080/ODKAggregate, I get a 404 from Tomcat after the redirect to ODKAggregate/Aggregate.html. (I can see both the Tomcat index page on localhost:8080 and the initial ODKAggregate/index.html page.)

I have tried both 127.0.0.1 and the computer's FQDN in security.server.hostname, and am getting the same result.

What do I need to do to get this working under Tomcat?

Once this works in the Eclipse Tomcat server, what is required to deploy to a production server?

Many thanks,
Martin Ingham

I pushed some changes on the uiexperiment branch to update the .classpath
with the current libraries (and to change to use Chrome for the UI
integration testing).

But I was unable to get Mars to launch Apache Tomcat 6 like Kepler did.

I unfortunately do not have time to investigate this further.

We use maven to build the war file that we deploy.

This should be equivalent to using the content of the war directory
directly.

ยทยทยท On Fri, Nov 20, 2015 at 4:47 AM, wrote:

Hi,

I am struggling with the configuration and setup files for getting the ODK
Aggregate source running on Tomcat. I am stuck on step 6 in the Setup.txt
instructions in eclipse-aggregate-mysql. All previous steps are working, it
runs OK under Jetty. I have verified that I can access the vanilla
ODKAggregate installed by the installer.

I have specified localhost and port 8080 in both security.properties and
the installer.

Step 6 - I have removed the original Tomcat Server from Eclipse and added
a new Tomcat Server 6, pointing to the Tomcat installation directory and
the installed JRE 7.

If I start the Tomcat Server and browse to localhost:8080/ODKAggregate, I
get a 404 from Tomcat after the redirect to ODKAggregate/Aggregate.html. (I
can see both the Tomcat index page on localhost:8080 and the initial
ODKAggregate/index.html page.)

I have tried both 127.0.0.1 and the computer's FQDN in
security.server.hostname, and am getting the same result.

What do I need to do to get this working under Tomcat?

Once this works in the Eclipse Tomcat server, what is required to deploy
to a production server?

Many thanks,
Martin Ingham

--
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