[appengine-java] Problem deploying app after adding true in appengine-web.xml file.

2011-10-26 Thread Zde Sam
Hi, I am getting the following error after adding true in appengine-web.xml file during deployment. com.google.apphosting.utils.config.AppEngineConfigException: XML error validating E:\Projects\SpringSource\GoogleApps\WebsiteBuilder\war\WEB-INF\appengine-web.xml against E:\Services\Google\Ap

[appengine-java] can't enable datastore admin

2011-09-23 Thread Sam
I have a high replication java app. When I click the button to enable the datastore admin I get this error: "A version with the name:ah- builtin-python-bundle, already exists." I was able to get the datastore admin to work for a non high replication java app, but not this one. Thanks for your help

Re: [appengine-java] Can't enable datastore admin

2011-09-06 Thread Sam Stigler
ick the "enable" button, I get the error: > There were errors: > A version with the name:ah-builtin-python-bundle, already exists. Any ideas? Thanks, Sam On Sep 6, 2011, at 10:57 AM, Jose Montes de Oca wrote: > By the Admin Console I mean the dashboard you can access to see useful

[appengine-java] Re: Can't enable datastore admin

2011-09-03 Thread Sam
Hi Jose, I'm sorry for the late response. What do you mean by the admin console? (If you mean the launcher app that comes with the Python SDK, I can't get that to work with my Java app.) Thanks, Sam On Aug 23, 1:16 pm, Jose Montes de Oca wrote: > Hi Sam, > > This happened

[appengine-java] Can't enable datastore admin

2011-08-22 Thread Sam
this? Do you know how to fix it? Thanks, Sam -- 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/-/BLOWraffMqIJ. To post

[appengine-java] - datastore owned parent to child query capabilities

2011-08-03 Thread sam
Is there an example to query parent list based on filter criteria based on child attributed. Parent has list of children. Not one child. I have seen examples of parent having one child and basic filter on parent attributes but not using child attributes where child is a list inside parent. -- Yo

Re: [appengine-java] Re: Google update available for Eclipse?

2011-05-07 Thread Sam Stigler
Thanks! Sam On May 6, 2011, at 6:53 AM, David Chandler wrote: > http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html > > GPE is led by the GWT team. You'll also find most discussion about GPE > releases on the GWT group: > http://groups.google.com/group/google-w

[appengine-java] Google update available for Eclipse?

2011-05-05 Thread Sam Stigler
Hi all, I got a message today that there are some Google updates available for the Eclipse plugin and installing the updates now, but I can't find release notes for them. Can someone please point me in the right direction? Thanks, Sam -- You received this message because you are subsc

Re: [appengine-java] Re: Getting "class not found" errors on my project... any ideas why?

2011-04-29 Thread Sam Stigler
ing to debug my code in Eclipse. Sam On Apr 28, 2011, at 9:25 PM, Nichole wrote: > When I need to use document operations rather than a sax2 parser > through the XMLReaderFactory > reader, I set a system property which declares the first preferred > implementation of the factor

[appengine-java] Re: Getting "class not found" errors on my project... any ideas why?

2011-04-28 Thread Sam
; and do you know of a workaround? Sam On Apr 27, 8:58 pm, Sam wrote: > Hi, > > I'm new to App Engine. I just spent the weekend porting my code over > to Java. The major class in my app is a SAX XML parser that extends > DefaultHandler. For some reason, I keep on getting err

[appengine-java] Getting "class not found" errors on my project... any ideas why?

2011-04-28 Thread Sam
and QueuedThreadPool$PoolThread. The classes that are getting the "class not found" errors are all saying the AppEngine jar doesn't have source attached to it, see above. They are: TransactionCleanupFilter, my servlet (which extends HttpServlet), SelectChannelConnector$ConnectorEn

[appengine-java] read in file and jump to a certain line

2011-04-15 Thread Sam
I am using the new App Engine file api to read in a file from the blobstore and parse things out from specific lines. Can someone tell me how I could jump to a specific line in the file without having to iterate over every line until I find the line number I need? Here is how I am currently doing

[appengine-java] Re: How to read large files from the Blobstore using the file API ?

2011-04-15 Thread Sam
I would just try doing whatever you are doing in an offline process (task queue) and then notify the client when it is done. On Apr 13, 2:33 am, DanielP wrote: > Could maybe someone from Google help with this ? > 5MB is not so much - it shouldn't really take 30s !! > Thanks ! > Daniel > > On Apr

[appengine-java] Re: Could Not Verify SSL Certificate

2011-03-04 Thread Sam Edwards
Still experiencing the same problem with 1.4.2 On Feb 28, 1:35 pm, Rafael Nunes wrote: > Same problem here. > Any news? > > On Feb 19, 12:05 am, mushion22 wrote: > > > > > > > > > I have the same issue using 1.4.2 on OS X 10.6. The app works fine > > when deployed to production, but has theseSSL

Re: [appengine-java] jsonengine: a JSON storage that requires no server-side coding

2011-02-16 Thread Sam Collins
Awesome! I've been looking for something like this for a while. One question: does it work with JSONP (for cross domain xhr's)? -- 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-

[appengine-java] Cron Jobs Not Updating on Deploy

2011-01-28 Thread Sam Edwards
eleting the cron.xml file completely to see if it will remove my cron jobs (doesn't work) -I've tried modifying my cron.xml file to only have 1 cron job (doesn't work) Any help would be appreciated My app id is "4sqbr

[appengine-java] Re: How to use Python Bulk uploader to import data in local_db.bin ?

2010-11-07 Thread Sam E.
I've found another posting with the same problem here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/984c1b4747c1a44e/5e258e269f208444 Regards, -Sam Edwards http://handstandsam.com On Nov 7, 1:50 am, "Sam E." wrote: > I've been getting the sa

[appengine-java] Re: How to use Python Bulk uploader to import data in local_db.bin ?

2010-11-06 Thread Sam E.
am on a Mac with App Engine SDK 1.3.8. I've been messing around with this for hours to no avail. I've tried tips from http://stackoverflow.com/questions/1260835/which-credentials-should-i-put-in-for-google-app-engine-bulkloader-at-development but no luck. Any suggestions for loading i

[appengine-java] Re: What are benefits of using Core Value Types?

2010-08-10 Thread Sam E.
Thanks Ikai! Makes sense. Will probably just use Strings then. Appreciate all your blogposts on ikaisays.com Cheers, -Sam Edwards http://twitter.com/HandstandSam On Aug 9, 5:00 pm, "Ikai L (Google)" wrote: > In the Python API, these just make it easier to serialize to XML. As o

[appengine-java] What are benefits of using Core Value Types?

2010-08-09 Thread Sam E.
stalAddress, "Link", "IMHandle", "Category". All of these seem to be purely Strings without any sort of validation. What's the benefit of using these over just "String"s? Thanks, -Sam Edwards -- You received this message because you are subscribed to the Goo

Re: [appengine-java] Java applet->servlet->db

2010-06-14 Thread Sam Eaton
Ok thats answerd my issue concicely. Thank you. On 14 June 2010 20:00, Ikai L (Google) wrote: > No. JDBC requires low-level access to sockets. Use the datastore if you > need persistence and want to run your application on App Engine. > > On Sun, Jun 13, 2010 at 7:37 AM, Nuluvius wrote: > >> Hi

[appengine-java] Re: XMPP Problems

2010-01-21 Thread Sam
Same problem here .. looks like XMPP is down on app engine. On Jan 20, 8:09 pm, Hani Naguib wrote: > It looks like xmpp messages to the application do not get received. > It can send xmpp and everything else seems fine. -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Sam Hasler
Where exactly do I put the --jvm_flag=- Dtask_queue.disable_auto_task_execution=true flag? I'd assumed it would be in Run configurations... (x)= Arguments tab, in the VM Arguments pannel, but it says it's an Unrecognized option. Sam On Dec 11, 5:57 pm, "Max Ross (Google)&qu

[appengine-java] Re: Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Sam Hasler
Thanks Max! that's much better. That really should have been called out in the release notes though. Sam On Dec 11, 5:57 pm, "Max Ross (Google)" wrote: > Hi Sam, > > Please read this section of the > docs:http://code.google.com/appengine/docs/java/taskqueue/overview.

[appengine-java] Local Task queues not rate limited in 1.2.8

2009-12-11 Thread Sam Hasler
Local Task Queue are running tasks as fast as they can an not honouring the maximum rate for the queue. on a 0.5/s queue I'm seeing 80+ tasks handled in a matter of seconds. This is a problem for me because I am using the URLFetch service to fetch content that I am not supposed to request more than

[appengine-java] Re: Processing incoming email

2009-12-10 Thread Sam
Ikai, excellent, thanks for posting that and you're right, the 1.2.8 change makes it simpler. I also used Jeremy's example and came out with code very similar to yours. Besides demonstrating incoming and outgoing email, it is also a spring mvc 3 starter app: try it live: http://springstarterapp.

[appengine-java] Re: Processing incoming email

2009-12-06 Thread Sam
Appengine team, can someone please post (on the incoming mail docs page) a full example of processing an incoming email in appengine 1.2.8 including getting the message body and attachment? Please test from different mail clients. Everyone is totally confused here, especially with the mysterious

[appengine-java] Re: Writing to a local file system using gaevfs

2009-09-24 Thread Sam Sach
Never mind. I think I answered my own question. --Sam On Sep 24, 4:20 pm, Sam Sach wrote: > Sorry, I meant to write: "if gaevfs is READ only to local file > systems". > > --Sam > > On Sep 24, 4:15 pm, Sam Sach wrote: > > > I'd just like to know if t

[appengine-java] Re: Writing to a local file system using gaevfs

2009-09-24 Thread Sam Sach
Sorry, I meant to write: "if gaevfs is READ only to local file systems". --Sam On Sep 24, 4:15 pm, Sam Sach wrote: > I'd just like to know if this is possible -- or if GAE is write only > (to local file systems)? > > --Sam --~--~-~--~~~---

[appengine-java] Writing to a local file system using gaevfs

2009-09-24 Thread Sam Sach
I'd just like to know if this is possible -- or if GAE is write only (to local file systems)? --Sam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to t

[appengine-java] Re: Model to Optimize Queries

2009-09-22 Thread Sam Walker
as the easy winner with 30s rule I wasn't considering. Thanks for all your help in general as well! On Tue, Sep 22, 2009 at 10:39 AM, Jason (Google) wrote: > Hi Sam. Based on your design above, I believe you're modeling an unowned > relationship between articles and reviewers, w

[appengine-java] Re: Model to Optimize Queries

2009-09-20 Thread Sam Walker
's a requirement, you'll want to look into adding another relationship. > > - Jason > > On Fri, Sep 4, 2009 at 7:14 PM, Sam Walker wrote: > >> Thanks! >> >> I am thinking of doing something like this: >> >> class Article { >> HashSet reviewers;

[appengine-java] Re: To specify Key or use auto generation

2009-09-18 Thread Sam Walker
the low-level > API at this point: > > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService.html > > - Jason > > > On Sun, Sep 6, 2009 at 11:18 PM, Sam Walker wrote: > >> In 1, another problem is that I may not

[appengine-java] WARNING: multiple versions of ant detected in path for junit

2009-09-16 Thread Sam
I have an ant script to run my junit tests which includes appengine- java-sdk-1.2.5/lib/impl/appengine-local-runtime.jar. When I run a test I get a warning from junit: [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar:file:/D:/bin/eclipse-galileo/p

[appengine-java] Re: What's the Java equivalent of appcfg.py?

2009-09-14 Thread Sam Sach
Thanks, that answered my question. --Sam On Sep 14, 3:18 pm, Vince Bonfanti wrote: > The GaeVFS (Google App Engine Virtual File System) project implements > a distributed, writable file system for Google App Engine: > >    http://code.google.com/p/gaevfs/ > > The current rele

[appengine-java] What's the Java equivalent of appcfg.py?

2009-09-14 Thread Sam Sach
Hi: I'd like my app to download and upload from the datastore -- that is, to work as a file system. The only API, however, that I've found that does this is written in Python. I'd like to know what if there's a Java equivalent. --Sam --~--~-~--~~~

[appengine-java] Re: To specify Key or use auto generation

2009-09-06 Thread Sam Walker
Or am I missing something? On Sun, Sep 6, 2009 at 11:04 PM, Sam Walker wrote: > Lets say there is a relationship between Entities A and B, and I want to > model it with Entity C. > > Two ways: > 1. Use concatenated Key of A and B for Key of C. Data model will ensure > there are no d

[appengine-java] To specify Key or use auto generation

2009-09-06 Thread Sam Walker
Lets say there is a relationship between Entities A and B, and I want to model it with Entity C. Two ways: 1. Use concatenated Key of A and B for Key of C. Data model will ensure there are no duplicates. 2. Use autogenerated Key and make sure you do not duplicate A B relationship in code. Which o

[appengine-java] Re: Model to Optimize Queries

2009-09-04 Thread Sam Walker
Thanks! I am thinking of doing something like this: class Article { HashSet reviewers; HashSet tags; int status; // pending, approved, declined - derived from reviewers' statuses HashMap mapping; // Reviewer key to Review mapping to prevent storing making another 1:n relationship clas

[appengine-java] Re: Model to Optimize Queries

2009-08-27 Thread Sam Walker
w, do you suggest that I make Article embedded in Review? One article may have many reviews, that would mean the same article is embedded in all of them? Will that work fine? I just saw a lot of redundancy here, but if thats the best way, thats the best way! Thanks! On Thu, Aug 27, 2009 at 1:03 PM

[appengine-java] Re: Model to Optimize Queries

2009-08-27 Thread Sam Walker
Embedded_Classes > > Also, how have you defined reviewerParam? Is it a Key object or are you > actually passing in the Reviewer object? The latter won't work, but I'll > follow up about the former (querying on a Key). > > - Jason > > > On Sun, Aug 23, 2009 at

[appengine-java] Re: Model to Optimize Queries

2009-08-25 Thread Sam Walker
Any ideas, anyone? On Sun, Aug 23, 2009 at 11:18 PM, Sam Walker wrote: > Also, I get this error: *Can only filter by properties of a sub-object if > the sub-object is embedded.* when I tried to access article while setting > a fitler: query.setFilter("reviewer == reviewerParam &am

[appengine-java] Re: Model to Optimize Queries

2009-08-23 Thread Sam Walker
2, 2009 at 6:02 PM, Sam Walker wrote: > In the second model, how will I find all Articles being reviewed by A and > B? > > The only way I can think of is adding another derived field in Article: > > Article { > HashSet reviews; > HashSet reviewers; // keys of Review

[appengine-java] Re: Model to Optimize Queries

2009-08-22 Thread Sam Walker
shSet tags; int status; // derived from all Reviews' statuses. } Review { Article article; Reviewer reviewer; int status; } Now I should be able to do "reviewers.contains(A.key) and reviewers.contains(B.key)". Is that the best way? On Sat, Aug 22, 2009 at 2:02 PM, Sam Walk

[appengine-java] Re: Model to Optimize Queries

2009-08-22 Thread Sam Walker
Oh sweet, I didn't know that. That's awesome! Thanks for the quick reply. On Sat, Aug 22, 2009 at 1:51 PM, datanucleus wrote: > > > I dont think I can do sth like (I can't access article.tags, > article.status > > as far as I know, correct?): > > Of course you can. JDO spec defines JDOQL, using

[appengine-java] Model to Optimize Queries

2009-08-22 Thread Sam Walker
Model: Article can have multiple tags and multiple reviewers Queries I want to do: 1. Find all articles with a particular tag which I have to review 2. Find all articles that are being reviewed by me and someone else Model I am thinking: Article { HashSet reviewers; HashSet tags; } Now the

[appengine-java] Re: How to model this scenario

2009-08-22 Thread Sam Walker
ionships between A and B. Thanks. On Thu, Aug 20, 2009 at 12:17 PM, Jason (Google) wrote: > Hi Sam. Are you saying that, given two node names, you want to see if > there's an edge between them? In that case, couldn't you concatenate the two > node names, putting the smallest on

[appengine-java] Re: How to model this scenario

2009-08-19 Thread Sam Walker
> Also, if the semantics of fromAttribute and toAttribute are different, > then you've lost that in your second model. > > On Aug 9, 10:45 pm, Sam Walker wrote: > > I have a directed graph scenario and I want to model the relationship > with > > App Engine data store. > &