You can find the bug reported in googleappengine Google Code Project
with Issue number 4230:
http://code.google.com/p/googleappengine/issues/detail?id=4230q=isUserAdmincolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
Votes in favor of fixing it are
Caused by: java.lang.IllegalArgumentException: can't operate on
multiple entity groups in a single transaction. found both Element {
type: CityNum
name: 013001
}
and Element {
type: ScheduleProcess
name: 013001
}
at
支持事务,但是不能在同一个事务中操作属于不同实体组的实体。
2010/12/16 EtuO nbaer...@gmail.com
Caused by: java.lang.IllegalArgumentException:* can't operate on
multiple entity groups in a single transaction*. found both Element {
type: CityNum
name: 013001
}
and Element {
type: ScheduleProcess
name: 013001
}
You can not operate on two entities in single transaction unless both are
entity groups.
First delete CityNum in one transaction and then delete ScheduleProcess in
different transaction,
2010/12/16 EtuO nbaer...@gmail.com
Caused by: java.lang.IllegalArgumentException: can't operate on
Hi, kartik.
It works, but how can I rollback the 'first transaction' if the following
operations throws an exception?
2010/12/16 kartik kudada kartik.kud...@gmail.com
You can not operate on two entities in single transaction unless both are
entity groups.
First delete CityNum in one
True. Moved already.
Cheers.
Kido.
On 16 December 2010 04:03, Didier Durand durand.did...@gmail.com wrote:
Hi,
A more appropriate place to post this question is
http://groups.google.com/group/google-web-toolkit
regards
didier
On Dec 15, 8:03 pm, kidowell crui...@gmail.com wrote:
Hey,
If following operation throws an exception,we can not rollback the first
transaction, because it is already committed. What I can think of right now
is, you can manually delete it. but it is not the genuine solution.
Why don't you create owned relation between these two table?
Tell me about your
谢谢大家,只能开启两个事务来解决啦。
在 2010年12月16日 下午6:11,kartik kudada kartik.kud...@gmail.com写道:
If following operation throws an exception,we can not rollback the first
transaction, because it is already committed. What I can think of right now
is, you can manually delete it. but it is not the genuine
不能rollback,但可以roll forward。
这篇可能对你有帮助:
http://www.keakon.net/article/1843
--
keakon
My blog(Chinese): www.keakon.net
Blog source code: https://bitbucket.org/keakon/doodle/
2010/12/16 EtuO nbaer...@gmail.com
谢谢大家,只能开启两个事务来解决啦。
在 2010年12月16日 下午6:11,kartik kudada
As article on http://www.keakon.net/article/1843 suggests , you can create
task queue on successful completion of 1st transaction , same can be done
when exception occurred in 1st transaction.
I did not try this solution but it seems like good option.
By this way we can achieve atomicity like
I refer to the related post entitled WARNING: No image reader found
for format ico. An ImageIO plugin must be installed to use this
format with the DevAppServer. dated 7th June 2009 at:
The important thing is can't rollback while error occurred.
2010/12/16 EtuO nbaer...@gmail.com
谢谢大家,只能开启两个事务来解决啦。
在 2010年12月16日 下午6:11,kartik kudada kartik.kud...@gmail.com写道:
If following operation throws an exception,we can not rollback the first
transaction, because it is already
Why do you want to store both in the same transaction? To me, it seems
transactions are used to guarantee two things happen. eg. you don't
want to delete one record without making sure the a log of deleted
records is updated. Transactions are also used to prevent collisions,
eg. I don't want
Hi Ravi,
I'm putting all the generated GWT files in a zip file and I'm serving
them with a specific servlet.
It works fine and even allows me to do some GWT versioning : /gwt
module = servlet/version/path to gwt file
Remember that, if you change the default GWT module path (like adding
a
started a new app. For me, Objectify made Java persistence coding fun
again, and words like persistence manager lifecycle and detached
instance are blissfully draining out of my vocabulary :-)
you may have a point here ;-)
-g.
--
You received this message because you are subscribed
I have been trying to use the newly launched Channel API on SDK 1.4 in
my project. I try to push a message to client which actually pops up a
notification but I am getting the ChannelFailureException.
Here is the code:
TestServlet Where the token is created:
public void doGet(HttpServletRequest
i know the 1.4.0 version was released, the limit was raised to 32mb.
http://googleappengine.blogspot.com/2010/12/happy-holidays-from-app-engine-team-140.html
so i wanna upload my dem data .
the data dem.bil is under the /war/dem.bil directory.and these are my
codes to fetch the data dem.bil that
I agree. You should seriously consider the method that you are using.
The MemCacheService is a component designed to increase (mostly read)
access to the Datastore. Users of this service should not rely upon
the presence of data in the MemCache, but should use the Datastore and
its transaction
We've been experiencing issues with the precompilation service that we're
trying to resolve. It's been causing some deployment failures, which
generally result in a 503 response code when you push your application.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger:
You're talking about the datastore API? Underneath the hood, synchronous
gets just make asynchronous calls and block on Future.get() anyway. Making a
single synchronous batch get would translate to a single asynchronous RPC
with multiple keys vs. multiple asynchronous get RPCs. I suspect the
Hi I am using Java + Jdo to store data. I am able to store Text. The text I
get loses all its formatting ( new lines spaces are all converted to single
space )
is their any way to prevent the same ? I have read both the community and
official FAQ and searched this group.
Please help
--
You
Yes, I am talking about datastore api.
I made some isolated tests and the batch always wins (no by so much).
But in my app, when I break the batch into multiple async gets, I can start
processing each async get result (and doing another api calls) before... and
it seems to be perform better.
I think for sure there's some sort of delay of deployment sometimes.
It does not always happen.
You don't have to deploy your app again, just have to wait long enough
(time frame unpredictable) for your new deployment instance get going.
Even though in the console says the app is deployed and
I am getting deployed error gaian...this is happening every other day and as
big productivity sink...anyone knows what is going on and when this will be
resolved?
Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/clonefiles?app_id=Xversion=5;
500 Internal
Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/clonefiles?app_id=Xversion=5;
500 Internal Server Error
htmlhead
meta http-equiv=content-type content=text/html;charset=utf-8
title500 Server Error/title
/head
body text=#00 bgcolor=#ff
h1Error:
I've changed the code to initialize the Session object passing
properties as a parameter. Nothing changed. Still does not send emails
and doesnt throws any exception. Ideias??
Properties props = new Properties();
Session session = Session.getDefaultInstance(props, null);
Does the email address used in your From have administrator privileges for
your app?
msg.setFrom(new InternetAddress(user.getEmail()));
I read somewhere that system could only send email from registered email
addresses.
On Thu, Dec 16, 2010 at 7:13 PM, Moretto mala...@gmail.com
I now recall the conditions...
http://code.google.com/appengine/docs/java/mail/overview.html
App Engine applications can send email messages on behalf of the app's
administrators, and on behalf of users with Google Accounts.
On Thu, Dec 16, 2010 at 7:49 PM, A. Stevko andy.ste...@gmail.com
Still no messagesand no errors
Properties props = new Properties();
Session session = Session.getDefaultInstance(props, null);
// UserService userService =
UserServiceFactory.getUserService();
//User user = userService.getCurrentUser();
try {
I have much the same code although I set more headers.
How about adding yourself as a BCC and/or CC?
Also, do you see any utilization in your Quota details - Mail API Calls
and Recipients Emailed ?
On Thu, Dec 16, 2010 at 8:12 PM, Moretto mala...@gmail.com wrote:
Still no messagesand no
Hi,
I can not create entity group because both are both classes can
exists independently, It can be unowned relation between them.
I want both should be stored in datastore or none of
these(Atomic behavior ) . If one entity is not stored other entity must not
store in datastore .
Didier's
As you see the first time i've deployed my app, 2 email were sent. It
appeared at my cota details. Now Could you post your headers details?
Mail API Calls 0% 0 of 7,000 Okay
Recipients Emailed 0% 0 of 2,000 Okay
Admins Emailed 0% 0 of
No ideas, anyone?
On Dec 16, 11:59 am, Ian Marshall ianmarshall...@gmail.com wrote:
I refer to the related post entitled WARNING: No image reader found
for format ico. An ImageIO plugin must be installed to use this
format with the DevAppServer. dated 7th June 2009 at:
33 matches
Mail list logo