[appengine-java] how to encrypt a blob before uploading via blobstoreservice

2010-03-03 Thread Valentino Hankypants
hello together, i read and tried the following codepart out of the google.code... (http://code.google.com/appengine/docs/java/blobstore/overview.html) with the given code out of this example the upload of the blob happens immediately after clicking the submit button. i want to encrypt the file

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

2010-03-03 Thread SRF
I'm also seeing my app being cycled too quickly. - What is your application ID? wicket-gae-template - How do you know it is being cycled out? You'll need to insert some code that only gets called when the app cold starts. startup is logged in a filter init() method; also logged in a static

Re: [appengine-java] How do you transfer a ListJdoObject from server to client?

2010-03-03 Thread Chummar Maly
All you need to do is put this code in a servlet and then call the servlet as the button's action. Having said that is always good to learn the basics. Here is a link for app engine JDO implementation : http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html. The easiest

[appengine-java] How to get application version from within code ?

2010-03-03 Thread JD
Is there anyway to get the application version (from appengine- web.xml) ? In python the version is put in os environment, wondering if java has something similar. Thx -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

Re: [appengine-java] How to get application version from within code ?

2010-03-03 Thread Sandeep Sathaye
Try com.google.apphosting.api.ApiProxy.getCurrentEnvironment() On Wed, Mar 3, 2010 at 9:04 AM, JD liva...@gmail.com wrote: Is there anyway to get the application version (from appengine- web.xml) ? In python the version is put in os environment, wondering if java has something similar.

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

2010-03-03 Thread Rajeev Dayal
Yeah, it is only a guess that the version control plugins are causing some sort of interference. Sorry that you had to go through this. The changes in GPE 1.3 should alleviate this issue. On Tue, Mar 2, 2010 at 2:27 PM, Jeff Schnitzer j...@infohazard.org wrote: The projects that cause the

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

2010-03-03 Thread Don Schwarz
Here's some good advice: http://googleappengine.blogspot.com/2009/12/request-performance-in-java.html On Tue, Mar 2, 2010 at 5:41 PM, Kroc vincent.legen...@gmail.com wrote: I have found I usually get this error when my app is loading and takes more than 10 seconds while another request

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

2010-03-03 Thread Wong
I am experiencing the same problem. I am using Spring MVC. When is the expected date for solution? I am waiting for solution for long. If this problem persists, I have to switch to other platform. On Mar 3, 6:41 pm, SRF srfar...@gmail.com wrote: I'm also seeing my app being cycled too

[appengine-java] Forwarding a request to a external URL preserve IP - Can it be done?

2010-03-03 Thread mscwd01
Hey, Is there a method in which I can receive a request and then forward the same request to an external URL (not redirect)? Importantly, the IP address of the device which made the initial request MUST be preserved. It must look, to the external URL, that the request came from the device which

[appengine-java] App Engine Plugin for Eclipse Stuck During Install Ubuntu 9.10

2010-03-03 Thread JD
I try to install the plugin for eclipse through eclipse's install new software, however after it resolves dependencies and asks me to accept the license, it hangs at 4% during the install. Eclipse itself doesn't hang, but the install never moves past 4%. I've let it sit on the install for about

[appengine-java] CPU Limits using App for large scale processing

2010-03-03 Thread Graham
I've got a large computational problem that can be done in small chunks 10sec and where the data required for each portion of the simulation is very minimal. What I was hoping to do was dump a whole bunch of tasks in a Task Queue and then let the app engine scale up so that it can tear through

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

2010-03-03 Thread Robert Lancer
Me too App ID ArachnoDB loading GData and its dependencies, happens about every 2 minutes on average, I will add in a logger and follow up but I can tell a load request from a normal request. On Jan 15, 6:32 pm, Ikai Lan i...@google.com wrote: Hey everybody, We've been seeing more and more

[appengine-java] Access Failure when authenticating to Restful API

2010-03-03 Thread ljgarcia
Hello everybody, I want to access Delicious via Resftul API http://delicious.com/help/api so I am using a Restful Connection (RestConnection.java) and I get this error: java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator) at

[appengine-java] FinalizableReferenceQueue

2010-03-03 Thread dominity
Hi, guys. Some times I can see I the log something like that: # I 03-03 09:00AM 17.033 com.google.appengine.repackaged.com.google.common.base.FinalizableReferenceQueue $SystemLoader loadFinalizer: Not allowed to access system class loader. # I 03-03 09:00AM 17.050

Re: [appengine-java] FinalizableReferenceQueue

2010-03-03 Thread Chau Huynh
Quote: You can ignore it. It's a red herring http://tinyurl.com/y8tlejthttp://www.google.com/url?sa=Dq=http://tinyurl.com/y8tlejtusg=AFQjCNFIMnUbbdgwZwSca1czKxGrbQFz8Q. ( https://groups.google.com/group/google-appengine-java/browse_thread/thread/9d019bda2070e382 ) On Thu, Mar 4, 2010 at 12:04 AM,

[appengine-java] Made a Facebook Page For App Engine For Java Issues

2010-03-03 Thread Robert Lancer
Google Please Fix App Engine For Java http://www.facebook.com/pages/Google-Please-Fix-App-Engine-For-Java/372774516220 Enough is enough! Sometimes app engine for java works like a dream, other times your page takes two minutes to load or throws an error. How could google even tolerate a load

Re: [appengine-java] Access Failure when authenticating to Restful API

2010-03-03 Thread Chummar Maly
can you pls. post the code. On Wed, Mar 3, 2010 at 9:06 AM, ljgarcia leylaj...@gmail.com wrote: Hello everybody, I want to access Delicious via Resftul API http://delicious.com/help/api so I am using a Restful Connection (RestConnection.java) and I get this error:

[appengine-java] Re: Made a Facebook Page For App Engine For Java Issues

2010-03-03 Thread Corby
Somehow, I suspect that the continual, specific feedback on this group is doing more to effect change in GAE/J than your MySpace band or whatever. Besides, your page sucks. Not enough hot ladies. -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Re: How to get testing working with anything other than the default queue

2010-03-03 Thread David Chandler
I found a way to invoke a task servlet using ServletUnit (but not LocalTaskQueue.runTask(), alas) and wrote it up: http://turbomanage.wordpress.com/2010/03/03/a-recipe-for-unit-testing-appengine-task-queues/ /dmc On Mar 2, 11:42 pm, David Chandler turboman...@gmail.com wrote: I'm using the

[appengine-java] Re: Made a Facebook Page For App Engine For Java Issues

2010-03-03 Thread Robert Lancer
Haha, I agree. But google groups lacks the key ability to post pictures videos... Also a large number of fans on a group titled Google Please Fix App Engine For Java would send a loud message. On Mar 3, 1:11 pm, Corby cep...@gmail.com wrote: Somehow, I suspect that the continual, specific

[appengine-java] Re: lost sub entity

2010-03-03 Thread Gunnar
Hi, I finally found a solution like this: list.add(first.copy()); where copy creates a new SubEntity and copies all fields except the key to the new instance. Do you regard this as a bug? Gunnar On 2 mar, 20:28, Gunnar gunnar@gmail.com wrote: I've uploaded my app to google with the same

[appengine-java] Re: Made a Facebook Page For App Engine For Java Issues

2010-03-03 Thread Guillermo Schwarz
So far I think GAE/J has been pretty responsive to most of the defects found and request for new functionality/features. For example you can host yourapp.com landing page somewhere so that it loads an image from yourapp.appspot.com and therefore loads your app. This way your users would see your

[appengine-java] Re: Made a Facebook Page For App Engine For Java Issues

2010-03-03 Thread Robert Lancer
Granted thats a band-aid that might fix that one problem, but what do you do when query latency is currently over 1200 ms, http://code.google.com/status/appengine/detail/datastore/2010/03/03#ae-trust-detail-datastore-query-latency I would like google to slow google.com down to 1200 ms query in

[appengine-java] http://www.w3.org/2010/Talks/0303-socialcloud-tbl/#(1

2010-03-03 Thread Leyla Jael García Castro
http://www.w3.org/2010/Talks/0303-socialcloud-tbl/#(1 On 3 March 2010 15:06, ljgarcia leylaj...@gmail.com wrote: Hello everybody, I want to access Delicious via Resftul API http://delicious.com/help/api so I am using a Restful Connection (RestConnection.java) and I get this error:

[appengine-java] charged for data we cannot delete?

2010-03-03 Thread Houston startup coder
If the Blobstore is not allowing us to delete files, will we be charged for that data? -- 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

Re: [appengine-java] Re: Expires header automatically added (bug?)

2010-03-03 Thread Ikai L (Google)
Browsers use the expires header in conjunction with a URL locally to determine whether or not to request a resource. If this has expired or does not exist, browsers will then do a conditional get. The web server will return a 304 response if the resource has not been modified, so this will add

Re: [appengine-java] Receiving Email: url-pattern problem

2010-03-03 Thread Ikai L (Google)
Try setting the url-pattern to either string* or: url-patternstr...@appid.appspotmail.com/url-pattern On Sun, Feb 28, 2010 at 10:38 AM, Dimedrol zaharov.i...@gmail.com wrote: Hello there! I\m trying to setup a email reciever, with a little help of the following doc:

Re: [appengine-java] number of tasks in queue

2010-03-03 Thread Ikai L (Google)
You'll want to star this issue: http://code.google.com/p/googleappengine/issues/detail?id=1948 On Tue, Mar 2, 2010 at 1:03 PM, Nichole nichole.k...@gmail.com wrote: Hello, In the near future will there be an API method to get the current number of tasks in a queue? Thanks for your time,

Re: [appengine-java] Re: Expires header automatically added (bug?)

2010-03-03 Thread Don Schwarz
On Wed, Mar 3, 2010 at 1:52 PM, Ikai L (Google) ika...@google.com wrote: Browsers use the expires header in conjunction with a URL locally to determine whether or not to request a resource. If this has expired or does not exist, browsers will then do a conditional get. The web server will

Re: [appengine-java] charged for data we cannot delete?

2010-03-03 Thread bimbo jones
Hi, I have that problem too.. i can't delete them from the admin site, what i've done is a small servlet that removes the blobs by key. 2010/3/3 Toby Reyelts to...@google.com What problems are you seeing deleting files from Blobstore? On Wed, Mar 3, 2010 at 2:32 PM, Houston startup coder

[appengine-java] getting host headers in Java

2010-03-03 Thread deuce4
Hi, I would like to use the subdomains of my appspot.com domain to set initial user parameters. I'm not really sure how to do this in Java. Google provides the Python example self.request.headers[Host]. Can anyone help with the Java code to parsing and processing subdomains in the appspot.com

[appengine-java] Performance Issues

2010-03-03 Thread infoatdfx
I'm having a Google App Engine account for my applications, and I'm also an administrator of an application which was not created under my account. The application that was not created under my account (but for which I'm an administrator) doesn't have much traffic yet, but when it goes live will

[appengine-java] Deploying JavaFX application on Google App Engine for Java

2010-03-03 Thread Sanjeev
Hi All, I am just looking for any tutorial or any standard process which can be followed so as to deploy a JavaFX application on Appengine for java ... Please help me in this regard. I already found 1 page regarding this but it was dedicated for the Python appengine. Let me know if deploying a

Re: [appengine-java] getting host headers in Java

2010-03-03 Thread Stephan Hartmann
It is part of the servlet spec: javax.servlet.ServletRequest.getServerName() 2010/3/3 deuce4 lynx...@gmail.com Hi, I would like to use the subdomains of my appspot.com domain to set initial user parameters. I'm not really sure how to do this in Java. Google provides the Python example

[appengine-java] Re: App Engine and Spring slow start up

2010-03-03 Thread luijar
Thanks Toby, Can you point me to the threads you talk about? Thanks, Luijar On Mar 2, 4:15 am, Toby toby.ro...@gmail.com wrote: Hi luijar, I had the same problem -but no time-out- and I got some better performance by removing all autowire and annotation-scan stuff and also by putting

[appengine-java] Re: App Engine and Spring slow start up

2010-03-03 Thread luijar
I think it's insane that it takes this long: org.springframework.web.context.ContextLoader initWebApplicationContext: Root WebApplicationContext: initialization completed in 17914 ms The only reason I haven't taken Spring out and use Struts for MVC and Guice for DI (or equivalent technologies)

[appengine-java] Re: App Engine and Spring slow start up

2010-03-03 Thread Robert Lancer
The problem is one I face without even using spring, google loves to lecture people on how the web should be fast but this doesn't apply to their own app engine platform. Express your frustration at my fb page http://www.facebook.com/pages/Google-Please-Fix-App-Engine-For-Java/372774516220 feel

[appengine-java] Re: charged for data we cannot delete?

2010-03-03 Thread Houston startup coder
Pardon, I kept getting sidetracked and had only been reading the prose in the help docs--never saw the delete method in the API till just now, so I didn't know I could easily just do this: BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();

[appengine-java] Google Plugin for Eclipse 1.3 Preview is now available

2010-03-03 Thread Keith Platfoot
Hi everyone, Last month, I announced some of the changes we had planned for the 1.3 version of the Google Plugin for Eclipse. To recap, this release is focused on making life easier for developers using GWT/App Engine alongside third-party tools, including Maven and Eclipse for Java EE. In my

[appengine-java] Re: Performance Issues

2010-03-03 Thread Robert Lancer
Join the google dosent care about app engine performance club. To see how much google dosent care just check out their own app engine status page. http://code.google.com/status/appengine Isnt it funny how google lectures the whole world about how the web should be faster? Also some things you

[appengine-java] Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
Hi, I am using Spring MVC. The application being cycled out overly aggressively (sometimes less than 1 min) http://groups.google.com/group/google-appengine-java/browse_thread/thread/b57e6c4895333fa8/6ef609f7da203ab3?lnk=gstq=overly#6ef609f7da203ab3 I register an HttpSessionListener to listen

Re: [appengine-java] Using dynamic subdomains

2010-03-03 Thread John Patterson
Just use the HttpServletRequest.getServerName() method and parse the sub domain out. On the local server perhaps you could just use a query parameter instead to override the sub domain or set up an entry in your hosts file like 127.0.0.1 user.domain.com On 4 Mar 2010, at 04:25, DutrowLLC

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
I enable billing the set the quota to 3 times over the free quota for CPU Time. However, sometimes the request still fails with HTTP 500 error after app is being cycled out and loading request is being performed. In the log I see the following message: This request used a high amount of CPU,

[appengine-java] Where is my stack trace?

2010-03-03 Thread David Peters
I haven't been able to find my exception stack traces in the app engine logs (from e.printStackTrace()). Checked error, info, warning, etc.. Where should they be logged? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread John Patterson
Hi Wong, I had this problem a while back when I was doing some intensive computations in my code. Eventually the entire app would become blocked for some minutes. The limit for API CPU is a lot higher than for CPU usage in your own code. I didn't come up with a solution to the problem -

Re: [appengine-java] Where is my stack trace?

2010-03-03 Thread John Patterson
Try java.util.logging.Logger.log(Level level, String msg, Throwable thrown) On 4 Mar 2010, at 08:40, David Peters wrote: I haven't been able to find my exception stack traces in the app engine logs (from e.printStackTrace()). Checked error, info, warning, etc.. Where should they be logged?

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread gholler
No, the 30 second limit is a hard limit. If a request can't finish in 30 seconds (or somewhat earlier), you get an exception. You then have an undetermined amount of time before the app engine kills your request and returns a 500 status code. You wouldn't happen to be using Spring, would you? On

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread gholler
Okay, the first thing mentioned was that you are using Spring. We are doing an experiment removing Spring in our app to see what impact it has on startup time. On Mar 3, 7:57 pm, Wong lhw...@gmail.com wrote: Hi, I am using Spring MVC. The application being cycled out overly aggressively

[appengine-java] Spring breaks in GAE 1.3.1 - ClassPathXmlApplicationContext - Security Constraint

2010-03-03 Thread niraj
My app seems to be getting an Error in Loading Spring. Note the exception below. Conditions: 1. The Code works fine in Local Environment - No problem. 2. the Problem is only on the AppEngine Physical instance. 3. Seems like there is a new Security Constraint introduced that is causing the problem

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
This problem normally happens In the case of loading requests, though, the execution time is artificially longer due to the extra application initialization required.. http://code.google.com/appengine/kb/java.html#Do_I_Need_To_Be_Concerned_About_High_CPU_Warnings I am using Spring MVC version

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread yjun hu
Can anyone confirm that Spring MVC version 2.5.6 is working fine on GAE? No, the same problem is also in spring2.5 there is no better way to avoid that, you can try to run cron job to make your application reactive . Hitting a url every 1 miute, i did this ,that's all i did. On Thu, Mar 4,

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
I used to run cron to make request every 1 min to a jsp which only write out a line of text. I uses a HttpSessionListener to listen for any loading request/startup. Even ping every 1 min the loading request still happens. I still got 500 error due to the request CPU is is over the limit. On

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread yjun hu
maybe you'd better run hitting an action class, not a simple jsp page. On Thu, Mar 4, 2010 at 11:01 AM, Wong lhw...@gmail.com wrote: I used to run cron to make request every 1 min to a jsp which only write out a line of text. I uses a HttpSessionListener to listen for any loading

[appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread Wong
I am not sure what do you mean by action class. Could you please give me a pointer? I made change to ping a Controller class every 1 min. Same problem persists. On Mar 4, 11:06 am, yjun hu itswa...@gmail.com wrote: maybe you'd better run hitting an action class, not a simple jsp page. On

Re: [appengine-java] Re: Enable billing to avoid HardDeadlineExceededError?

2010-03-03 Thread yjun hu
Sorry, i'm using spring+struts , action class means controller in spring mvc. run cron job to make reactive, it's a temporary way, just make this problem always be happen On Thu, Mar 4, 2010 at 11:51 AM, Wong lhw...@gmail.com wrote: I am not sure what do you mean by action class. Could you

[appengine-java] Multiple transactions at the same time

2010-03-03 Thread DutrowLLC
I was hoping to have several transactions going at the same time and if anything failed in anyone of them, then I could roll back all of them. I set up some code to do this, looks something like the code below, there may be some other problems, but the one that I see is that what if there is an

[appengine-java] Is there any roadmap for app engine xmpp service.

2010-03-03 Thread xiuxiu
Want the customize username and domain name so much~~!!! Looks forward to the timeframe of it. -- 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

[appengine-java] Programmatically schedule cron jobs

2010-03-03 Thread Thomas Oldervoll
Is there a way to programmatically schedule new cron jobs, preferably using the Java API? I would like to offer my users the chance to schedule actions to happen at a later time, but from reading http://code.google.com/appengine/docs/java/config/cron.html it sounds like the only way to add a new

Re: [appengine-java] Programmatically schedule cron jobs

2010-03-03 Thread yjun hu
By visitting one url in cron.xml, and i think you can do anything for this url. On Thu, Mar 4, 2010 at 11:04 AM, Thomas Oldervoll thomas.olderv...@gmail.com wrote: Is there a way to programmatically schedule new cron jobs, preferably using the Java API? I would like to offer my users the

Re: [appengine-java] Deploying JavaFX application on Google App Engine for Java

2010-03-03 Thread Sanjeev Singh
Here is the link .. http://110j.wordpress.com/2008/12/31/javafx-on-google-app-engine/ Seems we have to register static folder in app.yaml and followed by other process .. Don't what is applicable in App-engine for java. It seems that folder or some files I have to declare in web.xml or some other