[google-appengine] Re: full text search API is experimental, ready for a test drive

2012-05-08 Thread pman
based on existing pricing model - imho its price will be high.

more indexes + more datastore (storage, read, write, ...) + more
instances needed + ...



On May 9, 7:49 am, Ugorji ugo...@gmail.com wrote:
 I think features have been released before but we knew the price
 (TaskQueues, etc). The feature is out of trusted testers mode (after many
 many months). It's now in experimental but generally available mode, which
 tells me that the API's may change somewhat but the feature is here to
 stay.

 If I sink in development time using it, and build my application to depend
 on it, and then the price is released and it's prohibitive to me, I've lost
 a fair amount of development time.

 There are some features which you can just easily back out of (e.g. SSL,
 etc). But something like Search, Cloud SQL, etc are commitments, even if in
 experimental mode, because your application starts to depend on it once
 built.







 On Tuesday, May 8, 2012 6:37:02 PM UTC-4, barryhunter wrote:

  On Tue, May 8, 2012 at 11:03 PM, Ugorji  wrote:
   It will be nice if we had an idea of the price before committing to
  using
   it.

  Surely the idea is you don't commit to using it until it graduates
  from experimental.

  The free quota is there to experiment (and help Google figure out how
  much it costs them to run the service) - not to use it for real
  (unless you very brave :)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How do I get all cookies from GAE urlfetch service

2012-04-28 Thread pman
...
HTTPRequest httpRequest = new HTTPRequest(new URL(aRemoteServerUrl),
HTTPMethod.GET);
httpRequest.getFetchOptions().doNotFollowRedirects();

cookieManager.setCookies(httpRequest);

HTTPResponse httpResponse =
URLFetchServiceFactory.getURLFetchService().fetch(httpRequest);

cookieManager.storeCookies(httpRequest, httpResponse);
...

The above code run well in GAE sdk locally; however, when deployed in
GAE production server. It failed.

I debugged and found that the first cookie returned from
aRemoteServerUrl was somehow lost in GAE production server. And,
this made my code failed.

i.e. problem - incomplete cookies returned from GAE urlfetch service.

Any help?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Huge spikes in requests per second recently

2011-10-21 Thread pman
have a look on this http://www.freeimagehosting.net/8e2df

what happened?


On Oct 21, 3:05 pm, Brandon Wirtz drak...@digerat.com wrote:
 Did you check your logs to see what the user agent was?

 Could be Google DOTS

 Or Bing Found you

 Or some one is DDoSing you

 Could be your site is suddenly popular.

 From: google-appengine@googlegroups.com
 [mailto:google-appengine@googlegroups.com] On Behalf Of Gregory D'alesandre
 Sent: Thursday, October 20, 2011 11:36 PM
 To: google-appengine@googlegroups.com
 Subject: Re: [google-appengine] Re: Huge spikes in requests per second
 recently

 Would you be willing to let me know your appids so that I could see what you
 are talking about?

 Thanks!

 Greg

 On Thu, Oct 20, 2011 at 9:36 PM, Juha K juha.kosk...@gmail.com wrote:

 I've experienced the same. My app usually gets 20 - 50 requests per second.
 Since few days ago it has started to get spikes hitting up to ~150 requests
 per second. I don't see anything unusual in the logs. The load to my app
 should be quite constant, nothing like the graph shows. From the graph I
 would say there's a spike roughly once per hour.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.

 To view this discussion on the web 
 visithttps://groups.google.com/d/msg/google-appengine/-/v3txQJc6V4AJ.

 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com
 mailto:google-appengine%2bunsubscr...@googlegroups.com .
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] incomplete value for 'Set-Cookie' header field

2011-10-06 Thread pman
i am still can't get it work in production. (using java)

i found the responded first cookie that ends with ... httponly
missing.

any help?

p/s: my test run well at development server.


more info: http://code.google.com/p/googleappengine/issues/detail?id=412

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: public, dynamic backends are magical (in a good way!!)

2011-09-26 Thread pman
i found a new problem - the cron job run twice (frontend and
backend).

how to specify frontend cron job only?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: public, dynamic backends are magical (in a good way!!)

2011-09-26 Thread pman
sorry - that's my mistake.

confused by the log message in admin panel.



On Sep 26, 7:45 pm, Greg Darke (Google) darke+goo...@google.com
wrote:
 This should never occur.

 A cron task should only run on one instance. If you have specified the
 'target' parameter then it should execute on that version/backend otherwise
 it will execute on the default version of your application.

 What is your app id so I can look into this?

 On 25 September 2011 17:49, pman pollk...@gmail.com wrote:







  i found a new problem - the cron job run twice (frontend and
  backend).

  how to specify frontend cron job only?

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appengine@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: Apache Shiro on Google App Engine

2011-07-14 Thread pman
hi - i'm new to it.

qoogle found this - 
http://www.gdevelop.com/blog/2010/12/apache-shiro-on-appengine/.


Question - how to initial role and permission for the current user
(logined)?


-- 
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 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: naked domain

2010-11-23 Thread pman
found bad review on 1and1.com @ http://www.webhostingjury.com/reviews/1and1


On Nov 24, 3:14 am, Jorge Neyra jorge.ne...@gmail.com wrote:
 I have done it with godaddy.com and 1and1.com

 On Tue, Nov 23, 2010 at 2:04 PM, pman pollk...@gmail.com wrote:
  which domain name registrar allows naked domain forward to
  www,mydomain.com (using google appengine)?

  i.e. mydomain.com -- forward to --  www,mydomain.com.

  --
  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...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] AppEngine Box

2010-11-01 Thread pman
i felt that i was trapped into the appengine box.

so many restrictions - need to change the application logic again to
live in the box's environment.

http://code.google.com/appengine/docs/quotas.html#Resources

a must for everyone.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] datastore viewer's GQL

2010-10-28 Thread pman
thx - it work.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] datastore viewer's GQL

2010-10-27 Thread pman
i have following record in the datastore.

datastore ABC
===
ID/Name title   message user
===

and the user is the object.


how to run GQL to filter a particular user's record - user
(ag1udW1iZXJzaaD9wejAxcgsLEgRVc2VyGOkHKK
User: id=100100)

??

select * from ABC where user = User(100100) (not working).


any 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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: uploaded file how to view in browser

2010-10-26 Thread pman
have u tried - setContentType  method?



On Oct 26, 12:05 pm, prabu prabuc...@gmail.com wrote:
 Hi..
        I was uploaded file(pdf) in Blob it's working fine.and how to
 view uploaded file in browser (Download is working).but image files
 are view in browser I'm using struts framework.

 please help me..

 ThanksRegards
 Prabu

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] DatastoreNeedIndexException

2010-10-24 Thread pman
I now have problem with
com.google.appengine.api.datastore.DatastoreNeedIndexException: no
matching index found...

And, the admin Dashboard shown
===
Number of Indexes
100%
100%199 of 200

===


the application is a relatively simple, yet got such problem.  i
wonder how many datastore indexes u guys have.

pls share it here.

p/s: google appengine team, can increase the quota for index ...?



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] appengine and domain

2010-10-24 Thread pman
can i have this.

app1.abc.com -- point to -- app1.appspot.com

app2.abc.com -- point to -- app2.appspot.com

any help or guide?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: SAXParseException: Premature end of file on dev server

2010-10-21 Thread pman
i faced similar problem b4.

traced and found caused by datastore-indexes.xml existed b4 datastore
is created.

remove it then okay.

On Oct 21, 5:56 pm, Cyrille Vincey crll...@gmail.com wrote:
 Same issue for the past 3 days.
 Only occuring on the dev server.
 I have tried for hours to solve it. No clue...
 Fortunately, no impact on the production environment.

 On 21/10/10 11:50, Ian Marshall ianmarshall...@gmail.com wrote:

 Hello All,

 I am running my web application on the GAE/J 1.3.8 development server
 on my local machine. I have just got the following log entry whilst
 testing:

   21-Oct-2010 09:13:06 com.google.apphosting.utils.jetty.JettyLogger
 warn
   WARNING: fa...@null line:1 col:1 : org.xml.sax.SAXParseException:
 Premature end of file.

 I did not notice any effect on my web app: I was reading data from my
 dev server's datastore but not writing any data to it (apart from
 perhaps some data of my session).

 Has anyone else got this recently? Am I doing anything wrong, or could
 this be just an occasional glitch of the dev server which I can just
 ignore?

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: HttpURLConnection problem

2010-10-18 Thread pman
http://code.google.com/p/googleappengine/issues/detail?id=1704

On Oct 17, 9:18 am, 欧万翔 ouwanxi...@gmail.com wrote:
 hi:
 1、i use HttpURLConnection login ,then remember cookie
  url = new 
 URL(http://passport.cnfol.com/accounts/Login?username=ouwxpassword=accou...
 ?);
  httpurlconnection = (HttpURLConnection) url.openConnection();
  httpurlconnection.setRequestProperty(User-Agent, Mozilla/4.0
 (compatible; MSIE 5.0; Windows XP; DigExt));
 httpurlconnection.setDoOutput(false);
 httpurlconnection.setRequestProperty(Content-Type,application/x-www-form-urlencoded);
 httpurlconnection.connect();
 BufferedReader in = new BufferedReader(new
 InputStreamReader(httpurlconnection.getInputStream()));
 String inputLine;

 while ((inputLine = in.readLine()) != null)
{
  String session_value = httpurlconnection.getHeaderField(Set-Cookie);
  sessionId = session_value.split(;);

 }

 2、use the cookie to get the content
 httpurlconnection = (HttpURLConnection) url.openConnection();
   httpurlconnection.setRequestProperty(Proxy-Authorization,  Basic
 );
   httpurlconnection.setRequestProperty(User-Agent, Mozilla/4.0
 (compatible; MSIE 5.0; Windows XP; DigExt));
   httpurlconnection.setRequestProperty(Cookie, sessionId[0]);
   httpurlconnection.setDoOutput(false);

  
 httpurlconnection.setRequestProperty(Content-Type,application/x-www-form-urlencoded);
   httpurlconnection.connect();
   BufferedReader in = new BufferedReader(new
 InputStreamReader(httpurlconnection.getInputStream()));

 my problem is:i can use cookie get the content at local  ,but at
 sever(upload to google) i cann't get the content.

 why?local diffrent server?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: SDK 1.3.8 released!

2010-10-15 Thread pman
good news - btw, when can the cookie bug get fixed?

http://code.google.com/p/googleappengine/issues/detail?id=1704

not an easy task i guess.

well done, after all.

On Oct 15, 11:44 am, Takashi Matsuo tmat...@google.com wrote:
 Hello App Engine Developers!

 We're very happy to announce that SDK 1.3.8 is released today. There
 are many new cool features, so please download the new SDK and enjoy
 it!

 You can download the new SDK 
 from:http://code.google.com/appengine/downloads.html

 Our blog post includes some screenshots of new features in admin 
 console:http://googleappengine.blogspot.com/2010/10/new-app-engine-sdk-138-in...

 Here are release notes:

 Java
 ---
 Version 1.3.8
 =
 - You can run task queue tasks immediately from the admin console.
 - Added an OutputSettings class to the Images API to specify the JPEG encoding
   quality when running in production.
 - Support for login of multiple Google accounts within an app, and longer 
 login
   sessions. For more information see:
    http://www.google.com/support/accounts/bin/answer.py?answer=181599
 - In queue.xml, the maximum allowed bucket size is now 100.
 - Removed limits on zigzag merge-join queries. Therefore the error The 
 built-in
   indices are not efficient enough for this query and your data. Please add a
   composite index for this query. will no longer be thrown in most cases,
   enabling more types of queries without indexes.
 - The whitelist has been updated to include java.net.InetAddress and some
   interfaces and abstract classes in javax.xml.soap, including
   javax.xml.soap.SOAPMessage.
 - Fixed an issue reserving App Ids by owners of emails containing periods,
   multiple cases, and googlemail.com address.
    http://code.google.com/p/googleappengine/issues/detail?id=1196
 - Fixed an issue where TaskOptions had no public getters, making testing
   impossible.
    http://code.google.com/p/googleappengine/issues/detail?id=3243
 - Fixed an issue on the development server where PNGs were being returned as
   JPEGs.
    http://code.google.com/p/googleappengine/issues/detail?id=3661

 Python
 -
 Version 1.3.8
 ==
 - Builtin app.yaml handlers are available for common application functions,
   such as appstats.
    http://code.google.com/appengine/docs/python/config/appconfig.html#Bu...
 - The Admin Console now provides an experimental tool to delete all entities 
 in
   the datastore or all entities of a given type. This is available only if
   enabled using the datastore_admin builtin. Deleting entities will count
   against application quota.
    http://code.google.com/appengine/docs/python/datastore/creatinggettin...
 - You can run task queue tasks immediately from the Admin Console.
 - You can now specify the quality of JPEG images via the Image API's
   execute_transforms function. Available in production only.
 - Support for login of multiple Google accounts within an app, and longer 
 login
   sessions. For more information see:
    http://www.google.com/support/accounts/bin/answer.py?answer=181599
 - In queue.yaml, the maximum allowed bucket size is now 100.
 - Precompilation is now enabled by default. To disable, use the
   --no_precompilation flag when updating your app.
 - BlobInfo now has an open() method that returns a BlobReader.
 - BlobReader now accepts a BlobInfo.
 - Removed limits on zigzag merge-join queries. Therefore the error The 
 built-in
   indices are not efficient enough for this query and your data. Please add a
   composite index for this query. will no longer be thrown in most cases,
   enabling more types of queries without indexes.
 - Fixed an issue with task queue tasks not running on the dev_appserver when
   using Python 2.6.
 - Fixed an issue on the dev_appserver where auto task running wasn't working 
 for
   BulkAdd.
 - Fixed an issue reserving App Ids by owners of similarly-named mails accounts
   containing periods, multiple cases, and googlemail.com address.
    http://code.google.com/p/googleappengine/issues/detail?id=1196
 - Fixed an issue on the development server where PNGs were being returned as
   JPEGs.
    http://code.google.com/p/googleappengine/issues/detail?id=3661

 --
 Takashi Matsuo
 Developer Relations
 Developer Advocate for Google App Engine/iGoogle
 Google Japan, Inc.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Slim3 1.0.0 Released

2010-03-26 Thread pman
thanks for the help.

that solve the question - return {parents} based on a {child}
property.

but, i found new problem now with --

(1) return {parents} based on a {child} property and a {parent}
property?

(2) sort the {parents}?

(3) paging the result?


Any idea?



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Slim3 1.0.0 Released

2010-03-24 Thread pman
I have gone thru the Slim3 document.

Can we have this?

@MOdel
class Parent {
  ListChild childs = new ArrayListChild();
}

@Model Child {

}

If so, how to get parents based on child's property in Slim3?

TQ.




On Mar 18, 3:13 pm, Yasuo Higa higaya...@gmail.com wrote:
 Hi all,

 We are pleased to announce the release ofSlim31.0.0.

 Slim3is a full-stack MVC framework optimized for Google App Engine/Java.

 The main features ofSlim3are as follows:
 * Global Transactions
 * Faster than JDO/JPA
 * Fast spin-up
 * HOT reloading
 * Type safe query

 You can find more information aboutSlim3here:http://slim3.org

 Release Notes:http://sites.google.com/site/slim3appengine/release-notes

 Download:http://slim3.googlecode.com/files/slim3-blank-1.0.0.zip

 Thanks,

 Yasuo Higa

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.