[appengine-java] Re: Unsupported method contains while parsing expression:

2012-03-14 Thread James M
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

[appengine-java] Re: Unsupported method contains while parsing expression:

2012-03-14 Thread James M
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

[appengine-java] Unable to load several versions of AppEngine Project and Seeing HardDeadLineExceeded Exceptions

2012-02-23 Thread James M
** 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 **

[appengine-java] starting today: send.Mail took too long to respond

2011-09-13 Thread James Briant
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

[appengine-java] Re: threads per instance (Java)

2011-09-05 Thread James Cooper
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

[appengine-java] The *real* cost of the billing changes

2011-09-05 Thread James Briant
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),

[appengine-java] threads per instance (Java)

2011-09-03 Thread James Cooper
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

[appengine-java] Re: 500 error updating index definitions

2011-08-25 Thread James Cooper
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

[appengine-java] 500 error updating index definitions

2011-08-24 Thread James Cooper
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

[appengine-java] Re: 500 error updating index definitions

2011-08-24 Thread James Cooper
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

[appengine-java] Re: Problem with Channel API

2011-05-15 Thread James M
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

[appengine-java] Adding the Ability to Set a Beta or Other Version of an Application To A Domain

2011-05-13 Thread James M
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

[appengine-java] Re: GAE on Mac OS X not working on local Jetty

2011-04-21 Thread James Moore
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

Re: [appengine-java] Re: How can I make the session to be held open as long as the user got its browser opened?

2011-04-10 Thread James
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,

[appengine-java] Re: JUnit Test of Code that uses GAE/J URLFetchServiceFactory.getURLFetchService()

2011-03-18 Thread James Andersen
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

[appengine-java] Re: JUnit Test of Code that uses GAE/J URLFetchServiceFactory.getURLFetchService()

2011-03-17 Thread James Andersen
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!

[appengine-java] Re: JUnit Test of Code that uses GAE/J URLFetchServiceFactory.getURLFetchService()

2011-03-17 Thread James Andersen
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

[appengine-java] Re: 1.4.0 Preview and Channel API

2010-11-30 Thread James M
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

[appengine-java] Re: 1.4.0 Preview and Channel API

2010-11-29 Thread James M
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

[appengine-java] Re: Channel API ?

2010-11-29 Thread James M
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

[appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.

2010-11-04 Thread James
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

[appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.

2010-11-04 Thread James
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

[appengine-java] Two URLFetch Questions

2010-10-22 Thread James
. 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

[appengine-java] TaskQueue TransientFailureException

2010-10-21 Thread James
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

[appengine-java] Re: AsyncDatastoreService - ready for use?

2010-10-21 Thread James
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

[appengine-java] Securing JSESSIONID cookie

2010-09-22 Thread James
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

[appengine-java] Re: Securing JSESSIONID cookie

2010-09-22 Thread James
=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

[appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread James
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

[appengine-java] Re: image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread James
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

[appengine-java] Encryption Best Practices/Example

2010-09-01 Thread James
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

[appengine-java] SSL Version-specific URLs

2010-08-21 Thread James
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

[appengine-java] Re: JDO one-to-many remove entity from list in detached state does not persist

2010-08-02 Thread James
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

[appengine-java] JDO Detached ListKey or SetKey Issues

2010-07-01 Thread James
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

[appengine-java] Re: Disable Single Property Indexes

2010-07-01 Thread James
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

[appengine-java] Re: JDO Detached ListKey or SetKey Issues

2010-07-01 Thread James
- 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

[appengine-java] Re: Discussion for Best Practices For App Engine With Example

2010-06-30 Thread James
, 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

[appengine-java] Re: Disable Single Property Indexes

2010-06-30 Thread James
(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

[appengine-java] RE: JDO/JPA Snippets That Work - Creating a bidirectional, owned, one-to-many relationship

2010-06-29 Thread James
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

[appengine-java] [JDO Paging] Getting a cursor BEFORE the end of results

2010-05-05 Thread James
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

[appengine-java] JDO @Version

2010-05-01 Thread James
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

[appengine-java] Re: WARNING: This request caused a new process to be

2010-04-21 Thread James
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

[appengine-java] How-to debug JSP stack dump on GAE production

2010-04-02 Thread James H
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

[appengine-java] Development server requires custom indexes for inequality filters on keys

2010-03-29 Thread James
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

Re: [appengine-java] Re: App instance recycling and response times - is there solution?

2010-03-17 Thread James Koch
...@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

[appengine-java] Re: App instance recycling and response times - is there solution?

2010-03-11 Thread James
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

[appengine-java] Re: Sporadic problems with very high response times

2010-03-10 Thread James
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

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-01-22 Thread James Cooper
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

[appengine-java] Re: App Engine SDK 1.3.0 maven repo

2010-01-08 Thread James Cooper
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

[appengine-java] HTTP PUT in dev server generates exception

2010-01-06 Thread James Cooper
(); 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

[appengine-java] Re: HTTP PUT in dev server generates exception

2010-01-06 Thread James Cooper
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

[appengine-java] Datastore Quota

2009-12-15 Thread James H
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

[appengine-java] Re: Photo and Video services

2009-12-07 Thread James H
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

[appengine-java] Re: task queue once-only semantics

2009-12-02 Thread James H
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

[appengine-java] Re: task queue once-only semantics

2009-12-01 Thread James H
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

[appengine-java] Re: task queue once-only semantics

2009-12-01 Thread James H
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

[appengine-java] Re: task queue once-only semantics

2009-12-01 Thread James H
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

[appengine-java] Re: Transaction Error with No Transactions

2009-11-30 Thread James H
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

[appengine-java] Re: Photo and Video services

2009-11-27 Thread James H
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

[appengine-java] Any workaround to send email from dev server?

2009-11-27 Thread James Cooper
. 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

[appengine-java] Re: 5000 row query

2009-11-27 Thread James H
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,

[appengine-java] Re: select count(*) ?

2009-11-25 Thread James H
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

[appengine-java] request for example [links] -- { gwt + appengine + bigtable + jpa + maven + {xstream(JSON)} } CRUD

2009-11-24 Thread James Northrup
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

[appengine-java] Change datastore filename on dev server?

2009-11-21 Thread James Cooper
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

[appengine-java] Re: Task queue concurrency

2009-11-17 Thread James Cooper
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

[appengine-java] Re: Entity Group limitations

2009-11-12 Thread James H
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

[appengine-java] Re: export large dataset

2009-11-11 Thread James Cooper
- 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

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-11 Thread James H
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

[appengine-java] Re: permissions in multipart file upload

2009-11-10 Thread James H
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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-09 Thread James H
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

[appengine-java] Re: the question in ubuntu9.10 and eclipse 3.5

2009-11-07 Thread James Young
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

[appengine-java] Re: the question in ubuntu9.10 and eclipse 3.5

2009-11-05 Thread James Young
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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-04 Thread James H
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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-04 Thread James H
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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-04 Thread James H
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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-03 Thread James H
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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-03 Thread James H
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

[appengine-java] Re: Simulating MapReduce with task queues

2009-10-29 Thread James Cooper
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

[appengine-java] Simulating MapReduce with task queues

2009-10-28 Thread James Cooper
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

[appengine-java] Re: 500 error due to reaching simulataneous active request limit - but they all appear to be within limits

2009-10-28 Thread James Cooper
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

[appengine-java] Re: Task queue concurrency

2009-10-28 Thread James Cooper
? -- 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

[appengine-java] Re: task queue limit 30 sec?

2009-10-27 Thread James Cooper
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

[appengine-java] Re: ClassCastException blues

2009-09-18 Thread James H
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

[appengine-java] ClassCastException blues

2009-09-17 Thread James H
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)

[appengine-java] Email w/Attachments, as Html, etc

2009-09-10 Thread James H
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

[appengine-java] Re: Email w/Attachments, as Html, etc

2009-09-10 Thread James H
, 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

[appengine-java] Re: Eclipse 3.3 plugin missing from update site

2009-09-08 Thread James H
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

[appengine-java] Re: java developers and hot deployment

2009-09-08 Thread James H
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

[appengine-java] Re: java developers and hot deployment

2009-09-08 Thread James H
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,

[appengine-java] Re: Upgrade issue with Google SDK 1.2.5

2009-09-07 Thread James H
, 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

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-09-07 Thread James H
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

[appengine-java] Re: Eclipse 3.3 plugin missing from update site

2009-09-07 Thread James H
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

[appengine-java] Upgrade issue with Google SDK 1.2.5

2009-09-06 Thread James H
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

[appengine-java] Master/Detail relations and redundant data handling

2009-09-06 Thread James H
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