I just ran gae:debug on my machine. the process is forking, but the
debug session is accesible.
[INFO] [gae:debug {execution: default-cli}]
Listening for transport dt_socket at address: 8000
Sep 7, 2010 12:37:04 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
Sep 7, 2010 12:37:04 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /home/dhicks/workspace/amedia-struts/target/amedia-struts-1.0-SNAPSHOT/WEB-INF/appengine-web.xml
Sep 7, 2010 12:37:04 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /home/dhicks/workspace/amedia-struts/target/amedia-struts-1.0-SNAPSHOT/WEB-INF/web.xml
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
Sep 6, 2010 8:37:06 PM com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8080/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45 seconds
[INFO] Finished at: Mon Sep 06 20:37:06 EDT 2010
[INFO] Final Memory: 23M/302M
[INFO] ------------------------------------------------------------------------
Destroying 1 processes
Destroying process..
Destroyed 1 processes
It has forked; check your eclipse to see if it is actually disconected.
This is the difference between gae:start and gae:run where the former
actually forks a separate process to run the goal.
However, it does appear to be terminating.
Eclipse does not end up connected, and the app container on 8080 is not
there, either.
As soon as I attempt to connect the debugger, I get the output that
follows "Listening for transport dt_socket at address: 8000" and
everything appears to terminate.
Is it possible I just have something not configured properly? My
project is based on the JSP archetype from 0.6.0. I never actually
tried to run gae:debug previously, because I had been using GPE.
However, I was unhappy with GPE and removed it from the project.
gae:run works just fine for me.
Dave
I guess, for now, I'll have to configure the Google Eclipse Plugin and
do my debugging using that web container.
The first change I had to make was to look for
datanucleus-appengine-1.0.7 jar. The original project created by the
archetype wanted datanucleus-appengine-1.0.7-final.jar. No big deal
there. However, now, the project can't find the datanucleus-jpa jar
it's looking for. In my repository, I see
"datanucleus-jpa-1.1.5.jar.lastUpdated".
Can someone tell me how I should alter either my pom.xml or how I'm
getting artifacts into the repository in order for this to work?
Thanks,
Dave
It also looks like the new JSP archetype for 0.7.1 doesn't include any
of the JDO dependencies. So, I'll have to figure those out on my own.
At least, now I know they should all be in the "orm" folder. It would
be nice if Google would quit moving things around with each new release,
wouldn't it? :-)
Dave