Re: [appengine-java] Re: unable to use sdk 1.3.3.1

2010-05-04 Thread Wayne Fay
Read the whole stack trace (I cut out the important parts below). Way
down near the bottom you have a NoClassDefFoundError and
ClassNotFoundException that may be the actual source of your problems.
Also a RuntimeException that may be related.

Wayne

On Tue, May 4, 2010 at 8:07 AM, RockyWolf jamesisaa...@gmail.com wrote:
 I removed my eclipse ganymade, and installed eclipse galileo. Running
 app engine 1.3.3.1 now allows me to run my app, but I still get the
 previous
 java.net.ConnectException: Connection timed out: connect exception.



 On May 3, 3:40 pm, RockyWolf jamesisaa...@gmail.com wrote:
 Hi, I can't understand why my app which runs on 1.2.1 doesn't run on
 1.3.3.1 .

 I keep getting the following error message when I run my app:

 com.google.appengine.tools.info.RemoteVersionFactory getVersion
 INFO: Unable to 
 accesshttp://appengine.google.com/api/updatecheck?runtime=javarelease=1.3['1.0']
 java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:
 195)

snip

 java.lang.RuntimeException: Unable to locate the App Engine agent.
 Please use dev_appserver, KickStart,  or set the jvm flag: -
 javaagent:sdk_root/lib/agent/appengine-agent.jar

snip

 Caused by: java.lang.NoClassDefFoundError: com/google/appengine/tools/
 development/agent/AppEngineDevAgent
         at
 com.google.appengine.tools.development.DevAppServerFactory.testAgentIsInsta­lled(DevAppServerFactory.java:
 98)
         ... 6 more
 Caused by: java.lang.ClassNotFoundException:
 com.google.appengine.tools.development.agent.AppEngineDevAgent
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Initialize local datastore exception

2010-04-06 Thread Wayne Fay
 »»» EXCEPTION «««
 Exception in thread main java.lang.NullPointerException: No API
 environment is registered for this thread.

This generally means you haven't set things up properly. Follow the directions:
http://code.google.com/appengine/docs/java/tools/localunittesting.html

Wayne

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.