Solved

Eclipse error on the Google App Engine web application

Posted on 2014-02-03
3
886 Views
Last Modified: 2014-02-14
I am trying to run the guestbook application https://developers.google.com/appengine/docs/java/gettingstarted/creating but getting error:

I tried it on Eclipse with the recent version. In Eclipse I click Run menu and then "Debug As"->"Web application". The error popup shows as attached.
Could you please suggest how to fix. Thank you.
errorversion
0
Comment
Question by:toooki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Sharon Seth
ID: 39831877
Which web server are you using ? The error mostly points out that the server is not started in debug mode . Run it in normal mode and see
0
 

Author Comment

by:toooki
ID: 39832703
If I run it via "Run"->"Run As"->"Web Application", I get the following error. I have IIS server installed on the pc.

Feb 04, 2014 9:21:16 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:\Users\workspace\Guestbook\war\WEB-INF/appengine-web.xml
Feb 04, 2014 9:21:16 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:\Users\workspace\Guestbook\war\WEB-INF/web.xml
Feb 04, 2014 9:21:16 AM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key 'java.util.logging.config.file', value 'C:\Users\Downloads\eclipse-jee-kepler-SR1-win32-x86_64\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.8.9\appengine-java-sdk-1.8.9\config\sdk\logging.properties' with value 'WEB-INF/logging.properties' from 'C:\Users\workspace\Guestbook\war\WEB-INF\appengine-web.xml'
Feb 04, 2014 9:21:17 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Feb 04, 2014 9:21:18 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
Feb 04, 2014 9:21:44 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed org.mortbay.jetty.nio.SelectChannelConnector$1@5a41ca05: java.io.IOException: Unable to establish loopback connection
Feb 04, 2014 9:21:44 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed SelectChannelConnector@127.0.0.1:8891: java.io.IOException: Unable to establish loopback connection
Feb 04, 2014 9:21:44 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed Server@1d192738: java.io.IOException: Unable to establish loopback connection
java.io.IOException: Unable to establish loopback connection
      at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
      at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.nio.ch.PipeImpl.<init>(Unknown Source)
      at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
      at java.nio.channels.Pipe.open(Unknown Source)
      at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
      at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
      at java.nio.channels.Selector.open(Unknown Source)
      at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:312)
      at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:314)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.Server.doStart(Server.java:235)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:250)
      at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306)
      at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
      at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79)
      at com.google.appengine.tools.development.Modules.startup(Modules.java:97)
      at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:255)
      at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
      at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:213)
      at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:211)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:211)
      at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:277)
      at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
      at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:219)
      at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:210)
Caused by: java.net.ConnectException: Connection timed out: connect
      at sun.nio.ch.Net.connect0(Native Method)
      at sun.nio.ch.Net.connect(Unknown Source)
      at sun.nio.ch.Net.connect(Unknown Source)
      at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
      at java.nio.channels.SocketChannel.open(Unknown Source)
      ... 31 more
0
 
LVL 12

Accepted Solution

by:
Sharon Seth earned 500 total points
ID: 39834932
Is this port open on your machine when the app is running - 8891? It is not getting a connection on that port on your PC
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java syntax, or is it Selenium 6 38
Generate Unique ID in VB.NET 21 103
Developing a front end to SPLUNK 1 57
Do Wend Macro not working 22 56
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question