Re: [appengine-java] Full Text Search Status?

2012-01-04 Thread Jaroslav Záruba
Any news/updates? :( -- 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/-/NcoX-BGLD2MJ. To post to this group, send email to google-appeng

[appengine-java] Working with JSON in client/server shared class

2011-03-20 Thread Jaroslav Záruba
Hi My Java class shared by client (GWT) and server (GAE/J) has field containing JSON-markup. Is it possible to parse/update/serialize this data using this very class? (I.e. without having to write separate client and server helper class.) Regards J. Záruba -- You received this message beca

[appengine-java] Deleting in batches of keys in a loop

2011-02-16 Thread Jaroslav Záruba
Hello If I delete 1000 objects in one iteration of a loop do I know for sure that in the next iteration I won't fetch their keys again when using the same query? I will use Mapper API so I'm rather curious. Regards J. Záruba -- You received this message because you are subscribed to the Go

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
asperException: Unable to compile class for JSP: > > An error occurred at line: 7 in the generated java file > org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type > > An error occurred at line: 8 in the generated java file > org.apache.jasper.runtime.JspSourceDependent cann

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
e I downloaded the new > 1.4 SDK. > > On Dec 6, 5:54 pm, Jaroslav Záruba wrote: > > Could it be it is only a missing import declaration in the *.java result > of > > your *.JSP? > > > > > > > > > > > > > > > > On Mon, Dec 6

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
On Dec 6, 5:33 pm, Jaroslav Záruba wrote: > > This JAR is where Eclipse reads the HttpJspBase type from. It is included > in > > the AppEngine SDK Library. > > > > Project -> Properties -> Java Build Path -> Libraries > > > > > > > > > >

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
On Dec 6, 5:03 pm, Jaroslav Záruba wrote: > > seems like repackaged-appengine-jasper-6.0.29.jar is not where it is > > supposed to be...? > > > > > > > > > > > > > > > > On Mon, Dec 6, 2010 at 5:58 PM, mscwd01 wrote: > > > No hints i

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
he.jasper.compiler.Compiler.compile(Compiler.java:349) >at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) >at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) >at > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java: > 592)

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
What does the error message say? No hints in the Problems window? On Mon, Dec 6, 2010 at 5:42 PM, mscwd01 wrote: > This still doesn't solve the issue for me, mapping a servlet url > pattern to a jsp file always fails... > > On Dec 6, 1:33 pm, Jaroslav Záruba wrote: > &

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-06 Thread Jaroslav Záruba
Thanks guys, moving AppEngine (and GWT) to the top in "Order and Export" really solved this. Thanks a lot :) On Sun, Dec 5, 2010 at 4:40 PM, Mike Friesen wrote: > I had the same problem and fixed it by: > > 1) Selecting project Root -> Goto File->Properties > 2) Select Java Build Path > 3) Sele

[appengine-java] Re: 1.4 eclipse plugin

2010-12-05 Thread Jaroslav Záruba
Same error, syncing the JARs has not helped. :( It appears to me there's still hiding one incompatible (Jasper?) library somewhere. I guess I just have bad luck. Every time I upgrade GAE/GWT Eclipse plugin or SDK I end up doing clean install of Eclipse. :( On Dec 5, 7:36 pm, Rajeev Dayal wrote:

[appengine-java] Re: app engine and db server elsewhere...

2010-07-03 Thread Jaroslav Záruba
No. On Jul 3, 9:47 pm, emigrant wrote: > hi all, > can i put my java app in google app engine and have conneciton to mysql > database server outside? > > thanks a lot/ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to th

[appengine-java] Saving my own JSPs to blobs - URLFetch Timeout

2010-07-03 Thread Jaroslav Záruba
Hi I'd like to serve blobs created of JSPs. So the idea was to use TaskQueue+URLFetch on partcilar JSP whenever the blob should get updated. But only very rarely I succeed, usually I end with connection timeout. (Even when the timeout is raised to 10s.) When I call the JSP directly it loads way be

[appengine-java] Re: regarding the keys in the datastore

2010-07-03 Thread Jaroslav Záruba
My guess is that this is to prevent collisions (or reduce the chances) when two or more JVMs / datastore servers are auto-assigning the keys. On Jul 3, 9:58 pm, Deepika M wrote: > Hi, > > I have a question about the keys in the datastore. > > The keys are in sorted order when I view in the local

[appengine-java] GAE + Server-side Speed Traces?

2010-07-03 Thread Jaroslav Záruba
http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#ServerSideSpeedTraces "With Speed Tracer 1.0 M1, you can now view sever-side timing data for apps running on Google App Engine..." I have upgraded, re-deployed to GAE, but I can't see no "Speed Trace" above "Summary" in the "Network (r

[appengine-java] Re: TaskQueue: How reliable is ETA?

2010-07-03 Thread Jaroslav Záruba
Oh lord, seems like i'm ready to bed... etaMillis(long etaMillis) Sets the approximate absolute time to execute. vs. countdownMillis(long countdownMillis) Set the number of milliseconds delay before execution of the task. Nevermind. On Jul 3, 11:28 am, Jaroslav Záruba

[appengine-java] TaskQueue: How reliable is ETA?

2010-07-03 Thread Jaroslav Záruba
Hi I knew that ETA does not guarantee exact time for a task to be run, but I was under impression that a task won't be run sooner than ETA. But now I'm adding task with etaMillis(31) and it is run right away, on a production server. Could anyone enlighten me, please? Regards J. Záruba --

[appengine-java] Re: Prerelease 1.3.4 SDK ready for download

2010-06-21 Thread Jaroslav Záruba
ba- xqa.myopenid.com/" all goes smooth. Now I'm only dying of curiosity whether I was 'doing it wrong'? :P On Jun 22, 1:14 am, Jaroslav Záruba wrote: > I'm trying to enable OpenID authentication for my app. With Google as > IDP it works fine. With MyOp

[appengine-java] Re: Prerelease 1.3.4 SDK ready for download

2010-06-21 Thread Jaroslav Záruba
I'm trying to enable OpenID authentication for my app. With Google as IDP it works fine. With MyOpenId.com I get the 500 Error page after I approve authentication on their site. http://app-id.appspot.com/_ah/openid_verify?...tonsofparameters... I never knew I should take care about /_ah/openid_ver

[appengine-java] datastore Category type/class... vs. String

2010-06-12 Thread Jaroslav Záruba
This is probably a silly question... few of them How does Category differ from good old String? Does it take less space in the datastore or is it stored as String? And if one had only tens of tags, would it be any good to tag entities rather using numbers and translate them afterwards? (Would it

[appengine-java] 500 when web.xml contains certain kind of coments

2010-06-06 Thread Jaroslav Záruba
Hello GAE seems to have troubles parsing web.xml with what I believe are perfectly valid XML-comments: -- intense-debate-account-id site1accId -- My attempts to deploy the app ended up with some generic 500. When I removed those all went well. Am I doi

[appengine-java] Re: Persisting object with generic supertype

2010-05-26 Thread Jaroslav Záruba
ppengine/docs/java/datastore/dataclasses.html... > > I remember having such a problem before defining correct storage > strategy. > > Let us know if it helps > > didier > > On May 18, 12:42 pm, Jaroslav Záruba > wrote: > > > > > &

[appengine-java] Re: Eclipse plugin & Subclipse issue

2010-05-25 Thread Jaroslav Záruba
Once I had to install Subclipse again after installing GWT, on Windows. No issues since then. On May 25, 1:42 am, a701440 wrote: > I am running Eclipse 3.5 on Ubuntu 10.04 64 bit. I had subclipse > subversion integration installed and working fine. I then installed > the google app engine plugin

[appengine-java] Impossible to re-arrange items in a collection?

2010-05-25 Thread Jaroslav Záruba
Would someone from Google please confirm that Datastore does not support changing the order of items stored in LinkedList or LinkedHashSet? (I.e. not adding/removing single item, just changing their arbitrary order.) According to what I have been able to find out (by testing and asking on Stackover

[appengine-java] How to change order of items in a collection property?

2010-05-24 Thread Jaroslav Záruba
Hello Could anyone please point me to a document that mentions what is the proper way of changing order of items in a collection? I ran out of ideas. When I assign the newly created collection everything seems OK, but after committing the transaction the collection is just gone. (With or without

[appengine-java] Re: How to re-order items in a collection? Items becoming 'deleted'.

2010-05-24 Thread Jaroslav Záruba
stable for some reason.) On May 24, 3:58 am, Jaroslav Záruba wrote: > I should have mentioned that the collection-property is not in default > fetch group, if it makes any difference...? > > -- > You received this message because you are subscribed to the Google Groups > "G

[appengine-java] Re: Persisting object with generic supertype

2010-05-23 Thread Jaroslav Záruba
Thank you for the reply. I'm seeing "InheritanceStrategy.SUBCLASS_TABLE" for the very first time, therefore most likely I didn't set up the storage strategy properly. I will get back to this approach soon, so I will definitely let you know whether it helped or not. Thanks again, regards J. Záru

[appengine-java] Re: Would Blob properties slow down my queries?

2010-05-23 Thread Jaroslav Záruba
x27;re frequently (every request) retrieving > a large Blob, this shouldn't be *that* expensive. Small blobs shouldn't take > that much longer. Your mileage may vary, so you'll have to do some > benchmarking to see. > > What are you thinking of doing? >

[appengine-java] Re: How to re-order items in a collection? Items becoming 'deleted'.

2010-05-23 Thread Jaroslav Záruba
I should have mentioned that the collection-property is not in default fetch group, if it makes any difference...? -- 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...@googlegro

[appengine-java] How to re-order items in a collection? Items becoming 'deleted'.

2010-05-23 Thread Jaroslav Záruba
Hello I want to change order of objects in a collection, and then to change some fields of those items. Unfortunately the items somehow become 'deleted'. This is what I do... -- if(someCondition) { // events in the original order (mainEvent is not instance of the Event sub/class BTW) List sub

[appengine-java] Persisting object with generic supertype

2010-05-18 Thread Jaroslav Záruba
Hello Following is what I get after adding new field to my class: -- org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "net.jzaruba.appengine1.Article" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in

[appengine-java] Mailservice - creating a conversation

2010-05-15 Thread Jaroslav Záruba
Hello I'd like to send several mail messages so that they create a conversation in the recipient's mailbox. I assume this is accomplished by 'Message-ID', 'In-Reply-To' and maybe also 'References' headers. Unfortunately: "For security purposes, the Mail service does not allow arbitrary headers on

[appengine-java] Re: elegant way of implementing sequence generator

2010-05-14 Thread Jaroslav Záruba
Does it mean Memcached === the Memcache we use within AppEngine? I'm particularly interested in whether AppEngine Memcache is shared among all the JVMs that have been started for my application. Based on this I assume yes: "High performance scalable web applications often use _a distributed_ in-mem

[appengine-java] Would Blob properties slow down my queries?

2010-05-09 Thread Jaroslav Záruba
Will a query be any faster/slower depending on whether the entities being queried/returned have any Blob properties? (Or is there no difference until I actually call a getter for such property?) Regards J. Záruba -- You received this message because you are subscribed to the Google Groups "Go

[appengine-java] Re: The website has a programming error.

2010-05-09 Thread Jaroslav Záruba
I would try to minimize the JSP-code to the point where it can be shown to other people to inspect it. :) And is this a message that is shown in your browser or is it what is in your Logs? On May 8, 3:25 pm, Jitu Surve wrote: > I have written simple web application using GAE that contains .jsp >

[appengine-java] Re: "App Engine datastore does not support operator - ."

2010-05-08 Thread Jaroslav Záruba
i think i'm gonna reply to myself :) On May 6, 11:05 pm, Jaroslav Záruba wrote: > Why does the example query above use "parent-pk" instead of "customerKey"? > Is it a mistake or should the query/operator actually work somehow? still don't have a clue >

[appengine-java] Re: Deleted blob is... not deleted [Blobservice, Datastore]

2010-05-08 Thread Jaroslav Záruba
ah, it's gone now... quite a delay but i'm fine with that :) On May 8, 9:01 am, Jaroslav Záruba wrote: > Hello > > I have deleted a blob but somehow it is still > available:http://gae.mma.cz/image/images/JirkaRus.cz.png > > (Blob viewer shows I have 0 blobs in my dat

[appengine-java] Deleted blob is... not deleted [Blobservice, Datastore]

2010-05-08 Thread Jaroslav Záruba
Hello I have deleted a blob but somehow it is still available: http://gae.mma.cz/image/images/JirkaRus.cz.png (Blob viewer shows I have 0 blobs in my datastore.) I have searched for some posts about this but people usually can not delete from console (+1). Maybe there is something wrong with th

[appengine-java] "App Engine datastore does not support operator - ."

2010-05-06 Thread Jaroslav Záruba
Hello "App Engine datastore does not support operator - ." ...this is what I get when trying to mimic the following query example from Uses For Transactions . query = pm.newQuery("select fro

[appengine-java] How to return entities A) with known parentKey B) with no parent?

2010-05-05 Thread Jaroslav Záruba
Hello I have a structure defined solely by the keys (i.e. no field for parentKey reference), and I can't figure out how to read A) _direct_ descendant of known parentKey or B) root entities only. I have found posts asking about this but no answer... Either the responses were suggesting to add the

Re: [appengine-java] Re: How to make BlobServlet send non-empty response?

2010-05-05 Thread Jaroslav Záruba
we do it(don't know if it is the best) is to use the blobstore api > to get the url to put in the form action. > > on the 1st servlet you get the blobinfo and what not, then you redirect to > another servlet that can write to the form complete handler. > I'll share some code l

[appengine-java] Re: How to make BlobServlet send non-empty response?

2010-05-04 Thread Jaroslav Záruba
Or do you mean I should read the post data, send them to uploadUrl using another request I create, and then write response to the original one...? That might probably work... :P On May 4, 6:43 pm, Jaroslav Záruba wrote: > Can you be more specific please? > (After redirecting request you

[appengine-java] Re: How to make BlobServlet send non-empty response?

2010-05-04 Thread Jaroslav Záruba
Can you be more specific please? (After redirecting request you can't write to its response.) Regards J. Záruba On May 4, 10:01 am, bimbo jones wrote: > hi, > > You can redirect the upload servlet to another servlet that responds. > > 2010/5/3 Jaroslav Záruba > > &

[appengine-java] How to make BlobServlet send non-empty response?

2010-05-03 Thread Jaroslav Záruba
I'm trying to use SWFUpload for uploading images in my application but either this particular component or Flash does not like empty responses. Is it possible somehow to get any content in the response-body from uploadUrl? Regards J. Záruba -- You received this message because you are subscrib

[appengine-java] Re: Skipping files when deploying?

2010-05-02 Thread Jaroslav Záruba
files are still uploaded. But maybe I'm still missing something...? On May 2, 8:36 pm, Jaroslav Záruba wrote: > Can you be more specific? I mean where does it say how to mark files > "do not upload this"? > Thank you. > > On May 2, 6:41 pm, Peter Ondruska wrote:

[appengine-java] Re: Skipping files when deploying?

2010-05-02 Thread Jaroslav Záruba
Can you be more specific? I mean where does it say how to mark files "do not upload this"? Thank you. On May 2, 6:41 pm, Peter Ondruska wrote: > code.google.com/appengine/docs/java/config/appconfig.html > > On May 2, 5:38 pm, Jaroslav Záruba wrote: > > > When deployi

[appengine-java] Skipping files when deploying?

2010-05-02 Thread Jaroslav Záruba
When deploying a Python app files can be filtered-out from the deployment process (i.e. not uploaded to GAE), as described here: http://code.google.com/appengine/docs/python/config/appconfig.html#Skipping_Files Is this possible also with Java app? Regards J. Záruba -- You received this messag

[appengine-java] New members approvals pending

2010-04-28 Thread Jaroslav Záruba
I've been asked to "bump" for %subj%... quote: Can you do me a favor? I have send numerous mails to the list yet and none shows up. According to the mailinglist description, new members need to be approved by the list admin, but he didn't approve them for ~3-4 Days now. I've even used the contact

[appengine-java] What happens when I don't close persistenceManagers?

2010-04-28 Thread Jaroslav Záruba
What are possible consequences of having method like this? -- public Article getArticle(Key key) { return pManagerFactory.getPersistenceManager().getObjectById(Article.class, key); } -- Is it generally wrong? I.e. will I run out of available pManagers? And if it is OK, for how long can I

Re: [appengine-java] Re: Writing to a local file in development environment

2010-04-28 Thread Jaroslav Záruba
On Wed, Apr 28, 2010 at 11:16 AM, Ian Marshall wrote: > Out of interest, what text file manipulation do you need to you when > debugging using the GAE/J development server? > It is not related to debugging Java, rather to my own JS; so I don't feel it deserves your attention. But when you asked.

[appengine-java] Re: Writing to a local file in development environment

2010-04-27 Thread Jaroslav Záruba
On Apr 27, 7:39 pm, Patrick Cornelißen wrote: > You could also start a dedicated tomcat yes, the workaround here is easy... but so far i'm looking for a solution, also i "must!!!11" know why this is not working, i guess you know that feeling :P thank you anyways Patrick best regards J. Zárub

[appengine-java] Writing to a local file in development environment

2010-04-27 Thread Jaroslav Záruba
Due debugging purposes, and only in development environment, I need to manipulate with a text-file. Obviously I ran into following message... > access denied (java.io.FilePermission F:\workspace\AppEngine1\war\js\main.js > delete) I thought adding the permission to java.policy would cure this, so