into my computer screen and continue beating my head against
this stuff until it makes sense. However, if it's not correct, can we get
someone to update that please? It's been 3 years now. :)
Thanks,
James
On Thursday, January 28, 2010 4:45:26 AM UTC-8, Ftaylor wrote:
Code:
Class Page
Sorry, it was 2 years ago. I added wrong :)
James
On Wednesday, February 3, 2010 9:40:27 AM UTC-8, Ftaylor wrote:
There actually seems to be a mistake in the documentation:
// Give me all Employees with lastName equal to Smith or Jones
Query query = pm.newQuery(Employee.class
** Since this site is not yet deprecated until March 5th, I've posted
this question on both StackOverflow, as suggested by Ikai, as well as
on Groups. Here is the StackOverflow link, which I'm assuming is the
preferred place to post answers: http://stackoverflow.com/q/9421549/552792
**
My app can't send email any more. I get this exception every time:
com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API
call mail.Send() took too long to respond and was cancelled
Here's the time for the incoming call: ms=6640 cpu_ms=1568 api_cpu_ms=658
cpm_usd=0.069988
Thanks John, that's the sort of thing I was looking for.
-- James
--
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/-/qAolzIBZiZsJ
The real cost: *My professional credibility.*
That is something that is of immeasurable value and is now in the toilet. I
do not see how it is recoverable and the loss to me is far beyond the
not-inconsequential costs of migrating to EC2, Heroku (oh look, it runs java
as a few days ago),
Howdy,
With the new pricing being instance based, rather than CPU time based, it
seems more important to know how the instances themselves work.
How many concurrent requests can a single Java GAE instance service?
Important if the app is doing any long polling on the client.
thanks
-- James
Yeah, at around 9pm Pacific this error went away. So presumably there was
an operational issue at GAE.
-- James
--
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
times today for me with zero successes,
so it doesn't seem very transient.
Any thoughts?
-- James
--
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
Sorry, I should have included version info. I've gotten the error with
1.5.2 and 1.5.3 of the Java SDK. Here's some output:
$ ~/bin/appengine-java-sdk-1.5.3/bin/appcfg.sh update war
Reading application configuration data...
Aug 24, 2011 5:50:41 PM
on after showing all the logs,
then post them here.
James
On May 15, 1:10 am, Matthew Smalley matthew.smal...@gmail.com wrote:
Oops forgot the stack trace:
(this is from the google appengine log viewer):
Uncaught exception from servlet
com.google.appengine.api.channel.ChannelFailureException
depth in managing versions, but I think this would be a
great start.
James
--
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 this group
On Mar 30, 10:34 am, Ikai Lan (Google) ika...@google.com wrote:
Just a quick update: there should be a fix going out for this when we
release the final 1.4.3 SDK.
What was the fix? Or more precisely, what do we need to do in
addition to installing 1.4.3? I've got 1.4.3 and still see this
Please take a look at channel api.
Daniel vedm...@gmail.com wrote:
any1?
On Apr 6, 1:18 pm, Daniel vedm...@gmail.com wrote:
Hi
I need to keep the session opened as long as the user got its browser
opened in my web app...
Is there such a setting that i can enable for my web app?
If not,
Thanks Didier! That does 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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
If by jars specific to the local dev server you mean
- appengine-local-runtime.jar
- appengine-api-stubs.jar
Yes... I just barely figured out that these were needed (after much
frustration and running across a post from two years ago that mentioned
these jars). That was all I needed!
Just for my own edification... I was comparing the build path of my test
project to my GAE project while trying to solve this... I didn't find these
jars in either one.When I launch my GAE project locally is works of
course...I'm using eclipse, does the Google Web Application launch
I just re-watched the video from Google IO. /_ah/channel/jsapi
defaults to polling on the development server but should use comet on
the live server by default.
James
On Nov 29, 8:31 pm, James M jmort...@gmail.com wrote:
Thanks for the tip. I added the call to the controller to create
is that this is polling. Do you happen
to have the javadocs for the ChannelAPI? So far I haven't turned up
anything specific to Java.
Thanks again,
James
On Nov 29, 12:01 pm, Scott shathaw...@gmail.com wrote:
Is the HTML snippet the full client code? If so you need to call the
createChannel
Hi Robert,
Check out this thread here. We were able to get it working, but only
with polling. We've yet to figure out the comet part of things:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/19f250b1ff0e4342
James
On Nov 24, 7:41 am, Roberto Saccon rsac
this occurs.
- These are a fact of life w/ GAE right now.
This has been my experience, at least. Just got one on my own app
which prompted me to look around and see if there was any news on the
issue.
James
On Oct 28, 6:11 pm, Shaun Clark shaun.cl...@lexmatter.com wrote:
I'm sure I'm doing something
Also, pretty much EVERYONE who doesn't dislike reliability should be
starring this issue -
http://code.google.com/p/googleappengine/issues/detail?id=2396
:p
On Nov 4, 1:25 pm, James jamesk...@gmail.com wrote:
Someone correct me if any of this is inaccurate, but:
- This occurs exactly 10s
. I'm not using async calls, but I do often fan out calls
using the Task Queue, and I wanted to confirm that there's not any app-
wide limitation on concurrent synchronous calls.
Thanks much,
James
--
You received this message because you are subscribed to the Google Groups
Google App Engine
Finally got tired of seeing this in my logs so I've logged an issue -
http://code.google.com/p/googleappengine/issues/detail?id=3927
If you've been a victim too, star this.
Thanks,
James
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
Exciting! I suppose it's beyond hope that JDO might somehow work w/
this?
On Oct 21, 6:39 am, l.denardo lorenzo.dena...@gmail.com wrote:
Looks like sometimes experimental APIs are published way before
they're ready for production.
Channel API was defined in 1.3.4, before it was even announced
Is there a config setting to have this cookie marked as secure (so
it'll only be sent over SSL)?
--
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
=false % to each
JSP, so this is an academic question I guess.
On Sep 22, 9:33 am, James jamesk...@gmail.com wrote:
Is there a config setting to have this cookie marked as secure (so
it'll only be sent over SSL)?
--
You received this message because you are subscribed to the Google Groups
I posted on similar issues here -
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e81658b708e92d9e
After spending (wasting) several days experimenting w/ the combination
of detached and owned entities, my apps now work fine, but I always
need to call JDOHelper.makeDirty
I've seen this with animated or transparent GIFs.
On Sep 3, 10:13 am, jay jay...@gmail.com wrote:
Dear All,
When I used the blobstoreservice and imagesservice to upload a image,
sometimes, some pictures background were changed to red.
This happend in dev enviroment. I havn't check it in
that's making this so difficult, or are
there not any better options here beyond storing keys in source
code?
Thanks,
James
Possibly Related Posts:
GAE + KeyStore -
http://groups.google.com/group/google-appengine-java/browse_thread/thread/9ce22babc5ec328e
GAE + KeyCzar -
http://groups.google.com
When I request https://2.latest.MyAppID.appspot.com/css/main.css it
appears to be served w/o encryption.
When I request https://MyAppID.appspot.com/css/main.css it is
encrypted properly.
Is there a config setting I'm missing?
--
You received this message because you are subscribed to the
I asked about this a while back and never got a clear answer... I
just call JDOHelper.makeDirty a lot and things work, but this doesn't
feel like the right thing to be doing.
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e81658b708e92d9e
On Aug 2, 6:11 am, Frederik
I'm seeing some odd behavior now that I've switched to properly
detached objects (previously I was calling detachCopy but didn't have
my classes marked w/ the detachable annotation).
Given an entity that contains a ListKey, I can save a new entity w/
one key in the list. However if I remove that
Finally found the answer to my own question (assuming the post from
11/2009 is still valid):
http://gae-java-persistence.blogspot.com/2009/11/unindexed-properties.html
On Jun 30, 2:36 pm, James jamesk...@gmail.com wrote:
(Clarification - I'm ok w/ disabling both composite and single-prop
- Some cases (adds, remove-leaving-one) work fine w/o using either of
the two recommended work-arounds
I should note that I'm also using detachOnClose.
On Jul 1, 1:37 pm, James jamesk...@gmail.com wrote:
I'm seeing some odd behavior now that I've switched to properly
detached objects (previously
, not also in the classpath. I'm just not quite sure
how to make that happen in Eclipse w/ the devserver.
Separately, anyone trying lombok should be aware of this little quirk
- you need to import lombok.Getter and Setter individually rather than
importing lombok.*.
James
On Jun 29, 1:47 am
(Clarification - I'm ok w/ disabling both composite and single-prop
indexes, just wondering how)
On Jun 30, 10:40 am, James jamesk...@gmail.com wrote:
Thanks Nick, that's good to know.
Is there a way to disable (single property + composite) indexes:
1 - Using JDO
2 - By applying
that, Twig, here
I come.
Frustrated,
James
Max Ross:
Hello hello and welcome to the very first installment of JDO/JPA
Snippets
That Work!
Creating A Bidrectional Owned One-To-Many
Suppose you're building a book catalog application and you want to
model
books and chapters. Books contain
for the additional item. Or is it easier in Objectify
(I'm considering switching)?
Thanks much,
James
--
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
Is anyone successfully using JDO @Version for optimistic concurrency
across transactions?
I've seen the article demonstrating it here -
http://gae-java-persistence.blogspot.com/2009/10/optimistic-locking-with-version.html
- and my experience matches some of the commenters in that it doesn't
You're not the only on experiencing this. Please star
http://code.google.com/p/googleappengine/issues/detail?id=2396
On Apr 21, 9:09 am, Tristan tristan.slomin...@gmail.com wrote:
Hey,
I started seeing when a task queue starts now:
WARNING: 200 OK
This request caused a new process to be
This trace below is from production environment. How do I find the
memberHome_jsp.java so I can verify the problem at line 165? I found
the .java file used for running locally, but this line# in question
was inappropriate in regard to causing a null issue...so I must be
looking at the wrong
this problem?
James
--
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
...@google.com wrote:
Can you respond privately with your app id?
On Thu, Mar 11, 2010 at 10:10 AM, James jamesk...@gmail.com wrote:
I setup some pings of my add a few minutes ago, and I'm still seeing
recycling :(
My ping setup can't go lower than 60s intervals, so I have two running
I setup some pings of my add a few minutes ago, and I'm still seeing
recycling :(
My ping setup can't go lower than 60s intervals, so I have two running
concurrently. Here's a sample of 20 log entries over 10 minutes,
with . Three recyclings occur, and they happen less than 10s after a
previous
Like many, I'm anxious to learn more. I just deployed my first app
today and while the load is light (just me), it's a giant usability
issue to have to wait 6s for spinup if (god forbid) I stop to read a
page for more than 60s or so. I'm not using any frameworks, so this
is just VM and JDO
Ikai,
Great news. I can report that I'm seeing FAR fewer cold starts
today. So thank you!
Would still love to see this implemented:
http://code.google.com/p/googleappengine/issues/detail?id=2456
cheers
-- James
--
You received this message because you are subscribed to the Google Groups
Here's an article that documents how to deploy the App Engine JARs to
your own maven repo:
http://www.bitmechanic.com/blog/?p=30
-- James
On Dec 22 2009, 1:32 pm, Andreas Källberg andreas.kallb...@gmail.com
wrote:
Is someone going to do something about this?
It's has been wrong for some time
();
dataout.write(data);
dataout.close();
// blows up here:
final int responseCode = conn.getResponseCode();
any ideas?
-- James
--
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
Figured it out. Looks like you need to do this:
itemConn.setInstanceFollowRedirects(false);
thanks
-- James
--
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
Is space consumed by datastore for secondary and tertiary backups of
production Entities reflected in the quota for billing purposes? Or,
is only the spaced used for the primary Entities used for billing?
In other words, are we charged for 1 copy of the data or 3 copies?
Thanks, J
--
You
time. I tested on Chrome, IE8, and Firefox (all on
Windows).
Thanks for the info.
Vince
On Fri, Nov 27, 2009 at 12:56 PM, James H james.hollier...@gmail.comwrote:
Here's some legwork...you can drill-down to section 14.25 of the page
below where it describes the If-Modified-Since
version of GaeVFS ready for release in the next few
weeks and will try to include your patch.
Vince
On Wed, Dec 2, 2009 at 12:08 AM, James H james.hollier...@gmail.com wrote:
Ah, short execution time and bullet-proof re-runs...I see how memcache
would work in this case. On another topic, I
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
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
own as I suggested. I'll be curious to hear
other alternatives since this would be a common requirement in apps!
On Dec 1, 4:17 pm, James H james.hollier...@gmail.com wrote:
Also, the nature of memcache is such that it would not be reliable for
a mutex (since objects can be removed by the system
So, you are saying that your code did NOT perform a tx.begin() yet the
exception is complaining that Multiple Entity Groups have been
accessed during the course of a transaction? Note that only a query
(not an update) of an entity outside the currently Entity Group update
triggers this error.
I
Here's some legwork...you can drill-down to section 14.25 of the page
below where it describes the If-Modified-Since header. Basically, any
Get with this header including a timestamp can be compared to the
timestamp for the matching Entity to determine whether to respond
normally (return the
.
My only current way of doing this is from a JUnit test, but it would
be ideal to test it from the web app as well.
Any ideas?
thanks
-- James
--
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
Seems intense transactions like yours are what GAE is trying to avoid
with high priority cycles reserved for the User Interface. The Task
Queue and Cron subsystems help with intense batch operations such as
this. But, even with those you have to breakdown the work into small
units.
On Nov 27,
Jason, the problem with the increment a counter on your own trick is
that would be in a separate Transaction and thus, unreliably linked to
the first insert Transaction right?
Also, the Stats hook mentioned above is NOT realtime is it? I believe
I read it is updated at least once a day.
On Oct
for some context on my request,
first, and foremost, it sure is hard to find complete, and contemporary
examples of the numerous open source advancements since the first, and
seemingly only literature of gwt was rushed out in the 2007-2008 timeframe.
there is 0 literature for purchase about
the dev server that will specify an
alternate path for the local_db.bin file?
Anyone else experiencing this when using maven with GAE? I'm not a
maven expert, so there may be an alternate solution that preserves the
WEB-INF dir across builds.
thanks,
-- James
--
You received this message because
successfully done this? I would consider using an external
box to generate inbound traffic if that's the only way, although I'm
reluctant to do that.
-- James
On Oct 28, 12:00 pm, James Cooper jamespcoo...@gmail.com wrote:
aha! I missed that. I wonder if task invocations/second means
dequeues
from other Entity Groups A, B (ie reads) in preparation
for the update to the targeted Entity Group C. Am I missing
something?
J
On Nov 10, 4:37 pm, Ikai L (Google) ika...@google.com wrote:
James,
For all practical intents and purposes, there are no limits on the number of
entity kinds per
- Loops through ExportJob.memcacheKeys
- Loads CSV blob from memcache
- streams to servletresponse
- deletes memache entry
- Deletes ExportJob
- Done..
Maybe there's a simpler way?
-- James
On Nov 11, 2:12 am, alf alberto@gmail.com wrote:
hi all,
I need export
the
virtual server active. if the virtual server is active, when access
the app, there is no need to reinit such as spring listener etc, so
delay time is short, that is so simple i think.
On Nov 10, 7:30 am, James H james.hollier...@gmail.com wrote:
How would a single cron task really help
Some have used GAEVFS as a replacement for direct access to local
files. Just search threads for the details.
On Nov 9, 7:38 am, Esteban Masoero emaso...@getsense.com.ar wrote:
Have a look at this
section:http://code.google.com/intl/en/appengine/docs/java/runtime.html#The_S...
black_13
call and simplifying the filter
here is the i/o session, it's got some good tips:
http://code.google.com/events/io/2009/sessions/BuildingScalableComple...
hope that helps!
-bryce
On Wed, Nov 4, 2009 at 11:50 PM, James H james.hollier...@gmail.com
wrote:
Thanks Bryce...here's
6, 5:45 am, James Young zhurizh...@gmail.com wrote:
HI
Thank you very much, matthieu!
Best regards!
On Fri, Nov 6, 2009 at 4:32 PM, matthieu vidal m...@matthieu-vidal.com
wrote:
Hi
Have you seen this workaround about Eclipse 3.6 and Ubuntu 9.10 ?
You have
oh, I need install libstdc++6,, I don't know it don't conflict with
libstdc++5, Now everything is all right.
On Thu, Nov 5, 2009 at 11:57 PM, zhurizhe zhurizh...@gmail.com wrote:
when I run the app in ubuntu9.10 and eclipse 3.5,the console view the
info :
** Unable to load Mozilla for hosted
BookFk is an embedded class intended to be used by entities like
Chapter and others. It is NOT intended to be a standalone entity or
have a Primary Key. So, when I try your fix I get the following
compile error:
SEVERE: Class struts2.example4.BookFk has application-identity and no
Datanucleus, both suggestions worked but I like the embeddedOnly
best in order to avoid a dummy key on every FK class!
Bryce, I no longer get the error above...I just added
embeddedOnly=true to the PersistanceCapable tag in BookFk class.
You're right, I could use the collection technique on the
Rusty, Thanks for the code sample! How do you decide when to use key
type of Key vs String?
On Nov 4, 1:45 pm, James H james.hollier...@gmail.com wrote:
Datanucleus, both suggestions worked but I like the embeddedOnly
best in order to avoid a dummy key on every FK class!
Bryce, I no longer
On Fri, Oct 9, 2009 at 10:46 AM, James H james.hollier...@gmail.com wrote:
Ylmz, thats how I see it too. Any significant data model will be
riddled with FKs and since GAE datastore does not support Joins you
have NO choice but to denormalize your data to meet the needs of your
app queries
redundant fields ancillary to the
query requirement of the app. Again, the embedded FK class avoids
extra queries that would kill search list performance, etc. For
example with Query #2, give me all persons at Baylor that have first
name James would only need the entity InstitutionPersons.
So, we
to suggestions on how to generate higher levels of
concurrency when you want to process a large data set. So far my
attempts are lacking!
-- James
On Oct 29, 2:38 pm, Jason (Google) apija...@google.com wrote:
Never mind, looks like you already did. :)
- Jason
in GAE, and MapReduce
seems to be the way to do that given the Datastore architecture.
thoughts?
-- James
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send
on all the time
limits. This 10sec one is unfamiliar.
thanks
-- James
On Oct 16, 10:53 am, Jason (Google) apija...@google.com wrote:
Hi Alok. I received it, and I'll be looking into it shortly.
- Jason
--~--~-~--~~~---~--~~
You received this message because you
?
-- James
On Oct 28, 12:27 pm, Scott Hernandez scotthernan...@gmail.com wrote:
The docs here seem to indicate that dequeuing happens at 5/sec
(default and 10
max).http://code.google.com/appengine/docs/java/taskqueue/overview.html
On Oct 27, 8:41 am, James Cooper jamespcoo...@gmail.com wrote
Related question:
Is there a limit to the number of pending tasks in a queue? Can you
have a million items in there?
thanks
-- James
On Oct 27, 12:07 pm, Jason (Google) apija...@google.com wrote:
No, all individual tasks must complete in 30 seconds or less. For larger
jobs
On Thu, Sep 17, 2009 at 10:09 PM, James H james.hollier...@gmail.com wrote:
This cast exception is NOT obvious. Here's the production stack
snippet:
/homeIndex.jsp
java.lang.ClassCastException: java.lang.ClassCastException cannot be
cast to javax.servlet.ServletException
This cast exception is NOT obvious. Here's the production stack
snippet:
/homeIndex.jsp
java.lang.ClassCastException: java.lang.ClassCastException cannot be
cast to javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException
(PageContextImpl.java:754)
Is GAE email limited to content type Text only or is there a way to
send Html too? Also, can you send attachments? I noticed all these
features in Apache Commons Email lib. Has anyone used this lib with
GAE?
Thanks, J
--~--~-~--~~~---~--~~
You received this
, James H james.hollier...@gmail.com wrote:
Is GAE email limited to content type Text only or is there a way to
send Html too? Also, can you send attachments? I noticed all these
features in Apache Commons Email lib. Has anyone used this lib with
GAE?
Thanks, J
Please disregard this issue...I've decided to install Eclipse Galileo
instead of trying to figure out what is wrong with this older version
and the GAE update.
On Sep 7, 9:44 am, Anne van der Bom annes.datam...@gmail.com wrote:
James,
My situation is a bit different from yours. I did
to JDK 1.6.0_13, or upgrade to JDK 1.6.0_16.
On Tue, Sep 8, 2009 at 4:24 PM, James H james.hollier...@gmail.com wrote:
What is going on with Debugging anyway? I had been running fine with
1.2.2 GAE plugin an Eclipse 3.3, and was able to debug nicely except
for signature changes
What is going on with Debugging anyway? I had been running fine with
1.2.2 GAE plugin an Eclipse 3.3, and was able to debug nicely except
for signature changes, additions. Then the 1.2.5 upgarde blew my
environment up so I decided to load Eclipse 3.5 Galileo and the latest
GAE plugin. But,
, just remapping the SDK fixed it. This is under
WIndow-Preferences-Google-App Engine.
On Sep 6, 8:35 am, James H james.hollier...@gmail.com wrote:
I used the Eclipse Soft Updates menu on Sep 4th to apply SDK 1.2.5
after noticing Red errors in the local runtime log telling me to do
so
Right, denormalization is promoted by the Max Ross video as in your
2nd case so from a software design perspective can the copy fields
in Employee be contained in their own class and referenced from
Employee in a fashion that allows JDO to still work such as:
class CompanyFK {
// copy of
Can you check to see if you had similar issues as I had - search for
Upgrade issue with Google SDK 1.2.5 Options? I didn't realize the
site was missing anything, but obviously noticed the SDK could NOT
activate in my Eclipse 3.3. I may just load the latest Eclipse and be
done with it, unless we
I used the Eclipse Soft Updates menu on Sep 4th to apply SDK 1.2.5
after noticing Red errors in the local runtime log telling me to do
so. Actually, first I noticed my production app was failing to
retrieve data so I figured I needed to first upgrade as instructed by
the log message and then see
Based on the Max Ross I/O video on Persistence, I understand the best
practice regarding handling of Master/Detail relations is to place
redundant Master data in the Detail row. Same would apply to any type
of relation (1-to-1, 1-to-many).
So for example if I have an entity Person relating as
93 matches
Mail list logo