Uploading instance to app engine fail

I am trying to upload an instance to Appengine, but get this error below in the log.

Looking for java...
found java in PATH... C:\WINDOWS\system32\java.exe
---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've tried with Java 8 and I've even installed JDK 7 to make sure I don't have problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and again my daughter's laptop with Win 7. The error message differs, but they all fail.
The old version 0.xx beta's was the last successfull build.
I've even tried with Ubuntu Linux, but could not get it to even unpack, mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much appreciated.

Regards

The java that comes with Windows XP ( C:\Windows\System32\java.exe ) is
being found instead of the java 7 that you installed (which is typically
installed under C:\Program Files\Java\jre7 ).

Did you use an installer to install java?
http://java.com/en/download/index.jsp

If not, you should remove your java installation and any environment or
PATH variable changes that you may have added.

Then use the installer from the link above to install Java 7. Do not use
java 8, or any alpha or beta release of Java.

Now open a cmd window and type:

java -version
You should see something like this (you should see version strings on the
first two lines beginning 1.7...):

C:\Users\Administrator\Documents\workspace>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode)

Now, launch the ODK Aggregate installer.

··· On Wed, Sep 10, 2014 at 12:23 PM, wrote:

I am trying to upload an instance to Appengine, but get this error below
in the log.

Looking for java...
found java in PATH... C:\WINDOWS\system32\java.exe
---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've tried
with Java 8 and I've even installed JDK 7 to make sure I don't have
problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and again my
daughter's laptop with Win 7. The error message differs, but they all fail.
The old version 0.xx beta's was the last successfull build.
I've even tried with Ubuntu Linux, but could not get it to even unpack,
mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much
appreciated.

Regards

--

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

Dear Mitch,
I followed the instructions and I get the following. Also, how long the upload process takes?

C:>cd C:\ODK\ODK Aggregate

C:\ODK\ODK Aggregate>.\appengine-java-sdk\bin\appcfg.cmd --passin update .\ODKAggregate
Nov 17, 2015 3:10:15 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

··· ******************************************************** There is a new version of the SDK available. ----------- Latest SDK: Release: 1.9.28 Timestamp: Fri Sep 11 04:15:02 AFT 2015 API versions: [1.0]

Your SDK:
Release: 1.9.18
Timestamp: Fri Feb 13 00:00:16 AFT 2015
API versions: [1.0]


Please visit https://developers.google.com/appengine/downloads for the latest SDK.


Reading application configuration data...
Nov 17, 2015 3:10:22 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/appengine-web.xml
Nov 17, 2015 3:10:22 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/web.xml
Nov 17, 2015 3:10:22 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/cron.xml
Nov 17, 2015 3:10:22 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/queue.xml
Nov 17, 2015 3:10:22 PM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/datastore-indexes.xml
Nov 17, 2015 3:10:22 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/backends.xml

Beginning interaction for module default...
Nov 17, 2015 3:10:23 PM com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=card-f-me&version=1&
401 Unauthorized
Must authenticate first.
This is try #0
Email: qudratnadir@gmail.com
Password for qudratnadir@gmail.com: *******

com.google.appengine.tools.admin.ClientLoginServerConnection$ClientLoginException: Use an application-specific password instead of your regular accoun
t password. See http://www.google.com/support/accounts/bin/answer.py?answer=185833
Unable to update app: Use an application-specific password instead of your regular account password. See http://www.google.com/support/accounts/bin/an
swer.py?answer=185833
Please see the logs [C:\Users\QUDRAT~1.AZI\AppData\Local\Temp\appcfg6344488110783401753.log] for further information.

C:\ODK\ODK Aggregate>

I will try uninstalling Java. Not sure how to delete the PATH variable, but will Google it.
I also used the installer for Java, but did not remove the older version first.

Thank you

The java that comes with Windows XP ( C:\Windows\System32\java.exe ) is being found instead of the java 7 that you installed (which is typically installed under C:\Program Files\Java\jre7 ).

Did you use an installer to install java? http://java.com/en/download/index.jsp

If not, you should remove your java installation and any environment or PATH variable changes that you may have added.

Then use the installer from the link above to install Java 7. Do not use java 8, or any alpha or beta release of Java.

Now open a cmd window and type:

java -version

You should see something like this (you should see version strings on the first two lines beginning 1.7...):

C:\Users\Administrator\Documents\workspace>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode)

Now, launch the ODK Aggregate installer.

I am trying to upload an instance to Appengine, but get this error below in the log.

Looking for java...

found java in PATH... C:\WINDOWS\system32\java.exe

---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've tried with Java 8 and I've even installed JDK 7 to make sure I don't have problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and again my daughter's laptop with Win 7. The error message differs, but they all fail.

The old version 0.xx beta's was the last successfull build.

I've even tried with Ubuntu Linux, but could not get it to even unpack, mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much appreciated.

Regards

--

--

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.

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

Ok, I've uninstalled Java 7 and JDK 7 reboot and install from the installer.
I got excactly the same error trying to upload the instance.
Used cmd java -version, it shows the same, except the last line show nothing of "64 bit version". I guess its because my XP is 32 bit.

I looked under the path variable, but found nothing of "/system32/java". (I am unfortunately not with my home PC now, so I cannot copy the full path name.) There was something in the line of "/program files/java", if my memory serves me right. Not sure if its relevant or not.

When I remove Java, the uploader says "JAVA_HOME is not defined. Please verify that Java is installed." So I guess I don't have any version of Java. I also did not see Java under "Add/remove" programs in this case.

There is something called Java EE 6 SDK Glassfish. I don't even know what its for, so I will remove it, looks like some kind of server I used in the past. I doubt that is the problem, since none of the other laptops have it installed.
Regards

··· On Wednesday, 10 September 2014 22:00:48 UTC+2, Mitch Sundt wrote: > On Wed, Sep 10, 2014 at 12:23 PM, wrote:

The above output (provided by the Google software we are using to upload
the AppEngine configuraiton) provides a useful error message and directions:

Use an application-specific password instead of your regular accoun
t password. See

Unable to update app: Use an application-specific password instead of your
regular account password. See http://www.google.com/support/accounts/bin/an
swer.py?answer=185833

Also, see step # 2 of

The above error messages were also noted in step # 6 of those directions.

The time to upload the files depends upon the speed of your internet
connection. For me, it takes less than 5 minutes.

··· On Tue, Nov 17, 2015 at 3:10 AM, wrote:

Dear Mitch,
I followed the instructions and I get the following. Also, how long the
upload process takes?

C:>cd C:\ODK\ODK Aggregate

C:\ODK\ODK Aggregate>.\appengine-java-sdk\bin\appcfg.cmd --passin update
.\ODKAggregate
Nov 17, 2015 3:10:15 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at
root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.


There is a new version of the SDK available.

Latest SDK:
Release: 1.9.28
Timestamp: Fri Sep 11 04:15:02 AFT 2015
API versions: [1.0]


Your SDK:
Release: 1.9.18
Timestamp: Fri Feb 13 00:00:16 AFT 2015
API versions: [1.0]


Please visit https://developers.google.com/appengine/downloads for the
latest SDK.


Reading application configuration data...
Nov 17, 2015 3:10:22 PM
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/appengine-web.xml
Nov 17, 2015 3:10:22 PM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/web.xml
Nov 17, 2015 3:10:22 PM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/cron.xml
Nov 17, 2015 3:10:22 PM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/queue.xml
Nov 17, 2015 3:10:22 PM
com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/datastore-indexes.xml
Nov 17, 2015 3:10:22 PM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/backends.xml

Beginning interaction for module default...
Nov 17, 2015 3:10:23 PM
com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL:
https://appengine.google.com/api/appversion/getresourcelimits?app_id=card-f-me&version=1&
401 Unauthorized
Must authenticate first.
This is try #0
Email: qudratnadir@gmail.com
Password for qudratnadir@gmail.com: *******

com.google.appengine.tools.admin.ClientLoginServerConnection$ClientLoginException:
Use an application-specific password instead of your regular accoun
t password. See
http://www.google.com/support/accounts/bin/answer.py?answer=185833
Unable to update app: Use an application-specific password instead of your
regular account password. See
http://www.google.com/support/accounts/bin/an
swer.py?answer=185833
Please see the logs
[C:\Users\QUDRAT~1.AZI\AppData\Local\Temp\appcfg6344488110783401753.log]
for further information.

C:\ODK\ODK Aggregate>

--

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

If you didn't modify the PATH setting, there is no need to change it --
just try the ordinary steps first.

··· On Thu, Sep 11, 2014 at 7:29 AM, wrote:

I will try uninstalling Java. Not sure how to delete the PATH variable,
but will Google it.
I also used the installer for Java, but did not remove the older version
first.

Thank you

--

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

You definitely don't need Java EE 6 SDK Glassfish, so you can remove that.

Please confirm what version of Aggregate (1.4.4?) you are trying to
install and what was the last successful version (1.4.3?) you
installed.

Yaw

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

On Fri, Sep 12, 2014 at 3:04 AM, watterusername@gmail.com wrote:

On Wednesday, 10 September 2014 22:00:48 UTC+2, Mitch Sundt wrote:

The java that comes with Windows XP ( C:\Windows\System32\java.exe ) is being found instead of the java 7 that you installed (which is typically installed under C:\Program Files\Java\jre7 ).

Did you use an installer to install java? http://java.com/en/download/index.jsp

If not, you should remove your java installation and any environment or PATH variable changes that you may have added.

Then use the installer from the link above to install Java 7. Do not use java 8, or any alpha or beta release of Java.

Now open a cmd window and type:

java -version

You should see something like this (you should see version strings on the first two lines beginning 1.7...):

C:\Users\Administrator\Documents\workspace>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode)

Now, launch the ODK Aggregate installer.

On Wed, Sep 10, 2014 at 12:23 PM, watteru...@gmail.com wrote:
I am trying to upload an instance to Appengine, but get this error below in the log.

Looking for java...

found java in PATH... C:\WINDOWS\system32\java.exe

---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've tried with Java 8 and I've even installed JDK 7 to make sure I don't have problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and again my daughter's laptop with Win 7. The error message differs, but they all fail.

The old version 0.xx beta's was the last successfull build.

I've even tried with Ubuntu Linux, but could not get it to even unpack, mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much appreciated.

Regards

--

--

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.

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

Ok, I've uninstalled Java 7 and JDK 7 reboot and install from the installer.
I got excactly the same error trying to upload the instance.
Used cmd java -version, it shows the same, except the last line show nothing of "64 bit version". I guess its because my XP is 32 bit.

I looked under the path variable, but found nothing of "/system32/java". (I am unfortunately not with my home PC now, so I cannot copy the full path name.) There was something in the line of "/program files/java", if my memory serves me right. Not sure if its relevant or not.

When I remove Java, the uploader says "JAVA_HOME is not defined. Please verify that Java is installed." So I guess I don't have any version of Java. I also did not see Java under "Add/remove" programs in this case.

There is something called Java EE 6 SDK Glassfish. I don't even know what its for, so I will remove it, looks like some kind of server I used in the past. I doubt that is the problem, since none of the other laptops have it installed.
Regards

--

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.

If you still have trouble,

(1) uninstall all the Java and Glassfish Java apps, so that java is not
found.

(2) confirm that C:\Windows\System32\java.exe is gone

(3) Install Java 7

Now, inspect and possibly change some environment variables...

(4) First, Open a file browser and navigate to the directory where you Java
install is. This is typically something like
C:\Program Files\Java\jdk1.7.0_25

Keep that file browser open.

Now, we need to set up some environment variables, a JAVA_HOME variable,
and your Path variable. To do so,

(6) Open your Start menu

(7) right-click on Computer

(8) Choose "Properties"

(9) Click "Advanced System settings" in the left sidebar

(10) Click on "Environment Variables..."

(11) Look for a "JAVA_HOME" variable in either the upper box (settings
specific to you), or in the lower "System Variables" box.

(12a) If you find it in either section, confirm that this variable has the
same file path as your Java install, as indicated in the file browser you
opened earlier. If it is different, edit it to be the same as the path
above.

(12b) If you do not find it, click on "New..." in the bottom (System
variables) box, and add JAVA_HOME with the given path above.

And close out of all the dialogs.

Then try running the upload script -- after you have successfully run the
installer, you can just double-click on the
"uploadAggregateToAppEngine.hta" file. You don't need to run the installer
over again.

And if that fails, please copy the output into a notepad document and
attach that to your reply.

··· On Fri, Sep 12, 2014 at 7:35 AM, Yaw Anokwa wrote:

You definitely don't need Java EE 6 SDK Glassfish, so you can remove that.

Please confirm what version of Aggregate (1.4.4?) you are trying to
install and what was the last successful version (1.4.3?) you
installed.

Yaw

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

On Fri, Sep 12, 2014 at 3:04 AM, watterusername@gmail.com wrote:

On Wednesday, 10 September 2014 22:00:48 UTC+2, Mitch Sundt wrote:

The java that comes with Windows XP ( C:\Windows\System32\java.exe ) is
being found instead of the java 7 that you installed (which is typically
installed under C:\Program Files\Java\jre7 ).

Did you use an installer to install java?
http://java.com/en/download/index.jsp

If not, you should remove your java installation and any environment or
PATH variable changes that you may have added.

Then use the installer from the link above to install Java 7. Do not
use java 8, or any alpha or beta release of Java.

Now open a cmd window and type:

java -version

You should see something like this (you should see version strings on
the first two lines beginning 1.7...):

C:\Users\Administrator\Documents\workspace>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode)

Now, launch the ODK Aggregate installer.

On Wed, Sep 10, 2014 at 12:23 PM, watteru...@gmail.com wrote:
I am trying to upload an instance to Appengine, but get this error
below in the log.

Looking for java...

found java in PATH... C:\WINDOWS\system32\java.exe

---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've tried
with Java 8 and I've even installed JDK 7 to make sure I don't have
problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and again
my daughter's laptop with Win 7. The error message differs, but they all
fail.

The old version 0.xx beta's was the last successfull build.

I've even tried with Ubuntu Linux, but could not get it to even unpack,
mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much
appreciated.

Regards

--

--

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.

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

Ok, I've uninstalled Java 7 and JDK 7 reboot and install from the
installer.
I got excactly the same error trying to upload the instance.
Used cmd java -version, it shows the same, except the last line show
nothing of "64 bit version". I guess its because my XP is 32 bit.

I looked under the path variable, but found nothing of "/system32/java".
(I am unfortunately not with my home PC now, so I cannot copy the full path
name.) There was something in the line of "/program files/java", if my
memory serves me right. Not sure if its relevant or not.

When I remove Java, the uploader says "JAVA_HOME is not defined. Please
verify that Java is installed." So I guess I don't have any version of
Java. I also did not see Java under "Add/remove" programs in this case.

There is something called Java EE 6 SDK Glassfish. I don't even know
what its for, so I will remove it, looks like some kind of server I used in
the past. I doubt that is the problem, since none of the other laptops have
it installed.
Regards

--

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

I followed the steps as you describe and had to add JAVA_HOME myself.
I got exactly the same response.

Looking for java...
found java in PATH... C:\WINDOWS\system32\java.exe
---END-SCRIPT-FAILURE---

I've installed the JDK and use this JAVA_HOME path.
C:\Program Files\Java\jdk1.7.0_67

and this one
C:\Program Files\Java\jre7

both have the same result. I've also tried with a "\bin" tagged on.

Here is the current path variable:
C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\Program Files\PC
Connectivity
Solution;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program
Files\OpenLibraries\bin;C:\Program Files\QuickTime\QTSystem;C:\Program
Files\Microsoft\Web Platform
Installer;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program
Files\HI-TECH Software\PICC\lite\9.60\bin;C:\Program
Files\Microchip\xc8\v1.31\bin

Oh and I am using Aggregate v 1.4.4
The oldest version of Aggrgate I have is 1.0.3, it simply fail with this:
*---END-SCRIPT-FAILURE--- *

The last successfull upload I did was 998 days ago according to Appengine,
I rememer is was v0.xx.beta or such. Not exactly sure. I never required a
new instance since then.
Im trying a completely new upload, with a different gmail account I want to
use for sharing in our company. (That is why the username is now different.
I logged in with my own account today.)

Thank you for the help. I do hope I can get this going now.

··· On Friday, 12 September 2014 17:51:27 UTC+2, Mitch Sundt wrote: > > If you still have trouble, > > (1) uninstall all the Java and Glassfish Java apps, so that java is not > found. > > (2) confirm that C:\Windows\System32\java.exe is gone > > (3) Install Java 7 > > Now, inspect and possibly change some environment variables... > > (4) First, Open a file browser and navigate to the directory where you > Java install is. This is typically something like > C:\Program Files\Java\jdk1.7.0_25 > > Keep that file browser open. > > Now, we need to set up some environment variables, a JAVA_HOME variable, > and your Path variable. To do so, > > (6) Open your Start menu > > (7) right-click on Computer > > (8) Choose "Properties" > > (9) Click "Advanced System settings" in the left sidebar > > (10) Click on "Environment Variables..." > > (11) Look for a "JAVA_HOME" variable in either the upper box (settings > specific to you), or in the lower "System Variables" box. > > (12a) If you find it in either section, confirm that this variable has the > same file path as your Java install, as indicated in the file browser you > opened earlier. If it is different, edit it to be the same as the path > above. > > (12b) If you do not find it, click on "New..." in the bottom (System > variables) box, and add JAVA_HOME with the given path above. > > > And close out of all the dialogs. > > Then try running the upload script -- after you have successfully run the > installer, you can just double-click on the > "uploadAggregateToAppEngine.hta" file. You don't need to run the installer > over again. > > And if that fails, please copy the output into a notepad document and > attach that to your reply. > > > On Fri, Sep 12, 2014 at 7:35 AM, Yaw Anokwa <yan...@nafundi.com > wrote: > >> You definitely don't need Java EE 6 SDK Glassfish, so you can remove that. >> >> Please confirm what version of Aggregate (1.4.4?) you are trying to >> install and what was the last successful version (1.4.3?) you >> installed. >> >> Yaw >> -- >> Need ODK services? http://nafundi.com provides form design, server >> setup, professional support, and software development for ODK. >> >> On Fri, Sep 12, 2014 at 3:04 AM, <watteru...@gmail.com > wrote: >> > On Wednesday, 10 September 2014 22:00:48 UTC+2, Mitch Sundt wrote: >> >> The java that comes with Windows XP ( C:\Windows\System32\java.exe ) >> is being found instead of the java 7 that you installed (which is typically >> installed under C:\Program Files\Java\jre7 ). >> >> >> >> Did you use an installer to install java? >> http://java.com/en/download/index.jsp >> >> >> >> If not, you should remove your java installation and any environment >> or PATH variable changes that you may have added. >> >> >> >> Then use the installer from the link above to install Java 7. Do not >> use java 8, or any alpha or beta release of Java. >> >> >> >> >> >> Now open a cmd window and type: >> >> >> >> >> >> java -version >> >> >> >> >> >> You should see something like this (you should see version strings on >> the first two lines beginning 1.7...): >> >> >> >> C:\Users\Administrator\Documents\workspace>java -version >> >> java version "1.7.0_67" >> >> Java(TM) SE Runtime Environment (build 1.7.0_67-b17) >> >> Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode) >> >> >> >> >> >> Now, launch the ODK Aggregate installer. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Wed, Sep 10, 2014 at 12:23 PM, wrote: >> >> I am trying to upload an instance to Appengine, but get this error >> below in the log. >> >> >> >> >> >> >> >> Looking for java... >> >> >> >> found java in PATH... C:\WINDOWS\system32\java.exe >> >> >> >> ---END-SCRIPT-FAILURE--- >> >> >> >> >> >> >> >> I've checked and double checked to make sure I have Java 7. I've tried >> with Java 8 and I've even installed JDK 7 to make sure I don't have >> problems. This was from an XP machine. >> >> >> >> >> >> >> >> I tried my laptop with Win 7 and my wife's laptop with Win 8 and again >> my daughter's laptop with Win 7. The error message differs, but they all >> fail. >> >> >> >> The old version 0.xx beta's was the last successfull build. >> >> >> >> I've even tried with Ubuntu Linux, but could not get it to even >> unpack, mostly because I don't know how to use the Linux version. >> >> >> >> >> >> >> >> If anyone can help me, perhaps upload to my instance, it will be much >> appreciated. >> >> >> >> >> >> >> >> Regards >> >> >> >> >> >> >> >> -- >> >> >> >> -- >> >> >> >> 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. >> >> >> >> >> >> >> >> >> >> -- >> >> Mitch Sundt >> >> Software Engineer >> >> University of Washington >> >> mitche...@gmail.com >> > >> > Ok, I've uninstalled Java 7 and JDK 7 reboot and install from the >> installer. >> > I got excactly the same error trying to upload the instance. >> > Used cmd java -version, it shows the same, except the last line show >> nothing of "64 bit version". I guess its because my XP is 32 bit. >> > >> > I looked under the path variable, but found nothing of >> "/system32/java". (I am unfortunately not with my home PC now, so I cannot >> copy the full path name.) There was something in the line of "/program >> files/java", if my memory serves me right. Not sure if its relevant or not. >> > >> > When I remove Java, the uploader says "JAVA_HOME is not defined. Please >> verify that Java is installed." So I guess I don't have any version of >> Java. I also did not see Java under "Add/remove" programs in this case. >> > >> > There is something called Java EE 6 SDK Glassfish. I don't even know >> what its for, so I will remove it, looks like some kind of server I used in >> the past. I doubt that is the problem, since none of the other laptops have >> it installed. >> > Regards >> > >> > -- >> > -- >> > 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: 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. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

OK. With that configured,

(1) open a file browser and browse to the directory containing the
uploadAggregateToAppEngine.hta file

(2) open a CMD window ( Start menu, Type cmd in the "Search programs and
files" box and choose cmd.exe -- You should see a black text command
window open.

(3) in the border of that window, right-click, choose Properties

(4a) On the Layout tab, set the Window Size - Width to something fairly
wide (e.g., 150 -- depends upon how big your monitor is).

(4b) Also on the Layout tab, set the Screen Buffer Size - Height to 1000 or
more.

(5) Click OK

(6) click into the top bar of the file browser (this will select the entire
string), right-click Copy

(7) Inside the CMD window, type "cd " (no quotes) then paste in the copied
path to that directory, and hit Enter.

(8) paste the following in and hit Enter:

.\appengine-java-sdk\bin\appcfg.cmd --passin update .\ODKAggregate
What happens?

You should be prompted for an Email: -- enter your e-mail address,
And then be prompted for a password.

NOTE: when you copy-and-paste your output, you will need to remove this
line!!!

E.g., this is what mine produces (with the password line ***'d):

C:\Users\Administrator\Documents\workspace\gae-msundt-odk-aggregate\ODK
Aggregate>.\appengine-java-sdk\bin\appcfg.cmd --passin update .\ODKAggregate
Reading application configuration data...
Sep 12, 2014 11:12:08 AM
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/appengine-web.xml
Sep 12, 2014 11:12:08 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/web.xml
Sep 12, 2014 11:12:08 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/cron.xml
Sep 12, 2014 11:12:08 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/queue.xml
Sep 12, 2014 11:12:08 AM
com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/datastore-indexes.xml
Sep 12, 2014 11:12:08 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/backends.xml

Beginning interaction for module default...
Sep 12, 2014 11:12:09 AM
com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL:
https://appengine.google.com/api/appversion/getresourcelimits?app_id=msundt-odk-aggregate-hrd&version=1&
401 Unauthorized
Must authenticate first.
This is try #0
Email: mitchellsundt@gmail.com
Password for mitchellsundt@gmail.com: **********
0% Created staging directory at:
'C:\Users\ADMINI~1\AppData\Local\Temp\appcfg5807159360567352027.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Scanned 250 files.
28% Initiating update.
31% Cloning 88 static files.
33% Cloning 224 application files.
40% Uploading 1 files.
52% Uploaded 1 files.
61% Uploading 2 file(s) for static error handlers.
68% Initializing precompilation...
73% Sending batch containing 1 file(s) totaling 5KB.
90% Deploying new version.
95% Closing update: new version is ready to start serving.
98% Uploading index definitions.
99% Uploading cron jobs.
99% Uploading task queues.

Update for module default completed successfully.
Success.
Cleaning up temporary files for module default...

C:\Users\Administrator\Documents\workspace\gae-msundt-odk-aggregate\ODK
Aggregate>

··· --------------------------- *IF *this runs through and completes successfully, you can complete the installation by running this command:

.\appengine-java-sdk\bin\appcfg.cmd --passin backends update
.\ODKAggregate

Otherwise, please select-all and copy the output to a file, edit the
content to remove your password, and attach it to an email.

On Fri, Sep 12, 2014 at 9:57 AM, Bergie bergie5737@gmail.com wrote:

I followed the steps as you describe and had to add JAVA_HOME myself.
I got exactly the same response.

Looking for java...
found java in PATH... C:\WINDOWS\system32\java.exe
---END-SCRIPT-FAILURE---

I've installed the JDK and use this JAVA_HOME path.
C:\Program Files\Java\jdk1.7.0_67

and this one
C:\Program Files\Java\jre7

both have the same result. I've also tried with a "\bin" tagged on.

Here is the current path variable:
C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\Program Files\PC
Connectivity
Solution;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program
Files\OpenLibraries\bin;C:\Program Files\QuickTime\QTSystem;C:\Program
Files\Microsoft\Web Platform
Installer;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program
Files\HI-TECH Software\PICC\lite\9.60\bin;C:\Program
Files\Microchip\xc8\v1.31\bin

Oh and I am using Aggregate v 1.4.4
The oldest version of Aggrgate I have is 1.0.3, it simply fail with this:
*---END-SCRIPT-FAILURE--- *

The last successfull upload I did was 998 days ago according to Appengine,
I rememer is was v0.xx.beta or such. Not exactly sure. I never required a
new instance since then.
Im trying a completely new upload, with a different gmail account I want
to use for sharing in our company. (That is why the username is now
different. I logged in with my own account today.)

Thank you for the help. I do hope I can get this going now.

On Friday, 12 September 2014 17:51:27 UTC+2, Mitch Sundt wrote:

If you still have trouble,

(1) uninstall all the Java and Glassfish Java apps, so that java is not
found.

(2) confirm that C:\Windows\System32\java.exe is gone

(3) Install Java 7

Now, inspect and possibly change some environment variables...

(4) First, Open a file browser and navigate to the directory where you
Java install is. This is typically something like
C:\Program Files\Java\jdk1.7.0_25

Keep that file browser open.

Now, we need to set up some environment variables, a JAVA_HOME variable,
and your Path variable. To do so,

(6) Open your Start menu

(7) right-click on Computer

(8) Choose "Properties"

(9) Click "Advanced System settings" in the left sidebar

(10) Click on "Environment Variables..."

(11) Look for a "JAVA_HOME" variable in either the upper box (settings
specific to you), or in the lower "System Variables" box.

(12a) If you find it in either section, confirm that this variable has
the same file path as your Java install, as indicated in the file browser
you opened earlier. If it is different, edit it to be the same as the path
above.

(12b) If you do not find it, click on "New..." in the bottom (System
variables) box, and add JAVA_HOME with the given path above.

And close out of all the dialogs.

Then try running the upload script -- after you have successfully run the
installer, you can just double-click on the "uploadAggregateToAppEngine.hta"
file. You don't need to run the installer over again.

And if that fails, please copy the output into a notepad document and
attach that to your reply.

On Fri, Sep 12, 2014 at 7:35 AM, Yaw Anokwa yan...@nafundi.com wrote:

You definitely don't need Java EE 6 SDK Glassfish, so you can remove
that.

Please confirm what version of Aggregate (1.4.4?) you are trying to
install and what was the last successful version (1.4.3?) you
installed.

Yaw

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

On Fri, Sep 12, 2014 at 3:04 AM, watteru...@gmail.com wrote:

On Wednesday, 10 September 2014 22:00:48 UTC+2, Mitch Sundt wrote:

The java that comes with Windows XP ( C:\Windows\System32\java.exe )
is being found instead of the java 7 that you installed (which is typically
installed under C:\Program Files\Java\jre7 ).

Did you use an installer to install java?
http://java.com/en/download/index.jsp

If not, you should remove your java installation and any environment
or PATH variable changes that you may have added.

Then use the installer from the link above to install Java 7. Do not
use java 8, or any alpha or beta release of Java.

Now open a cmd window and type:

java -version

You should see something like this (you should see version strings on
the first two lines beginning 1.7...):

C:\Users\Administrator\Documents\workspace>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode)

Now, launch the ODK Aggregate installer.

On Wed, Sep 10, 2014 at 12:23 PM, watteru...@gmail.com wrote:
I am trying to upload an instance to Appengine, but get this error
below in the log.

Looking for java...

found java in PATH... C:\WINDOWS\system32\java.exe

---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've
tried with Java 8 and I've even installed JDK 7 to make sure I don't have
problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and
again my daughter's laptop with Win 7. The error message differs, but they
all fail.

The old version 0.xx beta's was the last successfull build.

I've even tried with Ubuntu Linux, but could not get it to even
unpack, mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much
appreciated.

Regards

--

--

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.

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

Ok, I've uninstalled Java 7 and JDK 7 reboot and install from the
installer.
I got excactly the same error trying to upload the instance.
Used cmd java -version, it shows the same, except the last line show
nothing of "64 bit version". I guess its because my XP is 32 bit.

I looked under the path variable, but found nothing of
"/system32/java". (I am unfortunately not with my home PC now, so I cannot
copy the full path name.) There was something in the line of "/program
files/java", if my memory serves me right. Not sure if its relevant or not.

When I remove Java, the uploader says "JAVA_HOME is not defined.
Please verify that Java is installed." So I guess I don't have any version
of Java. I also did not see Java under "Add/remove" programs in this case.

There is something called Java EE 6 SDK Glassfish. I don't even know
what its for, so I will remove it, looks like some kind of server I used in
the past. I doubt that is the problem, since none of the other laptops have
it installed.
Regards

--

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

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

--

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

OK. With that configured,

(1) open a file browser and browse to the directory containing the uploadAggregateToAppEngine.hta file

(2) open a CMD window ( Start menu, Type cmd in the "Search programs and files" box and choose cmd.exe -- You should see a black text command window open.

(3) in the border of that window, right-click, choose Properties

(4a) On the Layout tab, set the Window Size - Width to something fairly wide (e.g., 150 -- depends upon how big your monitor is).

(4b) Also on the Layout tab, set the Screen Buffer Size - Height to 1000 or more.

(5) Click OK

(6) click into the top bar of the file browser (this will select the entire string), right-click Copy

(7) Inside the CMD window, type "cd " (no quotes) then paste in the copied path to that directory, and hit Enter.

(8) paste the following in and hit Enter:

.\appengine-java-sdk\bin\appcfg.cmd --passin update .\ODKAggregate

What happens?

You should be prompted for an Email: -- enter your e-mail address,
And then be prompted for a password.

NOTE: when you copy-and-paste your output, you will need to remove this line!!!

E.g., this is what mine produces (with the password line ***'d):

C:\Users\Administrator\Documents\workspace\gae-msundt-odk-aggregate\ODK Aggregate>.\appengine-java-sdk\bin\appcfg.cmd --passin update .\ODKAggregate
Reading application configuration data...
Sep 12, 2014 11:12:08 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/appengine-web.xml
Sep 12, 2014 11:12:08 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/web.xml
Sep 12, 2014 11:12:08 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/cron.xml
Sep 12, 2014 11:12:08 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/queue.xml
Sep 12, 2014 11:12:08 AM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/datastore-indexes.xml
Sep 12, 2014 11:12:08 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed ./ODKAggregate\WEB-INF/backends.xml

Beginning interaction for module default...
Sep 12, 2014 11:12:09 AM com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=msundt-odk-aggregate-hrd&version=1&
401 Unauthorized
Must authenticate first.
This is try #0
Email: mitche...@gmail.com
Password for mitche...@gmail.com: **********
0% Created staging directory at: 'C:\Users\ADMINI~1\AppData\Local\Temp\appcfg5807159360567352027.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Scanned 250 files.
28% Initiating update.
31% Cloning 88 static files.
33% Cloning 224 application files.
40% Uploading 1 files.
52% Uploaded 1 files.
61% Uploading 2 file(s) for static error handlers.
68% Initializing precompilation...
73% Sending batch containing 1 file(s) totaling 5KB.
90% Deploying new version.
95% Closing update: new version is ready to start serving.
98% Uploading index definitions.
99% Uploading cron jobs.
99% Uploading task queues.

Update for module default completed successfully.
Success.
Cleaning up temporary files for module default...

C:\Users\Administrator\Documents\workspace\gae-msundt-odk-aggregate\ODK Aggregate>


IF this runs through and completes successfully, you can complete the installation by running this command:

.\appengine-java-sdk\bin\appcfg.cmd --passin backends update .\ODKAggregate

Otherwise, please select-all and copy the output to a file, edit the content to remove your password, and attach it to an email.

I followed the steps as you describe and had to add JAVA_HOME myself.
I got exactly the same response.

Looking for java...
found java in PATH... C:\WINDOWS\system32\java.exe
---END-SCRIPT-FAILURE---

I've installed the JDK and use this JAVA_HOME path.
C:\Program Files\Java\jdk1.7.0_67

and this one
C:\Program Files\Java\jre7

both have the same result. I've also tried with a "\bin" tagged on.

Here is the current path variable:
C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\Program Files\PC Connectivity Solution;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\OpenLibraries\bin;C:\Program Files\QuickTime\QTSystem;C:\Program Files\Microsoft\Web Platform Installer;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\HI-TECH Software\PICC\lite\9.60\bin;C:\Program Files\Microchip\xc8\v1.31\bin

Oh and I am using Aggregate v 1.4.4
The oldest version of Aggrgate I have is 1.0.3, it simply fail with this:
---END-SCRIPT-FAILURE---

The last successfull upload I did was 998 days ago according to Appengine, I rememer is was v0.xx.beta or such. Not exactly sure. I never required a new instance since then.
Im trying a completely new upload, with a different gmail account I want to use for sharing in our company. (That is why the username is now different. I logged in with my own account today.)

Thank you for the help. I do hope I can get this going now.

If you still have trouble,

(1) uninstall all the Java and Glassfish Java apps, so that java is not found.

(2) confirm that C:\Windows\System32\java.exe is gone

(3) Install Java 7

Now, inspect and possibly change some environment variables...

(4) First, Open a file browser and navigate to the directory where you Java install is. This is typically something like
C:\Program Files\Java\jdk1.7.0_25

Keep that file browser open.

Now, we need to set up some environment variables, a JAVA_HOME variable, and your Path variable. To do so,

(6) Open your Start menu

(7) right-click on Computer

(8) Choose "Properties"

(9) Click "Advanced System settings" in the left sidebar

(10) Click on "Environment Variables..."

(11) Look for a "JAVA_HOME" variable in either the upper box (settings specific to you), or in the lower "System Variables" box.

(12a) If you find it in either section, confirm that this variable has the same file path as your Java install, as indicated in the file browser you opened earlier. If it is different, edit it to be the same as the path above.

(12b) If you do not find it, click on "New..." in the bottom (System variables) box, and add JAVA_HOME with the given path above.

And close out of all the dialogs.

Then try running the upload script -- after you have successfully run the installer, you can just double-click on the "uploadAggregateToAppEngine.hta" file. You don't need to run the installer over again.

And if that fails, please copy the output into a notepad document and attach that to your reply.

You definitely don't need Java EE 6 SDK Glassfish, so you can remove that.

Please confirm what version of Aggregate (1.4.4?) you are trying to

install and what was the last successful version (1.4.3?) you

installed.

Yaw

--

Need ODK services? http://nafundi.com provides form design, server

setup, professional support, and software development for ODK.

The java that comes with Windows XP ( C:\Windows\System32\java.exe ) is being found instead of the java 7 that you installed (which is typically installed under C:\Program Files\Java\jre7 ).

Did you use an installer to install java? http://java.com/en/download/index.jsp

If not, you should remove your java installation and any environment or PATH variable changes that you may have added.

Then use the installer from the link above to install Java 7. Do not use java 8, or any alpha or beta release of Java.

Now open a cmd window and type:

java -version

You should see something like this (you should see version strings on the first two lines beginning 1.7...):

C:\Users\Administrator\Documents\workspace>java -version

java version "1.7.0_67"

Java(TM) SE Runtime Environment (build 1.7.0_67-b17)

Java HotSpot(TM) 64-Bit Server VM (build 23.67-b01, mixed mode)

Now, launch the ODK Aggregate installer.

I am trying to upload an instance to Appengine, but get this error below in the log.

Looking for java...

found java in PATH... C:\WINDOWS\system32\java.exe

---END-SCRIPT-FAILURE---

I've checked and double checked to make sure I have Java 7. I've tried with Java 8 and I've even installed JDK 7 to make sure I don't have problems. This was from an XP machine.

I tried my laptop with Win 7 and my wife's laptop with Win 8 and again my daughter's laptop with Win 7. The error message differs, but they all fail.

The old version 0.xx beta's was the last successfull build.

I've even tried with Ubuntu Linux, but could not get it to even unpack, mostly because I don't know how to use the Linux version.

If anyone can help me, perhaps upload to my instance, it will be much appreciated.

Regards

--

--

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.

--

Mitch Sundt

Software Engineer

University of Washington

mitche...@gmail.com

Ok, I've uninstalled Java 7 and JDK 7 reboot and install from the installer.

I got excactly the same error trying to upload the instance.

Used cmd java -version, it shows the same, except the last line show nothing of "64 bit version". I guess its because my XP is 32 bit.

I looked under the path variable, but found nothing of "/system32/java". (I am unfortunately not with my home PC now, so I cannot copy the full path name.) There was something in the line of "/program files/java", if my memory serves me right. Not sure if its relevant or not.

When I remove Java, the uploader says "JAVA_HOME is not defined. Please verify that Java is installed." So I guess I don't have any version of Java. I also did not see Java under "Add/remove" programs in this case.

There is something called Java EE 6 SDK Glassfish. I don't even know what its for, so I will remove it, looks like some kind of server I used in the past. I doubt that is the problem, since none of the other laptops have it installed.

Regards

--

--

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

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

--

--

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.

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

First up, apologies for the changing username.
I followed your steps, and everything happened just as you say it should.
The instance is loaded and ready for submission!!! Yayyy!!!

Thank you! Thank you so much. Its great that you sticked it out with me. Come Monday we can start using the form.

You're great guys and girls! Maybe later we can figure out what is the issue with my java. For now I will just copy this message to for later reference.

··· On Friday, 12 September 2014 20:42:46 UTC+2, Mitch Sundt wrote: > On Fri, Sep 12, 2014 at 9:57 AM, Bergie wrote: > On Friday, 12 September 2014 17:51:27 UTC+2, Mitch Sundt wrote: > On Fri, Sep 12, 2014 at 7:35 AM, Yaw Anokwa wrote: > On Fri, Sep 12, 2014 at 3:04 AM, wrote: > > On Wednesday, 10 September 2014 22:00:48 UTC+2, Mitch Sundt wrote: > >> On Wed, Sep 10, 2014 at 12:23 PM, wrote: