Toby, there's one obstacle though, the GAE URLFetch timeout doesn't
play nicely with the GData API. I've found that timeouts happen fairly
frequently at peak hours, depending on the GData system you're
accessing.
There has been an issue posted to the issue tracker about this, but
it's indicated
Maybe for terminology's sake it would make sense to detach the GAE
from any language associations and just indicate that there are cross-
compilers from Java/Python to GAE. Then there would be no question on
whether it's technically Java - one does write in Java, it's just
that the cross-compiler
Suppose someone writes an app in C and wishes to cross compile to
Java. In that scenario, if some C class is unsupported by the cross-
compiler, then does the C app stop being a C app? No.
Bobby
On Dec 1, 4:10 am, Bobby bobbysoa...@gmail.com wrote:
Maybe for terminology's sake it would make
Hi Bobby,
On Tue, Dec 1, 2009 at 09:21, Bobby bobbysoa...@gmail.com wrote:
[...]
BTW, Guillaume, if you're using GWT on your project consider using the
gwt-gdata (http://code.google.com/p/gwt-gdata/) library, it's not as
complete as the Java library, as far as systems, but it can help
reduce
the GAE isn't cross-compiling, javac is doing the compiling (the real
java compiler), so it's kind of a moot argument. The point is, the
system runs java, not g-java, not pseudo-java, it's java. It just
doesn't have all the libraries you want. That's all. It's written in
the Java programming
The bug is http://code.google.com/p/googleappengine/issues/detail?id=2401
On Nov 16, 10:14 pm, Ikai L (Google) ika...@google.com wrote:
Peter,
File a bug if you can. Even though it's experimental, it's been released to
the public and we can use all the help we can get when prioritizing
same here, app-id : antshpra queue : default
--
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
Hello,
I'm trying to do integrations tests in my app, but I get a
NullPointerException when this line is executed:
private static final EntityManagerFactory instance =
Persistence.createEntityManagerFactory(transactions-optional)
See:
Caused by: java.lang.NullPointerException
at
I don't know about any jdo tool. And how would you generate a class
from a schema-less datastore like Google's BigTable?
You can use ID as Long, yes. But you need Key object when need to do
atomic transaction between multiple entities. To understand it you
*must* read all the topics about the
Thank you very much Prashant. Sometimes documentation misses out the
simplest and yet most important things. After you pointed out the path
needs to be in quotes, it dawned on me that of course it can't find C:
\Documents because that's not a path to anywhere l...@myself
Thanks again - I can now
Hi,
Please arrange persistence.xml
in the [war/WEB-INF/classes/META-INF] folder.
Please try.
thanks.
On 12月1日, 午後7:42, Felipe Cypriano fmcypri...@gmail.com wrote:
Hello,
I'm trying to do integrations tests in my app, but I get a
NullPointerException when this line is executed:
private
Hi all,
I would to point to the application database with MyJUnitTest.
I did some experiments but none did succesfull.
Any suggest?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send
Hi all,
SimpleDS, an alternative storage framework for GAE, has hit its 0.8.1
release. This release includes a couple of interesting features:
Multiple valued index
===
This is a little experiment that is working quite well for us. A new
IndexManager class will store and retrieve
Ive done some more testing and it seems the problem is not limited to
character 0008, but that in general strange unencoded characters
occasionally show up, apparently without following any pattern. Anyone
else encountering this issue?
Thank you
David
On 11/30/09, david ruescas
The fact that the feature is called 'Pay to reserve a JVM' is
interesting.
Does it mean that each application runs in it's own JVM?
On Nov 30, 4:57 pm, Jeffrey Goetsch jeffg@gmail.com wrote:
There is a feature request to allow you to Pay to Reserve a JVM. They are
wanting to see if
A GAE app may have nothing to do with Google Apps. I think David's
idea is a good one and there should be a GAE Apps Marketplace.
Jorge Gonzalez
On Nov 30, 1:53 pm, Ikai L (Google) ika...@google.com wrote:
David,
We have a solutions marketplace for Google
Many web servers have a configured map between file extensions and
content types and that's how the browser knows how to handle a file if
no content type was specified in the HTTP. However, you don't know if
all your user's web servers are configured in such a way and that is
why it is better to
+1
--
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.com.
For
Hi Ikai L/Google App Team,
Did you get a chance to look at this problem?
Thanks,
Ravi
On Nov 30, 8:19 pm, Ravi Sharma ping2r...@gmail.com wrote:
Hi,
Thanks for looking into it.I am sending the small code which i am using. I
am using smack library.
This behaviour is not consistant. Once i was
Hi guys,
I need your opinion regarding this issue :
The persistence classes get more complex as the application grows and
gets more complex. For my question, consider the following example:
Animal {
long id,
float weight,
float speed
}
JungleAnimal extends Animal {
ListAnimal
I'm trying to solve the following problem using task queues:
1. Queue a task to perform some action N.
2. Until action N has been performed, don't allow any other tasks to be
queued that also perform action N.
3. As soon as action N has been performed, immediately allow other tasks
to be
Is it possible to get a google rep to answer this? When the i deploy,
does it upload the source code to the engine as well? It would be
great to retrieve it in case a project gets erased locally.
On Nov 28, 3:19 pm, IlyaE ilyaelk...@gmail.com wrote:
Is there a way to import the source code into
Have you thought about using a version control system tool, like Subversion?
That is the way to work in projects and not to lose anything...
Cheers,
Bruno
2009/12/1 IlyaE ilyaelk...@gmail.com
Is it possible to get a google rep to answer this? When the i deploy,
does it upload the source code
No, the code is not uploaded. Further there are no facilities with GAE
to download existing applications.
Tim
Sent from my iPhone
On Dec 1, 2009, at 12:02 PM, Bruno Aranda brunoara...@gmail.com wrote:
Have you thought about using a version control system tool, like
Subversion? That is
How about this?
http://code.google.com/appengine/docs/java/howto/unittesting.html
It shows you how to wire the Gae storage to Junit
On Dec 1, 1:44 pm, Zenon zeno...@gmail.com wrote:
Hi all,
I would to point to the application database with MyJUnitTest.
I did some experiments but none did
Could you please post the model objects that are involved? Also, what
version of the SDK are you using?
Thanks,
Max
On Mon, Nov 30, 2009 at 2:26 PM, Jeffrey Goetsch jeffg@gmail.comwrote:
Update: This appears to happen when I remove the last entry in the Set.
--Jeff
On Mon, Nov 30,
I'm just beginning with GAE, and although I've programmed in Java
before, I'm a little rusty. I'm trying to create a bookmark manager
application.
I have two objects, a Category object and a Bookmark object. I want
the Category object to be able to store multiple sub-categories as
well as
Jersey (JAX-RS REST reference implementation) version 1.1.5 (trunk)
works on Google App Engine (http://blogs.sun.com/sandoz/entry/
jersey_apps_can_now_be) without custom patching required. As with
Restlet JAX-RS, appropriate response Providers can be easily authored
as required eg. use of Google
Hi,
Follow this thread:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/b49ff7e581723dab/868085ecbe2bc826#868085ecbe2bc826
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e6a23e509e7d43c9/4ba5eeb4573731dd?lnk=gstq=seleronM#4ba5eeb4573731dd
Hi Bryce,
Thanks for posting your model objects. I'm not able to reproduce the
exception you're reporting, but then again I'm just guessing at how you're
populating your objects and persisting them. Here's what I did:
Bundle b = new Bundle();
RatePlan rp = new RatePlan();
On your blog entry here --
http://blogs.sun.com/sandoz/entry/jersey_apps_can_now_be
I tried the link http://jersey-jax-rs.appspot.com/test/resource; and
I get
This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the
On Nov 30, 11:23 am, Prashant antsh...@gmail.com wrote:
Hi,
I have a servlet with request handler */file/** . I want to return a file *
/theme/bg.gif* for all */file/*.gif *. I can check for .gif extension then
how do i send */theme/bg.gif*, for */file/*.gif* without sending a redirect
?
I see what you mean. Say, an application marketplace where folks can
download source code for applications and deploy to their own App Engine
instances, get support, download updates, and so forth. It's an interesting
idea. We're focusing on Apps for Google Apps for the Enterprise in a SaaS
model
I have had an App that uses RPC running for about a week and it has
suddenly stopped bringing back data that would normally be returned.
The Login part is working and uses RPC. It works fine run locally in
Hosted mode and complied and run in Firefox.
Please I am new and was very happy to learn
Ilya, we do not allow downloads. In the case of Java applications, you're
uploaded compiled .class files, anyway, so these would not be of much use to
you.
As everyone else highlights, source control is crucial. You can use free
hosting on sites like BitBucket (Mercurial), GitHub (they have a
or I could be like, keeping app source closed and people pay for installing
app on there app id + support and all
--
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
WOW Max!
You deserve a gold star for your insight, TY! TY! TY!
I added a PM parameter to my lookup utility layer and the code suddenly
works as desired.
While I was using a static PMFactory, I didn't realize that calling get()
would begin a new transaction context every time,
It does makes sense
Can you post any sample code? This is the code I am using, and I am able to
create grandchild objects:
/* Domain classes. Imports implied */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class League {
@PrimaryKey
@Persistent(valueStrategy =
BTW, I've noticed that the dev server actually behaves the way I would like
it to. It only throws a Task name already exists exception while the task
is queued; as soon as the task runs it allows you to queue up another task
with the same name.
I guess I'll just open a feature request on this in
I don't see a call to tx.begin() in the code below. Is that a typo or is it
actually missing?
On Tue, Dec 1, 2009 at 12:29 PM, bryce cottam bcot...@gmail.com wrote:
thanks so much for checking into this Max.
The data that I'm saving is user generated, so there's not a set
script for it.
In the image library provided by google, in the function:
Transform resize = ImagesServiceFactory.makeResize(width, height);
It seems like the resized image is always taking the height and ignore
the width.
Can anyone tell me how I can change the aspect ratio?
--
You received this message
Now I'm starting to suspect something funny going on with your config. I
received a TransactionNotActiveException when I tried to run your code
without starting the txn, and the fact that you didn't receive that
exception doesn't make any sense to me. I can't explain why you see the
exception
yeah, I didn't see a TransactionNotActiveException.
here is my jdoconfig.xml:
persistence-manager-factory name=transactions-optional
property name=javax.jdo.PersistenceManagerFactoryClass
value=org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory/
Hi All,
I was just wondering, when we upload the app to Google, what
is the point of uploading the jar files under war/lib directory, I
think Google could provide these jars on their side.
I tried to remove the jars, but I get an error when uploading the app.
Yiming
--
You
Ravi,
Using the sample code, I am able to get above 10 messages a minute. What
happens when you add your application in GTalk instead of your custom
client? Here's the code I'm using. It's basically an XMPP echo server:
import java.io.IOException;
import javax.servlet.http.*;
import
Vince, shouldn't you use an un-named Task queue (to avoid Naming rules
mentioned) but query your own datastore semaphore prior to adding to
the queue. This way when task N runs it manages the semaphore (a
Entity) to implement a mutex begin/end sequence. I believe this
implies that task N will in
I'm not sure I follow the first part of your response--are you mixing up
queue names and task names?
But, yes, implementing a mutex via memcache works (I've already tested it),
but there are two things I don't like about this approach:
1) There's additional overhead of using memcache (about
Also, the nature of memcache is such that it would not be reliable for
a mutex (since objects can be removed by the system at any time
regardless if Task N is running), hence the potential for duplicate
task entries.
On Dec 1, 4:08 pm, James H james.hollier...@gmail.com wrote:
Vince, shouldn't
Nicky,
What are you doing in RoleFilter? Is it something that would use this
library?
When deploying an App Engine application, you will need to place required
external libraries under WEB-INF/lib so that they are also deployed
correctly. The reverse of this is also true: you will need to add
Sorry, I was writing my 2nd reply prior to seeing yours...but I mean't
don't specify a Task Name in order to free yourself from the
rediculous 7-day rule (what good is that?). So really since memcache
is not a good choice for sensitive mutable data such as a mutex, you'd
have to implement your
I think the biggest problem is not knowing approximately how long your
app will be down.
In our case, it took 24 hours
(http://groups.google.com/group/google-appengine-java/browse_thread/thread/5dace4efbd0e45bd).
Apparently it doesn't depend on the size of your database. To my
knowledge, the
Right. However, we have optimized application deployment and storage based
on the assumption that many common java libraries will be shared by a large
number of applications. This gives many of the advantages that you are
looking for (e.g. you won't upload foo-1.2.3.jar if at least one other
Yes, obviously I can't use task names because of the 7-day expiration; I
just happened to be testing something else on the dev server when I noticed
that it behaved the way I wanted.
In my case the unreliability of memcache isn't too much of a concern for two
reasons. First, I expect the tasks be
Hi Ikai,
Yes you are right you might have got 10 messages/minute. As i said i also
got 12 messages/min once( 1 messages every 5 seconds), but this not what i
was expecting. Iwas expecting around 3000 messages/min. I had to send around
5 messages and it completed yesterday. And first time i
Points to add
I'm using Spring 3.0.0 RC1
!-- Resolves logical view names returned by Controllers to Tiles; a
view
name to resolve is treated as the name of a tiles definition
--
bean class=org.springframework.js.ajax.AjaxUrlBasedViewResolver
id=tilesViewResolver
Is there anything helpful in the error log? You can view it on the dashboard;
https://appengine.google.com/
Rafael Reuber wrote:
Hi Toby,
The error only happens when I try to access the application
through the GAE. It's funny, In my computer it work!
The GAE throws erro, when I
Thanks very much for your replay.
On Dec 1, 4:40 am, Ikai L (Google) ika...@google.com wrote:
Calvin, only one instance of PersistenceManagerFactory will exist per
application instance. The expensive part of application loading isn't the
PersistenceManagerFactory. It's the virtual machine
I want to delete all the instances of type X in my datastore. I can't
do this via the console because there are about 2000 of them.
The AppEngine documentation suggests this:
To delete multiple objects in JDO, call the deletePersistentAll(...)
method with a Collection of objects. This method
Hi,
whosoever I send a mail it gets counted in Recipients Emailed quota, how
do I use Admins Emailed quota to send mails to admins.
Thanks.
--
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
:-) Happy to help Andy.
I'm not sure what is triggering the commit of the new object since I don't
see you calling pm.makePersistent() anywhere. How are you concluding that
the TextEntry is actually persisted?
Max
On Tue, Dec 1, 2009 at 12:25 PM, a stevko andy.ste...@gmail.com wrote:
WOW
I agree with Ravi and Bryce...we have other fish to fry (threads to
answer) and Java is a programming language reference which doesn't
imply every library under the sun (pun intended).
On Dec 1, 4:19 am, bryce cottam bcot...@gmail.com wrote:
the GAE isn't cross-compiling, javac is doing the
• Questions for Google App Engine.
I use the GAE (Google App Engine) Admin Console to create an
application.
Could I delete this application after it is created ?
if yes, then how ?
if no, then I will reach my quota
Can anyone give me a clearer understanding of what an update is, in
the statement: Any single entity or entity group can only be updated
about five times a second.
What level is an update? Is it a single update to a single field?
Is it a set of field updates to a single Java object? Is it a
I am trying to play around with grails (very new to it) and grails app
engine plugin - I got stuck with The filename or extension is too
long error when I try to run grails app-engine related tasks. Any
help would be appreciated.
I am using gorm-jpa so I guess I need datanucleus to do its
pm.deletePersistentAll(pm.getExtent(Student.class, false));
So the error you got is correct. An Extent is not a Collection. It is
an Extent. You could copy the objects out of the Extent into a
Collection.
--
You received this message because you are subscribed to the Google Groups
Google App
One more thing - do not forget to tell the App Engine that the files
you want to read by getResourceAsStream() are resource files. Include
the following into your WEB-INF/appengine-web.xml:
resource-files
include path=/theme/*.gif /
/resource-files
Vaclav
On Nov 30, 2:31 pm, bysse
66 matches
Mail list logo