Hello, I'm encountering the following issue when I try to upload existing data (sqlite archive) to a local development server (GAE 1.2.6).
To do the upload I'm executing the following statement: ~/development/google_appengine/bulkloader.py --url=http://localhost:8080/remote_api --kind=EidEntity --restore --filename=EidEntity.sqlite --app_id=xxxxxx --debug /home/matrix/development/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha [INFO ] Logging to bulkloader-log-20091217.113521 [INFO ] Throttling transfers: [INFO ] Bandwidth: 250000 bytes/second [INFO ] HTTP connections: 8/second [INFO ] Entities inserted/fetched/modified: 20/second [INFO ] Opening database: bulkloader-progress-20091217.113521.sql3 [DEBUG ] [Thread-1] RestoreThread: started [DEBUG ] [Thread-1] RestoreThread: exiting [DEBUG ] [WorkerThread-0] WorkerThread: started [DEBUG ] [WorkerThread-1] WorkerThread: started [DEBUG ] [Thread-2] RestoreThread: started [DEBUG ] [WorkerThread-2] WorkerThread: started [DEBUG ] [WorkerThread-3] WorkerThread: started [DEBUG ] [WorkerThread-4] WorkerThread: started [DEBUG ] [WorkerThread-5] WorkerThread: started [DEBUG ] [WorkerThread-6] WorkerThread: started [DEBUG ] [WorkerThread-7] WorkerThread: started [DEBUG ] [WorkerThread-8] WorkerThread: started [DEBUG ] [WorkerThread-9] WorkerThread: started [DEBUG ] Configuring remote_api. url_path = /remote_api, servername = localhost:8080 Please enter login credentials for localhost Email: ffff Password for ffff: [DEBUG ] Bulkloader using app_id: xxxxxx [INFO ] Connecting to localhost:8080/remote_api Please enter login credentials for localhost Email: test Password for test: [INFO ] Authentication Failed mat...@matrix-notebook:~/temp/backup/091210-132509$ Here is my web.xml <servlet> <servlet-name>remoteapi</servlet-name> <servlet-class>com.google.apphosting.utils.remoteapi.RemoteApiServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>remoteapi</servlet-name> <url-pattern>/remote_api</url-pattern> </servlet-mapping> <security-constraint> <web-resource-collection> <web-resource-name>remoteapi</web-resource-name> <url-pattern>/remote_api</url-pattern> </web-resource-collection> <auth-constraint> <role-name>admin</role-name> </auth-constraint> </security-constraint> Note that the result was same when using "wecurity-contraints" and when not using it. Here is what I getting in my server: Dec 17, 2009 9:26:19 AM com.google.apphosting.utils.jetty.AppEngineAuthentication $AppEngineAuthenticator authenticate INFO: Got /remote_api but no one was logged in, redirecting. Dec 17, 2009 9:26:23 AM com.google.apphosting.utils.jetty.AppEngineAuthentication $AppEngineAuthenticator authenticate INFO: Got /remote_api but no one was logged in, redirecting. Dec 17, 2009 9:35:25 AM com.google.apphosting.utils.jetty.AppEngineAuthentication $AppEngineAuthenticator authenticate INFO: Got /remote_api but no one was logged in, redirecting. Dec 17, 2009 9:41:57 AM com.google.apphosting.utils.jetty.AppEngineAuthentication $AppEngineAuthenticator authenticate INFO: Got /remote_api but no one was logged in, redirecting. Any idea what I'm doing wrong? Regards, Miroslav -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
