[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

[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 haninag...@gmail.com 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

[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

[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

[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

[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 ListFoo fooElements; Now, I try to modify a member of fooElements like this: fooElements.get(0).setSomething(...); When I do this, the main

[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 altfatt...@gmail.com 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

[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 pablo.sole...@gmail.com wrote: Hi, I was trying to write a proxy server in java. It´s a very simple application that filters the requests to

[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

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

[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

[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 altfatt...@gmail.com wrote: Hi, I have also faced this issue. First you have to create the application on the appengine.google.com Then you can

[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 haninag...@gmail.com 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

[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) maxr +appeng...@google.com

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

[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

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

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 ivance...@gmail.com 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?

[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) ika...@google.com 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

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

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 duong.bat...@gmail.com 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

[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

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

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

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 gml...@gmail.com wrote: [java] 90% Deploying new version. [java] 95% Will check again in 1 seconds [java] 98% Will check again in 2 seconds

[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 schwa...@google.com wrote: We're experiencing increased deployment latencies at the moment.  This should be resolved shortly.

[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

[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

[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); ListQuestion

[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 gml...@gmail.com 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

[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

[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: 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 m...@bumnetworks.com 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 gml...@gmail.com wrote:      [java] 90% Deploying new version.      [java] 95% Will check again

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

2010-01-21 Thread Elias Mårtenson
On 22 Jan, 00:26, datanucleus andy_jeffer...@yahoo.com 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=144c... Thanks

[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 to...@google.com 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

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 kart...@gmail.com wrote: Can you please elaborate on instrumenting via classloaders? Do you mean JSR-163? On Jan 20, 3:08 pm, Toby

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

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

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

[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 mmen...@google.com wrote: See if the following link

[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

[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 jbrooko...@cast.org wrote: Hi Maurits, I've achieved what

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

2010-01-21 Thread Elias Mårtenson
On Jan 22, 2:16 pm, datanucleus andy_jeffer...@yahoo.com 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

[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 loke...@gmail.com wrote: On 22

[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