[appengine-java] Re: Many "Request was aborted after waiting too long to attempt to service your request" errors

2010-01-21 Thread Fabrizio
Since 10 hours I see no more errors! I'm very happy! :))) (now: 2010-01-22 7:40 utc) I haven't changed anything and no deploy. Google Team, what have you done? FYI, a couple of screenshot of the dashboard graph: http://gs.fhtino.it/download/GAE2_no_more_error1.png?attredirects=0 http://gs.fht

[appengine-java] Re: Forcing update of JPA entity

2010-01-21 Thread Bert Peters
JDO does not do this too. I think it is a rather annoying bug. Serializing does not work (use that too myself) and just modifing an element does not work too, as your program clearly found out. Still waiting for a fix though... On Jan 22, 12:50 am, Elias Mårtenson wrote: > On 22 Jan, 00:26, datan

[appengine-java] Re: Forcing update of JPA entity

2010-01-21 Thread Elias Mårtenson
On Jan 22, 2:16 pm, datanucleus wrote: > > Your workarund, to use JDOHelper would be what I need, but I'm not > > using JDO. I'm using JPA. Is there a similar workaround there? > > Doesn't make any difference either. JPA (in DataNucleus) uses JDO > enhancement, and so marking the field as dirty u

[appengine-java] Re: Referencing projects

2010-01-21 Thread Maurits
Hi Jake, Thank you very much for your reply, this is exactly what I was looking for. And since I am also using on MacOS it should be really easy to setup with the information you gave ;). Cheers, Maurits On Jan 21, 8:03 pm, Jake wrote: > Hi Maurits, > > I've achieved what you're looking for,

[appengine-java] Re: Forcing update of JPA entity

2010-01-21 Thread datanucleus
> Your workarund, to use JDOHelper would be what I need, but I'm not > using JDO. I'm using JPA. Is there a similar workaround there? Doesn't make any difference either. JPA (in DataNucleus) uses JDO enhancement, and so marking the field as dirty using a JDO helper method would do the same under J

[appengine-java] Re: ByPassing Google App Engine SDK to allow black listed classes

2010-01-21 Thread ivanceras
Hello Miguel, Thanks for the link. Just a quick question here if you have tried it. That this mean if I exclude the validation, my code will now be able to use the blacklisted classes? Thanks, ivanceras On Jan 22, 3:51 am, Miguel Méndez wrote: > See if the following link > helps:http://code.go

Re: [appengine-java] Re: I get an InvocationTargetException the first time I query the datastore after a new JVM instance starts

2010-01-21 Thread John Patterson
These exceptions are a normal part of startup and logged at the INFO level for that reason. They are just slightly annoying but harmless so ignore them. On 22 Jan 2010, at 05:56, Larry Cable wrote: interestingly enough I get essentially the same exception when calling into the TaskQueue AP

[appengine-java] does makePersistent operate as a batch put with owned relationships?

2010-01-21 Thread Houston startup coder
The first sentence here is very clear about how calling makePersistent on an object with relationships automatically saves all the new or modified related objects: http://code.google.com/appengine/docs/java/datastore/relationships.html#Relationships_Entity_Groups_and_Transactions I've read that if

[appengine-java] Discussion on will-it-play-in-app-engine

2010-01-21 Thread akochnev
Tapestry 5.1 and 5.2-SNAPSHOT are now compatible w/ GAE, since the javx.xml.stream API was whitelisted , sample apps are at http://tapestry-test.appspot.com/ or http://ping-service.appspot.com/ -- You received this message because you are subscribed to the Google Groups "Google App Engine for

[appengine-java] Re: Test data

2010-01-21 Thread m seleron
Hi, Though it is likely already to have tried This might be useful. Follow this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/fb2b9dda42a475e7/937e0f42d0dd25c6 Please try Thanks. On 1月21日, 午後10:51, Daniel Dacila wrote: > Hi All, > > I am writing some junit t

[appengine-java] Re: Error creating EntityManagerFactory bean occasionally

2010-01-21 Thread asianCoolz
is this problem caused by gae bug? or application bug? found solution yet? -- 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,

Re: [appengine-java] Re: Repost: Javaagent option

2010-01-21 Thread Toby Reyelts
No, I just meant that you could, for example, write a custom ClassLoader that instruments bytecode before it loads it. On Thu, Jan 21, 2010 at 7:45 PM, Kartik wrote: > Can you please elaborate on "instrumenting via classloaders"? Do you > mean JSR-163? > > On Jan 20, 3:08 pm, Toby Reyelts wrote

[appengine-java] Re: Repost: Javaagent option

2010-01-21 Thread Kartik
Can you please elaborate on "instrumenting via classloaders"? Do you mean JSR-163? On Jan 20, 3:08 pm, Toby Reyelts wrote: > There are no immediate plans for this. Is there something that prevents you > from instrumenting via ClassLoaders? > > On Wed, Jan 20, 2010 at 5:40 PM, Kartik wrote: > > H

[appengine-java] Re: Forcing update of JPA entity

2010-01-21 Thread Elias Mårtenson
On 22 Jan, 00:26, datanucleus wrote: > Shouldn't make the slightest bit of difference. GAE/J ought to replace > that List with a wrapper that intercepts update operations. It hasn't > done > that.http://code.google.com/p/datanucleus-appengine/issues/detail?id=144&c... Thanks for the information

[appengine-java] Re: why is this? Unable to update app: Version not ready.

2010-01-21 Thread Andrei
mine uploaded fine now On Jan 21, 5:35 pm, Max Afonov wrote: > I'm in this boat too, except I'm not getting the "too many versions" > message (yet). > > On Jan 21, 5:07 pm, Andrei wrote: > > >      [java] 90% Deploying new version. > >      [java] 95% Will check again in 1 seconds > >      [java

[appengine-java] Re: I get an InvocationTargetException the first time I query the datastore after a new JVM instance starts

2010-01-21 Thread Larry Cable
interestingly enough I get essentially the same exception when calling into the TaskQueue API ... I 01-21 02:44PM 41.437 com.google.appengine.repackaged.com.google.common.base.FinalizableReferenceQueue $SystemLoader loadFinalizer: Not allowed to access system class loader. I 01-21 02:44PM 41.455

[appengine-java] Re: Referencing projects

2010-01-21 Thread Jake
Hi Maurits, I've achieved what you're looking for, but it wasn't easy. If anyone has a better solution, I'm all ears. First of all, to do it manually, you can Right-click any project in Eclipse and Export it to a JAR file - which can then be saved in your GAE lib/ folder. But, this has to be do

[appengine-java] Re: why is this? Unable to update app: Version not ready.

2010-01-21 Thread Max Afonov
I'm in this boat too, except I'm not getting the "too many versions" message (yet). On Jan 21, 5:07 pm, Andrei wrote: >      [java] 90% Deploying new version. >      [java] 95% Will check again in 1 seconds >      [java] 98% Will check again in 2 seconds >      [java] 99% Will check again in 4 se

[appengine-java] I get an InvocationTargetException the first time I query the datastore after a new JVM instance starts

2010-01-21 Thread Spines
I get an InvocationTargetException the first time I query the datastore after starting the dev server. My app works fine, but I feel like the exception slows down the startup time and is also probably a bad thing. My query is simple its just: Query q = pm.newQuery(Question.class); List cards = (

[appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-21 Thread ZeroCool
This is so far the best Low-Level API wrapper i can find. Thanks for your great work. Using this library, I've managed to shorten the cold start time of my servlets from 4s to 1.5s, and normal request from 300ms to 150ms So happy not to mess around JDO anymore. :D -- You received this message bec

[appengine-java] version not ready

2010-01-21 Thread jamie
hi! I am having problems similar to http://groups.google.com/group/google-appengine-java/browse_thread/thread/4ab4567d36043241 Whenever I try to deploy, I get Unable to update: java.lang.RuntimeException: Version not ready. at com.google.appengine.tools.admin.AppVersionUpload.commit (AppV

[appengine-java] Re: why is this? Unable to update app: Version not ready.

2010-01-21 Thread Andrei
Thanks I am getting this now Too Many Versions (403) The application already has the maximum number of versions. I'll try again soon On Jan 21, 5:10 pm, Don Schwarz wrote: > We're experiencing increased deployment latencies at the moment.  This > should be resolved shortly. > > On Thu, Jan 21,

Re: [appengine-java] why is this? Unable to update app: Version not ready.

2010-01-21 Thread Don Schwarz
We're experiencing increased deployment latencies at the moment. This should be resolved shortly. On Thu, Jan 21, 2010 at 4:07 PM, Andrei wrote: > [java] 90% Deploying new version. > [java] 95% Will check again in 1 seconds > [java] 98% Will check again in 2 seconds > [java] 99%

[appengine-java] why is this? Unable to update app: Version not ready.

2010-01-21 Thread Andrei
[java] 90% Deploying new version. [java] 95% Will check again in 1 seconds [java] 98% Will check again in 2 seconds [java] 99% Will check again in 4 seconds [java] 99% Will check again in 8 seconds [java] 99% Will check again in 16 seconds [java] 99% Will check ag

Re: [appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-21 Thread Jeff Schnitzer
SimpleDS' api is closer than the others to what I want, but here's what I don't like: * Not enough use of generics. Key, Query, and PreparedQuery should all be generified classes. * Key should not be used as the id for a class. The class itself identifies the Kind, so having a Key id carries

[appengine-java] Re: Serious datastore problem

2010-01-21 Thread Max
When I created new index it was building it hole day. I thought it added all data to index as when I create index for small number of entities then index is created much faster. May be there is some bug when index is built and google may fix it. Thanks John you helped a lot! On Jan 19, 11:

Re: [appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-21 Thread Duong BaTien
Wow. Thanks. I will spend some time to explore this and will get back to you. Please explore the talk (where is the author's opinion? :-), especially the set intersections which to me very relevant to the complexity of social graphs. Please let the community know in real codes the contribution of t

[appengine-java] Re: Referencing projects

2010-01-21 Thread Maurits
Hi Ikai, Thanks again for the reply. The thing is that I want the "Service layer" to be a facade library which (potentially) can be used in several projects. I assumed it would be useful to compile it into a separate JAR file so it can easily be reused and I don't have to extract the packages fir

Re: [appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-21 Thread Jeff Schnitzer
On Thu, Jan 21, 2010 at 7:48 AM, Duong BaTien wrote: > > While exploring list-property and merge-join from this talk > http://code.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html > i concur with your value proposition. Neat, I had missed that talk. Good stuff. More comments

Re: [appengine-java] Re: Referencing projects

2010-01-21 Thread Ikai L (Google)
The .NET approach is different than the Java approach. It's unnecessary to break this project up. I personally do not think you gain anything with this approach other than additional complexity. That being said, Eclipse is infinitely flexible. You can probably set it up so that on a build, it crea

[appengine-java] Re: Referencing projects

2010-01-21 Thread Maurits
Hi Ikai (and others), Thank you very much for your reply, I appreciate it. Although I am not yet satisfied (sorry ;) ). The thing is I am not just learning Java, I got the language covered, I am a seasoned C# programmer and have some experience with Java already. Now I am trying to build a seriou

[appengine-java] Re: Use Google login cred to logon in one GAE in other GAE app

2010-01-21 Thread Wouter
Ok, thanks for the answer. The solution you describe was my alternative if this would not work. Thanks! On Jan 20, 11:00 pm, "Ikai L (Google)" wrote: > No, you won't be able to authenticate the second application once a user is > logged into the first. If you think about the security issues her

Re: [appengine-java] ByPassing Google App Engine SDK to allow black listed classes

2010-01-21 Thread Miguel Méndez
See if the following link helps: http://code.google.com/eclipse/docs/appengine_validation.html. On Thu, Jan 21, 2010 at 4:08 AM, ivanceras wrote: > Is there a way to circumbent google app engine sdk to allow the usage > of classes that are not present in the GAE JRE white list? I know the > app

Re: [appengine-java] Referencing projects

2010-01-21 Thread Ikai L (Google)
Hi there! If you're learning Java, it's probably overkill to create 4 different projects, even for different layers of the application. It's probably enough to simply create different packages and sort through them that way. For development, you can get away with putting the JAR files in your Jav

[appengine-java] Test data

2010-01-21 Thread Daniel Dacila
Hi All, I am writing some junit tests for a GAE application. Can anybody suggest the best approach to create a test-data file and populate from that the GAE database? Thanks, Daniel Dacila -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Serialization of detached JDO/JPA classes in GWT 2

2010-01-21 Thread snorbi
Hello, I read in the GWT docs that some support has been added to the RPC implementation to support enhanced JDO/JPA classes. See "Serializing Enhanced Classes" in http://code.google.com/intl/hu-HU/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes. My question is: d

[appengine-java] Referencing projects

2010-01-21 Thread Maurits
Hi all, I am an experienced .NET developer but new to JAVA and Eclipse. I am currently experimenting with JAVA and the GAE with plans to start making more use of the GAE since I really like what is offered (Google keep up the good work ;)). However I am running into a problem, I would like to bui

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-01-21 Thread cowper
Hi, I have a similar issue with 1.3.0 however it arises when the types are the same and not related to inheritance of any type. The work around suggested doesn't seem to work. Is the workaround valid for 1.3.0? thx, Conor On Dec 4 2009, 9:52 pm, "Max Ross (Google)" wrote: > SDK 1.2.8 contain

[appengine-java] ByPassing Google App Engine SDK to allow black listed classes

2010-01-21 Thread ivanceras
Is there a way to circumbent google app engine sdk to allow the usage of classes that are not present in the GAE JRE white list? I know the app that I would be building would not run in appspot, but at least in my development server, I need to access a postgresql database (java.net.socket.*) and ge

[appengine-java] Re: XMPP Problems

2010-01-21 Thread Sam
Same problem here .. looks like XMPP is down on app engine. On Jan 20, 8:09 pm, Hani Naguib wrote: > It looks like xmpp messages to the application do not get received. > It can send xmpp and everything else seems fine. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Send UDP packets to the App Engine server

2010-01-21 Thread Patty
Hi, i would like to send UDP packets to the App Engine server. The server should modify them and send them back to my box. When I'm trying to code that in Java I want to use DatagramPacket and InetAddress, but App Engine doesn't support those. What can I o to solve my problem? Or if UDP packets a

[appengine-java] Re: Problem uploading App: 403 Forbidden You do not have permission to modify

2010-01-21 Thread Igor Ganapolsky
My app is already created, and I'm just trying to redeploy it. Yet I'm facing the same issue. On Jan 15, 5:39 pm, zoli wrote: > Hi, > > I have also faced this issue. First you have to create the application > on the appengine.google.com > Then you can deploy the first version of the application.

[appengine-java] Using Spring Javaconfig on Google App Engine

2010-01-21 Thread Andrew Phillips
I recently got my hands dirty getting Spring Javaconfig working on GAE. The lessons are summarized in the following blog post: http://blog.xebia.com/2010/01/17/using-springs-java-configuration-on-google-app-engine/ Thought this might prove useful... Andrew -- You received this message because

[appengine-java] Re: Problem uploading App: 403 Forbidden You do not have permission to modify

2010-01-21 Thread Igor Ganapolsky
It was actually my fault, I was providing the wrong application name to ./appcfg.py. It works now with the correct app. On Jan 15, 5:39 pm, zoli wrote: > Hi, > > I have also faced this issue. First you have to create the application > on the appengine.google.com > Then you can deploy the first v

[appengine-java] DataNucleus version question

2010-01-21 Thread snorbi
Hello, As I understand, the JDO/JPA implementation is based on DataNucleus 1.1. But on the Datanucleus forums I got an answer "1.1 is not maintained. 2.0 is current" (for a question which is not important now). Does this mean that AppEngine will be soon upgraded to DataNucleus 2 as well? Thanks f

[appengine-java] Re: Problem uploading App: 403 Forbidden You do not have permission to modify

2010-01-21 Thread Igor Ganapolsky
I have the same problem, even though my is already deployed. On Jan 15, 5:39 pm, zoli wrote: > Hi, > > I have also faced this issue. First you have to create the application > on the appengine.google.com > Then you can deploy the first version of the application. > It worked for me. > > On Dec 12

[appengine-java] jingle support on app engine

2010-01-21 Thread maxsap
Hello all, I am interested in using app engine in my application witch is using jingle, I have read about app engines xmpp support but would I be able to use jingle? also if the official xmpp support doesn't support jingle would I be able to use smack stack to do jingle? thanks in advanced maxsap -

[appengine-java] Re: Proxy written in java for browsers

2010-01-21 Thread David P. Caldwell
How is your proxy servlet determining the URL of the request? -- David P. Caldwell http://www.inonit.com/ On Jan 20, 1:47 pm, Harry Monroe wrote: > Hi, > > I was trying to write a proxy server in java. > > It´s a very simple application that filters the requests to > myproxy.appspot.com, retriev

[appengine-java] Re: Forcing update of JPA entity

2010-01-21 Thread datanucleus
> When I do this, the main entity will not be updated in the datastore > since I never actually modified the member itself Shouldn't make the slightest bit of difference. GAE/J ought to replace that List with a wrapper that intercepts update operations. It hasn't done that. http://code.google.com/

[appengine-java] Forcing update of JPA entity

2010-01-21 Thread Elias Mårtenson
In my application, I have a fairly large object that has a complex serialised object structure as a member: @Basic @Lob @Column(nullable = false) private List fooElements; Now, I try to modify a member of fooElements like this: fooElements.get(0).setSomething(...); When I do this, the main enti

[appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-21 Thread James Cooper
Hey Jeff, Looks cool. Looks a lot like SimpleDS though. Just curious what shortcomings you found in SimpleDS. -- James -- 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...@go

[appengine-java] Re: Uniqueness of system generated IDs

2010-01-21 Thread Torquester
I have found the problem now: You can not have different child entities of the same type. In my case the thumbnail and fullsize properties are both of type ImageDataEntity. I think appengine only uses the type name plus hierarchy information to store the data, therefore it can not map the entities

Re: [appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-21 Thread Duong BaTien
Hi: While exploring list-property and merge-join from this talk http://code.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html i concur with your value proposition. Initially, i plan to build a singleton long id generator to reproduce and self-manage datastore Key of the applica

Re: [appengine-java] Changing Bean Schema

2010-01-21 Thread John Patterson
You don't need to delete them - just store them again with the same key and they will be overwritten. On 21 Jan 2010, at 20:39, vincenzo amoruso wrote: Ciao, is there a way to change bean schema adding some fields without deleting all previous entities of same kind? Thanks in advance Reg

[appengine-java] Re: Application code attempted to create a EntityManagerFactory named transactions-optional,

2010-01-21 Thread asianCoolz
i faced same problem. have u found out what is the reason? -- 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 g

[appengine-java] Changing Bean Schema

2010-01-21 Thread vincenzo amoruso
Ciao, is there a way to change bean schema adding some fields without deleting all previous entities of same kind? Thanks in advance Regards Vincenzo -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send e

[appengine-java] authentication questions

2010-01-21 Thread ale
Hi, I'm a little confused about how can I authenticate on a application. I see and use the user service provide by app engine, and it is all ok. I would like to use the service of piacasaweb, youtube, google friend connect and other non google service like flickr (for example). For use that servic

[appengine-java] Re: XMPP Problems

2010-01-21 Thread Hani Naguib
GTalk seems to have fixed itself now. On Jan 20, 9:37 pm, Hani Naguib wrote: > Looks like I am not the only one with this problem! > > http://groups.google.com/group/google-appengine/browse_thread/thread/... -- You received this message because you are subscribed to the Google Groups "Google Ap

[appengine-java] Re: Say goodbye unoptimized Frameworks. Say hello Code Generation!

2010-01-21 Thread vbart
Hello, we have a tool called AuDAO (http://audao.spoledge.com) which generates DAO layer (including DTO classes) for GAE. The source is a XML configuration file. The result classes use low- level Datastore API. Transactions and entity groups are supported. Static GQL queries are transformed into G