[appengine-java] Re: JSP compiling fails after upgrade from 1.3.8 to 1.4.0

2010-12-15 Thread Chris Keller
Note that the previous post only applies to my local development environment. I just tried using the new version of the SDK on the production server, and it has no problems. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post

[appengine-java] JSP compiling fails after upgrade from 1.3.8 to 1.4.0

2010-12-15 Thread Chris Keller
I'm having issues using my GAE/GWT project after upgrading the GAE Java SDK from 1.3.8 to 1.4.0. It has issues compiling the JSPs, according to the error output. I've attached the stack trace. If I revert back to using 1.3.8, it compiles fine. (I'm using the Eclipse plugins.) It's entirely poss

[appengine-java] Re: how to open an instance of a class

2010-12-15 Thread Didier Durand
Hi, What you are trying to achieve is based on the reflection capabilities of Java and mainly the class java.lang.Class. (See http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html) To describe it shortly: a) use static method forName: Class.forName(yourClassName) b) then use refl

[appengine-java] Re: storing unowned objects(one to many) in datastore

2010-12-15 Thread Didier Durand
Hi, If they don't belong to the same entity group, you will raise an exception by trying to store 2 objects in a single transaction. 2 ways to handle that: a) you make Mobile belong to same entity group as Person so you'll be able to store both in a single transaction. I understand in your qu

[appengine-java] Re: url fetch quota: ResponseTooLargeException

2010-12-15 Thread Didier Durand
Hi, According to http://code.google.com/appengine/docs/java/tools/devserver.html#Using_URL_Fetch, there may be differences between dev server and real infrastructure. So, if I were you, I would quickly upload and make a test from the live env and see what happens. Let us know regards didier On

[appengine-java] Re: GWT Designer for NetBeans

2010-12-15 Thread Didier Durand
Hi, A more appropriate place to post this question is http://groups.google.com/group/google-web-toolkit regards didier On Dec 15, 8:03 pm, kidowell wrote: > Hey, is there any gwt designer for NetBeans out there?. > > It would be nice to place all the design and receive automatically the code > f

[appengine-java] url fetch quota: ResponseTooLargeException

2010-12-15 Thread Sydney
Hello, I got a ResponseTooLargeException when using the url fetch service. I checked the quota ( http://code.google.com/appengine/docs/java/urlfetch/overview.html#Quotas_and_Limits) and my request and response are within these quotas. Here is the response header when fetching the url in a bro

[appengine-java] GWT Designer for NetBeans

2010-12-15 Thread kidowell
Hey, is there any gwt designer for NetBeans out there?. It would be nice to place all the design and receive automatically the code for it. I have read theres a plugin for Eclipse but I can't find anything for NetBeans. Any sugestion?. Cheers. Kido. -- You received this message because you

[appengine-java] Re: Memcache entries - available how soon after entry?

2010-12-15 Thread Tom Phillips
So using UUID's class scope static variables I can now tell which JVM services each request. What I've confirmed is that at least when using reserved instances ("Always On"), Memcache entries are only found within the same JVM instance that created the cache entry. So I only get a cache hit if the

[appengine-java] Re: Synchronized reads/writes on a memcache variable

2010-12-15 Thread Jay Young
On Dec 15, 10:50 am, Simon wrote: > although I'd argue that > you should be changing your design anyway since synchronizing across a > distributed architecture for a lot of threads is just unadvisable. No doubt. I was simply commenting on the method in question. -- You received this message be

[appengine-java] GWT and GAE debugging problem

2010-12-15 Thread kidowell
Hey. Im starting with GAE, and im making an RCP program (a book address), on the server side I've got all the methods for manipulating the datastore (I'm using JPA), and on the client side I'm using GWT as a framework. When debugging it turns out, that I can only see the server side, and progr

[appengine-java] Re: Does the local unit test framework use the same datastore-indexes.xml file as the app?

2010-12-15 Thread Huy
Also, a coworker was able to consistently generate a missing index exception from a local unit test, but I couldn't reproduce using the same code, so it doesn't seem we can rely on this mechanism to test our indexes until we figure out what's happening here. -- You received this message becaus

[appengine-java] storing unowned objects(one to many) in datastore

2010-12-15 Thread kartik kudada
Can we store two unowned objects(one to many) in datastore in a single transaction. For example - We have public class Person { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private String name; @Persistent private List mobileIds =

[appengine-java] how to open an instance of a class

2010-12-15 Thread Abdel_eid
Dear All , I am working on a project in which the user enters the class name and data that he needs to add to the data store but i faced a big problem , i had successfully read the data from the user and checked it's correctness but i am trying to open a new instance of the class send by the use

[appengine-java] Re: Synchronized reads/writes on a memcache variable

2010-12-15 Thread Simon
I guess it depends on how much throughput you're expecting through the bit of the system which requires the lock - I agree that if there is huge contention then this isn't the way to go, although I'd argue that you should be changing your design anyway since synchronizing across a distributed archi

[appengine-java] Re: Synchronized reads/writes on a memcache variable

2010-12-15 Thread Jay Young
I considered the increment decrement approach, but it creates a race condition with the counter. Having many different threads/tasks trying to grab the lock at the same time could increment the number above one, even when no one has the lock because there is still a period of time between the inc

[appengine-java] Re: Synchronized reads/writes on a memcache variable

2010-12-15 Thread Jay Young
On Dec 15, 8:23 am, Simon wrote: > since I'm > assuming it takes x-amount of time for the changes in MemCache to > propagate throughout the instances.  I may be wrong in this assumption > however. I don't think cache data is propagated to the various app instances. It resides in its own central (

Re: [appengine-java] Re: UserService functionality when run via cron

2010-12-15 Thread Benjamin Grabkowitz
The bug reference would be nice. If only to vote it up. On Wed, Dec 15, 2010 at 2:10 AM, andrew wrote: > I submitted a bug on the subject, and it was accepted. > > If you want the bug reference I can find it. > > Andrew > > -- > You received this message because you are subscribed to the Google

Re: [appengine-java] JSF: sudden ViewExpiredException on GAE

2010-12-15 Thread Nick Belaevski
I'm currently looking at MemcacheService.SetPolicy trying to find out what can be causing the problem. Can please anyone shed some light on: 1. Are changes of HttpSession att

Re: [appengine-java] JavaMail Multipart message with inline images

2010-12-15 Thread Ronald R. DiFrango
Voted and added a comment. It really is amazing that this simple feature is not supported. -- 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 unsubscrib

[appengine-java] Re: Synchronized reads/writes on a memcache variable

2010-12-15 Thread Simon
Hi, I think the following should work with the following caveats: - there's a small danger that if the server blows up before it releases the lock, that no threads would be able to update your cache, but since it's only a cache of data. This is easily mitigated by introducing a task which periodic

[appengine-java] Multiple Async get vs one Sync batch get?

2010-12-15 Thread Gal Dolber
Should I expect the similar performance? or the batch will always be better? -- 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 grou

[appengine-java] Re: DEPLOYMENT FAILING AGAIN

2010-12-15 Thread Simon
Hi, I don't know why the pre-compilation has to be turned off - as far as I understand it, this activity occurs on the Google servers and it's there that the problem occurs. In one of the other deployment issue threads, Ikai mentioned that you can get around this issue by turning the pre-compilat