Thats over 5 seconds to initialize 5 persistent classes.
Actually no. That is the time taken to load up plugin capabilities (so
we know what we can allow the user to do), create you an EMF and its
cache(s), and load all metadata for your classes (since JPA requires
that all classes are known at
Where should I look for this sessionCleanupServlet?
On Jan 7, 6:01 am, m seleron seler...@gmail.com wrote:
Hi,
Though it is likely already to have tried.
You might solve the problem by examining sessionCleanupServlet.
thanks.
On 1月7日, 午後1:18, Jorge athenas...@gmail.com wrote:
Is
This is not working yet. There is a bug for this, so you may want to
star it: http://code.google.com/p/googleappengine/issues/detail?id=544
On Jan 5, 11:20 am, 008 outlookwo...@gmail.com wrote:
As title, my network is behind a proxy.
I add the following text to appengine-web.xml
Hi,
I am sorry for not understanding easily.
I retrieved this Group
Is this thread useful
http://groups.google.com/group/google-appengine-java/browse_thread/thread/4f0d9af1c633d39a/875921846a160b52?lnk=gstq=sessionCleanupServlet+%23875921846a160b52pli=1
You may find more useful information .
I'm not trying to say anything datanucleus does is wrong. 5 seconds
to initialize an ORM layer is plenty quick in my book. Most
enterprisey apps I deal with in my day job take well over 3 minutes
to get moving. Really I was just wondering if there was any known way
to speed it up that I was
Only other thing is, do you specify class names explicitly in
persistence.xml ? If not then it will have to scan the classpath
below the persistence-unit, hence taking some time to find the classes
to load annotations for. The log info you provide doesn't show if it
is this that takes the time -
You could setup a cron job to hit a servlet every minute to keep your
container alive. That way your app is always fresh (unless you get
so much traffic that new instances need to spawn up for scaling
purposes).
david
On Jan 5, 2:52 pm, Todd Lindner todd.lind...@gmail.com wrote:
Since Google
Andy, where should I configure class names in configuration file? Is
there any documentation where I can take a look? Thanks, Peter
On Jan 7, 4:12 pm, datanucleus andy_jeffer...@yahoo.com wrote:
Only other thing is, do you specify class names explicitly in
persistence.xml ? If not then it will
Andy, where should I configure class names in configuration file? Is
there any documentation where I can take a look?
Peter, these are standards were using here, so everything is
documented ;-)
For JPA, try this
http://www.datanucleus.org/products/accessplatform_2_0/jpa/persistence_unit.html
They seem to ignore the maven question completely (there has been a request
for this since end of dawn).
One of the factors which limits GAE in widespreading...
2010/1/6 Marcel Overdijk marceloverd...@gmail.com
Is GAE 1.3.0 available in central maven repo?
Would be nice if Google GAE team
Hi all,
I have simply created a new GWT project (standard StockWatcher
application) and trying to deploy it on google app server. But I am
getting an error while deploying it. Error says -An internal error
occurred during: Deploying StockWatcher to Google.Received
IOException parsing the input
Hi all,
I'm looking to implement a blog, and WordPress won't run on GAE. Does
anyone know of any Java blog implementations on GAE?
Thanks,
Joe
--
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
Hi,
I'm using the GoogleBaseData JavaClient API to upload my products to a
google base feed.
I can't insert my custom attributs like spring deflection or others
via the api.
Can anyone help me. A litte cutout of my code:
private static PairGoogleBaseEntry, Integer creatGoogleBaseEntry
(int
The issue is disappeared with no changes from my side. I am able to
upload the version that was failed previously.
Maybe something was wrong with server that is hosting my site because
I don't see any downtime notification in the official group.
Everything is working and this is good news for me.
This problem still exists.
On Dec 16 2009, 9:42 pm, polyurethan vette...@googlemail.com wrote:
Hey there,
I still get this ClassCastException. When will the JVM be fixed?
It's Dec and the issue was raised in Jul. Is there any progress?
Thanks,
Alexander
On Oct 22, 10:13 am, Marc
Hello,
I have tried this but I always get a
java.security.AccessControlException: access denied
(java.io.FilePermission /names.txt read)
Anyone know how to resolve this?
Thanks,
Finbarr
On Jan 7, 3:32 am, m seleron seler...@gmail.com wrote:
Hi,
It might be solved by this though is not a
Can folks share their experience with best-case and worst-case request
times for the GAE/J application tier? I think its useful to isolate
the application tier performance as there is a lot of good info on
datastore performance and how to optimize it (e.g. use of Memcache,
etc...)
The worst case
is there any solution for this problem?
On Thu, Dec 31, 2009 at 8:46 PM, Kemal Dogan kemal.m...@gmail.com wrote:
hi,
I have two entity with owned relation. Order is master entity and
OrderItem is child entity.
When I have to persist Order without OrderItem, but
it gives an exception
http://code.google.com/p/googleappengine/issues/detail?id=2620 -
corresponding issue.
--
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
Background: I'm trying to write a web app to sync-up my contacts
between my different Gmail accounts.
Problem: hasDeleted() will return true when a contact has been removed
from a group but if that contact gets added back to that group again,
hasDeleted() still returns true.
Unless I'm missing
I forgot to add that I am setting 'showDeleted=true' on the query to
get the ContactEntryFeed. I would speculate that it's why an older
deletion on a contact within that feed would cause hasDeleted() to
ALWAYS return true from that point on.
On Jan 7, 4:40 pm, Tb tho...@bertranfamily.com wrote:
I tried a little.
I put the file(names.txt) in /WEB-INF directly
The following are sources that I tested.
String FileName = names.txt;
File file = new File(FileName);
BufferedReader bufferedReader = new BufferedReader(new FileReader
(file));
The processing seems in my test for normality.
I
I got it to work by just using a File. Didn't change anything, it just
seemed to start working of its own accord.
Finbarr
On Jan 7, 10:46 am, Ftaylor finbarrtay...@googlemail.com wrote:
Hello,
I have tried this but I always get a
java.security.AccessControlException: access denied
The /_ah/sessioncleanup servlet works ok, but it cleans only 100
expired sessions at a time, so one needs to run it often enough to
avoid expired sessions to accumulate and no so often that it won't
have too few sessions to purge.
Kind of complicated!!
Someone knows of a better solution?
Jorge
Hi Reena,
It looks like you have a problem with your web.xml file.
I believe I had a similar issue where I can run locally, even with a
slightly invalid web.xml file.
You might want to doublecheck that your war/WEB-INF/web.xml file is
syntactically correct.
If you're curious what a clean one
Hi Yadav,
I would recommend stepping through the Getting Started tutorial on
the main docs pages for App Engine.
In addition to providing some basic getting started info, you get to
build a simple guestbook application that updates and queries data
from the Datastore.
Here's some ideas to try...
I see that you have a if statement in your JSP..
if(request.getContentLength() 0) {
...
Are you sure this condition is true in your case? Otherwise the JSP
will never attempt to save the object.
If that's not it, you could always create a new JSP and just drop the
Basically i have 3 fields in the same table to select by
using .contains() clauses - one is the primary key field
so :keyList (java.util.SetKey) , :feedTypes (java.util.SetInteger)
:contentTypes(java.util.SetInteger) with values i need to select
with.
The Feed object (and the relevant fields)
Is the object you're trying to save onto the session serializable?
Does it implement serializable? (although just making the class
implement serializable will not always work)
I believe that you can have a class bypass validation for this when
running locally - so you may not be seeing the
Hello,
I have encountered a problem with adding additional field to my
datamodel.
I understood that existing entites get null values on added field, but
null is not allowed on boolean and int for example?
GAE won't even let me iterate entities to update these fields. Well in
this case I had
hi,
com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to
API call datastore_v3.Put() was too large. was thrown while saving an
entity to datastore. I want to handle this exception but I am not getting
which exception to catch. Please help me out...
Thanks
--
You received
Use the object types instead of the primitive types; that is, use Boolean
instead of boolean, and Integer instead of int. They can be null. Then in
your getter for them, check to see if they're null and if so, set them to
whatever default value you've chosen, and then return it, unboxed (for
32 matches
Mail list logo