Ai2LiveComplete

397 views
Skip to first unread message

Po8pimp

unread,
Feb 22, 2014, 4:39:22 PM2/22/14
to appto...@googlegroups.com
http://www.youtube.com/watch?v=n9r2bN_fZxw
Followed this instructional video to setup Ai2LiveComplete Offline version.  I can open and create an app with no problems.  When I go to build, I get the error "Build failed! Can not contact the BuildServer at localhost".  Not sure what I am doing wrong.  The server is running.  Java_Home is setup using jdk 1.7.0_03.  Should I be using a different JDK?  When I try setting up JAVA_HOME with the most up to date JDK version 1.7.0_51, the server starts to build but hangs up.  It never gets to Server running.  Version 1.7.0_03 allows the server to at least run.  I have tried uninstalling and reinstalling Java completely.  Please advise?

M. Hossein Amerkashi

unread,
Feb 22, 2014, 4:41:44 PM2/22/14
to Po8pimp, AppToMarket
Hi, Did you start up your buildserver? Doesn't seem like the buildserver was started.
Start the buildserver using WinStartBuildserver.cmd (if running windows)

-Hossein.


On Sat, Feb 22, 2014 at 4:39 PM, Po8pimp <po8...@gmail.com> wrote:
http://www.youtube.com/watch?v=n9r2bN_fZxw
Followed this instructional video to setup Ai2LiveComplete Offline version.  I can open and create an app with no problems.  When I go to build, I get the error "Build failed! Can not contact the BuildServer at localhost".  Not sure what I am doing wrong.  The server is running.  Java_Home is setup using jdk 1.7.0_03.  Should I be using a different JDK?  When I try setting up JAVA_HOME with the most up to date JDK version 1.7.0_51, the server starts to build but hangs up.  It never gets to Server running.  Version 1.7.0_03 allows the server to at least run.  I have tried uninstalling and reinstalling Java completely.  Please advise?

--
For Java Bridge (sdkBridger), visit http://code.google.com/p/apptomarket/
---
You received this message because you are subscribed to the Google Groups "AppToMarket" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apptomarket...@googlegroups.com.
Visit this group at http://groups.google.com/group/apptomarket.
For more options, visit https://groups.google.com/groups/opt_out.

Po8pimp

unread,
Feb 22, 2014, 4:43:41 PM2/22/14
to appto...@googlegroups.com
Forgot to mention I am running WIN 7 Ultimate 64bit

Po8pimp

unread,
Feb 22, 2014, 4:50:10 PM2/22/14
to appto...@googlegroups.com
Yes I did start the buildserver.  I followed the directions to the T.  I am extremely computer savvy and this has me stumped.  

M. Hossein Amerkashi

unread,
Feb 22, 2014, 4:53:11 PM2/22/14
to Po8pimp, AppToMarket
When you started your buildserver, look at the log file. At the end of the log (console), it should tell you the port that its listening to -- like below:




--
Message has been deleted
Message has been deleted
Message has been deleted

Po8pimp

unread,
Feb 22, 2014, 5:36:55 PM2/22/14
to appto...@googlegroups.com
I get running at http://XXX.XX.XX.XXX:9990/buildserver, however that is with JDK 1.7.0_03 not the most current JDK 1.7.0_51.  JDK 1.7.0_51 does not seem to finish the cmd load.  It gets hung up.

M. Hossein Amerkashi

unread,
Feb 22, 2014, 5:38:34 PM2/22/14
to Po8pimp, AppToMarket
Stop both AI Server & Buildserver.
Edit AIServer\WEB-INF\appengine-web.xml
and make following change:

From:
<property name="build.server.host" value="localhost:9990" />
to:
<property name="build.server.host" value="http://127.0.0.1:9990" />
where 127.0.0.1 is your IP address that shows in your buildserver log

Restart the servers


On Sat, Feb 22, 2014 at 5:36 PM, Po8pimp <po8...@gmail.com> wrote:
I get running at http://XXX.XX.XX.XXX:9990/buildserver, however that is with JDK 1.7.0_03 not the most current JDK 1.7.0_51.  JDK 1.7.0_51 does not seem to finish the cmd load.  It gets hung up.

--

Po8pimp

unread,
Feb 22, 2014, 5:51:41 PM2/22/14
to appto...@googlegroups.com, Po8pimp
Build failed! Can not contact the BuildServer at http

Updated and this is the error I am getting.

M. Hossein Amerkashi

unread,
Feb 22, 2014, 5:54:10 PM2/22/14
to Po8pimp, AppToMarket
Based on the logs that you sent and the snapshot of the buildserver, it has something to do with your environment.
Try on another computer to see if you still get same issue.

-Hossein.

Po8pimp

unread,
Feb 22, 2014, 6:02:14 PM2/22/14
to appto...@googlegroups.com, Po8pimp
Both computers that I use are built the same running the same software.  I actually used this computer as a clone for the other computer during install.  I will return in a few minutes.  I am going to do a complete uninstall of all Java components from this computer which requires a restart and then I will install the current jdk again and setup JAVA_HOME again.  BRB

Po8pimp

unread,
Feb 22, 2014, 7:00:16 PM2/22/14
to appto...@googlegroups.com, Po8pimp

Still can't figure it out.  This is with the latest Java JDK installed.  This is the BuildServer by the way.

M. Hossein Amerkashi

unread,
Feb 22, 2014, 7:09:44 PM2/22/14
to Po8pimp, AppToMarket
Well, Look at the log file. It says that it's already running.
try: http://xxx.x.x.x.:9990/buildserver/vars  -- replacing xxx with your ip

What do you see why you try it from your browser?

Try killing the java processes from your task manager.
Also, try firefox and chrome - no IE

-Hossein.


--

Po8pimp

unread,
Feb 22, 2014, 7:17:35 PM2/22/14
to appto...@googlegroups.com, Po8pimp
Where do I make this change at?

I am using Chrome.  Don't use IE for anything

Po8pimp

unread,
Feb 22, 2014, 7:23:06 PM2/22/14
to appto...@googlegroups.com, Po8pimp
Can you tell me which version of Java JDK you are using for your Windows computer?  How are your environments setup?

M. Hossein Amerkashi

unread,
Feb 22, 2014, 7:25:00 PM2/22/14
to Po8pimp, AppToMarket
7u40


--

Po8pimp

unread,
Feb 22, 2014, 7:27:02 PM2/22/14
to appto...@googlegroups.com
I will see if I can get that one and install it.


On Saturday, February 22, 2014 1:39:22 PM UTC-8, Po8pimp wrote:

Po8pimp

unread,
Feb 22, 2014, 7:37:46 PM2/22/14
to appto...@googlegroups.com
I am now running using the same Java JDK as you, but still getting the same as above.

Po8pimp

unread,
Feb 22, 2014, 8:04:10 PM2/22/14
to appto...@googlegroups.com
Alright it has to be something with the environment or the program.  I just installed Java JDK 1.7.0 and it is running now.  Still not allowing me to build.

Po8pimp

unread,
Feb 22, 2014, 8:25:11 PM2/22/14
to appto...@googlegroups.com
Ok so I have made some headway.  With Java JDK 1.7.0 installed and JAVA_HOME pointed to the correct directory, I went back and changed the file you mentioned above
FROM:
<property name="build.server.host" value="http://172.xx.xx.xxx:9990" />
TO:
<property name="build.server.host" value="172.xx.xx.xxx:9990" />

This allows to builder to try and build.  It stops at 75% though with the following error:

Po8pimp

unread,
Feb 22, 2014, 8:34:57 PM2/22/14
to appto...@googlegroups.com
OK so I figured it out.  SUCCESS.  Thank you for all your help.  I am now going to try and update my Java and see if it works. :P

Po8pimp

unread,
Feb 22, 2014, 9:03:50 PM2/22/14
to appto...@googlegroups.com
Money...  Alright so Basically what I did from start to finish.  I uninstalled all of JAVA off my computer.  Go here http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html and clicked on "JAVA SE DEVELOPMENT KIT 7".  Click "Accept License Agreement", select "jdk-7-windows-i586.exe".  Install Java.  Once installed click on Windows "Orb", bottom left of screen.  Right click on Computer.  Select "Properties".  Select "Advanced System Settings".  Select "Environment Variables".  Under "User variables for ___", click on "New...".  (Variable name: JAVA_HOME) (Variable value: C:\Program Files (x86)\Java\jdk1.7.0).  Next under "System variables" do the exact same thing.  Next go to the location you put your "Ai2LiveComplete" and open up to Ai2LiveComplete->AIServer->WEB-INF.  Right click on "appengine-web.xml" select EDIT.  Change <property name="build.server.host" value="http://172.xx.xx.xxx:9990" />
TO:
<property name="build.server.host" value="172.xx.xx.xxx:9990" /> .  172.xx.xx.xxx is whatever your ip address is.  Once you are done with this, log off the computer and log back in.  This is an easy way to reset things.  Now once booted back up, open your "Ai2LiveComplete" folder and select "WinStartAIServer.cmd" and then "WinStartBuildServerWithHeap.cmd".  Now open up Chrome or Firefox and go to "http://localhost:8888/".  At login screen type your email and check the box for admin.  That's it, you are ready to design and build.  Hope this helps and Highly recommend posting this in the Wiki page, or something similar for Windows 7 64bit users.  Thanx for all your help in this matter.

Po8pimp

unread,
Feb 22, 2014, 9:07:36 PM2/22/14
to appto...@googlegroups.com
Ohh and now it is safe to update your Java.  If you want to update, you can wait for the update to pop up or click on the "Orb" and type Java into the search bar.  Select "java (32-bit) and select Update tab and update.  You will have to close Java again for it to work.  I just logout and login.  Good luck and hope this helps.
Reply all
Reply to author
Forward
0 new messages