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

2010-02-17 Thread Sreekanth Raju
in order to send mail in app engine, from address should be either admin or developer email id -- 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 unsubscr

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

2010-02-17 Thread lakshmi
Hello Henning, Thanks for your reply. here is my full code with which i am trying to send email from Google app engine. import java.io.IOException; import java.io.PrintWriter; import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session

Re: [appengine-java] Re: NullPointerException at Transaction.commit()

2010-02-17 Thread sujata pagar
Hi Max, Will you please tell me can the datastore be relational?if so then how can we make foreign key of one table visible in another table having one-to-many relationship. Thanks. -- Regards, Sujata... -- You received this message because you are subscribed to the Google Groups "Google App

[appengine-java] Re: NullPointerException at Transaction.commit()

2010-02-17 Thread Sushama Khadilkar
Max, Actually that problem is solved .I completely changed my POJO's and that error is gone . But now i have one more question to you Question How can i send a list of employees in a particular department , because i tried it using Set & List but it is giving me a error . So could you plz te

[appengine-java] Re: Production Strange behavior for Struts 2 Iterator Tag

2010-02-17 Thread MKumar
Hi, Thanks for the reply. Well I had not included <%@ page isELIgnored="false" %> at top of the page. But Now I am happy that my code is running on production too. I don't know how this miracle has happened. I had changed little bit : "> To notice changed " to ' When I initially

[appengine-java] Re: Unable to update app: Version not ready

2010-02-17 Thread Shai
Should we monitor this thread for updates ? or just try again and etc ? On Feb 18, 5:45 am, App Engine Team wrote: > This is a known issue resulting from today's schedule maintenance. > We're currently working on a fix, but there is a work around that > should work for most developers: > > 1. De

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

2010-02-17 Thread tsp...@green20now.com
AJ, With GAE, many fundamental assumptions should be questioned. For example, why do you need a counter? Most developers use a counter for the key, jusst because they always have. With GAE you need to often challange the fundamental requirements and rethink the approach. Overall all I thin

[appengine-java] Re: I can't access my apps dashboard since server maintenance.

2010-02-17 Thread Ivan Pardo
I was able to get on it about 45 minutes ago but from that screen i wasnt able to successfully load any of the tools. i havent been able to get back onto the admin console since. i can however, get on the admin console for the rest of the apps registered under this user name. On Feb 17, 8:19 pm,

[appengine-java] Re: I can't access my apps dashboard since server maintenance.

2010-02-17 Thread App Engine Team
Can you try again? The admin console seems to be responding correctly. On Feb 17, 8:14 pm, Ivan Pardo wrote: > I can't do this because I can't even access the admin console.  I > don't want to deploy a new version unless I know what I can switch > back to the old version, and at this point, I don

[appengine-java] Re: I can't access my apps dashboard since server maintenance.

2010-02-17 Thread Ivan Pardo
I can't do this because I can't even access the admin console. I don't want to deploy a new version unless I know what I can switch back to the old version, and at this point, I don't see how I could do that. app id: truxmap On Feb 17, 7:42 pm, App Engine Team wrote: > This is a known issue re

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

2010-02-17 Thread John Patterson
A reliable counter needs to be stored in the datastore and sharded - this has always been the only place to put data that your app depends on. Static variables are only useful for caching a small amount of data for speed - never to be depended on. Also keep in mind that your app is not ju

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

2010-02-17 Thread AJ Chen
There is significant difference between dealing with infrequent crash event and dealing with frequent shutdown by GAE. The difference is huge when you want to have some intermediate data in memory for performance reason. When there is a system crash, you just start over, which is tolerable in most

[appengine-java] Re: Urgent - My App isn't running since the server maintenance !!

2010-02-17 Thread Shai
The under construction page isn't being used. The application serves a chrome extension called SwimmingSession But it came back top life now so I'm relaxed again. A but scared to try deploying again :( On Feb 18, 5:44 am, Shai wrote: > Yes, I know the console seems fine. > but try to access in

[appengine-java] Re: Unable to update app: Version not ready

2010-02-17 Thread App Engine Team
This is a known issue resulting from today's schedule maintenance. We're currently working on a fix, but there is a work around that should work for most developers: 1. Deploy your application as a new version. Please do not constantly attempt to redeploy your app. Your app is already in the queue

[appengine-java] Re: Urgent - My App isn't running since the server maintenance !!

2010-02-17 Thread Shai
Yes, I know the console seems fine. but try to access in url mapped in my application and it fails. If I try the specific version url it work's ok but that doesn't help me OK, just tested again and its suddenly ok Thanks for helping Shai On Feb 18, 5:41 am, App Engine Team

[appengine-java] Re: Urgent - My App isn't running since the server maintenance !!

2010-02-17 Thread App Engine Team
Your application seems to be serving "Under Construction" now. On Feb 17, 7:41 pm, App Engine Team wrote: > Your application seems to be serving the latest version according to > the admin console. > > Can you tell me if you're using a redirect or something similar? > > On Feb 17, 7:33 pm, Shai

[appengine-java] Re: I can't access my apps dashboard since server maintenance.

2010-02-17 Thread App Engine Team
This is a known issue resulting from today's schedule maintenance. We're currently working on a fix, but there is a work around that should work for most developers: 1. Deploy your application as a new version. Please do not constantly attempt to redeploy your app. Your app is already in the queue

[appengine-java] Re: Urgent - My App isn't running since the server maintenance !!

2010-02-17 Thread App Engine Team
Your application seems to be serving the latest version according to the admin console. Can you tell me if you're using a redirect or something similar? On Feb 17, 7:33 pm, Shai wrote: > Need urgent help, > I tried deploying a new version after the server maintenance and it > kept failing. > > N

[appengine-java] Re: Unable to update app: Version not ready

2010-02-17 Thread Shai
Same problem here, tried many time and now my app isn't working at all (I opened a separate thread) On Feb 18, 4:48 am, John Patterson wrote: > Jut keep trying... it happens at busy times. > > On 18 Feb 2010, at 09:43, Andrei wrote: > > > > > i am getting this now > > Unable to update app: Versio

[appengine-java] Urgent - My App isn't running since the server maintenance !!

2010-02-17 Thread Shai
Need urgent help, I tried deploying a new version after the server maintenance and it kept failing. Now production version isn't online... I need of urgent help App ID: SwimmingSession -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" gro

[appengine-java] I can't access my apps dashboard since server maintenance.

2010-02-17 Thread Ivan Pardo
My app is at truxmap.appspot.com. I tried deploying several times during server maintenance because I saw that my app was having trouble writing to the datastore and i thought it was a problem on my end. Every time i received a 500 error. Once i read that maintenance was going on, I quit trying t

Re: [appengine-java] Unable to update app: Version not ready

2010-02-17 Thread John Patterson
Jut keep trying... it happens at busy times. On 18 Feb 2010, at 09:43, Andrei wrote: i am getting this now Unable to update app: Version not ready when uploading app -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to

[appengine-java] Unable to update app: Version not ready

2010-02-17 Thread Andrei
i am getting this now Unable to update app: Version not ready when uploading app -- 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

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

2010-02-17 Thread Jeremy Norris
I have a simple JPA @Entity that has a property of type java.util.Locale. When I try and persist this, I get the following error: >> java.lang.IllegalArgumentException: locale: java.util.Locale is not a >> supported property type. >> at >> com.google.appengine.api.datastore.DataTypeUtils.c

[appengine-java] Using socket with GAE

2010-02-17 Thread med....@gmail.com
Hi Everyone, I am a beginner in using GAE, and I was wondering if it was possible to use socket for getting simple msg from the client as it's essential in my application. And Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" grou

Re: [appengine-java] Re: How to make a query searching by an "@PrimaryKey String" field from the console using GQL

2010-02-17 Thread Ikai L (Google)
I apologize - I realize that you are asking how to do this from the console. I *believe* this is doable using the encoded Key (stringToKey()). Which GQL queries have you tried? On Wed, Feb 17, 2010 at 5:47 PM, Ikai L (Google) wrote: > Read up on this: > > > http://code.google.com/appengine/docs/

Re: [appengine-java] Re: How to make a query searching by an "@PrimaryKey String" field from the console using GQL

2010-02-17 Thread Ikai L (Google)
Read up on this: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.html Here's some code that should work (warning, I have not tested it, I am doin

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

2010-02-17 Thread 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)! now i enhance my class in other worksace it's only my enhance class,it work ok! Message: An internal error occurred during: "DataNucleus Enhancer". Exception Stack Trace:

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

2010-02-17 Thread Brian
It is unknown. Google won't tell or guarantee a time, because it will change vs on traffic to your app, traffic to other apps, number of apps running, number of servers Google has dedicated to Google App Engine, etc. etc. etc. Could be up forever, or could be up 1 second before a shutdown. Can't c

[appengine-java] "Ghost" rows in Datastore - cant get some rows in a queries until I resave them in the Datastore viewer

2010-02-17 Thread Shai
HI, I encountered something strange when running queries in my application so I went to the Datastore Viewer and reproduced it in there, maybe someone can help me out: I have a table with a string column named 'owner' and + int column names 'seesionId' (+ some irrelevant columns) Everything is re

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

2010-02-17 Thread Stephan Hartmann
Hi AJ, Your consideration is not specific to GAE. You always have the potential risk that a server could crash and then all your unstored data changes will get lost. So for critical data you should use a write-through cache. However, in a distributed environment like GAE (but not specific to GAE,

Re: [appengine-java] select fails silently

2010-02-17 Thread Ikai L (Google)
That exception is harmless and not related to the timeout issue. What's likely happening is that the delete is happening on a loading request from a cold start. The recommended approach is to break the deletion into smaller tasks and push to the task queue. Can you give that a try? On Fri, Feb 12,

[appengine-java] Updating a broken app?

2010-02-17 Thread boardtc
I have a gae application loaded up, though my first attempt is not working due to me not testing locally first. Now when I try and do an update I get "you do not have permission to modify this app". My app_id is correctly set and I am using the right email and password. Do I need to disable and de

[appengine-java] Which version of JSTL?

2010-02-17 Thread alexryan
I do not seem to be able to find doc on which version of JSTL that the app engine supports. Does anyone know this? Does anyone know the way to set this up such that it will work in the local Eclipse environment and the app engine? -- You received this message because you are subscribed to the Goo

[appengine-java] Updating a broken app?

2010-02-17 Thread boardtc
I have a gae application loaded up, though my first attempt is not working due to me not testing locally first. Now when I try and do an update I get "you do not have permission to modify this app". My app_id is correctly set and I am using the right email and password. Do I need to disabela nd dl

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

2010-02-17 Thread AJ Chen
yes, the new console is a good addition. however, because the app can be shutdown/restarted by GAE at any time, you would still need to put the initialization code in context listener (or similar place) so that it will be called automatically when the app is restarted. I just realize a potential m

[appengine-java] Re: Web XML validation NPE upon launching the 1.3.1 dev server

2010-02-17 Thread Ian Marshall
I have found a work-around to obviate the NPE. Nevertheless, I feel that the GAE/J SDK 1.3.1 has introduced an issue which did not exist in previous versions. I have raised Google App Engine issue 2793 (Dev server web XML validation NPE for empty "welcome-file-list" tag) to detail the problem and

[appengine-java] Deleting Entities By Query or the PersistenceManager's deletePersistentAll()

2010-02-17 Thread Shai
Hi When I delete entities by query am I limited to 500 entities like when I am using PersistenceManager.deletePersistentAll() ? Also, if we ignore the object fetch time -> what would consume less CPU time ? Can someone estimate if making many "delete" queries of smaller amounts of data would be

[appengine-java] Re: Local datastore is empty after migrating to 1.3.1

2010-02-17 Thread mcrady
Same here. If I switch back to 1.3.0 the local data is still there. Any workarounds to get to 1.3.1 with the local data? On Feb 13, 10:45 am, Brian wrote: > My remote datastore kept the data, mylocalone was wiped. Pretty easy > to make a script to load a DB with test data, not really a good id

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

2010-02-17 Thread Stephan Hartmann
The problem is that the initialization of your app takes longer than 30 seconds. Pinging your app doesn't help when the app is restarted due to redeployment or maintenance, or when high traffic demands a second instance. You should try to reduce your startup time. regards, Stephan 2010/2/17 luij

Re: [appengine-java] NullPointerException at Transaction.commit()

2010-02-17 Thread Max Ross (Google)
Can you please post your model object definitions for Employee and Department? Thanks, Max On Mon, Feb 15, 2010 at 11:53 PM, sushama wrote: > import java.util.List; > > import javax.jdo.JDOHelper; > import javax.jdo.PersistenceManager; > import javax.jdo.PersistenceManagerFactory; > import java

Re: [appengine-java] Re: filereading error

2010-02-17 Thread Stephan Hartmann
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 relative to your webapp folder without leading slash, e.g. new File("csv/countries.csv"); regards, Stephan 2010/2/17 cscsaba > Hello Stephan, >

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

2010-02-17 Thread luijar
Great, all of our projects are Spring enabled lol. But I guess it's good that we are not the only ones seeing this, hopefully it gets a little more visibility. We have a cron job (1 min) that tries to keep our application alive by hitting a URL, but it does not do a very good job. It's frustrating

[appengine-java] Re: How would you suggest to have a dynamic "settings" in my app ?

2010-02-17 Thread Ian Marshall
Of course, one can use tags like the following snippet in the file "appengine-web.xml" under the "appengine-web-app" tag: --> to set properties. The property "MyApp.web.server.mode" can be changed in this file at deploy-time only. To change the setting (outside of a cha

[appengine-java] Re: filereading error

2010-02-17 Thread cscsaba
Hello Stephan, I have tried several combination of include path without result. http://imagebin.org/85235 It seems to me something other factor prevent reading this csv. Have you tried to read resource file on GAE ? On Feb 17, 7:22 pm, Stephan Hartmann wrote: > i think the correct pattern is "*

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

2010-02-17 Thread Henning
Hi, do you know the exact time ? I noticed too that sometimes a request can take up to 20 seconds. I am using for the front-end flash/flex which allows me to request a status information every 15 seconds (at the moment). I already needed this status info for proprietary session handling and the s

Re: [appengine-java] java.lang.IllegalArgumentException: java.util.HashMap is not a supported property type.

2010-02-17 Thread Ikai L (Google)
Is there a reason you're setting a List of Maps? You may want to rethink the way your data is structured for code clarity. It looks like you've hit a sensible restriction: Maps can't be properties. We can't index them. Instead, you may want to create a wrapper class and serialize it. On Fri, Feb

[appengine-java] Re: Frozen start today?

2010-02-17 Thread WSouza
So, for the GAE FAQ If you start getting requests with http error 500, about 10s of time and 0ms of cpu and no logs showing up (even if it is on the first line of your code), it might be something wrong in your code and not on GAE, like a wrong infinite loop (even if there are logs before the code

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

2010-02-17 Thread Ikai L (Google)
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 Sun, Feb 14, 2010 at 10:16 PM, Manny S wrote: > Thanks Ikai, > I am doing it the way you described and it

Re: [appengine-java] java.lang.NoClassDefFoundError: Could not initialize ... PMF

2010-02-17 Thread Ikai L (Google)
Is this in production or on the development server? On Mon, Feb 8, 2010 at 9:13 PM, gaenoob wrote: > Error for ... > java.lang.NoClassDefFoundError: Could not initialize class dao.PMF >at > > > > my app got the above problems quite often. And, it will get cured by > itself after a

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

2010-02-17 Thread Brian
Yes. The actual time to hibernate is really short, closer to 1-2 minutes than 1 hour. Until this is fixed in some way, you need to either be willing to accept the huge wait for free hosting, or code some kind of task to ping your app every 60 seconds... On Feb 16, 11:17 pm, netcompetency wrot

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

2010-02-17 Thread Henning
Hello, I have the same problem, but it is not about the favicon. It is about getting app engine to send through smtp.googlemail.com an email. Is this possible ? Are these props ever considered by Transport.send ?? > props.put("mail.smtp.host","smtp.gmail.com"); > > props.put("mai

Re: [appengine-java] filereading error

2010-02-17 Thread Stephan Hartmann
i think the correct pattern is "**/*.csv" 2010/2/17 cscsaba > Hello, > > > What is the right way to reading files on GAE > I made this preparation below in appengine-web.xml > ... > > > > ... > > but I got this error: > exception :access denied (java.io.FilePermission \\csv\coun

[appengine-java] filereading error

2010-02-17 Thread cscsaba
Hello, What is the right way to reading files on GAE I made this preparation below in appengine-web.xml ... ... but I got this error: exception :access denied (java.io.FilePermission \\csv\countries.csv read) / java.securit nied (java.io.FilePermission \\csv\countries.csv read)

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

2010-02-17 Thread Vlad Skarzhevskyy
There is an Custom Admin Console pages in new SDK 1.3.1. I think the best place to preload the data to your application is using servlet/page exposed in this Console. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this

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

2010-02-17 Thread netcompetency
Hi all, i have some labs on Google App Engine and find some "strange" yet "consistent" behaviour. My app is based on Spring/JPA. No error/ exception and working properly. The issue is with performance. If we are not using the apps for some time --- for example for an hour --- the application is li

[appengine-java] SMS notifications for whole calendar(java)

2010-02-17 Thread sathish
Hi I want to create SMS notification for whole calendar in the id and not for a particular event.I completed mobile set-up for my no.Just i want how to pro-grammatically set sms notification for the calendar using java.If anyone crossed this situation plz Help me. Thanks In Advance Regards Sha

[appengine-java] Re: Compass on Google App Engine

2010-02-17 Thread a.maza
did you experience the problems in production environment or already in the development environment? May the indexing problem be avoided when using task queues? what do you think? On 17 Feb., 18:30, Raphael André Bauer wrote: > On Wed, Feb 17, 2010 at 3:42 PM, John Patterson wrote: > > I thoug

[appengine-java] Re: Production Strange behavior for Struts 2 Iterator Tag

2010-02-17 Thread Brian
I asume the top of your page has <%@ page isELIgnored="false" %> ? On Feb 16, 11:27 pm, MKumar wrote: > Hi, > > I have a struts2 based application running beautifully till time. > > I am using struts2 tag extensively, and its working fine and pulling > the stuffs effectively from valuestack. >

Re: [appengine-java] Re: Compass on Google App Engine

2010-02-17 Thread Raphael André Bauer
On Wed, Feb 17, 2010 at 3:42 PM, John Patterson wrote: > I thought I read somewhere on this list that compass and lucene cannot > perform well on the datastore due to the number of index segments that need > to be read for every query? i could not get it up and running one month ago with a large

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

2010-02-17 Thread oth
Yes we have seen this problem a lot. Per our tests, an application becomes idle after a minute of non activity. So, the unfortunate reality is that you need to keep your app alive by simulating activity on it. Or go the non Spring route. Thanks On Feb 16, 4:14 pm, luijar wrote: > Hello Google Ap

[appengine-java] Re: Frozen start today?

2010-02-17 Thread WSouza
Ok, I've found the problem. Actually these tasks were taking too long to execute, but not to initialize. The weird thing is, they were returning the error with 10s and 0ms cpu (what is not true because it took way more than 0ms cpu) and no log messages (what usually happens with cold starts). On

Re: [appengine-java] Null Pointer Exception at the time of transaction commit.

2010-02-17 Thread Stephan Hartmann
You should make your entity classes visible to the build path of your client project. 2010/2/17 Sushama Khadilkar > > > Thanks Again Stephan Hartmann,But can u tell me one thing , >>> >> cant we use List or Set or something else for the return type of the > addEmp() method. because while using

Re: [appengine-java] Suggested migration path for Web app using realm auth and offering web service.

2010-02-17 Thread Stephan Hartmann
For authentication you could use Securityfilter ( http://securityfilter.sourceforge.net/) or Acegi (Spring Security, http://www.acegisecurity.org/) Don't know if either of them works with GAE. About Acegi there has been little discussion here on the list i think. Regards, Stephan 2010/2/17 Alex

Re: [appengine-java] Re: Caching pages.

2010-02-17 Thread Stephan Hartmann
You may consider using OSCache (http://www.opensymphony.com/oscache/) for caching parts of JSPs with its JSP tags or whole responses (don't know if it works with GAE). Cheers, Stephan 2010/2/13 abhi > @ bimbo jones -> > Thanx , thats a good idea, i guess i found out how to use memcache for > js

Re: [appengine-java] Re: Compass on Google App Engine

2010-02-17 Thread John Patterson
I thought I read somewhere on this list that compass and lucene cannot perform well on the datastore due to the number of index segments that need to be read for every query? On 17 Feb 2010, at 21:23, a.maza wrote: checkout the latest source from compass. The last commit removes the Referen

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

2010-02-17 Thread Esteban Masoero
Thanks for the response. I must clarify that my app was already running smoothly on GAE (both in development and deployment environments), event with a file upload implementation. However, from yesterday I started to see that kind of errors and wanted to know if something strange was happening

[appengine-java] Re: Frozen start today?

2010-02-17 Thread WSouza
More information, I've put a log message on the first line of doPost(), and on the few requests that run it takes 8-9s to print the message. On Feb 17, 9:16 am, WSouza wrote: > 1 hour and still the same thing.. One thing different from "normal" is > that I have 200+ tasks in a queue trying to ru

[appengine-java] Re: Compass on Google App Engine

2010-02-17 Thread a.maza
checkout the latest source from compass. The last commit removes the Referencable interface. On 17 Feb., 14:36, Raphael André Bauer wrote: > On Tue, Feb 16, 2010 at 8:15 AM, yonny wrote: > >  Hello Folks, > >    I think deploying a compass app on gae is not possible because the > > core compass

Re: [appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-17 Thread Miguel Méndez
It has not been released yet. We expect the preview to be available around the end of the month. We'll send out an announcement when it is ready. On Tue, Feb 16, 2010 at 11:47 PM, KasperDK wrote: > Hi all, > > Where exactly is the Google Plugin for Eclipse preview located ? Or is > it not rele

[appengine-java] Re: Frozen start today?

2010-02-17 Thread WSouza
1 hour and still the same thing.. One thing different from "normal" is that I have 200+ tasks in a queue trying to run. (but I've had more than 2000 yesterday and it worked fine) On Feb 17, 8:42 am, WSouza wrote: > Hello! > > I am getting the cold start errors at 80-90% of my requests for the > p

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

2010-02-17 Thread Jake
Hey, There are a fair number of posts on how to implement Wicket on GAE. E.g. http://www.danwalmsley.com/2009/04/08/apache-wicket-on-google-app-engine-for-java/ I'm currently working on a pretty large Wicket/GAE project and, while I've hit a few hiccups, everything has worked in the long run. T

[appengine-java] Frozen start today?

2010-02-17 Thread WSouza
Hello! I am getting the cold start errors at 80-90% of my requests for the past 20 minutes (they were working fine last night, no code change and there is no framework used, just plain java + low-level datastore/ memcache access). Is anyone experiencing the same thing (maintenance today is at 5:0

[appengine-java] Re: unexpected execution of task queue

2010-02-17 Thread seleronm
Hi. Though I am not examining in detail. How about cron+synchronize? (It was released with SDK1.3.1) I think about start time is constant. thanks. On 2月17日, 午後4:43, AJ Chen wrote: > I have a queue to run a task every hour by adding a new task (ETA=60min) > after the current task is finished. I

Re: [appengine-java] Compass on Google App Engine

2010-02-17 Thread Raphael André Bauer
On Tue, Feb 16, 2010 at 8:15 AM, yonny wrote: >  Hello Folks, >    I think deploying a compass app on gae is not possible because the > core compass interface extends javax.naming.Referenceable which is not > on google's whitelist.I encoutered a similar problem when I call > buildCompass() It

Re: [appengine-java] My program status

2010-02-17 Thread John Patterson
You will need to give more details about your problem. On 17 Feb 2010, at 19:59, Sowji wrote: Hi, As you said ,i apply favicon to my program.Now the warnings are cleared.But still,i can not receive any mail or errors. could you please help me,to solve this problem. Thanks, Lakshmi. -- Y

Re: [appengine-java] Re: Unable to upload application - Total refill rate must not exceed 20 per second

2010-02-17 Thread m seleron
HI, I'm sorry my information is useful in that no. I do not think that I limit a unique queuename if app-id is different. 2010/2/14 Ronin : > I dont think it is related to queue configuration. All the queue rates > are below 20. I cant upload this as a  second application ( with a new > app id )

[appengine-java] My program status

2010-02-17 Thread Sowji
Hi, As you said ,i apply favicon to my program.Now the warnings are cleared.But still,i can not receive any mail or errors. could you please help me,to solve this problem. Thanks, Lakshmi. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java

Re: [appengine-java] Null Pointer Exception at the time of transaction commit.

2010-02-17 Thread Sushama Khadilkar
Thanks Again Stephan Hartmann,But can u tell me one thing , >> > cant we use List or Set or something else for the return type of the addEmp() method. because while using Set as a return type in Async & in greeting Service i m gettin a error. so plz can u tell it me. Plz Plz. The output is::

Re: [appengine-java] Null Pointer Exception at the time of transaction commit.

2010-02-17 Thread Stephan Hartmann
In your addEmp method i would add dept.getEmployee().add(e) after you instantiate your new employee object. If i remember correctly, according to the JPA spec, managing relationships is up to you. BTW i would refactor the name of the list field "employee" to "employees" (and its get and set metho

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

2010-02-17 Thread AJ Chen
thanks, On Wed, Feb 17, 2010 at 12:29 AM, Stephan Hartmann wrote: > Your app becomes shut down if it does not receive any requests for some > time. After that, the next request will initiate a new startup sequence, so > the implementation of the servlet spec is correct. > > You should also implem

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

2010-02-17 Thread Stephan Hartmann
Your app becomes shut down if it does not receive any requests for some time. After that, the next request will initiate a new startup sequence, so the implementation of the servlet spec is correct. You should also implement ServletContextListener.contextDestroyed() to perform cleanup of your data

Re: [appengine-java] Null Pointer Exception at the time of transaction commit.

2010-02-17 Thread Sushama Khadilkar
Thanks Stephan Hartmann, But there is another problem now . Does the DataStore will have a Foreign Key of Department in Employee? And , is it visible in the Employee table? Following are my POJO's :: /Department/// i

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

2010-02-17 Thread AJ Chen
For standard web app, I use a context listener servlet to do initialization at startup. This also works in eclipse with GAE plugin, i.e. the context listener is called only once at startup. But, it does not work in production because the context listener servlet is called frequently. It seems GAE r

Re: [appengine-java] Null Pointer Exception at the time of transaction commit.

2010-02-17 Thread Stephan Hartmann
Could you please provide the source of your Employee and Department classes? And AFAIK you must not use full qualified class names in queries but the simple class name ("Department" only). Regards, Stephan 2010/2/16 Sushama Khadilkar > package com.wissen.enterprisebysush.server; > > import java