[appengine-java] Re: asking question

2010-02-18 Thread vbart
Hi, are you sure, that they are really the same ? I guess that it can only seem that two entities have the same generated numeric ID, but maybe they have ancestors ? Because if they have ancestors, then the keys are different in fact. For example: KeyFactory.Builder("EntityA", 1001).addChild("E

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

2010-02-18 Thread Sushama Khadilkar
If you want to update the record using EntityManager , then just use em.merge(Object). This the link to the Example:: http://www.javabeat.net/articles/81-jpa-in-netbeans-61-4.html -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To

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

2010-02-18 Thread Ivan Pardo
ive entered this is a bug on the maps api bug tracker. ive tried on 2 google apps accounts and ive asked others to confirm. it looks like geocoding is impossible from google apps servers. On Feb 18, 6:25 pm, Ivan Pardo wrote: > At least now I can be certain that it's not a problem with my code.

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

2010-02-18 Thread Manjoor
PS: I have added pm.close(); after pm.makePersistent(u); still it does not update the record... I have read most of the article of app-engine and datastore.. On Feb 19, 10:44 am, Manjoor wrote: > Thanks for the reply but it does not work. Have a look at this. > > I have checked it in debugger, I

[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 = req.getParameter

[appengine-java] update to sdk1.3.1

2010-02-18 Thread AJ Chen
I ran an update from eclipse. The sdk1.3.1 is installed in the eclipse/plugin dir, but the sdk in my existing GAE project still points to the old version 1.3.0. Should the update automatically update the existing project? if not, how to change it manually? thanks, -aj -- You received this messag

[appengine-java] log4j init fails

2010-02-18 Thread AJ Chen
I have log4j config in appengine-web.xml, but GAE still complains about it: log4j:WARN No appenders could be found for logger (DataNucleus.Connection). log4j:WARN Please initialize the log4j system properly. Is there anything else that should be set? thanks, -aj

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

2010-02-18 Thread Ivan Pardo
At least now I can be certain that it's not a problem with my code. I can only hope that Google can fix this problem ASAP, as my application is absolutely useless without a working geocoder. On Feb 18, 5:44 pm, Jeff Schnitzer wrote: > I'm also seeing 620 errors for most (possibly all) of my reve

[appengine-java] web.xml Question in GAE

2010-02-18 Thread nicolas melendez
*Hi there, i want a filter to /, so when a user type www.foo.com, it enter to my application. But i tried and something is wrong with my web.xml in GAE, Can anybody help me please! My web.xml is* http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="

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

2010-02-18 Thread Jeff Schnitzer
I'm also seeing 620 errors for most (possibly all) of my reverse geocode requests. Jeff -- 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 fr

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

2010-02-18 Thread Ivan Pardo
I used my personal google account to sign up for app engine and uploaded my project to a new app i created. same 620 error. Thanks for checking! On Feb 18, 2:50 pm, "Ikai L (Google)" wrote: > Let me check to make sure we're not having problems with geocoding API calls > from App Engine APIs. >

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 wrote: > I have been running the same geocoding service with my app, > truxmap.com for the last several months. for some reason, since the > server main

Re: [appengine-java] Citical Security error in Accounts Java API: request.getUserPrincipal() gets wrong username/email

2010-02-18 Thread Ikai L (Google)
Yes, this seems to make sense. Being logged into Google Apps is independent of being logged into an App Engine application. They don't use the same cookie. App Engine's User service allows you to use Google logins, but not the Google Apps session. On Tue, Feb 16, 2010 at 3:29 AM, tsschnoc wrote:

[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 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 a path relat

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 wrote: > Dear all, >I am getting NullPointerException in the following code for the > transaction tx. Please reply me soon. > > Code: > > pa

[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

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

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 (/.metadata/.log) that occurred around the same time as the NPE you reported? Keith 2010/2/17 sunzf > hello: > > when i enhance my class i get the follow error! > if i have jsp file in my workspace it can't be work(may be)! >

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

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 wrote: > I have been searching for sample java progr

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

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 wrote: > Hi, > > It appeared that long init problem is well known for Grails users: > http://jira.code

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

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

[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] 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: 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 wrote: > The problem is that

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

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

[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] Re: cloud-based teaching system

2010-02-18 Thread Jeevan
On Feb 18, 6:17 pm, Jeevan Dongre 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 < > > nicanor.b

[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

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 /test1 or, if you need a path info in your servlet, at least /test1* 2010/2/18 barak > >test1 >com.TestServlet > > >test1 >/test1/* > > > > On Feb 18, 6:41 pm, Stephan Hartmann wrote: > > You sayhttp://appid.appspot.com/test1/h

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

2010-02-18 Thread barak
test1 com.TestServlet test1 /test1/* On Feb 18, 6:41 pm, Stephan Hartmann wrote: > You sayhttp://appid.appspot.com/test1/hits the servlet. What happens > without a trailing slash? Is it redirected? > How does your servlet mappings look like? > -- You receive

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 > Hello all, > > I've a test servlet to deploy on gae platform, which just read > paramters from the request and and sysou

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

2010-02-18 Thread barak
Here it comes: public class TestServlet extends HttpServlet { public void doGet( HttpServletRequest req, HttpServletResponse resp ) throws IOException { try { resp.setContentType( "text/plain" ); resp.

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 wrote: > Hello, > > I do have the same Problem (Ubuntu 9.10, Eclipse Galileo, Google > Plugin) my, web-inf/lib fol

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

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

[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 wrote: > You should be able to do the equivalent over http as what you are doing / > would like to do over the s

[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

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 wrote: > Hi Everyone, > > I am a beginner in using GAE, and I

[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

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

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

[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)" 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 wrote: > > Can any one please help me out on getting "GWT Developer Plugin

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

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 enviro

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 > Hi, > Please help me in cron jobs,in google app engine. > My program main code is as follows. > -- >

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

2010-02-18 Thread lakshmi
Hi Alex, Let me say sowjanya1,and sowjanya2 are two apps in GAE.How can i test my mails in sowjanay2,where i send them from sowjanya1.Tell me clearly Thanks, Lakshmi. On Feb 18, 5:03 pm, Alexander Arendar wrote: > You don't need any third party server. > Just reserve one of your deployed app

[appengine-java] Re: Using socket with GAE

2010-02-18 Thread Shai
You can't open a socket, You can however use XMPP and other methods to do what you need. from: http://code.google.com/appengine/docs/whatisgoogleappengine.html "The environment includes the Java SE Runtime Environment (JRE) 6 platform and libraries. The restrictions of the sandbox environment ar

[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 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 send mails testing locally

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 wrote: > Thanks cowper, > really you did a great

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

[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 org.apache.jasper.runtime.JspRuntimeLibrary.getValueFrom

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 pagar

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 seein

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] 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) wrote: > There should be with KeyFactory's builder, but you may not want to go > there: > > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.Builder.html > > > On

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 chan

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

[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 wrote: > in order to send mail in app engine, from address sho

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