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.