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 sush.khadil...@gmail.com
package
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
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///
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
thanks,
On Wed, Feb 17, 2010 at 12:29 AM, Stephan Hartmann hartm...@metamesh.dewrote:
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
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 method).
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 SetEmployee 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
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
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 gauravwad...@gmail.com:
I dont think it is related to queue configuration. All the queue rates
are below 20. I cant upload this as a second application (
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.
--
On Tue, Feb 16, 2010 at 8:15 AM, yonny yon...@googlemail.com 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
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
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.
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 willmso...@gmail.com wrote:
Hello!
I am getting the cold start errors at 80-90% of my
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 kbhdk1...@gmail.com wrote:
Hi all,
Where exactly is the Google Plugin for Eclipse preview located ? Or
checkout the latest source from compass. The last commit removes the
Referencable interface.
On 17 Feb., 14:36, Raphael André Bauer raphael.andre.ba...@gmail.com
wrote:
On Tue, Feb 16, 2010 at 8:15 AM, yonny yon...@googlemail.com wrote:
Hello Folks,
I think deploying a compass app on gae
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 willmso...@gmail.com wrote:
1 hour and still the same thing.. One thing different from normal is
that I have 200+ tasks in a
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
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
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 abhishek9...@gmail.com
@ bimbo jones -
Thanx , thats a good idea, i guess i found out how to
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
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
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 luis.j.aten...@gmail.com
On Wed, Feb 17, 2010 at 3:42 PM, John Patterson jdpatter...@gmail.com 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
I asume the top of your page has
%@ page isELIgnored=false %
?
On Feb 16, 11:27 pm, MKumar m.kumar1...@gmail.com 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
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 raphael.andre.ba...@gmail.com
wrote:
On Wed, Feb 17, 2010 at 3:42 PM, John
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 like
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
Hello,
What is the right way to reading files on GAE
I made this preparation below in appengine-web.xml
...
resource-files
include path=/**.csv /
/resource-files
...
but I got this error:
exception :access denied (java.io.FilePermission \\csv\countries.csv read) /
java.securit
nied
i think the correct pattern is **/*.csv
2010/2/17 cscsaba strongfr...@gmail.com
Hello,
What is the right way to reading files on GAE
I made this preparation below in appengine-web.xml
...
resource-files
include path=/**.csv /
/resource-files
...
but I got this error:
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);
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
Is this in production or on the development server?
On Mon, Feb 8, 2010 at 9:13 PM, gaenoob spellw...@gmail.com 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
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
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
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
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 hartm...@metamesh.de wrote:
i think the
Of course, one can use tags like the following snippet in the file
appengine-web.xml under the appengine-web-app tag:
system-properties
property
name=java.util.logging.config.file
value=WEB-INF/classes/logging.properties
/
property
name=log4j.configuration
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
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 strongfr...@gmail.com
Can you please post your model object definitions for Employee and
Department?
Thanks,
Max
On Mon, Feb 15, 2010 at 11:53 PM, sushama sush.khadil...@gmail.com wrote:
import java.util.List;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import
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
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 bwa...@gmail.com wrote:
My remote datastore kept the data, mylocalone was wiped. Pretty easy
to make a script to load a DB with test data, not
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
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
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
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
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
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
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,
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:
Read up on this:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.html
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.htmlHere's
some code that should work (warning, I have not tested it, I am doing
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) ika...@google.com wrote:
Read up on this:
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
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
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
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
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
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
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 jdpatter...@gmail.com 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
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 levys...@gmail.com wrote:
Need urgent help,
I tried deploying a new version after the server maintenance and it
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
Your application seems to be serving Under Construction now.
On Feb 17, 7:41 pm, App Engine Team appengine.nore...@gmail.com
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
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
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 levys...@gmail.com wrote:
Yes, I know the console seems fine.
but
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
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
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 appengine.nore...@gmail.com
Can you try again? The admin console seems to be responding correctly.
On Feb 17, 8:14 pm, Ivan Pardo trux...@gmail.com 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
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
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
Should we monitor this thread for updates ? or just try again and
etc ?
On Feb 18, 5:45 am, App Engine Team appengine.nore...@gmail.com
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
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
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
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
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
76 matches
Mail list logo