Re: [appengine-java] Data via FTP

2011-03-26 Thread Doug
Thank you.

I stared the item.  This would be a great feature to add.

Doug

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



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



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

2011-03-26 Thread John
Similar problem here. It started happening around 11 pm PST Friday as far as 
I can tell.
I started getting class not found errors without any code change (I checked 
the classes are present in my deployment). 
Seems like some new code was deployed to app engine servers which is 
breaking stuff.

java.lang.NoClassDefFoundError: org/apache/james/mime4j/message/Body
at 
com.google.appengine.runtime.Request.process-dd210d1a317a81bf(Request.java)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at 
com.photobucket.api.core.PhotobucketAPI.getSignedRequest(PhotobucketAPI.java:253)


Caused by: java.lang.ClassNotFoundException: 
org.apache.james.mime4j.message.Body
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 43 more

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



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

2011-03-26 Thread John
Actually based on the exception, it seems that the change happened on the 
servers any time during Friday.
(my cron job kicks in once a day and first exception happened around 
midnight Friday night PST).

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



[appengine-java] Creating Virutal Machine in google app engine

2011-03-26 Thread Ashrut Vora
Hey,

I have a requirement to use google app engine to create Virtual machine and 
that virtual machine should exists on google infrastructure.

Can anyone please suggest any means of doing the same?

regards,
AShrut

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



[appengine-java] MemcacheServiceImpl

2011-03-26 Thread footy
My app is having sudden problem with MemcacheService
Has something changed? This is the error I am receving. There has been
no code change that I have made and the app has been working fine
since quite sometime.

Caused by: java.lang.IllegalArgumentException: can't accept class
com.google.appengine.api.datastore.LazyList as a memcache entity
at
com.google.appengine.api.memcache.MemcacheSerialization.serialize(MemcacheSerialization.java:
262)
at
com.google.appengine.api.memcache.MemcacheServiceImpl.doPut(MemcacheServiceImpl.java:
388)
at
com.google.appengine.api.memcache.MemcacheServiceImpl.put(MemcacheServiceImpl.java:
443)

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



[appengine-java] Re: gae gwt - to serve compressed java script

2011-03-26 Thread pac
http://code.google.com/p/googleappengine/issues/detail?id=4788

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



[appengine-java] java.io.NotSerializableException

2011-03-26 Thread Melanie Kirchner
Hi,

my app is having some problems lately. I haven't changed anything and
since some hours I'm getting the following exception during the login
proccess (load data from the DB, store them in the session and
redirecht to another page).


java.lang.RuntimeException: java.io.NotSerializableException:
com.google.appengine.api.datastore.LazyList
at
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:
393)
at
com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(SessionManager.java:
370)
at com.google.apphosting.runtime.jetty.SessionManager
$AppEngineSession.save(SessionManager.java:164)
at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
41)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
238)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
135)
at
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
261)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
$2.handleRequest(RuntimePb.java:9285)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
437)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
573)
at com.google.tracing.TraceContext$TraceContextRunnable
$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:
688)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
326)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
318)
at com.google.tracing.TraceContext
$TraceContextRunnable.run(TraceContext.java:446)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.NotSerializableException:
com.google.appengine.api.datastore.LazyList
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
1173)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:
343)
at java.util.HashMap.writeObject(HashMap.java:1018)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:
962)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:
1478)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:
1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
1167)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:
343)
at
com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:
390)
... 31 more

Has something changed on App Engine side? Or has someone an idea what/
why this happend?

Thanks,
MK

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

[appengine-java] Re: GAE on Mac OS X not working on local Jetty

2011-03-26 Thread branflake2267
Here is an issue that is related to this problem. Don't upgrade your Java. 
If you did, you'll have to restore or change the JRE your using to get it to 
work again. The Issue has lots of notes about what you can do.

http://code.google.com/p/googleappengine/issues/detail?id=4712

Brandon Donnelson
http://gwt-examples.googlecode.com
http://c.gawkat.com

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