[appengine-java] Current tasks count at Task Queue

2010-05-23 Thread Igor Artamonov
Are there any ways to get count of current unfinished tasks at
appengine development server? I need it for making my integration
test.

I found a way to get this when running it local (just in mem), as
described at appengine docs[1].

But when i'm running it as a standalone server, from maven, this
doesn't work. It's because library `appengine-testing` conflicts with
Appengine SDK classes, and i can't use those classes together, when
running sdk dev server. Is there an another way to get current tasks
count inside development server?

I'm also see an RemoteApiServlet and TaskQueuePb classes, that
probably can help me, but there are no documentation for them.

  [1]: 
http://code.google.com/intl/ru/appengine/docs/java/tools/localunittesting.html#Writing_Task_Queue_Tests

-- 
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.



[appengine-java] Migrate from Python to Java

2011-06-02 Thread Igor Artamonov
Does anybody there tried to migrate existing Python GAE app to Java GAE app? 
I mean that db storage and app will stay 
the same, but code have rewritten and deployed into same place

Can be there any problems with it? Any thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/UzRKcUszM2ZRZk1K.
To post to this group, send email to google-appengine-java@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.



[appengine-java] SecurityException when using Apache HttpClient classes from Groovy

2011-03-26 Thread Igor Artamonov
I'm using MultipartEntity from Apache HTTP Components 4.1, to making request 
with attachments. I'm not using other classes, just MultipartEntity because 
it can easily prepare all required headers and binary data to send.

It was working fine for several weeks, but today i always receive 

java.lang.SecurityException: Unable to get members for class 
org.apache.http.entity.mime.MultipartEntity
at 
com.google.appengine.runtime.Request.process-475d72f1d7fe72ca(Request.java)
at 
org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:83)
at java.security.AccessController.doPrivileged(AccessController.java:34)


just when i'm trying to create an new instance at:
MultipartEntity multipart = new MultipartEntity()

I'm using Groovy as server-side language, and seems that it's the cause of 
this issue, but everything was fine before.

Something is changed today on server side part? 
What can I use instead of this?

-- 
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-java@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.