ODK Aggregate Installer not Working

Hi Patrice,

I see two issues that might be causing problems:

(1) the hostname you entered was "Patrice-Pc". Use all lower case
(patrice-pc). This shouldn't make a difference.

(2) you specified a local port of 8086 when you ran the installer but the
Tomcat is running on port 8080.

You should either change the Tomcat instance to use port 8086 or specify
8080 when you rerun the installer.

In either case, I would recommend re-running the installer to create a new
war file with the hostname all lower case.

I'm not sure that this is all of your problem, but it is likely at least
some of it.

Once you correct these issues, restart tomcat, and send me a new log file.

Mitch

··· On Fri, Sep 9, 2011 at 11:19 AM, Patrice CLEDO wrote:

Hi Mitch,
Let me send you the log files maybe you can see what is wrong with my
installation.
It should be noted that I tryed using my google account.Apprently in get
access to the aggregate platform in local.But It can't display all the
content of the page.Only the logo the help icons but they are blinking.First
time i see such thing.

Regards,

Patrice

On Thu, Sep 8, 2011 at 7:25 PM, Mitch Sundt msundt@cs.washington.eduwrote:

You can find the error log for Tomcat under (with a typical Windows
install)

C:\Program Files\Tomcat\apache-tomcat-6.0.26\logs

The ones that usually contain errors are the catalina log files. Look in
the most recent log file (for simplicity, stop tomcat, delete the contents
of this directory, then restart tomcat and browse to the application; the
files that appear are the current log files).

If it complains about accessing the database, it is likely that you have
not executed the database configuration script or you specified improper
values for accessing the database server (e.g., if it is on a different
host, you didn't fill in the fully qualified hostname for the database
server but left it as 127.0.0.1).

If the error is not obvious, send that file as an attachment.

Mitch

On Thu, Sep 8, 2011 at 3:41 PM, Patrice CLEDO masterpcledo@gmail.comwrote:

Mitch,
Thanks a lot for your help.I figured it out before your mail but I
still have some trouble.The issue is I've installed the agregate test one
before and now i am
trying to lauch another one based on mysql and I thing have some conflict
but i have only one instance of the aggregate in mytomcat application
manager.I can't figure out what is wexactly the problem.It 's is blinking
butany data could not display in the web interface.

Your help you be greatly appreciate.

Patrice

On Thu, Sep 8, 2011 at 5:51 PM, Mitch Sundt msundt@cs.washington.eduwrote:

Hi Patrice,

During the install, you specify a Google Accounts e-mail account.

When you first visit the ODK Aggregate instance, you need to click "Sign
in with Google" and use that Google Accounts e-mail account. If you have
several such accounts, be sure to log into Google with the account you
specified before clicking this button.

Once logged in with this account, you can visit the Site Admin /
Permissions tab and add ODK Aggregate users; once they are added, you can
set their passwords. Only then can you click the "Sign in with Aggregate
password" and specify one of these users and their respective password.

Mitch

On Thu, Sep 8, 2011 at 12:26 PM, Patrice CLEDO masterpcledo@gmail.comwrote:

Hi All,
I ve tried to install the beta version 1.0 everything work good but
I cant access it.It is asking for the ODK aggregate password.
Please Can someone help me to fix that and move forward.

Regards,

Patrice

On 8 sep, 14:42, Mitch Sundt msu...@cs.washington.edu wrote:

Hi Tumaini,

I've tried the installer on a clean 32-bit Windows 7 system and have
been
unable to replicate the problem, both when running as an
administrator and
when running as an unprivileged user. I've also tried various
combinations
of installations of JRE 7, JDK 7 + Glassfish, and JRE 6. All seem to
work
through the hostname screen during a PostgreSQL install.

What version of Windows are you running?

Can you try running the installer on a different machine?

The installer requires a JRE but does not alter any settings on the
machine;
you can run the installer without first having installed tomcat or
postgresql. If running on a different machine, be sure to change the
fully-qualified hostname to your target machine. The "ODK
Aggregate"
directory that the installer produces contains the configured war
file and
instructions on what to do with it. Once that directory is created,
it (or
just the war file within it) can be copied as needed.

w.r.t. timeline: Not being able to use the ODK Aggregate 1.0
installer is a
big problem. If we can resolve that issue, whether the timelime is
reasonable depends upon how complex a form you need and how quickly
you need
to ramp up everyone's use of ODK Collect & Aggregate during the
pilot. If
you only need a simple form and can introduce ODK tools slowly to
your
workforce, October is aggressive, but doable (assuming you can get
past the
Aggregate installer issue).

Mitch

On Thu, Sep 8, 2011 at 2:51 AM, Tumaini Kilimba tkili...@ihi.or.tz wrote:

Thanks for the resoponse. The values are as follows:

echo %TEMP% : C:\Users\Tumaini\AppData\Local\Temp
echo %TMP% : C:\Users\Tumaini\AppData\Local\Temp

I looked and found the very latest bitrock_installer and its
contents
are as pasted below:

Log started 09/07/2011 at 17:06:38
Preferred installation mode : win32
Trying to init installer in mode win32
Mode win32 successfully initialized
Setting variable default_hostname from C:/Program Files/Java/
jdk1.6.0_27/jre/bin/java.exe QualifiedHostname
Script exit code: 1

Script output:

Script stderr:
java.lang.NoClassDefFoundError: QualifiedHostname
Caused by: java.lang.ClassNotFoundException: QualifiedHostname
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: QualifiedHostname. Program will
exit.
Exception in thread "main"

Error running C:/Program Files/Java/jdk1.6.0_27/jre/bin/java.exe
QualifiedHostname : java.lang.NoClassDefFoundError:
QualifiedHostname
Caused by: java.lang.ClassNotFoundException: QualifiedHostname
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: QualifiedHostname. Program will
exit.
Exception in thread "main"

I have not been able to determine what sort of permissions I have
to
these folders as they are invisible to me when trying to view them
in
Windows Explorer, I have to manually type in the file path i got
from
running the echo %TEMP% command in the address bar. Hope all this
information is helpful in getting this sorted, the Health institute
I
work in was intending to start piloting ODK by the end of October,
so
it would be really helpful for me to get the hang of it now, rather
than later, as I am the proponent of ODK at the institute, and as
such, the lead developer/implementer of the ODK solution. Would you
say that that is an overly-ambitious timeline, considering I am
still
at the first stage of implementing (setting up)? Your advice would
be
much appreciated.

Tumaini

Thanks in advance

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

--
Mitch Sundt
Software Engineerhttp://www.OpenDataKit.org
University of Washington
mitchellsu...@gmail.com

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

--
Mitch Sundt
Software Engineer

http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

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

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

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

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

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

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

Mitch ,

But For the two ports you see it is just because i have run a previous
installer and specified the port to be used as 8086
I have uninstalled it and run the installer with the tomcat and mysql
embeded on the port 8080.
However, I am going to re-run the installer and send you the log if
something is wrong.

Patrice

··· On Fri, Sep 9, 2011 at 4:08 PM, Mitch Sundt wrote:

Hi Patrice,

I see two issues that might be causing problems:

(1) the hostname you entered was "Patrice-Pc". Use all lower case
(patrice-pc). This shouldn't make a difference.

(2) you specified a local port of 8086 when you ran the installer but the
Tomcat is running on port 8080.

You should either change the Tomcat instance to use port 8086 or specify
8080 when you rerun the installer.

In either case, I would recommend re-running the installer to create a new
war file with the hostname all lower case.

I'm not sure that this is all of your problem, but it is likely at least
some of it.

Once you correct these issues, restart tomcat, and send me a new log file.

Mitch

On Fri, Sep 9, 2011 at 11:19 AM, Patrice CLEDO masterpcledo@gmail.comwrote:

Hi Mitch,
Let me send you the log files maybe you can see what is wrong with my
installation.
It should be noted that I tryed using my google account.Apprently in get
access to the aggregate platform in local.But It can't display all the
content of the page.Only the logo the help icons but they are blinking.First
time i see such thing.

Regards,

Patrice

On Thu, Sep 8, 2011 at 7:25 PM, Mitch Sundt msundt@cs.washington.eduwrote:

You can find the error log for Tomcat under (with a typical Windows
install)

C:\Program Files\Tomcat\apache-tomcat-6.0.26\logs

The ones that usually contain errors are the catalina log files. Look in
the most recent log file (for simplicity, stop tomcat, delete the contents
of this directory, then restart tomcat and browse to the application; the
files that appear are the current log files).

If it complains about accessing the database, it is likely that you have
not executed the database configuration script or you specified improper
values for accessing the database server (e.g., if it is on a different
host, you didn't fill in the fully qualified hostname for the database
server but left it as 127.0.0.1).

If the error is not obvious, send that file as an attachment.

Mitch

On Thu, Sep 8, 2011 at 3:41 PM, Patrice CLEDO masterpcledo@gmail.comwrote:

Mitch,
Thanks a lot for your help.I figured it out before your mail but I
still have some trouble.The issue is I've installed the agregate test one
before and now i am
trying to lauch another one based on mysql and I thing have some
conflict but i have only one instance of the aggregate in mytomcat
application manager.I can't figure out what is wexactly the problem.It 's is
blinking butany data could not display in the web interface.

Your help you be greatly appreciate.

Patrice

On Thu, Sep 8, 2011 at 5:51 PM, Mitch Sundt msundt@cs.washington.eduwrote:

Hi Patrice,

During the install, you specify a Google Accounts e-mail account.

When you first visit the ODK Aggregate instance, you need to click
"Sign in with Google" and use that Google Accounts e-mail account. If you
have several such accounts, be sure to log into Google with the account you
specified before clicking this button.

Once logged in with this account, you can visit the Site Admin /
Permissions tab and add ODK Aggregate users; once they are added, you can
set their passwords. Only then can you click the "Sign in with Aggregate
password" and specify one of these users and their respective password.

Mitch

On Thu, Sep 8, 2011 at 12:26 PM, Patrice CLEDO <masterpcledo@gmail.com wrote:

Hi All,
I ve tried to install the beta version 1.0 everything work good but
I cant access it.It is asking for the ODK aggregate password.
Please Can someone help me to fix that and move forward.

Regards,

Patrice

On 8 sep, 14:42, Mitch Sundt msu...@cs.washington.edu wrote:

Hi Tumaini,

I've tried the installer on a clean 32-bit Windows 7 system and have
been
unable to replicate the problem, both when running as an
administrator and
when running as an unprivileged user. I've also tried various
combinations
of installations of JRE 7, JDK 7 + Glassfish, and JRE 6. All seem
to work
through the hostname screen during a PostgreSQL install.

What version of Windows are you running?

Can you try running the installer on a different machine?

The installer requires a JRE but does not alter any settings on the
machine;
you can run the installer without first having installed tomcat or
postgresql. If running on a different machine, be sure to change
the
fully-qualified hostname to your target machine. The "ODK
Aggregate"
directory that the installer produces contains the configured war
file and
instructions on what to do with it. Once that directory is created,
it (or
just the war file within it) can be copied as needed.

w.r.t. timeline: Not being able to use the ODK Aggregate 1.0
installer is a
big problem. If we can resolve that issue, whether the timelime is
reasonable depends upon how complex a form you need and how quickly
you need
to ramp up everyone's use of ODK Collect & Aggregate during the
pilot. If
you only need a simple form and can introduce ODK tools slowly to
your
workforce, October is aggressive, but doable (assuming you can get
past the
Aggregate installer issue).

Mitch

On Thu, Sep 8, 2011 at 2:51 AM, Tumaini Kilimba tkili...@ihi.or.tz wrote:

Thanks for the resoponse. The values are as follows:

echo %TEMP% : C:\Users\Tumaini\AppData\Local\Temp
echo %TMP% : C:\Users\Tumaini\AppData\Local\Temp

I looked and found the very latest bitrock_installer and its
contents
are as pasted below:

Log started 09/07/2011 at 17:06:38
Preferred installation mode : win32
Trying to init installer in mode win32
Mode win32 successfully initialized
Setting variable default_hostname from C:/Program Files/Java/
jdk1.6.0_27/jre/bin/java.exe QualifiedHostname
Script exit code: 1

Script output:

Script stderr:
java.lang.NoClassDefFoundError: QualifiedHostname
Caused by: java.lang.ClassNotFoundException: QualifiedHostname
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: QualifiedHostname. Program will
exit.
Exception in thread "main"

Error running C:/Program Files/Java/jdk1.6.0_27/jre/bin/java.exe
QualifiedHostname : java.lang.NoClassDefFoundError:
QualifiedHostname
Caused by: java.lang.ClassNotFoundException: QualifiedHostname
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: QualifiedHostname. Program will
exit.
Exception in thread "main"

I have not been able to determine what sort of permissions I have
to
these folders as they are invisible to me when trying to view them
in
Windows Explorer, I have to manually type in the file path i got
from
running the echo %TEMP% command in the address bar. Hope all this
information is helpful in getting this sorted, the Health
institute I
work in was intending to start piloting ODK by the end of October,
so
it would be really helpful for me to get the hang of it now,
rather
than later, as I am the proponent of ODK at the institute, and as
such, the lead developer/implementer of the ODK solution. Would
you
say that that is an overly-ambitious timeline, considering I am
still
at the first stage of implementing (setting up)? Your advice would
be
much appreciated.

Tumaini

Thanks in advance

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

--
Mitch Sundt
Software Engineerhttp://www.OpenDataKit.org
University of Washington
mitchellsu...@gmail.com

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

--
Mitch Sundt
Software Engineer

http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

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

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

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

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

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

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com

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