Switch to HR datastore
On Mar 21, 9:28 am, Aswath Satrasala aswath.satras...@gmail.com
wrote:
I have been have the same Datastore Viewer error with my appid
'vs-accounting'. It is configure as M/S.
I am having this trouble for over 1.5 days. This application is in
production. I don't know
the least.
You've referenced many websites, but how about books you found helpful.
Thanks again.
On Tuesday, March 20, 2012 7:35:03 AM UTC-4, Mike Lawrence wrote:
Presenting this slide deck at DevNexus 2012 this week:
http://goo.gl/RspSm
It details my experiences developing
http
Presenting this slide deck at DevNexus 2012 this week:
http://goo.gl/RspSm
It details my experiences developing
http://WordPong.com, a web-based social game, on GAE.
Mike Lawrence
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group
How about a public google doc?
https://support.google.com/docs/bin/answer.py?hl=enanswer=184006
On Feb 26, 2:28 pm, Vik vik@gmail.com wrote:
Hie
I am generated html documents using a google text doc as template (reading
it using gdata apis and then doing some text manipulation).
Now, I
I noticed similar behavior.
I think the auto setting for minimum number
of instances changed from two to zero active
instances.
I changed from auto to one, and my app
is much more responsive. setting minimum
instances higher will co$t you more
On Feb 25, 9:36 am, Anders blabl...@gmail.com wrote:
since hrd is eventually consistent,
you need to restructure your app to not
immediately query the newly commited data after a transaction.
welcome to nosql
my app builds its own result page that assumes the committed data is
there.
by the time the user refreshes the page the
data is there and
I changed instaces settings in console from auto to a minimum of two
and the response times are again about a second
On Feb 16, 2:07 pm, Matthias Friedrich mtthsfrd...@gmail.com wrote:
hi mike,
i can confirm that. The responsetime is getting higher and higher,
meanwhile some are above 90
Average HTTP Response times have gone from sub-second to about 10secs.
http://montools.com/stats/11770
I've not changed any admin settings or code.
Anyone else seeing this?
Looks like the scheduler now causes more cold starts.
Since me requests include memcache and database updates, not sure if
, Mike Lawrence
Blessed are the flexible, for they will never get bent out of shape
--
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-java@googlegroups.com.
To unsubscribe from
On page:
http://code.google.com/appengine/docs/java/googlestorage/overview.html
writableFile = new AppEngine(path);
should be
writableFile = new AppEngineFile(path);
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this
Engine
plus.ikailan.com | twitter.com/ikai
On Fri, Jan 13, 2012 at 11:12 AM, Mike Lawrence
m...@systemsplanet.comwrote:
Ikai,
Docs still say transactions wont span entity groups:
http://code.google.com/appengine/docs/java/datastore/transactions.html
http://code.google.com/p
with the
High Replication Datastore, which allow you to perform transactions
across multiple entity groups.
http://code.google.com/appengine/docs/java/datastore/transactions.html
Sincerely, Mike Lawrence
On Thu, Jan 12, 2012 at 12:23 AM,
google-appengine-java@googlegroups.com wrote:
Today's
Hi, I am trying to make some application for google app engine.
I am trying to get data from this url
http://streamerapi.finance.yahoo.com/s treamer/1.0?
s=EURUSD=Xk=l10,t10,g00,h00,v00,j10callback=parent.yfs_u1fmktmcb=parent.yfs_mktmc
bgencallback= parent.yfs_gencbr=0
The problem is that
My Java GAE app has http sessions enabled.
Periodically, I see calls to createSession fail with a memcache error.
Anyone else seeing similar behavior?
Is there any elegant way to recover from this?
Here's an example:
2011-11-14 18:06:59.062
org.apache.jasper.runtime.JspFactoryImpl
Try doGet, not post
On Oct 29, 10:20 am, jyoerye angel.like...@gmail.com wrote:
I have a project in java with a My SQL data base which I need to
transfer to Google App engine.
I started with a simple example online:
I created guestbook.jsp and SignGuestbookServlet,But I get this error
to the high-replication datastore will be
enough for my app!
Thank you Google,
Mike!
On Oct 3, 3:40 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
Hey everyone,
Prerelease SDK 1.5.5 is now available for download! You can get it here:
Python:http://code.google.com/p/googleappengine
2-3 secs with stripes + slim3
On Sep 29, 9:29 pm, Tapir tapir@gmail.com wrote:
?
--
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-java@googlegroups.com.
To unsubscribe from
Instead of ranting google broke it,
it might be more productive if you:
- identify the type of app you are building
- use cases
- API calls
- number users
- typical transactions
- consistency requirements
- etc
then offer some suggestions on how google
could support your use
have you tried viewing the http headers in each request
using chrome, firebug, httpwatch, etc?
sunshine is the best disinfectant
I dont think redirects normally can set cookies
maybe the prod server is striping your
invalid host headers on a redirect
On Aug 28, 7:32 am, Simon Knott
switching to the high availability data store
fixed this for me.
On Aug 25, 10:30 am, Anders blabl...@gmail.com wrote:
I switched on the Always On option and it works inasmuch as the dashboard
shows three resident instances but new instances are started sometimes with
only a few seconds
Good call - I added BufferedInputStream and BufferedOutputStream and
it solved the problem.
i.e. ObjectOutputStream out = new ObjectOutputStream( new
BufferedOutputStream( Channels.newOutputStream( writeChannel ),
65536 ) );
Thanks!
- Mike
On Aug 19, 10:48 am, Ikai Lan (Google) ika
I still cant sign in from eclipse Helios, but I was able to deploy
using this cmd:
set GAESDK=C:\eclipse\plugins
\com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105092302\appengine-
java-sdk-1.5.0
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25
%JAVA_HOME%\bin\java -cp
, it works
fine in the development environment ;)
Thanks,
Mike
public class Filer
{
private static final FileService fileService =
FileServiceFactory.getFileService();
private static final BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService
the
speed of your top use cases
use background tasks to propagate
updates to denormalized data where
needed.
consider slim3 dao for global transactions
to keep your model consistant
mike
On Aug 5, 8:06 pm, Jeff Schnitzer j...@infohazard.org wrote:
On Fri, Aug 5, 2011 at 11:45 AM, William
the stripes web framework starts in
under 3 seconds on GAE.
it's clean, simple, and light.
do you really need spring?
is wiring beans really worth all the startup cost?
On Aug 3, 9:57 pm, John jwb...@gmail.com wrote:
As our app has grown, the amount of initialization work to do in order to
and access it's fields
everything is ok. But if we detach and save that object to memcache,
retrieve the object from memcache, and try to access a String field we
get the above error.
Any ideas why this started happening?
Thanks,
Mike
--
You received this message because you are subscribed
/multiinstance with Datastore.
One question, Mike, are you using backends?
We are not.
I'll keep experimenting today and see what I dig up.
Thanks,
Mike
--
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
Nice blog post Jeff.
I've found myself storing lists of keys
in my domain objects to replace
queries with fast parallel gets of
related domain objects. Of course,
there is a trade-off of the expense
of keeping the key list fresh. This makes
the GUI extreamly fast (no queries, just
gets) and
Nice Jeff. Do you ever sleep? ;)
Now we can quickly move all the
fb data to g+ and stop using fb. joy.
On Jul 12, 1:55 am, Jeff Schnitzer j...@infohazard.org wrote:
This is the first time I've announced this opensource project in this forum
because until now there wasn't anything GAE-specific
Googlers?
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/TMf-DMwnkYQJ.
To post to this group, send email to
What is the financial cost associated with using this feature?
IE how many additional API calls/datastore accesses/bytes transferred/
etc can one expect?
http://code.google.com/p/googleappengine/issues/detail?id=1692
--
You received this message because you are subscribed to the Google Groups
I have a question about this. On the client side, I can call the close()
function on the created Socket object, however when I have the same client
re-connect and request another token, it seems that I am unable retrieve
another token (The call to createChannel never returns). Is this
I recently installed the google app engine plug in for eclipse. I created a
small sample project, and entered my application id into the xml file. When
I click on the button for Deploy App Engine Project absolutely nothing
happens. I don't get any popups or console out put or anything. Also,
I get...
The number of entities: 1
low level 1717 millis
slim3 1502 millis
objectify 2970 millis
jdo 3485 millis
probably should modify this example
to do an average of several runs
one important thing to note, is slim3 allows you
to update multiple entity types
in a single transaction.
not
Hey all,
I've been trying to do some unit testing for emails. I've tried
GreenMail in conjunction with JUnit Rule + ExternalResource (start/
stop GreenMail service)...I'm now stumped and can't find anything on
the great oracle (google). Any ideas?
Mike!
--
You received this message because
maven thoughts
- anyone who's worked on a large
project over time has seen the build
scripts grow in complexity and maintenance
costs
- maven, like many solutions, introduces
a domain-specific-language to simplify
things, or in mavens case, a domain
specific XML schema
- I usually cringe when I
+1 stripes
my stripe app boots cold in 2 seconds
round trip times from browser to datastore
in back are about 100ms
the rest of the stack...
combined with slim3 datastore and
much if the gae datastore issues
melt away
jquery mobile - works cross browser,
google tv, cross smart
for /
WEB-INF/view/jsp//error.jsp (which should still resolve, but is not
necessary and clouds up the code a bit)
Mike!
On May 15, 9:09 pm, jlc488 jlc...@gmail.com wrote:
I've implemented a site using SpringMVC RESTful approaches. I did not
need any view such as JSP or Velocity and stuff
sorry you're having problems.
dont think this is an app engine issue
since many folks use stripes on gae.
here are the stripe parts from my web XML
?xml version=1.0 encoding=utf-8?
web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=http://java.sun.com/xml/ns/javaee;
there is no file system in gae so
the multipart wrapper could be your problem.
it probably would work locally by not in prod
On May 15, 8:30 am, Mike Lawrence m...@systemsplanet.com wrote:
sorry you're having problems.
dont think this is an app engine issue
since many folks use stripes on gae
always
launching the internal eclipse web browser.
Any help would be much appreciated...
Thanks, Mike
--
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-java@googlegroups.com
I have a first entity MediaAlbum with a @Transient field that holds a List
of another entity Media. After querying for a list of MediaAlbum I get an
exception:
Error in meta-data for
com.yumyumlabs.foundation.appengine.media.model.Media.id: Cannot have a
java.lang.Long primary key and be a
Mark,
if I write a simple servlet that accepts JSON
it supports any client too, for free with no
external dependencies.
I watched your entire video.
Sorry, not sure I understand your value
proposition.
On Apr 5, 3:45 pm, Mark Piller mpil...@gmail.com wrote:
Hey guys,
I am not sure what the
Ck out this crash course in getting a java app up from scratch...
http://goo.gl/UT2W3
My personal recommendations:
- plan on spending a week or two learning how the datastore works
before you get started
- if you will ever need the High Replication Datastore, set it up now.
it's a pain to add it
this one works really well locally
and on gae
http://code.google.com/p/ktrwjr/
On Mar 22, 5:58 pm, Brendan Doherty bren...@propertysimplified.com
wrote:
At Google I/O last year, Max Ross gave an interesting talk on a unit test
harness that let you run existing test suites in production on
SUCCESSFUL. I can run this exact project on another
machine (another mac minus the java update though). Anyone seen
this / got any ideas? I'd like to change the log reporting level
because
I feel like something isn't getting through.
Thanks,
- Mike
--
You received this message because you
Thanks, I searched and searched before I posted this. Sorry about
that.
On Mar 16, 12:55 pm, Jay Young jayyoung9...@gmail.com wrote:
https://groups.google.com/forum/#!topic/google-appengine-java/WiImnzV...
--
You received this message because you are subscribed to the Google Groups
Google App
http://code.google.com/appengine/kb/general.html
How many applications can I create with Google App Engine?
You can delete your existing applications via the Admin Console if
you want to create more,
but you will not be able to re-register an application ID.
On Mar 14, 9:41 am, IvanRdz
Toby,
Thanks for the quick response. I will give it a try and let you know how it
goes.
Mike
On Thu, Mar 3, 2011 at 11:15 AM, Toby Reyelts to...@google.com wrote:
The jar file containing the class, org.eclipse.emf.ecore.EObject has been
signedhttp://download.oracle.com/javase/tutorial
Toby, by removing the manifest file, the issue is gone. Thanks a lot for the
help. Mike
--
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-java@googlegroups.com.
To unsubscribe
application ran well in previous AppEngine version. It seems that the
AppEngine security control has been changes.
Anyone can explain the reason? Also, the difference between AppEngine Eclipse
testing env and the real Java running env in the cloud would be appreciated.
Thanks, Mike
--
You
@Entity
class A
{
ListB bs;
}
@Entity
class B
{
C c;
}
@Entity
class C
{
int id;
}
A has a list of Bs.
i want to create a JPA query to fullfill below:
1. get all As,
2. and the A has one or more B,
3. and the B must has a C
4. and the C's id == the appoint id.
public static
now i managed to get the answer. thx anyway
--
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
i'm sorry but what does RCP means?
--
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
hi All:
i posted this problem on GWT forum but i think it's better to place here, as
it has no related to GWT.
see here:
https://groups.google.com/forum/?lnk=gstq=ClassNotResolvedException#!topic/google-web-toolkit/uEkludbtwpg
thanks.
--
You received this message because you are subscribed to
too
Mike!
http://www.thepixlounge.com
On Dec 19, 10:37 am, JaredC concealedscr...@gmail.com wrote:
I'm new to the Java App Engine and I've been searching for a way to have a
general template or theme for my site. I have a header, menu, and side bar
that will stay the same for all pages, so why
I fixed this problem by making sure that App Engine SDK 1.4.0 is first
in my Java Build Path in the Order and Export and changing my GWT SDK
to 2.1.0
--
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
jeremybly...@gmail.com wrote:
Whoops, posted at the same time!! Glad you found my blog post useful.
Jeremy.
On 30 Nov 2010, at 06:00, Mike weinbe...@gmail.com wrote:
Zsombor,
Follow the implementation outlined in this excellent blog post. It
explains how to upload to blobstore from
Zsombor,
Follow the implementation outlined in this excellent blog post. It
explains how to upload to blobstore from within your app.
Good luck,
Michael Weinberg
http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html
On Nov 28, 8:08 am, Zsombor gzsom...@gmail.com
Twitter:http://twitter.com/app_engineOn Thu, Nov 18, 2010 at 10:05 AM, Mike
michael.heue...@gmail.com wrote:
Hi,
I have problems to deploy my simple hello world app after deploying it
a couple of times and it worked perfectly.
Try to solve the problem on my own first. After reading threw some
Problem solved!
Super stupid mistake from my site.
On Nov 19, 9:30 am, Mike michael.heue...@gmail.com wrote:
Thx for the response,
but when the issue you mentioned appeared I have had the error 500
message.
After this was solved, I'm still having the same problem (client error
- 400).
Dont
?
-
java.io.IOException: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=http%3A%2F%2Fmycabexapmle.appspot.comversion=1;
400 Bad Request
Client Error (400)
The request is invalid for an unspecified reason.
---
thx
mike
--
You received this message because you are subscribed
I know about the new super-fast image serving API for images stored in
the blobstore - it's awesome and greatly simplifies image resizing..
However I still want to resize the original image to a smaller size
before handling it with the image serving API.. So if a user uploads a
5MB Image I want
It's my #1 request too, but GAE doesn't support any multiple file
upload...I'm guessing that it's not far off though since the blobstore
interface returns a Map of blobs
Mike!
On Oct 23, 3:55 pm, Dan Dubois uvico...@gmail.com wrote:
Has anyone figured out a way around this problem yet?
Best
I've got it working in mine too, but I don't use the pattern
filtering inside the decorator.xml file...What is your specific
error? Where's your base directory pointing to? Is it in the WEB-INF
folder?
Mike!
On Sep 28, 12:26 pm, Guillaume Laforge glafo...@gmail.com wrote:
I've been
are
only using one instance of the
persistance manager as per the recommendations to use a singleton
class. Each batch hits a servlet on
our app and then does its work. Should we close the persistence
manager after every batch is completed?
I'm wondering if this would be a memory leak.
Thanks,
-Mike
of the fine print, i.e. one caveat is that you
must have had your datastore populated for
at least 12 hours which is the amount of time it takes for the
statistics info to be built. That what the bulkloader
works off of to do its datastore dump.
- Mike
On Jun 28, 7:16 am, mscwd01 mscw...@gmail.com
=com.google.appengine.tools.development.DevAppServerMain/
arg value=--po...@{port}/
arg value=--addre...@{address}/
arg value=--jvm_flag=-Xmxmem size here/
options/
arg value=@{war}/
args/
/java
/sequential
/macrodef
Thanks for the help Don.
- Mike
On Jun
), not to java.exe. That should work the same way for the ant,
dev_appserver/ task. (You can see this in config/user/ant-macros.xml).
On Mon, Jun 28, 2010 at 3:51 PM, Mike Dillon mikedillo...@gmail.com wrote:
Another thing to consider. I'm not using eclipse, and I'm building and
running the server
state if i
don't use the app for about 2-3 minutes (can this be related to
session-enabled ?).
On May 26, 11:36 pm, Mike m...@westforkconsulting.com wrote:
Some questions:
1) Did you run the server trace on your code to see what was slow?
2) One idea -- rather than calling
method).
Cheers
Mike
--
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
data to the client with
the A contains @Embedded B -- it just means that you would have to
create (and use) some sort of DTO that contained only the data that
you wanted to send to the client, and using that technique is likely
the simplest way for you to achieve your goals (I think).
Cheers
Mike
Actually, I would recommend the following syntax instead:
public MyServlet {
private OtherServlet otherServlet
@Inject
public MyServlet(OtherServlet otherServlet) {
this.otherServelt = otherServlet;
}
// ...
}
Its ok to do the field injection, but the constructor injection is
recommended (I
. In my web.xml file, I also must have the
context path as my servlet-mapper value and can not use /*. When
I've tried /*, I can not resolve my JSP views being returned back by
my methods.
Any help would be greatly appreciated!
Mike!
--
You received this message because you are subscribed
=sendButtonContainer/td
/tr
tr
td colspan=2 style=color:red; id=errorLabelContainer/
td
/tr
/table
/body
/html
Would appreciate a helpful nudge in the right direction (still getting
up to speed a bit here)...
Cheers
Mike
--
You received this message because you
just took a peek at the GWT homepage, and I will probably move to
that at some point. But, want to learn from the ground up, and go
through these steps as well.
Cheers
Mike
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
running under Eclipse) will redirect to what appears to be a Google
Accounts sign-up page.
However, I am unable to trigger that behavior, no matter what text I
provide to that control.
Any suggestions? Is this a bug or a misprint (or even, a
misunderstanding on my part)?
Cheers
Mike Sheridan
--
You
Have you ruled out cache issues?
Thanks.
It appears that it was a caching problem (on the browser I guess).
The expected behavior is delivered to each browser now.
Thanks for the tips, apologies for not sorting it out myself.
Cheers
Mike Sheridan
--
You received this message because you
Hi,
I have two entities - Parent and Child, the relationship is mapped
using the mappedBy annotations.
Both entities are using Key type as the pk, which is manually
generated during the instantiation of the object.
When the PK is generated for the Child, parent information in the
child key is
Merry Christmas.
Surely an important use of cloud computing is creating services that
can be shared?
So why not implement your harvester with an API that allows other
apps, including your own, to read the database? i.e. other
applications connect to your datastore through your application
Hi,
I am playing about with JDO, creating objects, relationship, etc. I
have a set of unit tests to make sure that what I am creating conform
with GAE's implementation of JDO. Coming from a RDBMS background, very
often I find myself the following exception:
javax.jdo.JDOException: App Engine
Hi,
I am a newbie to GAE and it's the first time I try out the JDO
facility. I followed the JUnit How-To to create all the base classes
for Junit test and the following is my test:
public class AbcTest extends LocalServiceTestCase {
Abc abcType = null;
PersistenceManagerFactory pmf =
You can query the key only, hope this helps.
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Queries_on_Keys
On Dec 21, 8:51 pm, Jess Evans laphroai...@gmail.com wrote:
Be wary of a try/get/catch/persist combo. I was doing this initially, but
found it triggered
hi, i am the green hand on GAE ,i want to use it to develop some
project .
--
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,
/java.html#fileforms
what can I check on?
Thanks,
Mike
--~--~-~--~~~---~--~~
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-java@googlegroups.com
Hi Max,
I used javax.xml.parsers.SAXParser.
Mike
On Aug 18, 8:50 am, Max max.seven@gmail.com wrote:
I have read that I must add xerces.jar to project to add support for
XML.
I have project in Eclipse with Google Plugin that works fine without
XML.
I added xerces.jar to war/WEB-INF
86 matches
Mail list logo