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

2010-01-22 Thread ivanceras
Alright I have followed to allow the blacklisted classes to be exempted from the validation in eclipse and it did not show any error in my eclipse IDE anymore, so the class is compiled. But when I tried to run the application(still using the app engine web server) it would still throw the security

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

2010-01-22 Thread Cristian Nicanor Babula
Hi, I faced the same problem while porting FOP to appengine. The only difference is that I did want to write to the filesystem or such. In my case I only had to provide FOP an implementation of some awt graphic classes. What I did was to change in fop sources every reference to java.awt in

[appengine-java] Re: error is coming on appspot but local working fine

2010-01-22 Thread java
Hello This is my class file : package com.ei.server.web.fe; import java.util.Date; import java.util.Map; import org.springframework.web.multipart.MultipartFile; import com.ei.server.model.auth.IUser; import com.ei.server.model.auth.impl.User; public class ReviewFrmCmd { private

Re: [appengine-java] Problem running GAE + GWT wizzard project

2010-01-22 Thread Rajeev Dayal
Hi, Can you try clearing your browser's cookies and seeing if this fixes the problem? Rajeev On Thu, Jan 14, 2010 at 7:00 AM, Ice13ill andrei.fifi...@gmail.com wrote: Hello, i'm using gwt + gae in Eclipse Galileo and i'm trying to run the project created with the Web Application wizzard.

Re: [appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-01-22 Thread Rajeev Dayal
Hi, What is the name of your project, and the name of your App Engine SDK? I'm trying to decipher (in our code) where the message Updating myproject/...ne - 1.3.0 comes from. When Eclipse starts up, the SDKs will automatically copy over the necessary jars to your project's war/WEB-INF/lib

Re: [appengine-java] Getting error when updated from 1.2.5 to 1.3.0

2010-01-22 Thread Rajeev Dayal
Looking at the code, it seems that problem may be cookie related. Can you try clearing your browser's cookies and see if that helps the situation? On Wed, Jan 20, 2010 at 9:45 PM, mar_novice mariocape1...@gmail.com wrote: I can't run anymore after I updated the sdk and even downloading a fresh

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

2010-01-22 Thread Miguel Méndez
Okay did not realize that you actually needed to use the class when actually deploying to GAE. Not sure of the best way to accomplish what you are after. On Fri, Jan 22, 2010 at 3:43 AM, ivanceras ivance...@gmail.com wrote: Alright I have followed to allow the blacklisted classes to be

[appengine-java] Request was aborted after waiting too long to attempt to service your request.

2010-01-22 Thread Millisecond
I'm getting this log message a lot in my application: Request was aborted after waiting too long to attempt to service your request. Most likely, this indicates that you have reached your simultaneous dynamic request limit. This is almost always due to excessively high latency in your app.

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

2010-01-22 Thread Don Schwarz
On Fri, Jan 22, 2010 at 10:55 AM, Millisecond millisec...@gmail.com wrote: I'm getting this log message a lot in my application: Request was aborted after waiting too long to attempt to service your request. Most likely, this indicates that you have reached your simultaneous dynamic request

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

2010-01-22 Thread Locke
I have seen this error even for hello world. It MAY be caused by too many simultaneous requests, but it also may be caused by a problem with appengine itself. On Jan 22, 12:30 pm, Don Schwarz schwa...@google.com wrote: On Fri, Jan 22, 2010 at 10:55 AM, Millisecond millisec...@gmail.com wrote:

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

2010-01-22 Thread Millisecond
Ah, you're right, only this bit stuck in my head quotas with billing enabled can accommodate around 500 requests per second from http://code.google.com/appengine/docs/quotas.html Thanks for the pointer to the math working that number back from the 30 request / s limit. Seems a little optimistic

[appengine-java] Apache CXF(JAX-RS) on GAE

2010-01-22 Thread Vijay Bansal
I have successfully deployed a CXF-RS app on GAE by making some changes in CXF source. Details can be found here http://sinister2010.wordpress.com/2010/01/22/cxf-rs-on-google-app-engine-exposed3/ It maybe of some help. -- You received this message because you are subscribed to the Google Groups

[appengine-java] deleting all entries in datastore

2010-01-22 Thread mete
Suppose I have a class A and I have stored some instance of it in the datastore. Then I change it, but I keep the name. How I can delete all the previous data in the datastore, if I simply do a query and use deleteAll, it gives an error (I guess because I changed the name of some fields). Thank

[appengine-java] unable to use user services with java - 500 Server Error

2010-01-22 Thread ninjatux
Hi all, i'm trying to use google app engine to build my first apps using java. i'm new to java but i would like to use app engine to train myself for web app developing. i've got some issues using the users services. these are my servlets: /* * TestingUsers.java */ package mytrainingapp;

[appengine-java] Re: javax.annotation.Resource Spring 3.0.0.Release declarative DI on Google App Engine

2010-01-22 Thread Vijay Bansal
This is of some help to those who are trying for CXF-RS apps on GAE http://sinister2010.wordpress.com/2010/01/22/cxf-rs-on-google-app-engine-exposed3/ On Jan 14, 12:43 am, Jason (Google) apija...@google.com wrote: Hi Ralf. We may be able to add support for this annotation in a forthcoming

Re: [appengine-java] deleting all entries in datastore

2010-01-22 Thread John Patterson
Here is the code I use to delete one kind at a time - it batches the keys into Lists of 100 to avoid datastore exceptions. Iterables is from Google collections. Query query = new Query(kind);

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

2010-01-22 Thread jmarranz
Hi Jeff S I've added more working examples in GAE of ItsNat framework and fixed problems. The phrase It works including AJAX: http://itsnatfeatshow.appspot.com/servlet?itsnat_doc_name=manual.core.example; Can now be shorter: It works including AJAX: http://itsnatfeatshow.appspot.com; Thanks

[appengine-java] Re: deleting all entries in datastore

2010-01-22 Thread Locke
It would be good to have the ability to do this from within the GUI. Other database management tools have empty table options, so a delete all of this Kind feature would be appropriate. On Jan 22, 12:59 pm, John Patterson jdpatter...@gmail.com wrote: Here is the code I use to delete one kind at

Re: [appengine-java] Re: error is coming on appspot but local working fine

2010-01-22 Thread Ikai L (Google)
Strange that it would work locally. MultipartFile doesn't sound like something that is serializable. You'll want to store your data using the Blob class we provide, anyway. Are you storing this in the datastore or a session? You'll want to minimize the amount of data you store in a session. On

[appengine-java] Re: Ant and --enable_jar_splitting

2010-01-22 Thread Marcel Overdijk
bump; anyone? On 14 jan, 21:23, Marcel Overdijk marceloverd...@gmail.com wrote:     target name=update description=Uploads the application to App Engine.         appcfg action=update war=war             options                 arg value=--enable_jar_splitting /             /options        

[appengine-java] Re: deleting all entries in datastore

2010-01-22 Thread mete
Yes it would be very nice to have GUI support for this. I will try the code John thank you. Mete On Jan 22, 8:47 pm, Locke locke2...@gmail.com wrote: It would be good to have the ability to do this from within the GUI. Other database management tools have empty table options, so a delete all

Re: [appengine-java] Re: One to many sample application needed on GWT

2010-01-22 Thread Ikai L (Google)
Can you post the code for your query? Child objects are lazily loaded, so if you close the Persistence Manager before retrieving them it will return an empty List. On Wed, Jan 20, 2010 at 4:34 PM, Dave ladjo...@gmail.com wrote: I had gotten my application to save data, but my queries are

Re: [appengine-java] authentication questions

2010-01-22 Thread Ikai L (Google)
Yes, that's possible. The Users Service is convenience, especially for those people using Google App Engine with a Google Apps Domain. You'll need to create your own User model and maintain the session state yourself, however. On Thu, Jan 21, 2010 at 5:36 AM, ale aleee...@gmail.com wrote: Hi,

[appengine-java] Re: deleting all entries in datastore

2010-01-22 Thread Larry Cable
+1 especially for large tables On Jan 22, 10:47 am, Locke locke2...@gmail.com wrote: It would be good to have the ability to do this from within the GUI. Other database management tools have empty table options, so a delete all of this Kind feature would be appropriate. On Jan 22, 12:59 pm,

[appengine-java] Program behaves erratically in Dev Environment but works correctly when executed in Google App Engine

2010-01-22 Thread Art
I am quite new to App Engine development and JPA. I am running App Engine 1.2.6 and I use Eclipse. Here are three problems I've encountered that perplex me: 1. Servlet receives multiple instances of posts. I posted 30 distinct records using AJAX. In the Dev environment, my servlet receives 30

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

2010-01-22 Thread Larry Cable
I wish that were the case ... however GAE VFS does not function when hosted (but does locally) the only apparent difference is this exception ... On Jan 21, 8:18 pm, John Patterson jdpatter...@gmail.com wrote: These exceptions are a normal part of startup and logged at the INFO   level for that

Re: [appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-01-22 Thread Ikai L (Google)
Hey everybody, I just wanted to give an update about this issue. We've changed resource allocation for our Java developers, which should result in much less app evictions. Some of you may have already noticed an improvement. I've already received several encouraging messages from developers who

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-01-22 Thread James Cooper
Ikai, Great news. I can report that I'm seeing FAR fewer cold starts today. So thank you! Would still love to see this implemented: http://code.google.com/p/googleappengine/issues/detail?id=2456 cheers -- James -- You received this message because you are subscribed to the Google Groups

[appengine-java] One-to-many querying for a child instance

2010-01-22 Thread Sydney
I have a one to many relationship. There is a problem in the way I query for a B object. I was wondering what is the best way (most efficient) to do that. A a = new A(A); B b = new B(B); a.getBs().add(b); pm.makePersistent(a); // it's done inside a transaction A ap = pm.getObjectById(A.class, A);

Re: [appengine-java] Re: deleting all entries in datastore

2010-01-22 Thread John Patterson
I have found deleting to be the most CPU hungry activity - more than putting the data in the first place. Using code similar to below I have used over an hour of CPU time in one 30 second request! So I wonder if that is why this option doesn't exist in the GUI... people would be gutted to

Re: [appengine-java] One-to-many querying for a child instance

2010-01-22 Thread John Patterson
Execute a query on the name property of B rather than loading it by key. If the name is unique the result should only contain one B. On 23 Jan 2010, at 11:41, Sydney wrote: I have a one to many relationship. There is a problem in the way I query for a B object. I was wondering what is the

[appengine-java] appcfg.py download_data and Java owned relationships

2010-01-22 Thread Brian Hayward
I would like to use appcfg.py download_data to export my entities in csv format and maintain the owned relationships between entities (one-to-many in this case). I am getting the entity key as a field in the csv, but I've looked around a bit and haven't found how to decode it. Can it be decoded

[appengine-java] generating sequential ids

2010-01-22 Thread aswath satrasala
Hi, I have an Employee class public class Employee { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName=datanucleus, key=gae.encoded-pk, value=true) private String id; @Persistent private String department; @Persistent private

[appengine-java] upload document with gdata

2010-01-22 Thread Andrés Cerezo
Hello, Anyone has uploaded a document to google docs (gdata) with a servlet? anyone has an example of source code ? Thanks. -- 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