[appengine-java] Re: Gig 0.3.0 has been released

2011-03-28 Thread Eiichiro
Hi Marcel, Gig is just fledgling and I've never heard it's running on any production service. Please try Gig in production and give me feedbacks if you got interested in :-) Thanks, Eiichiro -- You received this message because you are subscribed to the Google Groups "Google App Engine f

[appengine-java] Re: Appengine mapper - Question

2011-03-28 Thread Didier Durand
Hi, I have successfully used ThreadLocal on GAE to define some variables specific to a given transaction represented by its thread. I wanted theses variables to be shared by various subservices in my transaction. So, it's very close to what you tried to achieve. Then, you should be ok using it.

[appengine-java] Appengine mapper - Question

2011-03-28 Thread Aswath Satrasala
Hi, I am setting up Threadlocal variable the map function. I am using this Threadlocal variable further along in the map function and elsewhere in the other business services that this map function is calling. Is it safe to do so? Is the map function executed by only one thread until the end of t

[appengine-java] problems with JDOQL query

2011-03-28 Thread hrbaer
Hi all, I try to authenticate a user with a (simple) JDOQL - unfortunatelly this is not working. (Beside username and password I'm checking if the user is already active.) This is my query: -- PersistenceManager pm = PMF.getPersistenceManager();

[appengine-java] Re: problems with JDOQL query

2011-03-28 Thread Simon Knott
Hi, I don't know much about JDO, but every example I've seen only has one call to the setFilter method. Are you sure you're supposed to call it multiple times, rather than doing something like the following: query.setFilter( "password == passwordParam && username == usernameParam && act

[appengine-java] Re: problems with JDOQL query

2011-03-28 Thread hrbaer
Hi Simon, good hint. I'm as well pretty knew to JDO but this would explain why I get the active user (because the last setFilter method overrides the first ones). I will give it a try and come back once this is not working... On 28 Mrz., 12:09, Simon Knott wrote: > Hi, > > I don't know much abo

[appengine-java] Re: Sort function now throws an exception

2011-03-28 Thread ZeroCool
Hi Stephen, Thank you very much. I modified the code according to your suggestion and it worked. On Mar 28, 8:13 am, Stephen Johnson wrote: > Hi ZeroCool, > I'm not sure if this will help, and I don't know how the TimSort works but > looking at your compare method I'm curious about this particu

[appengine-java] Re: problems with JDOQL query

2011-03-28 Thread hrbaer
Your were right...that solved my issue. Thank you very much. -- 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

[appengine-java] JPA relationship column name?

2011-03-28 Thread justin
If i have a class such as this: class Person { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) Key id; } and had a 1-N unmanaged relation ship: class Car { Person person; } Is there a way to preform a jpql query to get all cars owned by a certain person? That is without adding another st

[appengine-java] Best GWT component library compatible with GAE ?

2011-03-28 Thread Thierry Lejealle
Hello, I find GWT standard components a bit dull. What would you recommand to extends GWT components and still remain compatible with App Engine ? Ideally a component library that works 100% in Java (no need to tinker the CSS or Javascript) Ideally something that hasn't a too restrictive licen

[appengine-java] Re: java.io.NotSerializableException

2011-03-28 Thread Melanie Kirchner
I've created on issue (#4795) for that on http://code.google.com/p/googleappengine/issues/list On 27 Mrz., 13:13, footy wrote: > I am having similar issue with > com.google.appengine.api.datastore.LazyList but it's to do with > writing to Memcache. > I haven't changed anything in the application

[appengine-java] Re: Best GWT component library compatible with GAE ?

2011-03-28 Thread Didier Durand
Hi, Vaadin is also a possible good choice in addition to ext-gwt regards didier On Mar 28, 1:04 pm, Thierry Lejealle wrote: > Hello, > > I find GWT standard components a bit dull. What would you recommand to > extends GWT components and still remain compatible with App Engine ? > Ideally a com

[appengine-java] Re: Best GWT component library compatible with GAE ?

2011-03-28 Thread Flori
Hi Thierry, why should SmartGWT/EXT GWT doesn't work together with GAE? There are no relations between GWT & GAE by default. The only connection point is GWT-RPC request or the RequestFactory and these are totally independent of view libraries. Therefore, I can only suggest you both libraries. ch

[appengine-java] Re: problems with JDOQL query

2011-03-28 Thread branflake2267
I do know that calling it once works kinda like this. I never use declarations in my code so I don't know if this works. query.setFilter( "password == passwordParam && username == usernameParam && active == activeParam" ); But I do know setting a filter works like this: query.setFilter( "passw

[appengine-java] Re: problems with JDOQL query

2011-03-28 Thread branflake2267
Another Query: public SessionAccessTokenJdo[] query(String accessToken, String accessTokenSecret) { String qfilter = "accessToken==\"" + accessToken + "\" && accessTokenSecret==\"" + accessTokenSecret + "\" "; ///System.out.println("SessionAccessTokenJdo.query(): " + qfilter);

[appengine-java] Re: Need some help with GWT / GAE and serialization - I'm missing something

2011-03-28 Thread branflake2267
Try incrementing your version and deploying? -- 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-appengi

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
Try uploading this image: private String getFile() { String s = ""; // data:image/png;base64, s = "iVBORw0KGgoNSUhEUgAAADIyCAYeP4ixAAAYmElEQVRoBUWayY9j13XGD8n3OA9VrGLNPU9qSd1yy5YgWXIQB7ENBIgRB8gumwwbJ1nmD8gyG/8F8TpQEsRBbMM2YiiOnUhOZMktt1qllrqruwbWyJpYJB/fwCG/77IEs5tVHN6794zf+c

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
BlobInfo Reports 8472 bytes and it should be 6353 bytes. Which is approximately 137% (6183 bytes) smaller, which gives me the impression that headers were not account for in the calculation. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Jav

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
Here is the image that was uploaded on the dev side. This also happens on the production side. -- 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 unsubsc

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
http://code.google.com/p/googleappengine/issues/detail?id=4265 - Related issue -- 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 g

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
This is why I started this post. I can't iterate the blobdata or fetch the blob data for image transformation because I can't figure out the correct length of the blob. private byte[] getImageBytes(BlobData blobData) { if (blobData == null) { return null; } BlobKey blobKey =

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
I noticed a fetchdata error b/c the fetchdata index is based on zero ordinal long limit = offset + chunkSize - 1; if (filesize < limit) { limit = filesize - 1; // adding a minus 1 } -- You received this message because you are subscribed to the Google Groups "Google App Eng

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-03-28 Thread branflake2267
My limit doesn't solve the base64 size. -- 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-ja

Re: [appengine-java] Re: Sort function now throws an exception

2011-03-28 Thread Stephen Johnson
Awesome! Glad it worked! On Mon, Mar 28, 2011 at 3:14 AM, ZeroCool wrote: > Hi Stephen, > > Thank you very much. > I modified the code according to your suggestion and it worked. > > > On Mar 28, 8:13 am, Stephen Johnson wrote: > > Hi ZeroCool, > > I'm not sure if this will help, and I don't kn

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

2011-03-28 Thread Craig
Not currently. The docs say "App Engine runs your Java web application using a Java 6 JVM..." (http://code.google.com/appengine/ docs/java/runtime.html) As a follow-up question to anyone on the GAE team: Is there an ETA on when GAE will support Java 7 after it's released? On Mar 3, 2:00 pm, zi

[appengine-java] Error while creating user

2011-03-28 Thread Gianni Gellona
Hi Everybody, I keep getting a timeout exception while trying to create a user in my domain. "Timeout while fetching: https://apps-apis.google.com/a/feeds/orionlabs.com/user/2.0"; I'm using the GData library from the 1.43.0 pack. I was told this problem was solved a long time ago, any aproach

[appengine-java] Re: appcfg deployment hangs at jsp compile

2011-03-28 Thread Jack
We are seeing the same issue, has anyone else experienced this problem? Curious if there is some other environmental or configuration issue other than the datanucleus jar files? Thanks, Jack On Mar 6, 9:53 pm, lp wrote: > ok got to the bottom of this. > > it seems that the javac wasnt hung, just

[appengine-java] Unable to update app: Failed to compile jsp files.

2011-03-28 Thread Spytek
Hi, I have a error when I deploy my project in Google App Engine with Eclipse and the SDK App Engine. Here is the image of the error : http://unup.free.fr/images/3xjkuc68xudgzksuxhz8.png what the problem ? Regards. -- You received this message because you are subscribed to the Google Groups "

[appengine-java] java.lang.RuntimeException: java.io.NotSerializableException: org.mortbay.jetty.Request at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:393) at c

2011-03-28 Thread redbox
Hi all, When we migrate our website to the GAE ,occurred NotSerializableException .I don't know how to deal with .Are there official document about the "Serializable" about GAE/J . Thanks in advance .Below is the stacks-trace . java.lang.RuntimeException: java.io.NotSerializableException: org.mort

[appengine-java] NotImplementedException

2011-03-28 Thread GSJunior
Hi, im using DocList API for copying and sharing documents. When i get a Document, change it title, and them try to insert it, im receiving this exception. But, curiously, im only getting this exception with a non gmail domain. There's a reason for this?? thanks! -- You received this message

[appengine-java] Re: Best GWT component library compatible with GAE ?

2011-03-28 Thread Thierry Lejealle
Well, I ran into the notorious 'no more than 3000 files' problem with SmartGWT. It seems there are solutions to go beyond this limit, but it implies either deploying a Zip archive + Servlet to dezip files as needed (Slooow) or deploying the static part of the library to another site... Let's hope t

[appengine-java] java.lang.RuntimeException: java.io.NotSerializableException: org.mortbay.jetty.Request at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:393) at co

2011-03-28 Thread Simon Knott
Hi, Any object you put in the HttpSession needs to implement Serializable. -- 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

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

2011-03-28 Thread Ikai Lan (Google)
I don't believe you have a fundamental understanding of what App Engine is. Take a look at these docs: http://code.google.com/appengine/ App Engine is a hosted environment for running apps that communicate via HTTP. It's probably not what you are looking for. Ikai Lan Developer Programs Engineer

Re: [appengine-java] MemcacheServiceImpl

2011-03-28 Thread Ikai Lan (Google)
Can you show us the object you are trying to persist? 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 The error would seem to indicate that you are try to persist a c

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

2011-03-28 Thread Ikai Lan (Google)
No ETA. This isn't something we're exploring at the moment. 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 Sun, Mar 27, 2011 at 6:53 AM, Craig wrote: > Not cu

[appengine-java] Re: Slow JAXB context initialization

2011-03-28 Thread Broc Seib
Aurel, JAXB on AppEngine has been slow for me as well, and causes me pain. In my case the Google Checkout SDK uses JAXB, and it causes problems when using Google Checkout with App Engine (yikes -- two Google products not getting along!). I described my problem here

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

2011-03-28 Thread dreamer
Virtual machine means many things. I guess you did not mean JVM? Give some requirements of vm. On Mar 28, 1:54 pm, "Ikai Lan (Google)" wrote: > I don't believe you have a fundamental understanding of what App Engine is. > Take a look at these docs: > > http://code.google.com/appengine/ > > App E