Error Deploying Web App

Hello community,

Please help me out. I tried to go digging from past threads and didn't get
any help. Can someone look from line 337
downwards: http://pastebin.com/4CCjLTU4
Looking at lines 38, 114 and so forth, one can see that i have been
struggling with one thing! Can someone else come to my rescue. I'm using:

  • Ubuntu 12.04.5 LTS
  • 64 bit
  • Java:

java version "1.7.0_79"

OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.12.04.1)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode

··· -

Tomcat6

Makhate,

The "Unsupported major.minor version 51.0" error is because your
Tomcat instance is not seeing the correct Java version. You likely
need to set the JAVA_HOME variable to point to Java 1.7.

Yaw

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

On Tue, Jul 21, 2015 at 3:42 AM, Makhate Makhate makhatemakhate@gmail.com wrote:

Hello community,

Please help me out. I tried to go digging from past threads and didn't get
any help. Can someone look from line 337 downwards:
http://pastebin.com/4CCjLTU4
Looking at lines 38, 114 and so forth, one can see that i have been
struggling with one thing! Can someone else come to my rescue. I'm using:

Ubuntu 12.04.5 LTS
64 bit
Java:

java version "1.7.0_79"

OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.12.04.1)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode

Tomcat6

--

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.

Thanks,

Let me try. Currently this is the situation:

··· -

echo $JAVA_HOME

/usr/lib/jvm/java-7-openjdk-amd64

There are 2 choices for the alternative java (providing /usr/bin/java).

 Selection    Path                                            Priority
 Status

 0            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061
 auto mode

 1            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061
 manual mode
  • 2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051
    manual mode

On Tue, Jul 21, 2015 at 2:07 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Makhate,

The "Unsupported major.minor version 51.0" error is because your
Tomcat instance is not seeing the correct Java version. You likely
need to set the JAVA_HOME variable to point to Java 1.7.

Yaw

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

On Tue, Jul 21, 2015 at 3:42 AM, Makhate Makhate makhatemakhate@gmail.com wrote:

Hello community,

Please help me out. I tried to go digging from past threads and didn't
get
any help. Can someone look from line 337 downwards:
http://pastebin.com/4CCjLTU4
Looking at lines 38, 114 and so forth, one can see that i have been
struggling with one thing! Can someone else come to my rescue. I'm using:

Ubuntu 12.04.5 LTS
64 bit
Java:

java version "1.7.0_79"

OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.12.04.1)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode

Tomcat6

--

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.

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/aVoWtY2hhQU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

It's WORKING!!!!!!
Because i spent the past two weeks fiddling this, i just wanted to
consolidate all of the steps that are involved in making this work so that
in the future people concentrate on LEARNING odk and not fiddling with the
machine, the steps i'd recommend are as follows:

  • For people who are using Linux. i'd recommend they use Ubuntu 12.04
    LTS because it uses tomcat6.
    • sudo apt-get install tasksel
    • sudo tasksell install tomcat. You're tomcat is installed! Now,
      you're going to hassle with making ODK work from here because it's using
      Java 1.7. To solve this problem do this;
    • sudo apt-get install java7-jdk
    • open .bashrc with your editor and do export
      JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
      from here you have
      pointed java to the right version but it won't work even if you restart
      your server, your tomcat and java instances,...everything! Now do this,
    • sudo -E /etc/init.d/tomcat6 restart. That E flag forces it load
      all environment variables!
    • From here, you'll see this it has now changed from 1.6.* to 1.7
    • Now follow all of the steps
      https://opendatakit.org/use/aggregate/tomcat-install/ to install
      Aggregate and it'll work! :relaxed:

··· On Tue, Jul 21, 2015 at 2:07 PM, Yaw Anokwa wrote:

Makhate,

The "Unsupported major.minor version 51.0" error is because your
Tomcat instance is not seeing the correct Java version. You likely
need to set the JAVA_HOME variable to point to Java 1.7.

Yaw

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

On Tue, Jul 21, 2015 at 3:42 AM, Makhate Makhate makhatemakhate@gmail.com wrote:

Hello community,

Please help me out. I tried to go digging from past threads and didn't
get
any help. Can someone look from line 337 downwards:
http://pastebin.com/4CCjLTU4
Looking at lines 38, 114 and so forth, one can see that i have been
struggling with one thing! Can someone else come to my rescue. I'm using:

Ubuntu 12.04.5 LTS
64 bit
Java:

java version "1.7.0_79"

OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.12.04.1)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode

Tomcat6

--

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.

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/aVoWtY2hhQU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Makhate,

Very glad to hear it's working and hopefully your post will help a few more
people.

That said, the bottom line is that setting up a manual install of Aggregate
(or pretty much any server stack) is a lot of work if you aren't deeply
technical. There will always be more that can go wrong than can be written
down in instructions.

This is why the core team strongly recommends folks use Aggregate on App
Engine. And if you want to use Aggregate locally, Nafundi's Aggregate VM (
https://gumroad.com/l/odk-aggregate-vm) is free and will take that 2 week
turnaround time down to 2 minutes.

Yaw

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

On Tue, Jul 21, 2015 at 10:34 AM, Makhate Makhate makhatemakhate@gmail.com wrote:

It's WORKING!!!!!!
Because i spent the past two weeks fiddling this, i just wanted to
consolidate all of the steps that are involved in making this work so that
in the future people concentrate on LEARNING odk and not fiddling with the
machine, the steps i'd recommend are as follows:

  • For people who are using Linux. i'd recommend they use Ubuntu 12.04
    LTS because it uses tomcat6.
    • sudo apt-get install tasksel
    • sudo tasksell install tomcat. You're tomcat is installed! Now,
      you're going to hassle with making ODK work from here because it's using
      Java 1.7. To solve this problem do this;
    • sudo apt-get install java7-jdk
    • open .bashrc with your editor and do export
      JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
      from here you have
      pointed java to the right version but it won't work even if you restart
      your server, your tomcat and java instances,...everything! Now do this,
    • sudo -E /etc/init.d/tomcat6 restart. That E flag forces it load
      all environment variables!
    • From here, you'll see this it has now changed from 1.6.* to 1.7
    • Now follow all of the steps
      https://opendatakit.org/use/aggregate/tomcat-install/ to install
      Aggregate and it'll work! :relaxed:

On Tue, Jul 21, 2015 at 2:07 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Makhate,

The "Unsupported major.minor version 51.0" error is because your
Tomcat instance is not seeing the correct Java version. You likely
need to set the JAVA_HOME variable to point to Java 1.7.

Yaw

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

On Tue, Jul 21, 2015 at 3:42 AM, Makhate Makhate makhatemakhate@gmail.com wrote:

Hello community,

Please help me out. I tried to go digging from past threads and didn't
get
any help. Can someone look from line 337 downwards:
http://pastebin.com/4CCjLTU4
Looking at lines 38, 114 and so forth, one can see that i have been
struggling with one thing! Can someone else come to my rescue. I'm
using:

Ubuntu 12.04.5 LTS
64 bit
Java:

java version "1.7.0_79"

OpenJDK Runtime Environment (IcedTea 2.5.5)
(7u79-2.5.5-0ubuntu0.12.04.1)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode

Tomcat6

--

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.

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/aVoWtY2hhQU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@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.

Thanks. I've updated the Tomcat install documentation with a note about
installs on Ubuntu.

··· On Tue, Jul 21, 2015 at 8:46 AM, Yaw Anokwa wrote:

Makhate,

Very glad to hear it's working and hopefully your post will help a few
more people.

That said, the bottom line is that setting up a manual install of
Aggregate (or pretty much any server stack) is a lot of work if you aren't
deeply technical. There will always be more that can go wrong than can be
written down in instructions.

This is why the core team strongly recommends folks use Aggregate on App
Engine. And if you want to use Aggregate locally, Nafundi's Aggregate VM (
https://gumroad.com/l/odk-aggregate-vm) is free and will take that 2 week
turnaround time down to 2 minutes.

Yaw

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

On Tue, Jul 21, 2015 at 10:34 AM, Makhate Makhate < makhatemakhate@gmail.com> wrote:

It's WORKING!!!!!!
Because i spent the past two weeks fiddling this, i just wanted to
consolidate all of the steps that are involved in making this work so that
in the future people concentrate on LEARNING odk and not fiddling with the
machine, the steps i'd recommend are as follows:

  • For people who are using Linux. i'd recommend they use Ubuntu 12.04
    LTS because it uses tomcat6.
    • sudo apt-get install tasksel
    • sudo tasksell install tomcat. You're tomcat is installed! Now,
      you're going to hassle with making ODK work from here because it's using
      Java 1.7. To solve this problem do this;
    • sudo apt-get install java7-jdk
    • open .bashrc with your editor and do export
      JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
      from here you have
      pointed java to the right version but it won't work even if you restart
      your server, your tomcat and java instances,...everything! Now do this,
    • sudo -E /etc/init.d/tomcat6 restart. That E flag forces it
      load all environment variables!
    • From here, you'll see this it has now changed from 1.6.* to 1.7
    • Now follow all of the steps
      https://opendatakit.org/use/aggregate/tomcat-install/ to install
      Aggregate and it'll work! :relaxed:

On Tue, Jul 21, 2015 at 2:07 PM, Yaw Anokwa yanokwa@nafundi.com wrote:

Makhate,

The "Unsupported major.minor version 51.0" error is because your
Tomcat instance is not seeing the correct Java version. You likely
need to set the JAVA_HOME variable to point to Java 1.7.

Yaw

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

On Tue, Jul 21, 2015 at 3:42 AM, Makhate Makhate makhatemakhate@gmail.com wrote:

Hello community,

Please help me out. I tried to go digging from past threads and didn't
get
any help. Can someone look from line 337 downwards:
http://pastebin.com/4CCjLTU4
Looking at lines 38, 114 and so forth, one can see that i have been
struggling with one thing! Can someone else come to my rescue. I'm
using:

Ubuntu 12.04.5 LTS
64 bit
Java:

java version "1.7.0_79"

OpenJDK Runtime Environment (IcedTea 2.5.5)
(7u79-2.5.5-0ubuntu0.12.04.1)

OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode

Tomcat6

--

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.

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/aVoWtY2hhQU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@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.

--

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.

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