hmmm I think I may have installed the patch wrong perhaps. I
still get the same error.
I'm using the same code I sent you for the test case Max. Do you see
any tell-tale signs in here that indicate I've mis-configured
something? I have datanucleus-appengine-1.0.4.1-RC2.jar on my
classpath
1.normally on spring, we will use @transactional at service layer for
concurency control, if we use google guice, is there similar
annotation and does it suported in GAE?
2. is google guice all classes supported in GAE? i about to start look
at google guice, as i find some of the classes in spring
Hi all,
I understand this is a relatively basic question, but I have been
searching around and can't find an answer that explains it. According
to http://www.datanucleus.org/products/accessplatform/jdo/types.html
there shouldn't be any problem with using an int as a PK, but when I
use it in my
Error in meta-data for my.syncdroidserver.Box.boxID: Unsupported
primary key type: int
http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
Hi,
I try to develop an eCommerce solution on GAE for Java. The solution
has to manage up to 100 000 products. Customers can search by
different ways like by theme, category, brand, price as you can do for
example with Amazon.
I have some difficulties to find a good way to implement the fact
Alright I just didn't realize datastore datanucleus plugin was the
responsibility of the google team.
I created some issues:
http://code.google.com/p/googleappengine/issues/detail?id=2501
http://code.google.com/p/googleappengine/issues/detail?id=2502
Hello,
I have currently some troubles with logging in junit tests. In
general, I have the following questions:
-) According to the manuals, I could basically use any log framework
which logs to System.out and System.err, respectively (e.g., log4j).
However, for having a fine grained selection
On Dec 5, 7:45 pm, Rusty Wright rwright.li...@gmail.com wrote:
Is it possible to use the GAE Eclipse plugin if you're using Maven? Maven
uses a different directory structure so I'm guessing that's why the GAE
plugin doesn't recognize the project as a GAE web app.
Google seems determined
On Dec 12, 2:50 pm, a.maza andr.m...@gmail.com wrote:
Hello,
I have currently some troubles with logging in junit tests. In
general, I have the following questions:
-) According to the manuals, I could basically use any log framework
which logs to System.out and System.err, respectively
Thanks Max, that fixed my problem with the inheritence.
One other question: What version of the ORM code is currently
included in the 1.2.8 SDK? I only ask because I noticed that the
release notes for ORM VERSION 1.0.4 Final includes Support
datastore cursors, and am wondering if that is
I'm running some JUnit tests to excercise my data-layer classes using
the TestEnvironment patter implementing ApiProxy.Environment (i.e., so
I can test my code's datastore operations inside of JUnit).
The tests run fine, except when I try to interact with the Statistics
from inside of a test.
Sorry for not clarifying -- my example is all JPA, and the import
statements in my code imply the following:
@javax.persistence.OneToOne
@javax.persistence.Embedded
On Dec 11, 5:06 am, Rusty Wright rwright.li...@gmail.com wrote:
Are you mixing ORMs? �...@onetoone is JPA and @Embedded is JDO?
LonRe Wang (lonre...@gmail.com) wants to start sharing their location with
you on Google Latitude. You need to sign in to Latitude with a Google
Account (eg, @gmail.com) and invite LonRe Wang. To get started, or to learn
more about Latitude, click the link below. To get Google Latitude on
LonRe Wang (lonre...@gmail.com) wants to start sharing their location with
you on Google Latitude. You need to sign in to Latitude with a Google
Account (eg, @gmail.com) and invite LonRe Wang. To get started, or to learn
more about Latitude, click the link below. To get Google Latitude on
On Dec 12, 11:32 am, Shawn Brown big.coffee.lo...@gmail.com wrote:
Error in meta-data for my.syncdroidserver.Box.boxID: Unsupported
primary key type: int
http://code.google.com/appengine/docs/java/datastore/creatinggettinga...
How long have these restrictions been in place? I have created
H, some issues surrounding this:
* As you've probably figured out, the datastore natively only
supports two types of id, Long and String
* Only Long will autogenerate
* There is no guarantee that autogenerated values will be monotonic
or even valued in the low-order 4 bytes.
So, if you are
Yep, that was my reaction, definitely not really good enough.
I'm using Spring and I've heard that it makes apps slow to start with all of
its instantiating and wiring things together. I've been meaning to search or
post a query on the Spring forums about things I could do to
rc3 runs on gae for me (finally). The error I was getting previously,
NoClassDefFoundError:
org/springframework/core/convert/support/DefaultConversionService was because I
was using Spring Security 3.0.0.RC1; rc3 needs the latest Spring Security,
3.0.0.RC2.
asianCoolz wrote:
any update on
I should say that Spring 3.0.0.RC3 needs the latest version of any and all
Spring projects you may be including; it's not just Spring Security.
Rusty Wright wrote:
rc3 runs on gae for me (finally). The error I was getting previously,
NoClassDefFoundError:
Very good question; I'd like to know the answer to that as well.
I'm using Spring's @transaction stuff. I tweaked it slightly to make read-only
and read/write annotations;
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Transactional(
readOnly =
I'm getting google stuff from repos. Here's my dependency pom for gae stuff
(see
http://www.sonatype.com/people/2009/10/maven-tips-and-tricks-grouping-dependencies/):
?xml version=1.0 encoding=ISO-8859-1 ?
project
xmlns=http://maven.apache.org/POM/4.0.0;
I'm using slf4j and logback, and the slf4j adapters for jakarta commons logging
etc., that re-route things through slf4j. Here's my maven dependency pom so
you can see what I'm using. After that is my logback.xml file (everything goes
to the console). If you're using maven, be sure and do a
I think the stats only work on google's servers, not your desktop (or test
environment).
David Fuelling wrote:
I'm running some JUnit tests to excercise my data-layer classes using
the TestEnvironment patter implementing ApiProxy.Environment (i.e., so
I can test my code's datastore
On Sat, Dec 12, 2009 at 20:06, Rusty Wright rwright.li...@gmail.com wrote:
I'm using Spring and I've heard that it makes apps slow to start with all
of its instantiating and wiring things together.
Have you tried to lazy load your beans? In my local tests I have a very
fast startup.
Well this won't help to use id as an array index but...
* As you've probably figured out, the datastore natively only
supports two types of id, Long and String
* Only Long will autogenerate
Key will autogenerate too won't it!
and from the api:
long
Hi
I'm similarly trying to implement faceted/attribute search with Google
App Engine for blog entries (months, tags facets) and products
(product attributes, category, price facets).
My current approach, but I've not done too complex examples, is to
return broad result sets from the datastore
Hi,
Glad to see some reasonable inheritance support in Datastore. However,
I'm a little puzzled. I am trying to setup a simple persistent class
hierarchy, in which the base class defines some standard audit fields
shared by all concrete persistent classes:
public abstract class AbstractEntity
Yes, I would like a real example of how to do this too, I get that
we need to use a URL to accept the request to do something, but where
does the URL start executing code. obviously its not going to be at
the onModuleLoad entry point.
Thanks,
John
On Nov 11, 1:23 am, edarroyo
The docs say The default queue will call the request handler at the URL
/worker ... So it sounds to me that if you were, for example, using Spring
MVC, and had a Spring controller with
@Controller
@RequestMapping(/worker)
public final class WorkerController {
@RequestMapping(method =
@Rusty,
can you explain any specify reason why you tweak it for bigtable?
can elaborate?
--
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 assume they aren't doing a full JVM startup every warm up, are they?
Seems they could load it into the JVM memory.. then page it out to
disk or something. Somehow has to be a way to keep it scalable to many
1000s of users, while not taking 7 seconds to wake up
On Dec 12, 8:20 pm, Rusty Wright
My guess is that they have some sort of soft undeploy which tells jetty to
purge the app's code and data from its memory (after some period of
inactivity). Then when a request arrives jetty re-loads the app (meaning a
full restart of the app). Each jetty might be supporting multiple apps.
Hie
All of a sudden when i type http://www.sakshum.com it redirects me to
http://sites.google.com/a/sakshum.com/www/
I am not sure what changed or went wrong. This was working fine few days
back and i did not made any changes anywhere.
Please guide how to fix this.
Thankx and Regards
Vik
The logs show that Guice is taking 5 seconds to build the Injector. I
have tried setting Guice to development mode in the hope that it would
start up faster but it takes about the same as production.
Does anyone else find Guice slow to start?
On top of this delay it is taking 7 seconds before
Hi again,
I recently tried to login again, and instead of redirect loop I now get this
error message:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error
message and the query that
While using the bulkloader --dump I get the No descending index on
__key__, performing serial download warning of sorts. The dump
occurs, and reasonably fast. However, I thought I didn't have to
explicitly create this index on __key__, that this index was
implicitly created like an index on any
Very often, while doing a restore (to a local sdk app), I get this
error. Retrying on non-fatal URL error: (54, 'Connection reset by
peer')
I believe the retry indeed works, but it's a very unsightly thing to
witness. See error below.
I usually see it for a Kind that has many entities (many, in
Get Nike Shoes at Super Cheap Prices
Discount Ed hardy tshirt (www.withadream.com)
Discount Ed hardy jean (www.withadream.com)
Discount Ed hardy shoes (www.withadream.com)
Discount Ed hardy handbag (www.withadream.com)
Discount Ed hardy other porduct (www.withadream.com)
Discount Nike air
On Dec 10, 11:44 am, Alex Popescu
the.mindstorm.mailingl...@gmail.com wrote:
Here is the scenario in which I'm seeing this error:
- I have a set of tasks that are executed
- the tasks are expensive so sometimes they may reach the
DeadlineExceededError
- in case the DeadlineExceededError
On Dec 11, 4:57 pm, Toby Reyelts to...@google.com wrote:
On Thu, Dec 10, 2009 at 8:19 AM, bFlood bflood...@gmail.com wrote:
also: to write a Hello World python app that responds from a cold
start on the order of 100m - again, I have not seen this in practice
for quite some time. the
any feedback please?
On Dec 9, 9:06 pm, paulmo paul.moll...@gmail.com wrote:
as a first step with appengine, i've deployed the following (re-named)
guestbook app from appengine
samples:http://code.google.com/p/google-app-engine-samples/source/browse/trun...
and i'd like to add another one,
It's not currently available. You can vote up
http://code.google.com/p/googleappengine/issues/detail?id=433, but in
the meantime you'd have to write your own code to do a
memcache.flush_all.
On Dec 11, 2:17 pm, Evgeny evgeny.bo...@gmail.com wrote:
I can do it from my console.. but how can i do
$0.02...
I've become curious about the criteria for deployment of new
instances, and if site code should try to adapt, because of the cold
start overhead for every warm+new that occurs (as traffic ramps up).
Having client side code guess when a 'prime the server' ping would be
appropriate could
First, you need to merge your webapp.WSGIApplication calls. Looking
at the two programs, one calls it in main, the other is inl-ine. I'd
make the combined version look like this:
def main():
application = webapp.WSGIApplication([
('/', MergedInboxAndMainPage),
('/sign',
The code is all visible, so implement it yourself.
Failing that see this:
http://blog.notdot.net/2009/04/Announcing-BDBDatastore-a-replacement-datastore-for-App-Engine
It mentions a couple of further alternatives too.
2009/12/12 Ubaldo Huerta uba...@gmail.com:
Very often, while doing a restore
I don't think you can do this. When you get a DeadlineExceededError
you only have a very short amount of cpu time left -- enough to return
a simple response to the client, but not enough to queue a new task.
I remember seeing some code by Nick that did queue a task after
catching a
I dug a bit deeper, as nobody seems to have a clue either. I printed
all keynames that I retrieved from the datastore in the order they
were retrieved. I repeated this 3 times, each time calling the exact
same code. What turns out to happen is that occasionally, the GqlQuery
returns the keys in
I don't think you can do this. When you get a DeadlineExceededError
you only have a very short amount of cpu time left -- enough to return
a simple response to the client, but not enough to queue a new task.
http://code.google.com/appengine/articles/deferred.html contains
sample code that
I don't think you can do this. When you get a DeadlineExceededError
you only have a very short amount of cpu time left -- enough to return
a simple response to the client, but not enough to queue a new task.
http://code.google.com/appengine/articles/deferred.html contains
sample code that
It may be related to you mixing usage of their filter method from the page
you first linked to (the apps[-1] method)... and GQLQueries.
Try the method from this page:
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html
They are casting the last key grabbed to a string
..or.. the fix may be as simple as changing apps[-1] to apps[-1].key()
in your query2 line.
On Sat, Dec 12, 2009 at 6:18 PM, bsb b...@pearcomp.com wrote:
I dug a bit deeper, as nobody seems to have a clue either. I printed
all keynames that I retrieved from the datastore in the order they
51 matches
Mail list logo