[appengine-java] asking question

2010-02-18 Thread sujata pagar
Hi, In my GAE application(Implemented in java) when I insert record in datastore, ID(generated by datastore) gets repeated.Please tell me the solution for my problem. Thanks -- Regards, Sujata... -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: sending mail in google app engine in java

2010-02-18 Thread lakshmi
Hi Sreekanth, Thanks for your reply.Admin address means with which we enter in to admin console.Isn't it. That is my e-mail address, right.Even that too not working.can you tell me clearly,please. On Feb 18, 12:12 pm, Sreekanth Raju sraj...@gmail.com wrote: in order to send mail in app engine,

[appengine-java] cron jobs

2010-02-18 Thread Sowji
Hi, Please help me in cron jobs,in google app engine. My program main code is as follows. -- import java.io.IOException; import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.List; import java.util.Timer;

Re: [appengine-java] Re: how to do initialization at startup?

2010-02-18 Thread Stephan Hartmann
A reliable, high available, scalable and failover tolerant application requires a distributed environment where various application server instances run in different Java VMs on different machines with some kind of loadbalancing in front. So many things that you have to rethink arise from this

Re: [appengine-java] Setting the key of a child entity

2010-02-18 Thread Manny S
Got it. Thanks again Ikai. Manny On Thu, Feb 18, 2010 at 12:16 AM, Ikai L (Google) ika...@google.com wrote: There should be with KeyFactory's builder, but you may not want to go there:

Re: [appengine-java] Re: how to do initialization at startup?

2010-02-18 Thread Conor Power
Addressing the stable situation where the VM is shutdown by GAE, similarly to the Servlet context initialization you can call the Servlet context destroyed listener to take care of any persistence you want to do there. Of course, this doesn't take care of any exceptional circumstances such as a

Re: [appengine-java] Re: sending mail in google app engine in java

2010-02-18 Thread Conor Power
The admin is an email address for some configured as an application developer from the application console. If you're testing from local SDK the email does not get sent so that could be the issue. However for me I see log statements to the effect that the email is being sent so you should be

Re: [appengine-java] asking question

2010-02-18 Thread Conor Power
We don't have too much information to go on here but my best guess would be that you're testing in your local SDK and the local datastore is being re-copied during your build process and as such the keys you are seeing are the same as a previous build? On Thu, Feb 18, 2010 at 8:13 AM, sujata

[appengine-java] JasperException for custom taglib with a custom attribute type

2010-02-18 Thread Nick
Hi, Since upgrading to 1.3.1 I am getting the following runtime error from a JSP that calls a custom taglib that has an attribute of a type that I've defined. org.apache.jasper.JasperException: jsp.error.beans.property.conversion at

[appengine-java] Re: sending mail in google app engine in java

2010-02-18 Thread lakshmi
Thanks cowper, really you did a great help to me.Nearly i am searching for this clarity for two weeks.Thank you very much. But what can i do for sending emails from google app engine. Is there any need with third party server.can you mention those details also please. Thanks, Lakshmi. On Feb

Re: [appengine-java] Re: sending mail in google app engine in java

2010-02-18 Thread Alexander Arendar
You don't need any third party server. Just reserve one of your deployed apps as your test server and test all your mail-sending stuff there. As Conor already explained you can't send mails testing locally. On Thu, Feb 18, 2010 at 2:00 PM, lakshmi sowji.ap...@gmail.com wrote: Thanks cowper,

[appengine-java] Re: sending mail in google app engine in java

2010-02-18 Thread lakshmi
Thanks for your reply. let me try it. On Feb 18, 5:03 pm, Alexander Arendar alexander.aren...@gmail.com wrote: You don't need any third party server. Just reserve one of your deployed apps as your test server and test all your mail-sending stuff there. As Conor already explained you can't

Re: [appengine-java] cron jobs

2010-02-18 Thread bimbo jones
Hi, if you want it to be printed on the browser you should use pw.println(cron); pw.close(); instead of System.out.println(cron); 2010/2/18 Sowji sowji.ap...@gmail.com Hi, Please help me in cron jobs,in google app engine. My program main code is as follows.

Re: [appengine-java] Re: Problems using a ThreadLocal variable

2010-02-18 Thread Esteban Masoero
Hi there, I just wanted to say that I finally fixed the issue, and wanted to share the solution so anyone else using wicket don't have to spend plenty of hours trying to find out what's the problem with this kind of cases. The thing was that, as we all know, the cloud is a distributed

[appengine-java] Google Accounts are killing my application!....

2010-02-18 Thread John V Denley
I have been trying to leverage google accounts for security for my users, but the way its working is really preventing useability within my application, its very frustrating Ive just spent the best part of the last week trying to get the google account login to work in an frame within my

[appengine-java] Re: GWT Developer Plugin for Safari 4.0.4!

2010-02-18 Thread Babgali
Thanks will do that! On Feb 17, 2:06 am, Ikai L (Google) ika...@google.com wrote: Can you ask on the Google Web Toolkit groups? http://groups.google.com/group/Google-Web-Toolkit On Sat, Feb 13, 2010 at 11:11 AM, Babgali babuvi...@gmail.com wrote: Can any one please help me out on

[appengine-java] JavaMail doesn't work

2010-02-18 Thread Raghu
Hi All, I struck at JavaMail application. I tested remotely and locally also. It's not working. please help me. Please share a simple servlet if possible thanks raghu -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

[appengine-java] Re: Google App Engine : web-app being hibernated ?

2010-02-18 Thread Jake
Hey all, Look at (and perhaps post on) http://groups.google.com/group/google-appengine-java/browse_thread/thread/b57e6c4895333fa8/ I've gotten to the point where the instance recycling happens every few seconds (but then works for a bit until I pause). Currently, my application is essentially

[appengine-java] How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread barak
Hello all, I've a test servlet to deploy on gae platform, which just read paramters from the request and and sysout them. While deploying on the development server (via Eclipse plugin) everything works as expected, i.e. http://localhost:/test1?p1=v1 causes the servlet to display the parameter

Re: [appengine-java] Using socket with GAE

2010-02-18 Thread Conor Power
You should be able to do the equivalent over http as what you are doing / would like to do over the socket. And if that's the case there should not be any constraints for you. cowper On Thu, Feb 18, 2010 at 12:01 AM, med@gmail.com med@gmail.comwrote: Hi Everyone, I am a beginner in

[appengine-java] cloud-based teaching system

2010-02-18 Thread Jeevan
hello all am developing an application as mentioned in the subject. am using Eclipse 3.5 Java EE module to develop it. I have downloaded the google plug ins. But the problem with the application is as soon as i create a JSP page in WAR folder my Eclipse console gives an error Description Resource

[appengine-java] Re: Using socket with GAE

2010-02-18 Thread Jake
I can confirm that URLConnection's getOutputStream() works like a charm when my client-side applet needs to send an object to my GAE application. Jake On Feb 18, 10:24 am, Conor Power iamco...@gmail.com wrote: You should be able to do the equivalent over http as what you are doing / would like

Re: [appengine-java] How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread Cristian Nicanor Babula
This is the right way. Maybe showing your servlet's source would help us identify the problem. On 2/18/2010 4:19 PM, barak wrote: Hello all, I've a test servlet to deploy on gae platform, which just read paramters from the request and and sysout them. While deploying on the development server

Re: [appengine-java] cloud-based teaching system

2010-02-18 Thread Cristian Nicanor Babula
Go to Window-Preferences-Java-Installed JREs and add a jdk. Sometimes eclipse detects the jre only. On 2/18/2010 4:51 PM, Jeevan wrote: hello all am developing an application as mentioned in the subject. am using Eclipse 3.5 Java EE module to develop it. I have downloaded the google plug ins.

Re: [appengine-java] cloud-based teaching system

2010-02-18 Thread Jeevan Dongre
Which JRE type should i select is it 1)standard exe environment 2)standard 1.1 3)standard VM and what next? Warm Regards, Jeevan Dongre. || Wisdom is Power || On Thu, Feb 18, 2010 at 6:05 PM, Cristian Nicanor Babula nicanor.bab...@gmail.com wrote: Go to Window-Preferences-Java-Installed

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

2010-02-18 Thread Rajeev Dayal
Hi, I am guessing that you're using Subclipse? If you can reproduce the problem consistently, can you file an issue for this? Thanks, Rajeev On Fri, Feb 12, 2010 at 4:31 AM, Tony tony.kapfenber...@gmail.com wrote: Hello, I do have the same Problem (Ubuntu 9.10, Eclipse Galileo, Google

Re: [appengine-java] How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread Stephan Hartmann
You say http://appid.appspot.com/test1/ hits the servlet. What happens without a trailing slash? Is it redirected? How does your servlet mappings look like? 2010/2/18 barak barak.ya...@gmail.com Hello all, I've a test servlet to deploy on gae platform, which just read paramters from the

[appengine-java] Re: How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread barak
servlet servlet-nametest1/servlet-name servlet-classcom.TestServlet/servlet-class /servlet servlet-mapping servlet-nametest1/servlet-name url-pattern/test1/*/url-pattern /servlet-mapping On Feb 18, 6:41 pm, Stephan Hartmann hartm...@metamesh.de wrote: You

Re: [appengine-java] Re: How to pass paramters to servlet deployed on GAE?

2010-02-18 Thread Stephan Hartmann
As url-patter i would use url-pattern/test1/url-pattern or, if you need a path info in your servlet, at least url-pattern/test1*/url-pattern 2010/2/18 barak barak.ya...@gmail.com servlet servlet-nametest1/servlet-name servlet-classcom.TestServlet/servlet-class /servlet

[appengine-java] Re: How to activate java-type extension for JPA

2010-02-18 Thread Jeremy Norris
There is some more information about this over here: http://www.datanucleus.org/servlet/forum/viewthread_thread,5975 Why is Google disabling this functionality? What potential harm comes from using ObjectStringConverters for simple types, especially all the common ones datanucleus provides? On

[appengine-java] Re: cloud-based teaching system

2010-02-18 Thread Jeevan
On Feb 18, 6:17 pm, Jeevan Dongre jeevan.don...@gmail.com wrote: Which JRE type should i select is it 1)standard exe environment 2)standard 1.1 3)standard VM and what next? Warm Regards, Jeevan Dongre. || Wisdom is Power || On Thu, Feb 18, 2010 at 6:05 PM, Cristian Nicanor Babula

[appengine-java] An alternative JDO join technique

2010-02-18 Thread Steve Pritchard
In September 2009 I started to rebuild a site using a TomCat hosted web server I had developed that improved upon many good ideas found in Drupal. In December 2009 I discovered Google's AppEngine, saw the potential, and decided to re-target my system to use this technology. The system, being SQL

[appengine-java] Potential JDO modeling solution

2010-02-18 Thread Steve Pritchard
In September 2009 I started to rebuild a site using a TomCat hosted web server I had developed that improved upon many good ideas found in Drupal. In December 2009 I discovered Google's AppEngine, saw the potential, and decided to re-target my system to use this technology. I had designed the

[appengine-java] Exception when Calling UserService.createLogoutURL

2010-02-18 Thread Viji Sarathy
Hi, I am using App Engine 1.2.6 and GWT 1.7.1. I have a App Engine application that uses GWT and authenticates users with Google Accounts. I have been able to make the application force a user to sign in with the Google Account and then redirect the user to the page that was requested. I am

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

2010-02-18 Thread Alex
Hi, It appeared that long init problem is well known for Grails users: http://jira.codehaus.org/browse/GRAILSPLUGINS-1736 I wasted couple of weeks to create app I cannot run. Hope that SpringSource and Google can solve the issue. On Feb 17, 7:41 pm, Stephan Hartmann hartm...@metamesh.de wrote:

[appengine-java] Re: Updating a broken app?

2010-02-18 Thread boardtc
I am wondering if the case in the message means it is not picking up the app_id properly? ...the message says: You do not have permission to modify this app (app_id=u'MyProject'). though I have set google.appengine.application=myproject and I was able to previously deploy a version. On Feb 17,

[appengine-java] Re: Updating a broken app?

2010-02-18 Thread boardtc
Right so the message says: you do not have permission to modify this app (app_id=u'MyProject') I am wondering if the case means it's not picking up my app-id (google.appengine.application=myproject). Not sure why this would be since it worked for the first deployment to GAE. On Feb 17, 6:51 pm,

[appengine-java] Editing records in datastore (using JAVA)

2010-02-18 Thread Manjoor
I have been searching for sample java program to add, edit and delete records. I found many example showing how to add and delete records but not a single about editing. Do anyone have a sample source link to show how to edit a record ??? -- You received this message because you are subscribed

[appengine-java] java.lang.RuntimeException: Version not ready.

2010-02-18 Thread Swiki
Hi, I just signed up for google app engine and installed the Eclipse plugin. I did not add any other code to the default app and am able to run the app in my local eclipse env without any problem. I get error while deploying the app to google server my app id is : twittermutuality Here is

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

2010-02-18 Thread Don Schwarz
Have you deployed your application with the 1.3.1 SDK? That release turned on offline precompilation by default, which is an optimization that may help. On Thu, Feb 18, 2010 at 7:59 AM, Alex chasov...@gmail.com wrote: Hi, It appeared that long init problem is well known for Grails users:

[appengine-java] Re: Google Accounts are killing my application!....

2010-02-18 Thread Brian
You shouldn't use a frame. It is a security problem, and right of google login code to break out of it. After they make a new account, if not using a frame, I believe it forwards the user back to the page they were trying to go to. Seems to work pretty well. On Feb 18, 8:40 am, John V Denley

Re: [appengine-java] Editing records in datastore (using JAVA)

2010-02-18 Thread Alexander Arendar
Hi Manjoor, if you are learning JDO you should read this article: http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html There is a small part on updating the objects. On Thu, Feb 18, 2010 at 5:55 PM, Manjoor manjoora...@gmail.com wrote: I have been searching

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-18 Thread Jake
The Google App Engine instructions focus on JDO for the datastore implementation. JDO doesn't have the traditional update function. You either modify it and close the persistence manager that returned the object (it knows it changed and updates accordingly) or you just persist the object again

Re: [appengine-java] I cann't enhance my class?

2010-02-18 Thread Keith Platfoot
That's quite odd. Are there any other exceptions in your error log (workspace/.metadata/.log) that occurred around the same time as the NPE you reported? Keith 2010/2/17 sunzf fige...@hotmail.com hello: when i enhance my class i get the follow error! if i have jsp file in my workspace it

[appengine-java] cloud computing event: Intelligence from the Cloud

2010-02-18 Thread AJ Chen
SDForum's next event will talk about google cloud computing and intelligence. AppEngine team member Wesley Chun will present app engine. Andrew Lampitt from Jaspersoft will talk about BI and cloud. I thought some of you might be interested in the topic. Time: 6:30-9pm, March 3rd, 2010. Location:

[appengine-java] Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-18 Thread Ivan Pardo
I have been running the same geocoding service with my app, truxmap.com for the last several months. for some reason, since the server maintenance last night, nearly all geocodeer requests result in an 620 error. Im using app engine as the host and i havent changed anything in the geocoder class

Re: [appengine-java] Jpa gae nullpoiterException

2010-02-18 Thread Ikai L (Google)
Can you post a stack trace? It's not helpful if we don't know what line of code is causing the exception. On Mon, Feb 15, 2010 at 11:53 PM, sujata pagar suja.paga...@gmail.comwrote: Dear all, I am getting NullPointerException in the following code for the transaction tx. Please reply me

[appengine-java] Re: filereading error

2010-02-18 Thread cscsaba
Hello Stephan, The leading slash was the problem. Thanks for your help really. cscsaba On Feb 17, 8:32 pm, Stephan Hartmann hartm...@metamesh.de wrote: How do you access your file? I use ServletContext.getResourceAsStream(/csv/countries.csv); If you use java.io.File, AFAIK you have to use

Re: [appengine-java] Google maps geocoder responds with 620 error since last nights server maintenance

2010-02-18 Thread Ikai L (Google)
Let me check to make sure we're not having problems with geocoding API calls from App Engine APIs. On Thu, Feb 18, 2010 at 2:26 PM, Ivan Pardo trux...@gmail.com wrote: I have been running the same geocoding service with my app, truxmap.com for the last several months. for some reason, since

[appengine-java] Re: Editing records in datastore (using JAVA)

2010-02-18 Thread Manjoor
Thanks for the reply but it does not work. Have a look at this. I have checked it in debugger, It successfuly fetch desired record. but after changing it does not saved. No error :( SMSUser u = pm.getObjectById(SMSUser.class,tu.UserId); u.ContractPerson =