Also, I get this error: *Can only filter by properties of a sub-object if
the sub-object is embedded.* when I tried to access article while setting a
fitler: query.setFilter(reviewer == reviewerParam article.status =
articleStatusParam);
What am I missing?
On Sat, Aug 22, 2009 at 6:02 PM, Sam
Hi there,
I am trying to handle some really simple Relationships with JDO and
Datanucleus.
I read one thread about a similar Problem. But the developer in that
thread handles the keys by himself. He generates the keys with a
KeyFactory and stores just Keys instead of the dependent Object. Do I
Thanks Alexei,
I just don't understand why Google has not pushed it to
http://code.google.com/p/google-maven-repository
Should be part of there release plan!
On Aug 24, 5:56 am, Alexei Vidmich ale...@vidmich.com wrote:
I managed to setup maven descriptor so that I can build and enhance
Any similar tools that one could use with GAE?
On Fri, Aug 21, 2009 at 11:04 AM, Marc Guillemotmguille...@yahoo.fr wrote:
currently not :-(
As far as I know, there are 3 main issues:
(1) URLStreamHandler not on white list
http://code.google.com/p/googleappengine/issues/detail?id=1384
http://code.google.com/appengine/docs/java/datastore/relationships.html#Dependent_Children_and_Cascading_Deletes
-
Dependent Children and Cascading Deletes
The App Engine implementation of JDO makes all owned relationships
dependent. If a parent object is deleted, all
All I'm doing is persisting an entity in the datastore. No biggie. And
now I get this super weird error. What is the deal here?
I have no idea how to fix this, especially when the stack trace says
that some code is calling some code which should be impossible. Has
anyone run into this problem
Hi,
I'm trying to use default fetch groups to obtain fields at once (not
on demand) in my entity:
public class Survey {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@Extension(vendorName=datanucleus, key=gae.encoded-pk,
value=true)
private String
Can U explain with picture step by step ? Sorry i have try ur
instruction
By right clicking either on the error in the Problems tab or
by right clicking on the project in the package explorer, find Build
path. I don't know if the next step was necessary, but under Java
Build Path, I included a
hello,
I have three objects User, Type and Announce
i'm storing the User and his Type (relation one to one)
i want to store a new Announce and in the same time affect the
persisted User to the new announce
but i have an exception like
javax.jdo.JDOFatalUserException: Detected attempt to
After a lot of research, and some awful tech support from Network
Solutions, I decided to move to another domain registrar. I picked
NameCheap.com - the name itself does not inspire confidence but I
found a lot of good reviews, and the services are good.
One nice thing about them is that you
On Aug 24, 4:44 am, objectuser kevin.k.le...@gmail.com wrote:
Do you get it when you're trying to walk the graph on an object? If
you add that property to the defaultFetchGroup does it fix it?
I'm not sure I got that. What I do with the test, I call on a DAO
object that uses JdoTemplate to
Hi,
As you know, the default theme is blue, i.e. the borders or tabs are all in
blue. So is there a quick way to change the blue color into another color
such as green? I mean changing everything into green wherever currently
shown in blue.
Thanks a lot.
--
Best Regards
Robin (邹志乐)
An IN clause ? you mean you pass in a parameter (inputParam) that is
a Collection and then say something like this ?
inputParam.contains(someFieldOfMyClass)
That's Java, so is JDOQL.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
there is any way to do an IN clause in a JDO request
thanks for your help
--~--~-~--~~~---~--~~
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
With the Google App Engine, one must use https://domain.appspot.com
for SSL. With Google, the issuer is the Google Internet Authority. I
accept this, however when one uses VeriSign as the issuer, they're
allowed to display a VeriSign Secured logo. This logo can also be
clicked to to trigger a
[bcc google-appengine-j...@googlegroups.com]
[+google-web-tool...@googlegroups.com]
Hey Robin,
You'll probably get a quicker answer for this on the GWT users group.
2009/8/24 Zhi Le Zou zouzh...@gmail.com
Hi,
As you know, the default theme is blue, i.e. the borders or tabs are all in
blue.
Hi,
You can't add a JDK by adding the JDK's bin path to your classpath. What you
need to do is go into the Java Build Path dialog, and select the JRE System
Library entry. Then, click Edit. A dialog will pop up, giving you the
option to select an alternate JRE. However, you probably have not
The fact that it did not complain at the outset is odd. Just to be clear,
you restarted Eclipse, and the error showed up right away, or did you do
anything else?
Do you have the Build Automatically option checked?
On Sat, Aug 22, 2009 at 7:33 AM, jack jack.terran...@gmail.com wrote:
Thanks for
Filed as http://code.google.com/p/googleappengine/issues/detail?id=2019
On Thu, Aug 20, 2009 at 10:15 PM, Geoff Denning gdenn...@gmail.com wrote:
They are hidden at the OS level, which seems to hide them in Eclipse
as well.
On Aug 19, 9:08 am, Miguel Méndez mmen...@google.com wrote:
Are
Hi,
I got the same exception using the persistence manager (jpa) outside a
spring transaction.
Is it your case?
W.
2009/8/24 randal rdgo...@gmail.com
On Aug 24, 4:44 am, objectuser kevin.k.le...@gmail.com wrote:
Do you get it when you're trying to walk the graph on an object? If
you
I'm getting the impression I'm missing something ridiculously simple here.
The logging levels I see access to (which show up in the log interface in
the GAE dashboard) are:
java.util.logger.Level.INFO -- Info
java.util.logger.Level.WARNING -- Warning
java.util.logger.Level.SEVERE -- Error
But
+1 to Wagner for a better way of determining the issue. :)
On Aug 24, 12:25 pm, Wagner Aioffi wagner.aio...@gmail.com wrote:
Hi,
I got the same exception using the persistence manager (jpa) outside a
spring transaction.
Is it your case?
W.
2009/8/24 randal rdgo...@gmail.com
On Aug
On Aug 25, 1:44 am, objectuser kevin.k.le...@gmail.com wrote:
+1 to Wagner for a better way of determining the issue. :)
Yeah, that pretty much says it. If I'm not mistaken, JdoTemplate takes
the persistence manager from the OpenPersistenceManagerInViewFilter,
or any existing transaction. I'll
The mappings for java.util.logging levels to GAE log levels are:
level = SEVERE - Error
level = WARNING - Warn
level = INFO - Info
else Debug
We reserve the Critical level for errors such as escaping ServletExceptions
(e.g. errors that would cause 500s).
So, for example, if you
I have same problem here. in localhost this guest book it's working.
but when i uploading , and i try to open this link, it's show nothing.
what i missing something? i using eclipse and i has install google
plugin.
-
Creating staging directory
Scanning for jsp
For a general solution (that will work it tests and outside of
tests ... and you might want to verify that the
OpenPersistenceManagerInViewFilter will work on the GAE host), you'll
likely need to look into fetch groups.
On Aug 24, 12:50 pm, randal rdgo...@gmail.com wrote:
On Aug 25, 1:44 am,
On Aug 24, 8:08 pm, Toby Reyelts to...@google.com wrote:
The mappings for java.util.logging levels to GAE log levels are:
level = SEVERE - Error
level = WARNING - Warn
level = INFO - Info
else Debug
We reserve the Critical level for errors such as escaping
Has anyone managed to get @EmbeddedId with JPA to work in GAE/
DataNucleus???
@Entity
public class MyEntity {
//...
@EmbeddedId public MyId id;
}
// ...
@Embeddable
public class MyId {
//...
public String id;
}
I'm getting an unsupported primary key type exception at runtime
Oh, Toby, thanks :-)
2009/8/24 Toby Reyelts to...@google.com
[bcc google-appengine-j...@googlegroups.com]
[+google-web-tool...@googlegroups.com]
Hey Robin,
You'll probably get a quicker answer for this on the GWT users group.
2009/8/24 Zhi Le Zou zouzh...@gmail.com
Hi,
As you know,
Thank you!
That works for me.
For future reference for anyone reading this thread, this is what I
did:
- Go to Run - Run Configurations...
- Create a new Java Application run configuration
- Use com.google.appengine.tools.KickStart as the Main class
- Go to the Arguments tab
- Enter
On Jul 13, 2:16 am, Shawn Brown big.coffee.lo...@gmail.com wrote:
Hello,
I'm seeing Attempt was made to manually set the id component of a Key
primary key. If you want to control the value of the primary key, set
the name component instead.
Do I have to fetch an object before updating it?
I have the same problem. And in my case it´s related to the use of the
@PersistenceAware annotation. If I don´t use it, it works fine,
otherwise eclipse starts an infinite loop with the enhancer.
On Jul 7, 12:25 pm, Alex Rudnick a...@google.com wrote:
Alright, thanks for the detailed report!
Hi there,
I am struggling to implements one-to-many relationship ,but I
never make it work. Does any body make any relationship based
on JPA? or it is impossible on GAE / J ?
Thanks
--~--~-~--~~~---~--~~
You received this message because you
Does anyone know if JPA supports polymorphism? I've been working with JDO
because it appears to be better documented right now, but I'd switch for a
more Java-like model.
Tom
On Sun, Aug 23, 2009 at 7:22 AM, David Given d...@cowlark.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Im trying this on google appengine:
public class MyFilter implements javax.servlet.Filter {
public void doFilter(ServletRequest servletRequest, ServletResponse
response, FilterChain filterChain) throws IOException,
ServletException {
response.getWriter().print(port +
I second Jeff's call for some transparency here.
Ben
On Aug 18, 10:17 am, Jeff j...@jgyoung.com wrote:
Sometimes more warning isn't possible if maintenance is necessary to
avoid the system tipping over because of a problem. But of course, if
it wasn't an emergency maintenance, then 22 hours
Thanks, I'll try to port the site to GAE.
On Aug 23, 11:05 pm, Barry Hunter barrybhun...@googlemail.com wrote:
No this is not possible, for many reasons.
A static IP would lose much of the advantage of AppEngine.
You could if you want proxy the site though the server with the static
IP,
Hi yaoye,
Although it's not possible to bind a static IP to an App Engine app (or to
route an individual IP address across the internet in general), no search
engine - including Google - is likley to penalize you for your IP address
changing. Search engines generally only care about your DNS name
Hi Devel63,
A ReferenceProperty is simply a Key stored in the datastore with the entity
it's on. There's no limit on how many properties can contain a given key.
-Nick Johnson
On Thu, Aug 20, 2009 at 7:36 PM, Devel63 danstic...@gmail.com wrote:
Is there a limit to the number of entities that
Hi leo,
It's not possible to receive email using App Engine, currently, and it's not
possible to run your own servers on arbitrary ports. Receiving email is on
the roadmap; in the meantime you may want to consider services like
smtp2web.com.
-Nick Johnson
On Fri, Aug 21, 2009 at 8:14 PM, leo
Hi,
Last week two of my users complained about entities that
disappeared. I searched for the records using a simple query with no
composite index and found them, and confirmed that they were not
returned by a composite index that should return them. The index was
up and running, and as far as I
Hi Michael,
It's not really possible to help without more details. Can you provide us
the contents of your main.py script? It seems likely that your code is
decoding the key being passed in, and returning a 404 if the key isn't
found.
-Nick Johnson
On Fri, Aug 21, 2009 at 9:07 PM, Michael
Hi repairman,
Redirects are not required in order to serve traffic from your own domain.
You can simply set up Google Apps on your domain (for free), and use that to
map a subdomain (for example, www.abc.com) to your App Engine app. Naked
domains (abc.com) are not currently supported, but that
Hi Allen,
On Mon, Aug 24, 2009 at 2:36 AM, Allen allen.lu...@gmail.com wrote:
As we know we can use http://localhost/_ah/admin; to go through the
local database before upload to GAE. And we can not directly use
http://www.mydomain.com/_ah/admin; to visit the online database after
appcfg.py
Hi Devel63,
Please file a bug for this on
http://code.google.com/p/googleappengine/issues/list .
-Nick Johnson
On Sun, Aug 23, 2009 at 7:23 PM, Devel63 danstic...@gmail.com wrote:
It seems that the keys_only flag in the Kind.all(keys_only=True) does
not work/compile for the search.Searchable
Hi vivipuri,
Please file a feature request at
http://code.google.com/p/googleappengine/issues/list .
-Nick Johnson
On Sat, Aug 22, 2009 at 5:30 PM, vivpuri vivpu...@gmail.com wrote:
While doing appcfg.py update /src, that command also updates the cron
jobs. While there are commands to
Hi abonneau,
Try logging in via http://appengine.google.com/a/inmotio.com .
-Nick Johnson
On Fri, Aug 21, 2009 at 3:43 PM, abonn...@inmotio.com
abonn...@inmotio.comwrote:
Hello all,
I have signed up for an account, created my first application ID, and
uploaded my application to the App
do not forget to add a prefix to the key_name (ie : 'k:',...)
Else if your key_name starts with a number it will raise an error
On 24 août, 12:56, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Jeff,
On Sat, Aug 22, 2009 at 7:24 PM, Jeff Enderwick
jeff.enderw...@gmail.comwrote:
Have people had success with
Pyjs (aka pyjamas) + GAE + Django ?
I would think this would be cleaner than Python + GWT.
If so, can someone post a sample app?
Thanks,
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I decided to finally do something about the Timeout exceptions
littering my log.
I read somewhere on this forum that I am supposed to code around data
store accesses to try things out several times in case of timeouts. Is
this still necessary? Why won't the methods just do that internally?
This
Seems super useful, thanks a lot!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send
You can make it into a decorator which will make it easier for your
functions to code. I use this:
def retry_on_timeout(retries=3, secs=1):
A decorator to retry a given function performing db operations.
def _decorator(func):
def _wrapper(*args, **kwds):
tries = 0
while True:
Hi Jesse,
Mine is a non-billing account, but if the semantics is the same for
both the accounts then YES it means you have stored .07 GBs since the
last quota reset, which happens every 24 hrs, so i'ts the amount of
data stored today.
Regards,
Jai
On Aug 23, 7:01 am, Jesse Grosjean
Hi Jal, Jesse,
A correction: The storage quota is not a daily quota. The storage reported
is the total data you have in your datastore (including indexes etc), not
the amount you have consumed today.
-Nick Johnson
On Mon, Aug 24, 2009 at 2:29 PM, Jai sharma...@gmail.com wrote:
Hi Jesse,
I haven't done it yet (I plan to, not on GAE, though), but I don't see
why not.
Check out their wiki page, they've got a few examples for using Django/
GAE with pyjamas. A couple are outdated, though. If you download the
latest version (0.6), you can see a working example (I think it's
called
Hi,
My indexes are not updating. It always give me Server Error (500) but
application is updated. I need to updates my indexes. Could you please reset
my indexes?
Application ID: maravilhas09
Please, regards,
--
Jairo Vasquez Moreno
Mentez Developer
Sounds like you want to show one URL to your admin/users when on dev,
and another URL when on live/production server?
If so, see this post for Python solution:
http://groups.google.com/group/google-appengine-python/browse_thread/thread/d1537b3ea289322e#
Neal
Hi Jairo,
I've reset your index count quota.
-Nick Johnson
On Mon, Aug 24, 2009 at 4:00 PM, Jairo Vasquez Moreno
jairo.vasq...@gmail.com wrote:
Hi,
My indexes are not updating. It always give me Server Error (500) but
application is updated. I need to updates my indexes. Could you please
Hi Johnson,
I run the application in my local LAN. for example:
dev_appserver.py -a 192.168.1.1 -p 80 myapp
then every one under 192.168.1.x can visit this app by http://192.168.1.1/
but they can also visit the database directly by http://192.168.1.1/_ah/admin
How can I make sure the _ah/admin
Hi Allen,
On Mon, Aug 24, 2009 at 4:37 PM, Allen allen.lu...@gmail.com wrote:
Hi Johnson,
I run the application in my local LAN. for example:
dev_appserver.py -a 192.168.1.1 -p 80 myapp
then every one under 192.168.1.x can visit this app by http://192.168.1.1/
but they can also visit
I'm getting the following error using DataNucleus with Google App
Engine:
org.datanucleus.metadata.InvalidMetaDataException: Field test in
class Wrapper has been defined as a Collection but the element type
has not been specified!
It seems DataNucleus doesn't figure out the collection type when
Oops.
Why every question I search about this topic ends with at Are you
behind a proxy?
It would be nice if you say:
If you are behind a proxy do this, and that and it get fixed.
Or
If you are behind a proxy, forget it, it wont work.
:(
I guess I'll have to wait until I am in a
On Aug 11, 11:03 am, gae123 pa...@gae123.com wrote:
I have been using ReportLab. Apart from the inability to embed
pictures I have been pretty happy with it.
Do you mean that you are using only the pure Python part of it?
Is the inability to embed pictures because that feature
requires gcc for
One of the key requirements to use GAE for enterprise applications is
to document and test all aspects of security.
Of course, you can encrypt all your data at rest but a lot more is
required to satisfy financial industry participants and regulators.
Often a SAS70 type-2 audit or PCI compliance
Hi all!
Has anyone of you tried using twitter4j in appengine? I am a bit stuck
and the code examples on their website isn't helping me very much at
all. I am struggling to find a way to use it using servlets etc
because the code examples are in a main method.
I delineate my problem more in a
This problem has been many days.
import urllib
req = urllib.urlopen('http://www.google.cn')
Traceback (most recent call last):
File /base/data/home/apps/shell/1.334417654335420704/shell.py,
line 278, in get
exec compiled in statement_module.__dict__
File string, line 1, in module
hi guys~
i'm building a try-out application on my local pc, i change the entity
structure, but i find no way to totally delete the old entities that
already stored in ds with the old structure. i tried to delete them
from admin console, but shown again after i restart the application.
waiting for
Hi Group.
I'm trynig to create an application on google app engine website but
when I put my mobile phone say that i have en error.I try with Comcel
on Colombia. Thanks for any help.
Regards.
On 25 jul, 17:49, Jonathan Mayhak jmay...@gmail.com wrote:
I think that I'm having the same
Hi veearrsix,
Like vp mentioned above, the fastest way to query flickr is to use
their json api,
Below is some code that I use in one of my Google Wave Robots to do
such a thing, hope it helps.
The code was given in the Robots group and is not mine, but it does
work.
[code]
def
hi, i know it's pretty impossible to delete an appengine app once
you've created one, but is there any way to rename it (the application
identifier) ?
also is there any way to change the Authenticiation Options after you
create it ?
Appreciate any pointers on this.
John.
I wanted to create an app on Google App Engine, and initially, this
would be called the Logger. Unfortunately, this name is not
disponivel.normal, but now any name I put already failed ...
What are the requirements for the actual name of the App?
Hi all,
I am new at Google Technologies. The first sample I have been trying
to develop is Flex Remoting with Google App Engine. While inserting
and listing there is no error, but when I try to delete or update a
database object I am facing with the exception below:
javax.jdo.JDOUserException:
I have similar problem. It was solved using https_proxy ( secure )
http://bit.ly/ZigHq
On Aug 10, 5:16 pm, Jeff S (Google) j...@google.com wrote:
Hi Kashif,
It looks like this might be an issue with DNS or some part of the network.
Are you behind a proxy?
Thank you,
Jeff
On Thu, Aug
Does anyone have an end-to-end sample of using twitter4j on app an
engine? Any alternative library that allows me to use OAuth with
twitter would also be useful. I am trying to build an application that
uses oauth for twitter on app engine with GWT as the front end... this
is proving harder than
repairman,
I'm building what I hope will be a real business on GAE. In
particular, my system design is not possible in environments like EC2,
because of the extra configuration and overhead involved in holding a
static IP. That was a design decision by Amazon. Not having a static
IP was a
Found it under Program Policies. I didn't think I could, but you know the
Adult guys always trying to convince you they can do such things.
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of Brandon N. Wirtz
Sent: Monday, August 24, 2009 9:59
thanks - I got bit by those __init__ nuances over the weekend. I ended
up passing an optional flag to the __init__ to say this is really a
new() vs a datastore reconstitution. I del the optional flag from
kwargs before calling the super __init__. In the datastore
reconstitution case, I do nothing
If you only want the 3rd object, do you think it's faster
-- Just do a normal fetch(3)
-- Do a keys_only fetch(3), then a get of the 3rd key?
On Aug 23, 4:41 pm, djidjadji djidja...@gmail.com wrote:
Your query will probably fetch more then 25 Action objects. Fetching
all those Keys is fast.
If it is about response time I think the normal-fetch(3) is faster.
Only one call to the datastore, objects are fetched and converted to
python-objects in parallel.
If you also want to optimize the CPU-ms it depends on the size of the objects.
Writing a test is the only way to know for your type
Hi there,
we need to set up a developer (mainly to use this as a from adress for
outgoing emails on our portal).
But the invitation is never sent when using a domain hosted by google
sites.
Email invitations to external domains work!
Is this a known issue?
The domain we try to set up ist
Hi all,
I have an incredibly simple query that looks like this:
listings = Listing.all().filter(created =, str(now)).order('-
created')[:10]
Currently, it is looking through about 12 records (and returning up to
10), now is a datetime. This regularly times out! How can such a
simple query
Every operation to the datastore has a chance to timeout. You should retry
datastore operations.
On Mon, Aug 24, 2009 at 11:03 PM, Nefarious mike...@gmail.com wrote:
Hi all,
I have an incredibly simple query that looks like this:
listings = Listing.all().filter(created =,
ReportLab works on Appengine, and you can include images. They just
need to be converted to JPG (use the Google image library) before you
embed them into the PDF. JPG is a native format for PDF files, so
Reportlab does not need to make calls to the PIL module when
generating the file.
johnP
Hi, Nick
Many thanks for your valuable suggestions
On Aug 24, 4:35 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi yaoye,
Although it's not possible to bind a static IP to an App Engine app (or to
route an individual IP address across the internet in general), no search
engine -
It would make my paging code a lot cleaner if there were a way to
indicate 'the first key'. Is there? Like db.Key.from_path
(MyModel.kind(), ) when using key_names?
That way, I could compile my GQL and just keep plugging in a new :key
value each iteration, including the first.
I know, the
There is a related feature request, which you can star:
http://code.google.com/p/googleappengine/issues/detail?id=792colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component
On Mon, Aug 24, 2009 at 1:13 AM, jackyaoye...@gmail.com wrote:
Thanks, I'll try to port the
86 matches
Mail list logo