[appengine-java] Re: Can't get .gif image to show in app engine

2011-03-03 Thread Charms Styler
try something like this inside static files include path=/images/**.* / -- 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,

[appengine-java] Getting error when passing the object to client side please help me..

2011-03-03 Thread andy
My code here: Employee Class: @PersistenceCapable(identityType = IdentityType.APPLICATION,detachable=true) public class Employee implements Serializable { private static final long serialVersionUID = 1L; @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)

[appengine-java] Re: Getting error when passing the object to client side please help me..

2011-03-03 Thread Didier Durand
Hi, As said in the message StreamingQueryResult (the result of your query) doesn't itself implement the the Serializable interface that you have for your own classes. What you should do: defining your own class based on any Collection your prefer (List, Vector, Map, etc.), make it implement

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Toby Reyelts
The jar file containing the class, org.eclipse.emf.ecore.EObject has been signedhttp://download.oracle.com/javase/tutorial/deployment/jar/signing.html. App Engine doesn't currently support signed jar files. One simple way to work around this is to yank the manifest out of the jar.

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Don Schwarz
Also, please star this issue: http://code.google.com/p/googleappengine/issues/detail?id=3754 On Thu, Mar 3, 2011 at 10:15 AM, Toby Reyelts to...@google.com wrote: The jar file containing the class, org.eclipse.emf.ecore.EObject has been

[appengine-java] how to cancel uploading request by url created by createUploadUrl()

2011-03-03 Thread peter hong
I am working on multi uploading using blobstore. Everything's done so far except canceling uploading after calling url(_ah/upload/...) created by createUploadUrl(). The url is called by ajax. When the cancel button is clicked while a file is still being uploaded, ajax function, abort() is called.

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Mike Zhou
Toby, Thanks for the quick response. I will give it a try and let you know how it goes. Mike On Thu, Mar 3, 2011 at 11:15 AM, Toby Reyelts to...@google.com wrote: The jar file containing the class, org.eclipse.emf.ecore.EObject has been

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Mike Zhou
Toby, by removing the manifest file, the issue is gone. Thanks a lot for the help. Mike -- 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

Re: [appengine-java] Accessing an IMAP mailbox

2011-03-03 Thread Ikai Lan (Google)
Guillaume, I don't think this would work. We can only speak HTTP outbound, and IMAP uses a different port. This might be possible if we ever support sockets. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine

Re: [appengine-java] Re: Moderation enabled

2011-03-03 Thread Ikai Lan (Google)
It won't work. Spammers are too clever. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Wed, Mar 2, 2011 at 8:55 PM, Charms Styler charmssty...@gmail.comwrote:

[appengine-java] Possibility for race condition on datastore?

2011-03-03 Thread justin
I need to write code so that a user has a counter. This counter can be read, increase, and decrease. This counter is mission critical so I will use the high replication datastore. So lets say I create a counter entity which has a user entity as the ancestor. I increase the counter value and store

[appengine-java] is it possible to use Java 7 on GAE ?

2011-03-03 Thread zixzigma
is it possible to use Java 7 on GAE ? -- 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

Re: [appengine-java] Possibility for race condition on datastore?

2011-03-03 Thread Ikai Lan (Google)
Yes. The only way to correctly do this is with transactions and sharded counters. The better question, however, is this: what are you doing? Perhaps there is an alternative solution. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter:

Re: [appengine-java] Accessing an IMAP mailbox

2011-03-03 Thread Guillaume Laforge
Alright, good point, I forgot the fact we can't use non-HTTP protocols! Thanks for the reminder, Ikai. Guillaume On Thu, Mar 3, 2011 at 20:14, Ikai Lan (Google) ika...@google.com wrote: Guillaume, I don't think this would work. We can only speak HTTP outbound, and IMAP uses a different port.

[appengine-java] Getting Null pointer expection

2011-03-03 Thread sachin
Hi all, I would like to know who is the current user logged in google account, when i send a request to particular servlet. I got some part of the code from Google app engine site. I have uploaded required jar in to my application. I assumed, when i call this servelet, this will populate the

Re: [appengine-java] Re: SystemProperty.applicationId.get() returns s~[APP-ID]

2011-03-03 Thread Jeff Schnitzer
I logged this as a bug: http://code.google.com/p/googleappengine/issues/detail?id=4673 Jeff On Mon, Feb 28, 2011 at 8:48 PM, Charms Styler charmssty...@gmail.com wrote: Thanks for the insight. ;) -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Re: Problem with query - jdo

2011-03-03 Thread coder
I have understood the problem. The persistence layer uses lazy-load approach, so when in jsp it tries to access to entities extracted from the database it throws exception because the persistence manager is just closed. So, how to avoid this problem? I have to use DAO class or controller of

[appengine-java] Re: Testing data migration using JDO and DataNucleus

2011-03-03 Thread lp
are u sure u wont to proceed with that plan of changing out enhanced JDO classes? just sounds to complicated. -lp On Mar 3, 5:21 am, Jason G ja...@bobberinteractive.com wrote: Hello everyone! We've run into a data migration-test problem, and I'm wondering if anyone would have any