You can find the bug reported in googleappengine Google Code Project
with Issue number 4230:
http://code.google.com/p/googleappengine/issues/detail?id=4230&q=isUserAdmin&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
Votes in favor of fixing it are en
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
com.google.appengine.api.datastore.DatastoreApiHelper.tra
支持事务,但是不能在同一个事务中操作属于不同实体组的实体。
2010/12/16 EtuO
> 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
> Caused by: java.lang.IllegalArgumentException: can't operate on
> multiple entity
Hi, kartik.
It works, but how can I rollback the 'first transaction' if the following
operations throws an exception?
2010/12/16 kartik kudada
> You can not operate on two entities in single transaction unless both are
> entity groups.
> First delete CityNum in one transaction and then delete S
True. Moved already.
Cheers.
Kido.
On 16 December 2010 04:03, Didier Durand 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 wrote:
> > Hey, is there any gwt designer for
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 t
谢谢大家,只能开启两个事务来解决啦。
在 2010年12月16日 下午6:11,kartik kudada 写道:
> 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 yo
不能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
> 谢谢大家,只能开启两个事务来解决啦。
>
> 在 2010年12月16日 下午6:11,kartik kudada 写道:
>
> If following operation throw
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 in
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:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/7a44035eea5b1f4d/5fcd8b0a21f41db3?
The important thing is can't rollback while error occurred.
2010/12/16 EtuO
> 谢谢大家,只能开启两个事务来解决啦。
>
> 在 2010年12月16日 下午6:11,kartik kudada 写道:
>
> 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
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 two
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 : ///
Remember that, if you change the default GWT module path (like adding
a version number in it), you need to override the
Re
>
> 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 subsc
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 req
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 is
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 supp
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: http://googleap
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 single
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 rec
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'l
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 run
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=X&version=5&;
500 Interna
Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/clonefiles?app_id=X&version=5&;
500 Internal Server Error
500 Server Error
Error: Server Error
The server encountered an error and could not complete your
request.If the problem persists, please http://
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);
Us
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 wrote:
> I've changed
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 wrote:
> Does the ema
"can send email messages on behalf of the app's administrators, and on
behalf of users with Google Accounts."
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
These two lines of code retrieve the current google user logged in.
i'll c
Still no messagesand no errors
Properties props = new Properties();
Session session = Session.getDefaultInstance(props, null);
// UserService userService =
UserServiceFactory.getUserService();
//User user = userService.getCurrentUser();
try {
Messa
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 wrote:
> Still no messagesand no errors
>
> Prope
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 sugges
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 5,0
No ideas, anyone?
On Dec 16, 11:59 am, Ian Marshall 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:
>
> http://groups.google.com/group/google
34 matches
Mail list logo