> Instead of
>
> @PrimaryKey
> private String key;
>
> have you tried
>
> @PrimaryKey
> @Persistent
> private String key;
A String field/method doesn't even need @Persistent. All basic types
are by default persistent, as per the JDO spec (unlike in the GAE/J
docs).
--
You received this
I have found why i'm wrong...finally...
On Mar 11, 1:06 pm, Jolam wrote:
> to Ian Marshall:
>
> I have changed the class to two form as u mentioned, but it did't
> work...
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post t
to Ian Marshall:
I have changed the class to two form as u mentioned, but it did't
work...
--
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
I have never thought of that and never tried it , of course i should
have a try but i have seen that in gae java doc:\
Unencoded String
A string (java.lang.String), an entity ID ("key name") provided by
the application when the object is created. Use this for objects
without entity group
On 11 Mar 2010, at 03:40, Jeff Schnitzer wrote:
On Wed, Mar 10, 2010 at 6:14 AM, John Patterson
wrote:
No that is incorrect. You actually have very fine control over
what is
loaded and when using "activation" [1]
Ah, this Activation annotation does help out. But it still leaves
edge c
Sorry, I don't think I really understood the task queue approach. To
ensure no loss of data, would the task have to update in the datastore
every time? And the benefit over just doing it directly in the
servlet handler would be the faster response time to the user?
I think the memcache solution m
Hi,
Can you execute the query in the development?
I think that [datastore-indexes-auto.xml] is made when you execute
query with development.
You might straighten out that problem by comparing
datastore-indexes-auto.xml and datastore-indexes.xml.
Or, please confirm the status of INDEX.
It exists
Hi,
Our "T2 web framework" works very well on Google App Engine.
Basic few examples here:
https://t2webframework.appspot.com/
Flex Haiku examples(T2 has own AMF3 implementation) here
(Japanese only, we are working it in English):
https://t2haiku.appspot.com/
Our site is here:
http://code.go
Thanks Don,
I thought about the task queue, but that caps at being able to execute
like 5 tasks per second right?
So, as long as the log data doesn't get full before I download it then
it would be fine?
On Mar 10, 3:42 pm, Don Schwarz wrote:
> Yeah, those are diagnostic logs. They effectively g
Yeah, those are diagnostic logs. They effectively go into a ring buffer per
logging level, so the maximum data stored at any given time is capped. The
more you log, the more frequently you would have to download the logs to
avoid missing any. You would also be competing with log space with any
o
I'm talking about the logs that get written when I call
Logger.info("something").
Basically this is what I'm thinking: I have certain data that needs to
get written very often, but hardly ever needs to be read (stuff like
what users view what pages of my site). The datastore is optimized
for read
I am able to get it to work. Followed the same tutorial on
"Pages" section of this forum. Here is what I had to modify
1. Set devMode to False.
2. add an applicationlistener with set OgnlRunTime.setSecurityManager
to null.
Deepam
On Mar 7, 2:52 pm, Deepam Tiwan wrote:
> Hi All,
>
> I am having t
I've been using this as well in my unit testing, just to execute the
Task Queue (unless I'm doing something totally wrong and queue
execution is supposed to actually work as part of
LocalTaskQueueTestConfig).
Code below, if it helps anyone. I'm executing all queues against a
single servlet ("/dat
Just use two separate lists of ArrayList and it should work
fine. Also you have to test for null whenever you pull anything out of
datastore, something like
if null then return new ArrayList(0)
should work this case.
On Mar 10, 4:28 pm, thierry Le conniat wrote:
> Hello,
> how to do you retreiv
Exactly, CardList is potentially very large and I want to avoid having
to load it just to add the cardreference.
On Mar 10, 10:43 pm, WillSpecht wrote:
> So if you have a reference to a new card and do
>
> cardList.add(cardRefference)
>
> all you are loading into memory is the card list and the n
Like many, I'm anxious to learn more. I just deployed my first app
today and while the load is light (just me), it's a giant usability
issue to have to wait 6s for spinup if (god forbid) I stop to read a
page for more than 60s or so. I'm not using any frameworks, so this
is just VM and JDO spinup
Are you talking about request logs or diagnostic logs? Although we conflate
them a bit in both the Admin Console viewer and the appcfg command, but they
are stored and tracked separately.
On Wed, Mar 10, 2010 at 4:01 PM, Spines wrote:
> Hmm, that is my biggest concern, log reliability. Can som
Hmm, that is my biggest concern, log reliability. Can someone from
Google confirm whether or not I can rely on the logs having all of the
log data? Or might certain entries just disappear?
On Mar 10, 1:24 pm, thierry Le conniat wrote:
> Hello,
> I think google log are stored in file.
> My experi
So if you have a reference to a new card and do
cardList.add(cardRefference)
all you are loading into memory is the card list and the new card.
Is this what you are trying to avoid?
On Mar 10, 4:06 pm, tempy wrote:
> Actually cards can only be owned by one deck... so that's not a
> problem. D
Hello,
how to do you retreive data , could you send jour java code ?
On 10 mar, 17:28, Ganesh wrote:
> Hi,
>
> I am trying to store two dimensional string array in google data
> store. I was getting an exception saying this data type not supported.
> I tried changing the string array object to ja
Hello,
I think google log are stored in file.
My experience about log reliability is that when the app is very
strong working, not all the log are stored.
It's confusing, but i can't not explain it.
Bye
On 10 mar, 22:04, Spines wrote:
> Where does Google store the logs when you do a Logging stat
Hello,
I Got a problem when quering data with the key . The error
is below :
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found..
The index is not found, but i have declared it in the file like this :
The que
Actually cards can only be owned by one deck... so that's not a
problem. Deck<--1...0toN-->card.
The thing that I am looking for is a way to add new cards without
loading a deck's entire card collection, and to add decks without
loading a User's entire deck collection.
On Mar 10, 9:15 pm, WillSp
Where does Google store the logs when you do a Logging statement?
Logging statements seem to be pretty fast, so it doesn't seem like
they are stored in the datastore.
How reliable are the logs? If I do a logging statement and it
succeeds, is it pretty much guaranteed that it will show up in the
lo
I use both files, located in:
war\WEB-INF\classes\log4j.properties
war\WEB-INF\classes\logging.properties
In my "appengine-web.xml" file, I have the following extract for you:
http://appengine.google.com/ns/1.0";>
I remember that I had a problem where the t
To pick one at random:
http://commons.apache.org/collections/apidocs/org/apache/commons/collections/map/LRUMap.html
On Wed, Mar 10, 2010 at 11:08 AM, Prashant Gupta wrote:
> Thanks Don for clarification.
>
> 100MB seems sufficient for me. Please suggest me a library for LRU caching
> implementat
Instead of
@PrimaryKey
private String key;
have you tried
@PrimaryKey
@Persistent
private String key;
?
Since I use keys as encoded strings (instead of unencoded string
keys), I personally use
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@Extension(ven
On Wed, Mar 10, 2010 at 6:14 AM, John Patterson wrote:
>
> No that is incorrect. You actually have very fine control over what is
> loaded and when using "activation" [1]
Ah, this Activation annotation does help out. But it still leaves
edge cases (read on).
I also don't think it really improv
Can you send me your application id, please?
On Tue, Mar 9, 2010 at 10:48 AM, rmurta wrote:
> My application uses Stripes and Freemarker. I am already using the
> freemarker jar version build to gae.
> Application is working fine in the test GAE Server in my local but
> when I deploy it I start
The way I understand it, if an object can be owned by more than one
object it must be unowned. I would assume that cards can be in
multiple decks so they must be unowned. I would assume each deck
would belong to one user so decks could be owned. I don't know a good
way to store cards that can be
The datastore latency graph is still broken (URI too long for Google
Charts):
http://code.google.com/status/appengine/detail/datastore/2010/03/10#ae-trust-detail-datastore-query-latency
In the periods when it works, it reports query latencies sometimes
over one second. The graph is usually accomp
I tell people to give appengine a try if they're using Python, but
that Java support isn't mature enough yet (for exactly this reason). I
also get the impression that Java start up times are getting slower,
or at least more varied; though I haven't been keeping stats over
time.
I'm sure google wil
I have the following datastructure:
"Users" are the root entities, and each "user" can have one or more
"decks", and each deck can have one or more "cards."
When a user wants to add a deck, I would like to be able to add the
deck to the user's collection of decks without first fetching all of
the
My question says it all.
I would love to leverage the centralized structure of the marketplace
and the enhanced user trust that it brings with my app, but what I am
working on is targeted at general consumers, not the enterprise
sector... Why not make something like the marketplace for the general
Hi Nacho,
I agree with you. GAE is great in many aspects. The cold-start/timeout
issue is probably my only concern, too. But the sad thing is that is
an absolute killer. Slow response times are a bad thing, but
exceptions in the cron jobs because of virtual server start issues is
unacceptable, at
Hi,
I am trying to store two dimensional string array in google data
store. I was getting an exception saying this data type not supported.
I tried changing the string array object to java.util.arraylist (gave
serizable = 'true' option). This time I was able to write the data
successfully. But whe
Hi Nacho,
I agree with you. GAE is great in many aspects. The cold-start/timeout
issue is probably my only concern, too. But the sad thing is that is
an absolute killer. Slow response times are a bad thing, but aborting
cron jobs because of virtual server start issues is unacceptable, at
least in
I too would like to be able to use Java to upload data to the
datastore, either from a file or from a jdbc connection. Any
development on providing us with some sample code for the
RemoteApiServlet while creating the docs?
On Feb 24, 7:37 pm, "Ikai L (Google)" wrote:
> You should be able to conne
Hi all,
I'm in the process of porting a small java webapp to GAE and I've
encountered an issue around my use of JasperReports.
I've solved (I think) the original issue I had of how to get the data
into the report by passing a collection of JavaBeans rather than a
JDBC connection.
However I'm now
Hi All,
Can you tell me where can specify my log file in my new Google Web
App.
Is it Log4j.properties file or logging.properties file? and also tell
me how can i make to work?
Thanks in advance.
- MallikarjunBK
--
You received this message because you are subscribed to the Google Groups
"Goo
Hi,
I have 2 persistent classes:
1. class A that has a primary key (Long) and a property called
"name" (String).
2. class B that is referencing class A (one to many relationship, each
B has one A, but A can belong to many B's)
I need to retrieve the B's sorted by the "name" property of A. In
oth
Primefaces (combined with JSF2.0) is also working here
--
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 group, send email to
goog
Thanks Don for clarification.
100MB seems sufficient for me. Please suggest me a library for LRU caching
implementation.
--
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...@go
Memcache has other benefits though. At high levels of traffic you're
sharing a single memcache instance, whereas you may be replicated on to many
JVM processes. As your traffic increases and the number of JVMs increases,
you'll see a lower hit rate.
That said, if you want a two-level cache (for
If yes, I can sit down and wait. If not, I have to keep on my fight
with getting Step2 running on App Engine...
--
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
yes, you are right.
But, in my case, suppose each request requires 100 entities to be fetched
and for any two requests say 90-95 entities are common. So, if I use only
memcache for caching, 100 memcache fetch will be required per request. Or,
if I keep the data in servlet env. for each req., 10-0
You should use memcache instead of your servlet env. The memcache service
will evict values if you run out of memory.
2010/3/10 Prashant Gupta
> Hi,
>
> I have designed my app to keep data (within servlet env.) for all previous
> requests. For each request it will first search the data in "serv
Most interesting:
- How to deploy the app? Restrict to a target domain or not?
- How to integrate Step2 to retrieve user information
- How to use 2-legged OAuth in conjunction with Step2/App Marketplace
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Go
Hi,
I have designed my app to keep data (within servlet env.) for all previous
requests. For each request it will first search the data in "servlet env.
store", if it doesn't find the data here it will fetch data from datastore
and append the same to "servlet env. store". So, if the same servlet l
Hi Jeff, some of your concerns would have been valid with the pre-
release versions but not with the final release 1.0 of Twig. See
below for explanations
On 10 Mar 2010, at 16:14, Jeff Schnitzer wrote:
On Tue, Mar 9, 2010 at 8:47 PM, John Patterson
wrote:
For the sake of comparison, see
I have defined a class :
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
@SuppressWarnings("serial")
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachab
I'm having similar issues these days. It looks like performance got worst,
or even more unpredictable.
Too bad :(
2010/3/10 Nacho Coloma
> Actually this is the one and single thing that makes my GAE experience
> kind of bittersweet. I am still recommending the platform to friends
> and colleagu
Actually this is the one and single thing that makes my GAE experience
kind of bittersweet. I am still recommending the platform to friends
and colleagues, but mentioning the cold start problem up front.
Setting this "feature/bug" to high priority would be most welcome. I
think this is the most fo
anyone...?
--
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 group, send email to
google-appengine-java+unsubscr...@googlegroups.c
OK, filled this here:
* http://code.google.com/p/googleappengine/issues/detail?id=2943
On Mar 9, 8:21 pm, Don Schwarz wrote:
> No, at the moment we specifically disable jetty-web.xml for security
> purposes. Feel free to file a feature request in our issue tracker asking
> us to re-enable it.
>
This is silly, but yesterday night it worked!
My app runs a cron job everyday at 2am my time (8:00 GMT). Often the
job fails because of a timeout. You know, those timeouts one gets
because the virtual server won't start.
Then I tried this silly solution. I run 5 dummy jobs 5, 4, 3, 2 and 1
minute
On Tue, Mar 9, 2010 at 8:47 PM, John Patterson wrote:
> For the sake of comparison, see below for the Twig equivalent
>
> class UserSkill {
> �...@parent User user;
> String skill
> int ability;
> }
>
> Note that no key is required and user is referenced directly so your model
57 matches
Mail list logo