Thank you Maciej for your answer.
But I think that my problem is not related to any empty field. The
problem of storage arises as soon as you define twice a persistent
field which is a list of the same type, as I explained earlier. The
only work-around I found is to duplicate the listed
When I declare fields as @Persistent it stops to work in GWT.
On Sep 21, 1:40 am, Romain hippe...@bellsouth.net wrote:
As long as your Entities are in the client.* folder they can be seen
as JDO objects as well as in GWT as POJOs
On Sep 20, 5:07 pm, Max max.seven@gmail.com wrote:
It
Hi -
I was using iText PDF generation library and found out that when I
deploy it to the AppEngine I am getting exceptions because the
classes:
java.awt.Color and java.awt.color.ICC_Profile are restricted.
Would it be possible to add those to the white list?
It does not seem like those
iText
Version(s): ?
Status: INCOMPATIBLE
iText relies on several classes not in the JRE class whitelist
including java.awt.Color and java.nio.MappedByteBuffer. A bug has been
filed at
http://sourceforge.net/tracker/?func=detailatid=365255aid=2810312group_id=15255.
Hi,
My app is seeing DatastoreTimeoutException on all of its queries for
last 1 hour. Redeployment did not work. And it seems it is an app-wide
phenomenon since my other apps are working properly. Can you please
check? I'll let you know my app id directly.
Caused by:
Your app is most likely impacted by the elevated datastore latency and error
rate we're currently experiencing:
http://code.google.com/status/appengine
We'll update the status site when we have more information.
Thanks, and sorry for the trouble.
Max
On Mon, Sep 21, 2009 at 2:43 AM, kaz
Hi Max,
OK, thanks so much for the quick response.
Kaz
On 9月21日, 午後6:58, Max Ross maxr+appeng...@google.com wrote:
Your app is most likely impacted by the elevated datastore latency and error
rate we're currently experiencing:
http://code.google.com/status/appengine
We'll update the
Is it possible to create custom user defined types as explained in
this article
http://www.datanucleus.org/extensions/rdbms_java_types.html
I need to create custom types like Gender, Height Income etc...
Thanks
--~--~-~--~~~---~--~~
You received this message
If I have some static data that I would like to populate into the data
storage (for query), what is the best way to do this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
Thank You!
I thought I missed something and there is some framework from google
that has to be used here.
On Sep 21, 12:49 pm, leszek leszek.ptokar...@gmail.com wrote:
Yes, the second solution (TO - transient objects) means code
duplicating but seems more realistic. You can share the same
Hi
I got DatastoreTimeoutException when I using HttpSession at production
mode. This code does not create error at local development
environment.
Purpose to use session is cashing userID(google e-mail string ) when
user login at first time. So I created Session_User class which have
SeesionID,
I've just spent a couple hours tracking down an issue. It turns out
that i was missing gin.jar and junit.jar from my /war/WEB-INF/lib
directory.
Using eclipse I have specified a number of User Libraries, and have
added those to the Libraries section of the Java Build path in my
project
PS appengine-web.wxl
?xml version=1.0 encoding=utf-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
applicationchainofasker/application
version1/version
sessions-enabledtrue/sessions-enabled
!-- Configure java.util.logging --
Max, thanks, this works pretty well for me :-)
On Sep 9, 3:14 am, Max Ross maxr+appeng...@google.com wrote:
You can do the equivalent of a low level batch get with jdoql:
Query q = pm.newQuery(select from + Flight.class.getName() + where
id == :ids);
@SuppressWarnings(unchecked)
Hi, i think your problem is here:
@Persistent
private ListB list1 = new ArrayListB();
you use a List, but you assing an ArrayList. That because the datastore
makes different structures for different types of collection.
To fix that, your code should be:
@Persistent
private ArrayList B list1
This issue was first raised back on April 16th:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/67cb7cdaefc8429f#
At the time, the Google team gave a couple of suggestions, admitted that
some work needed to be done in this area, and said that they were tracking
this
Does any one has any idea ?
Sudhir NimavatSenior software engineer.
Quick start global PVT LTD.
Baroda - 390007
Gujarat, India
Personally I'm always ready to learn, although I do not always like being taught
From: sud...@jsptube.com
// MyModel
String id
ListString values
ListLong scores;
// get(id)
PersistenceManager pm = ...getPersistenceManager();
try {
return pm.getObjectById(MyModel.class, id);
} finally {
pm.close();
}
// store(obj);
PersistenceManager pm = ...getPersistenceManager();
try {
Hello!
I would like to bring in discussion a comparison between JDO and the
low level API. Google recommends using the low-level API only to
framework developers, but JDO seems to inflexible to me.
I've been using JDO for a month now and i've come across some nasty
limitations. I will mention a
Hello!
I would like to bring in discussion a comparison between JDO and the
low level API. Google recommends using the low-level API only to
framework developers, but JDO seems to inflexible to me.
I've been using JDO for a month now and i've come across some nasty
limitations. I will mention a
That's very interesting because it works for me:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Employee {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key id;
private String firstName;
private String lastName;
}
On Sep 21, 3:05 am, Philippe Marschall philippe.marsch...@gmail.com
wrote:
But long is crappy abstraction. Sometimes you need two decimal places,
sometimes three, sometimes six, sometimes as many as there are.
That's all quite cumbersome to do with a long alone. String seems like
the
Thanks! I'd certainly rather it be something I'm doing wrong. I
think you have represented my exact scenario there.
I'll continue looking at my code.
On Sep 21, 9:49 am, leszek leszek.ptokar...@gmail.com wrote:
That's very interesting because it works for me:
Hi Corneliu!
I also had doubts about using JDO in GAE when I started to work with
it. Especially because I met several bugs and it was annoying and time
wasting to figure out what was going wrong. But then the bugs were
fixed in the next release, so I think the guys are generally doing a
good
Creating an Embedded object works great and should give you the result
you're looking for.
On Mon, Sep 21, 2009 at 6:26 AM, || Sudhir Nimavat ||
sudhir_nima...@yahoo.com wrote:
Does any one has any idea ?
*Sudhir Nimavat*
*Senior software engineer. **
Quick start global PVT LTD.
Hi,
I seem to have an issue with the Google Plugin Hosted Mode and
java.net on a Mac OS X 10.5.8.
I have Eclipse Galilio with:
Google App Engine Java SDK 1.2.5
Google Plugin for Eclipse 3.5
Google Web Toolkit SDK 1.7.0
I created a new default GWT/AppEngine project (both checked)
Hey Allen,
Thanks for linking to the previous discussion.
Unfortunately, we haven't revisited the issues mentioned in that thread
yet. It may be worthwhile to star a similar feature request at
http://code.google.com/p/google-web-toolkit/issues/detail?id=3810 since we
use stars as one signal to
1.2.5 is the latest version. Please upgrade and make sure that you are
copying the latest API jar (appengine-api-1.0-sdk-1.2.5.jar) into your
application's WEB-INF/lib directory.
On Mon, Sep 21, 2009 at 11:48 AM, chris chrismiddl...@gmail.com wrote:
I'm probably just overlooking something,
According to the docs, the message body should be a named POST parameter in
the request object passed into the servlet. Can you log or otherwise take
note of this parameter and the other XMPP parameters before calling
parseMessage and report what you find?
- Jason
On Thu, Sep 17, 2009 at 10:47
Hi Patrizio. We have an article coming out soon which will help you
determine how much data your application will use. If you're concerned about
storage, be sure to note which properties you'll never use in queries and
mark these as unindexed from the start so you don't have to incur a storage
My environments are: Google App Engine (GAE) Java SDK 1.2.5, Google
Web Toolkit (GWT) 1.7, Eclipse-Galileo on Windows Vista.
GWT (http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html)
provides junitCreator tool and creates a default folders for the
junit. I got this thing running on
Thanks for pointing out the open bug, Jason. It wasn't clear from the
discussion in April if opening an issue was the right/best way to handle
this, but I'm glad to see its been opened and the previous discussion noted
there.
Thank you, as always, for everything!
Allen
On Mon, Sep 21, 2009 at
Maybe you could try e.printStackTrace(System.out) and see if that makes a
difference?
On Sat, Sep 19, 2009 at 11:34 AM, Diana Cruise diana.l.cru...@gmail.comwrote:
What does GAE do with standard dumps such as e.printStackTrace()?
Here is the Admin Console Log output in DEBUG mode for my test:
What is your registered application ID? From the looks of the URL that
returned 400, you're using ID which is not a valid identifier. Have you
registered an application ID via http://appengine.google.com?
- Jason
On Fri, Sep 18, 2009 at 2:13 AM, 6real xirgon...@gmail.com wrote:
Hello guys,
I
The general workaround for OR is to issue separate queries, then merge the
results.
- Jason
On Thu, Sep 17, 2009 at 9:51 PM, Francis francis@gmail.com wrote:
hi:
I wrote the following query:
Select p From we.bean.base.Player p where p.Id = 664778005 OR p.Id =
999
and I get:
Nested
Congratulations on completing your migration, kaz! You know where to find us
if you have any more questions down the road. :)
- Jason
On Fri, Sep 18, 2009 at 8:36 AM, kaz kazunori...@gmail.com wrote:
Hi,
I'd like to thank you all for the supports I got here for the last
several month. We
Hi James. Are you using the latest version of the SDK?
I use jsp:include in a few of my projects and I haven't seen an exception
yet in either the local or production environments, so I don't think the
include tag itself is the issue. It's certainly possible that the included
JSP has an error
No, not in a single version.
- Jason
On Fri, Sep 18, 2009 at 8:03 PM, YONG yongkia...@gmail.com wrote:
Can java and python run-time coexist in one single application?
I had tried that, in one single version could not, but in different
version then it is OK. Can have a way to make both
Hi Clay. The datastore timeout limit is fixed. If you're using transactions,
you should be able to rollback your changes if any of the writes (in this
case, deletes) failed. But this will only work if all entities that you're
deleting are in the same entity group. Since bulk updates to entities in
It looks like there is an issue in using JSPs or other files with non-ASCII
characters in their names. Please file a new issue in the tracker and avoid
using these characters as folder/file names for the time being.
http://code.google.com/p/googleappengine/issues/list
- Jason
On Fri, Sep 18,
Hi,
The code in that form also works for me, but just because the
exception is caught and never reported. If you rethrow any exceptions
from the catch blocks than you should get something like the
following:
Detected attempt to establish Parent2(3) as the parent of Parent1(1)/
Child1(2) but the
Hi Diana,
Throwable.printStackTrace() writes to System.err. App Engine ties System.err
to the java.util.logging.Logger named stderr using the Warning logging
level. If you've redirected System.err or don't have logging configured
correctly, your stacktraces can end up going somewhere else or
Thank you very much for your feedback Marton :)
I hope you don't mind, but i will write some further comments to sustain my
cause.
I also would like to hear the opinion of someone from Google. I know you
guys recommend JDO, but can you give me some arguments against using the low
level API,
Hey Ken,
As Jason says, the Eclipse plugin does not directly support validation of
GWT code, so you only see an error after running Hosted Mode. If you use've
intended this to be just server code, you should pull it up out of the GWT
client package you currently have it in.
On Mon, Sep 21, 2009
Hi,
Those two are equivalent Java constructs, and it should not be the
solution to your problem. Have you tried rewriting your code to the
original (having the return statement within the try block) and run it
again? Are you sure you have not changed anything else?
Marton
On Sep 21, 6:29 pm,
Actually, it was a test of just having a button issue a URL Fetch (to
a public web service).
I shouldn't think that one would have to RPC first to a service,
depending of course on what was really going to be accomplished. In
this case, I was going to extend this to a simple GET with an attached
Hi,
I am a newbiew to this environment but willing to learn. I would like
to use Google apps engine to create a website like a fantasy football
league. Can anyone tell me where I can start and what I can do to
learn how to program the website to be hiosted on google app engine?
Thanks
I have a Drinks entity which just contains a key which holds a String
to indicate the drink. Like Coca Cola, Pepsi, etc.
In my User entity I like to connect one or more favourite drinks of
the user.
I'm wondering if I delete a Drink if it will be removed from the users
automatically?
Hi Ken,
GWT and App Engine support two different sets of API, because they run on
two entirely different platforms (someone's browser vs Google's cloud). To
issue http requests from GWT, you can use
Can you reply with the request and response headers for a response that
should have been gzipped by App Engine but wasn't? If the Accept Encoding
header reports that the client can accept compressed responses, then App
Engine should gzip the response automatically:
i mapped both domains and used the wild card
the only problem is that google enforces users currently to
register to google apps and then register the app to my domain
which is a very complicated and long process which not all users
understand how
plus whats worse is that there is no way to
Yes, it's related.
- Jason
On Sat, Sep 19, 2009 at 10:32 AM, objectuser kevin.k.le...@gmail.comwrote:
Jason, is it also true that you can't have two one-to-one
relationships of the same kind? I'm able to save such a relationship,
but when I fetch it, I get the same child in both values. I
Your quotas look fine, including your indices count quota. Can you try
uploading one more time?
The vacuum_indexes command is currently only available in the Python SDK,
but you can still use this command even if you deployed your app using the
Java SDK.
- Jason
On Sat, Sep 19, 2009 at 1:52 PM,
Read more on indexes here:
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Indexes
For more complex queries, you may have to define an index. If you run your
application in the local development server, it should generate the needed
index for you, then when
Some of these requests may already have been filed in the public tracker,
but if they haven't, please feel free:
http://code.google.com/p/googleappengine/issues/list
- Jason
On Sat, Sep 19, 2009 at 10:54 PM, Tristan sp00s...@gmail.com wrote:
I agree with this! Additionally, it'd be great to
Are you importing the class correctly? In the mail example, you can see that
it depends on the class Bug which is in the same package as the
BugNotificationTest class. If you import your classes, assuming they're in a
different package, you should be able to use them in your tests. If you can
be
Hello,
I am new to google app engine and i am having some trouble in saving
some data.
I have a class that have lists, those list have been 'declared'
persistent and i don't want any relation to be involved. However when
i try to save the object the data on the lists aren't saved. From what
i
Hi Max,
I am surprised that this actually works. :)
I could not find the documentation describing this feature. Do you
know how is this implemented? Is it more efficient than just calling
getObjectByIdentity N (=listOfKeys.size()) times?
Thanks,
Marton
On Sep 8, 9:14 pm, Max Ross
Are you seeing these response times on subsequent refreshes? I assume so
given the timestamps. What is your application ID?
One idea that would certainly help is using memcache to avoid querying on
every request, but I'll follow up on why you're seeing these response times
with the query. Are you
Hi Greg. In that case, you may want to post in the GWT discussion group --
if the JAR is in your lib folder, it should be deployed with your
application.
I've been told that the error can occur when the GWT compiler doesn't know
where to pull in the code because you haven't old it to include the
Thanks Toby,
And no surprise, moving my URL Fetch from the GWT client to the GWT
serverimpl makes it all work fine.
And from the GWT list:java.net package is not supported by GWT
Re: Jason's original comment, I'm not sure there's a bug to be filed.
It would be nice if the Plugin could
I have the following server side code:
package com.foo.server;
// code deleted for brevity
/**
* The server side implementation of the RPC service.
*/
@SuppressWarnings(serial)
public class FooServiceImpl extends RemoteServiceServlet
i'm facing the same problem.
--~--~-~--~~~---~--~~
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-java@googlegroups.com
To unsubscribe from this
Is there a way to import data from excel to datastore??
--~--~-~--~~~---~--~~
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-java@googlegroups.com
To
Use the DataNucleus excel plugin and make the data available to GAE/J
using the DataNucleus REST plugin ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send
65 matches
Mail list logo