[appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Nischal
You don't really need to do anything different in order that a user who 
lands on m.mydomain.com sees a different page. Wherever you have your domain 
hosted, make m point to google's name server (I think some ghs.google.com)

After that, go to your appengine admin and configure this as another domain 
that the app can be accessed from. Whenever a user hits m.mydomain.com you 
would know and display the appropriate page to the user.

-- 
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/-/xmJ-8WNIdc8J.
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.



Re: [appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Nischal
The datastore remains the same. It's the same app. The sub domain needs to 
be mapped to the same app, not a different one.

-- 
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/-/AqAM-yc0M4AJ.
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.



Re: [appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Nischal
I'm talking about this - 

http://code.google.com/appengine/docs/domain.html

See the part 'More About Wildcard Subdomain Mapping'

-- 
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/-/NteE7xsOg6AJ.
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: Twitter streaming API on Java GAE

2011-09-14 Thread Nischal
+1 at least the backends should support them. 

-- 
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/-/IURRagHrgmwJ.
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: URLFetch Http Method DELETE returns http response 400

2011-09-11 Thread Nischal
The URL is accessible. It's for the facebook graph api. Like I said, works 
when using Apache Http client but I need to make it work on appengine as 
well.

This is for face4j https://github.com/nischal/face4j , an open source 
facebook graph api java library that I have created and maintain.

-- 
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/-/0Wd_LsvgwYkJ.
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: GAE for Java : 500 Server Error from last couple of hours

2011-09-09 Thread Nischal
There's a production ticket that has been raised to tackle this. 
http://code.google.com/p/googleappengine/issues/detail?id=5832

You can star it to track progress and add any extra info that you can 
provide to the google devs.

-- 
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/-/pfnfFQPPzMYJ.
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: [critical] javax.servlet.UnavailableException: Initialization failed.

2011-09-09 Thread Nischal
Please have a look at this production issue - 
http://code.google.com/p/googleappengine/issues/detail?id=5832

Star it so that you can track the progress.

-- 
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/-/smT5R7e4LAIJ.
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.



Re: [appengine-java] Re: GAE for Java : 500 Server Error from last couple of hours

2011-09-09 Thread Nischal
@Jags Please post your appid and comments here 
- http://code.google.com/p/googleappengine/issues/detail?id=5832

I too am facing this issue and the google devs are actively trying to fix 
it.

-- 
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/-/6de0GdqzZjIJ.
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: URLFetch Http Method DELETE returns http response 400

2011-09-05 Thread Nischal
Anything on this? The end URLs are facebook graph API urls. When I use the 
apache library, the DELETE method works fine but URLFetch is returning error 
code 400.

-- 
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/-/x5vVCJSC3ScJ.
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: URLFetch Http Method DELETE returns http response 400

2011-09-05 Thread Nischal
Haven't tried it on production yet, but it isn't working in development... 
Let me try and see if I get the same error in production as well...

-- 
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/-/Jd8Oun0pah4J.
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.



Re: [appengine-java] URLFetch Http Method DELETE returns http response 400

2011-09-02 Thread Nischal Shetty
Anything on this? I'm sorta stuck :(


On 2 September 2011 00:32, Nischal nischalshett...@gmail.com wrote:

 This is the code :

 URLFetchService fetchService = URLFetchServiceFactory.getURLFetchService();
 URL posturl = new URL(http://www.example.com/comment?token=xxx;);
 HTTPResponse response = fetchService.fetch(new HTTPRequest(posturl,
 HTTPMethod.DELETE));
 int responseCode = response.getResponseCode();

 What am I doing wrong here? This always returns a http response code 400. I
 am trying to use the http Delete method.


  --
 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/-/ybSlx3wJpdkJ.
 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.




-- 
-Nischal
twitter: NischalShetty http://twitter.com/nischalshetty
facebook: Nischal http://facebook.com/nischal

http://www.justunfollow.com http://www.buffr.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-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] URLFetch Http Method DELETE returns http response 400

2011-09-01 Thread Nischal
This is the code : 

URLFetchService fetchService = URLFetchServiceFactory.getURLFetchService();
URL posturl = new URL(http://www.example.com/comment?token=xxx;);
HTTPResponse response = fetchService.fetch(new HTTPRequest(posturl, 
HTTPMethod.DELETE));
int responseCode = response.getResponseCode();

What am I doing wrong here? This always returns a http response code 400. I 
am trying to use the http Delete method.


-- 
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/-/ybSlx3wJpdkJ.
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: Advice for looping through 100K records and updating multiple entities on each iteration

2011-08-29 Thread Nischal
How are retrieving these 100k records? Is it all the data of a particular 
kind or there is some specific condition? Even then, you could take a look 
at Map Reduce, it should be helpful.

-- 
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/-/VbEqIm1UND8J.
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: java.net.SocketTimeoutException: Timeout while fetching

2011-08-29 Thread Nischal
I don't know if this might be useful.. but I once got socket timeouts 100% 
of the time and realized this was my mistake:

http://www.example.com?param1=xxx

Changing to this fixed it!! 

http://www.example.com/?param1=xxx

Do you see the / after .com, if you aren't doing that try doing it.

-- 
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/-/s-hQTNG5h-4J.
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: Make use of appengine versions? Looking for your sugestion

2011-08-01 Thread Nischal


1) Is there any performance bottleneck for those non-default versions? eg, 
max instance can't exceed certain no?


Nope

2) How transactions are managed across different versions? eg, can I assume 
version 1 can't commit changes to certain entity group if version 2 has 
already started one on that entity group?


Yeah, since it's the same datastore, transactions would work the way you've 
described.

If you use appengine this way, you would have trouble managing all the 
different modules and deployments. Plus, there's a limit of around 10 (may 
be less not sure) versions that can exist at a time I guess.

IMO version should work according to how it is defined. You build a new 
feature, give it a new version, deploy it, if things work well, you switch 
to the new version, if the new version breaks under heavy usage, you roll 
back to the previous one.

-- 
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/-/LdUhVBYqrtwJ.
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: Local Datastore Viewer Not Showing All Properties

2011-08-01 Thread Nischal
I realized the same. But the local datastore is primitive when it comes to 
features as compared to the one in production. For example you cannot edit 
the data in the local datastore. So I think this is expected behavior, the 
local datastore will not show unindexed properties.

-- 
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/-/02ToRRZ3rHUJ.
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: 500 errors for: Initialization failed

2011-07-14 Thread Nischal
I am getting a lot of errors all of them hard deadline exceeded errors. My 
app usually has around 60 - 100 instances running but now I cannot see more 
than 30 spinning up... Someone please look into this!


-- 
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/-/zVjhjWygDY4J.
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: Facebook Federated Login

2011-07-05 Thread Nischal
Hi,

If your objective is to have 'Login with facebook' implemented on your site 
and you are looking for a java wrapper then you can try face4j 
https://github.com/nischal/face4j/wiki/Facebook-oAuth-login-with-face4j

I developed it for my own use and it runs well on the Google Appengine. Do 
give it a try and feel free to get in touch with me if you need any help.

-- 
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/-/I89XMVimMegJ.
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.



Re: [appengine-java] HTTP Pipelining support in AppEngine

2011-06-25 Thread Nischal
From what I can understand you need a long lived http connection? You can 
have a look at backends which do not have the 30s limit.

-- 
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/-/9BJ4fKtESqcJ.
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.



Re: [appengine-java] Why the 10 second URL fetch limit?

2011-06-19 Thread Nischal
@Ikai What workaround do you suggest? Making a call, converting it into a 
task and then waiting for the channel api to push the response?  Or is there 
something else that can be done? 

Many of my calls to third party sites like twitter and facebook get timed 
out often. I have never encountered a delay in response from facebook on my 
local machine, ever. But on the appengine a lot of calls to facebook fail 
often. 

-- 
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/-/arTYs2nbAfUJ.
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: I must stay at v1.40 for a long time, just for a serious bug each for v1.43 and v1.50

2011-06-16 Thread Nischal
Try 1.5.1 - http://code.google.com/p/googleappengine/downloads/list

The struts 2 problem has been fixed. Hope that helps.

-- 
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/-/2bE5HJ9CkdUJ.
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.



Re: [appengine-java] Re: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-17 Thread Nischal Shetty
@Don Happy to know you could find the problem. I'll stick to the previous
sdk till you guys get 1.5.1 out (the wait is gonna be harder considering all
the goodness packed into 1.5). Once again, thanks a lot for looking into
this.

On 17 May 2011 22:05, Don Schwarz schwa...@google.com wrote:

 I understand what's going on now.  No need to send me more war files, but
 my thanks to Nischal for a great test case.

 Struts2 wraps the request with StrutsRequestWrapper, and apparently
 modifies getAttribute() calls to check XWork's ValueStack if there is no
 attribute with the specified name.  XWork uses OGNL, and OGNL is trying to
 interpret the attribute name as an expression.

 We have some internal headers (e.g. X-AppEngine-BackendName) that we are
 also using as request attributes in some cases.  As far as I can tell, this
 is allowed by the servlet spec.  However, OGNL is interpreting the minus
 signs as subtraction and the unknown strings as 0 and returning a
 BigDecimal.  Weird.

 Since XWork is returning a non-null value for one of our backend-related
 attributes we think this is a request that should be redirect to a backend,
 so we're going through some new code in 1.5 that isn't relevant in your
 application.  However, we later fail because the attributes were of the
 wrong type.

 I will get this fixed in the next release, but I've been unable to find an
 easy workaround for you folks.  There appears to be no way to disable the
 use of OGNL in Struts2.  My best guess is that you can use the
 struts.valueStackFactory constant to register a custom ValueStackFactory
 that either does not use OGNL, or short-circuits this particular case.  If
 you're not feeling very adventurous, I recommend that you remain on the
 1.4.3 SDK for testing until 1.5.1 is released.

 On Mon, May 16, 2011 at 4:29 PM, Shashank sharma shash...@ebeedu.comwrote:

 @Don

 I am getting the same error. Also using struts 2.0 and also noticed
 this after upgrading to 1.5. Should i send you the war or has someone
 else already sent it to you?


 On May 17, 2:13 am, Don Schwarz schwa...@google.com wrote:
  This is very strange.  Can one of you send me your war directory?
 
  On Mon, May 16, 2011 at 12:14 PM, Nischal Shetty
  nischalshett...@gmail.comwrote:
 
 
 
 
 
 
 
   @Sean  Let's hope someone from the GAE team helps us. They've been
 super
   busy the entire last week. Hoping someone helps us out soon.
 
   If you come across a possible solution please do update this thread,
 I'll
   do the same.
 
   On 16 May 2011 00:11, svoeller sean.voel...@gmail.com wrote:
 
   I'm experiencing the same issue - stack trace is identical. Also
 using
   struts 2.0 and also noticed this after attempting to upgrade to 1.5.
 
   On May 13, 11:32 am, Nischal nischalshett...@gmail.com wrote:
GAE team, need your help here.
 
   --
   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.
 
   --
   -Nischal
   +91-9920240474
   twitter: NischalShetty http://twitter.com/nischalshetty
   facebook: Nischal http://facebook.com/nischal
 
   http://www.justunfollow.com http://www.buffr.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-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.

 --
 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.


  --
 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.




-- 
-Nischal
+91-9920240474
twitter: NischalShetty http://twitter.com/nischalshetty
facebook: Nischal http://facebook.com/nischal

http://www.justunfollow.com http://www.buffr.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

Re: [appengine-java] Re: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-16 Thread Nischal Shetty
@Sean  Let's hope someone from the GAE team helps us. They've been super
busy the entire last week. Hoping someone helps us out soon.

If you come across a possible solution please do update this thread, I'll do
the same.


On 16 May 2011 00:11, svoeller sean.voel...@gmail.com wrote:

 I'm experiencing the same issue - stack trace is identical. Also using
 struts 2.0 and also noticed this after attempting to upgrade to 1.5.

 On May 13, 11:32 am, Nischal nischalshett...@gmail.com wrote:
  GAE team, need your help here.

 --
 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.




-- 
-Nischal
+91-9920240474
twitter: NischalShetty http://twitter.com/nischalshetty
facebook: Nischal http://facebook.com/nischal

http://www.justunfollow.com http://www.buffr.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-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.



Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-16 Thread Nischal Shetty
Here's how you GET using URLFetch :


URLFetchService fetchService =
URLFetchServiceFactory.getURLFetchService();
URL fetchURL = null;

HTTPResponse response = null;
String responseString = null;


try {

fetchURL = new URL(http://www.google.com;);
 response = fetchService.fetch(fetchURL);

int statusCode = response.getResponseCode();

if (statusCode == HttpStatus.SC_OK) {
 responseString = new String(response.getContent());
}
} catch (HttpException e) {
 } catch (IOException e) {
}



On 17 May 2011 04:53, Dennis Lo lo.den...@gmail.com wrote:

 Hi,

 I see.

 So a public backend would be:


 backends
 backend name=spider
 classB2/class
 instances5/instances
 options
 dynamictrue/dynamic
 publictrue/public
 /options
 /backend
 /backends

 Also, what is urlfetch?
 I haven't used these before.
 Do you have any blogs, tutorials with a great example which illustrates how
 I could use it to call a backend.

 Alternatively, if you don't have any blogs,tutorials etc, could you explain
 with some examples?



 On Tue, May 17, 2011 at 3:49 AM, JakeP jake.pier...@gmail.com wrote:

 Dennis,

 I'm still trying to figure out the best way to call the backend
 programmatically from within GAE. The simplest way I know of is with
 urlfetch.

 Your backend has to be marked public for you to be able to access it
 via 'spider' from outside of GAE - i.e. your browser.

 Thanks for the link.

 --
 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.


  --
 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.




-- 
-Nischal
+91-9920240474
twitter: NischalShetty http://twitter.com/nischalshetty
facebook: Nischal http://facebook.com/nischal

http://www.justunfollow.com http://www.buffr.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-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.



Re: [appengine-java] Re: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-16 Thread Nischal
Sent the war to you.

-- 
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: Facebook Login integration with java appengine

2011-05-14 Thread Nischal
Hi,

I have open sourced a Java API which works on the latest FB Graph API. 
There's oAuth 2.0 in it. I have made it for our own app. If authentication 
is the only priority for you then you can definitely use it.

https://github.com/nischal/face4j

Let me know if you need any help integrating it. I've tried to make it as 
simple as possible. It's very weak on documentation though but here's an 
example for authentication - 
https://github.com/nischal/face4j/wiki/Facebook-oAuth-login-with-face4j

-- 
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: Facebook Login integration with java appengine

2011-05-14 Thread Nischal
And it works well on the Appengine!

-- 
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: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-13 Thread Nischal
GAE team, need your help here.

-- 
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: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-11 Thread Nischal
Can someone from the GAE team look into this? I'm unable to upgrade to 1.5 
:(

-- 
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] Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-10 Thread Nischal
I have struts 2.0 as the framework. I just upgraded to 1.5 and in the local 
development server I'm getting the below error : 

java.lang.ClassCastException: java.math.BigDecimal cannot be cast to 
java.lang.String
at 
com.google.appengine.tools.development.BackendServersFilter.doRedirectedServerRequest(BackendServersFilter.java:276)
at 
com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:103)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at 
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at 
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
at 
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at 
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at 
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:184)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at 
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
at 

[appengine-java] Re: Use Array as a query filter - possible?

2011-05-09 Thread Nischal
I would suggest you use ListInteger ints; as a filed in your class 

Then this would work flawlessly : 

select from class where ints = 10  ints = 20


-- 
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: Many /_ah/warmup - Deadline ExceededException

2011-04-20 Thread Nischal
When a new instance is spun, it gets the same 30 second limit that other 
http requests get on the appengine. You should see to it that your app loads 
up in under 30s. These errors are usually a result of the app taking more 
than 30s to load.

-- 
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: Which one is best for development...Spring Framework or Servlet Jsp....

2011-04-19 Thread Nischal
I'm using struts 2 and it seems good for development. However, there are 
other lighter frameworks that appengine users have spoken positively about. 
You should check out this thread - 
https://groups.google.com/forum/#!topic/google-appengine-java/7wkMDm6kptY

-- 
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: how to store these two values(s1s2) in data store of AppEngine....

2011-04-19 Thread Nischal
Have a look at the docs here - 
http://code.google.com/appengine/docs/java/datastore/jdo/creatinggettinganddeletingdata.html

I would suggest you to read through all the content you see there, it'll 
help you get started with appengine.

-- 
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: explaination of stat

2011-04-19 Thread Nischal
Yes, it ideally means 4.34k hits to that URL. However, the stats go wrong 
many a times. They're never more than the actual request, but they can be 
less. From my experience, I would say you can think that the URL gets hit a 
minimum of 4.34k times.

Average CPU is the average cpu seconds used in the last one hours. These are 
added up and at the end of 24 hours they decide the number of CPU hours you 
have consumed which in turn decided what amount you need to pay Google.

-- 
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.



Re: [appengine-java] Re: Which one is best for development...Spring Framework or Servlet Jsp....

2011-04-19 Thread Nischal Shetty
Sorry, haven't worked with GWT, hope someone helps you.

-N

On 19 April 2011 12:19, Ram ram...@gmail.com wrote:

 Hi,

  Thank you..Also I have another doubt, how to use GWT desiner in my
 Eclipse.In documents no continuity is therewhere i want to
 open GWT designer using eclipse.

 please help me..

 On Apr 19, 11:18 am, Nischal nischalshett...@gmail.com wrote:
  I'm using struts 2 and it seems good for development. However, there are
  other lighter frameworks that appengine users have spoken positively
 about.
  You should check out this thread -
 https://groups.google.com/forum/#!topic/google-appengine-java/7wkMDm6...

 --
 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.




-- 
-Nischal
+91-9920240474
twitter: NischalShetty http://twitter.com/nischalshetty
facebook: Nischal http://facebook.com/nischal

http://www.justunfollow.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-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: Which one is best for development...Spring Framework or Servlet Jsp....

2011-04-19 Thread Nischal
You mean you have reserved instances? IMO you would still need to take care 
of your load time as new instances are spun off when your traffic increases 
and if your load time is too much then it would lead to errors while 
spinning up new instances.

-- 
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.