[appengine-java] Re: 1.5.1 SDK Prerelease

2011-06-15 Thread nischalshetty
You guys fixed the Struts 2 issue! Thank you so much :) -- 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/-/WGeEfLI0hvoJ. To post to this

[appengine-java] Re: Failing tasks getting duplicated

2011-04-16 Thread nischalshetty
Pretty weird. Let's hope someone from the GAE team peeps into this thread. I have thousands of tasks being generated every minute and there are errors when they are executed. I'm hoping they don't get "duplicated". There's no way for me to know so if what you say is true then it's trouble for a

[appengine-java] Re: Failing tasks getting duplicated

2011-04-15 Thread nischalshetty
When a task fails, the "same" task would be retried again. Ideally if you have just one task in your system and that fails a 100 times at the end of the day you should still have only one task in the queue. Are you sure you do not have any logic in the url that the task calls where you create a

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

2011-04-10 Thread nischalshetty
You would need to specify a timeout and if there is no activity for that time frame sessions would need to expire. To be safe about expiring sessions and at the same time wanting to keep them alive, what I can suggest is do this : Put a simple ajax call on the page. Make it call your app every 20

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-05 Thread nischalshetty
I've been on GAE from the start of 2010. This thread still seems delicious. Thank you all for posting the wonderful comments. -N On Apr 4, 6:03 pm, Drew Spencer wrote: > Sounds great Ikai, I'm sure it's going to be a great resource for people in > my position. > > Sorry if my last post sounded l

[appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2010-12-29 Thread nischalshetty
That was Struts 2, made a mistake in the spelling -N On Dec 30, 10:08 am, nischalshetty wrote: > Strust 2 , just the default one, without putting in anything unwanted > into it. I use it for m apphttp://justunfollow.comand seems to work > well. > > -N > > On Dec 30, 12:02 

[appengine-java] Re: Lightweight & Best performing MVC framework - Recommendation

2010-12-29 Thread nischalshetty
Strust 2 , just the default one, without putting in anything unwanted into it. I use it for m app http://justunfollow.com and seems to work well. -N On Dec 30, 12:02 am, "Ikai Lan (Google)" wrote: > Um ... those are like the opposite of lightweight. > > Here are some I like: > > Play Framework:

[appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2010-12-28 Thread nischalshetty
Have a look at the Datastore "Key" thingy. The keys generated are unique across the system IMO. Not sure though but that's what I remember reading somewhere. -N On Dec 29, 7:43 am, MG wrote: > Hello! > > I need to create a global atomic counter (64-bit) in my AppEngine/J > app. Like > > long cou

[appengine-java] Appengine blocked in Turkey?

2010-12-13 Thread nischalshetty
I got quite a few emails from users in Turkey saying they're unable to access my app http://justunfollow.com I had read a few months back about a DNS problem in Turkey, can someone shed some light on this? -- You received this message because you are subscribed to the Google Groups "Google App

[appengine-java] Re: Best way to get all contacts from Google Contacts API on App Engine

2010-11-01 Thread nischalshetty
Aren't the contacts paginated? You could get the first page then make subsequent calls for the next pages. -N On Oct 29, 8:55 pm, Shaun Clark wrote: > In my application I integrate with Google Apps, in this case > specifically contacts. When you first sign up I want to get all of > your contacts

[appengine-java] Re: Memory based application, static field, data lost

2010-10-26 Thread nischalshetty
GAE runs multiple instances which means your code would be run on multiple JVMs as well which means the static field will be multiple as well. A lot of "as wells" here but I hope you get the point. Use statics for constants that do not change. For everything else persist either in memcache or data

[appengine-java] Re: Problems with plugin for eclipse 3.6

2010-10-03 Thread nischalshetty
Which OS are you using? Windows 7? On Oct 2, 3:14 pm, srtanoelia wrote: > Hi there, > > I found this problem while installing gwt kit on eclipse 3.6: > > An error occurred while collecting items to be installed > session context was:(profile=epp.package.jee, > phase=org.eclipse.equinox.internal.

[appengine-java] Re: Is this group alive? If so, I have a question

2010-09-28 Thread nischalshetty
Can you provide a link to the question you might have posted on this group? If I know of anything I'll try to pitch in ;) -Nischal On Sep 28, 7:11 pm, turncom wrote: > I would like to make a presentation on Thursday, and I have a > question. > > But I cannot find a user group that seems to be al

[appengine-java] Re: PayPal Payflow Pro Connection Error

2010-09-25 Thread nischalshetty
aypal accounts, i.e. not credit cards? If your code does work with > credit cards can you post a basic example of your pay method? Thanks > for the help! > > On Sep 23, 10:13 pm, nischalshetty wrote: > > > > > Are you on Python or Java? > > > I have my app on Java an

[appengine-java] Re: PayPal Payflow Pro Connection Error

2010-09-23 Thread nischalshetty
Are you on Python or Java? I have my app on Java and PayPal provides an official java API for Google Appengine. It works great for me! -N On Sep 23, 6:42 pm, Shaun wrote: > I think that this is due to Google's limitation for allowing > connections to port 443. But when I try to connect to PayPa

[appengine-java] Re: Cache questions

2010-09-20 Thread nischalshetty
As far as cache expiry is considered, its a guarantee that the cache won't expire before the set expiry date (it might still expire in case of failures etc). Basically, there's no real guarantee that the cache will expire after the time that you have set. It's just that it won't expire before the

[appengine-java] Re: Problem with struts 2 and GAE

2010-08-24 Thread nischalshetty
Have you added ognl jar to ur classpath? -Nischal On Aug 24, 2:24 pm, Andrés Cantos Garrido wrote: > Hello, I´m trying to integrate Struts 2 framework in my web app. I´m > following this tutorial: > > http://whyjava.wordpress.com/2009/08/30/creating-struts2-application-... > > Although I create

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-23 Thread nischalshetty
e know what's going on? > > On Jul 23, 6:25 am, nischalshetty wrote: > > > > > @Benjamin > > > I am using twitter4j. Its not an issue on my end since the apps been > > running from 6 months now. And I just ran a check on many other > > twitter ap

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread nischalshetty
tter oauth > from app engine is how you have to direct the user to the > authorization url and hold the token in your session on the server > side while they authorize the app - then continue with the process of > getting an oauth token on the server. > > On Jul 22, 10:33 pm, nisc

[appengine-java] Re: Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread nischalshetty
Was searching twitter, others seem to be facing the same problem. Please treat this on priority, my entire site http://www.justunfollow.com is unusable right now due to the error. A lot of users are stuck due to the error. -Nischal On Jul 23, 7:24 am, nischalshetty wrote: > To obtain

[appengine-java] Please help, I'm not able to obtain the oAuth redirect URL from twitter

2010-07-22 Thread nischalshetty
To obtain the redirect URL it's an https call to twitter. I'm just not able to obtain it in production. However, it works in my development environment on my PC. Please help ASAP, my site gets a lot of users and this is causing problems for all of them :( Here's the stack trace : twitter4j.Twitt

[appengine-java] Re: Please help me with mapping

2010-06-14 Thread nischalshetty
hen > you have to click "see more". This way you could have your most recent > status updates available fast, and then still have all the separate > ones for archive access. > > On Jun 13, 1:59 am, nischalshetty wrote: > > > > > yeah, I want to do somethin

[appengine-java] Re: About System.out.println statement after deploying

2010-06-14 Thread nischalshetty
IMO, it wouldn't have any changes but if you put in a LOT of them then for obvious reasons they would affect performance. It isn't a good practice to have syso's in your code for testing. Use Logger to do that. It's helpful and you can view outputs in the production environment as well! -Nischal

[appengine-java] Re: Please help me with mapping

2010-06-12 Thread nischalshetty
ient > pagination. It will be easy to add and delete an updates. > > On 13 June 2010 11:54, nischalshetty wrote: > > > > > Thank you Prashant. I guess that's the second option of disowned > > entities that you are talking about. Is that the best way to do this? &g

[appengine-java] Re: Please help me with mapping

2010-06-12 Thread nischalshetty
her status, create a new update class and > persist it > > Update { > private long userid; > private string status; > > } > > when you need to display update just fetch all update entities where userid > == User's id. > > On 13 June 2010 11:44, nischalshet

[appengine-java] Re: Session object or memcache?

2010-06-12 Thread nischalshetty
Session isn't lost but session use is discouraged. You have memcache which is pretty fast in retrieval. Of course, every once a while even the memcache can be invalidated due to various reasons. While relying on memcache you need to be sure that in case the value returned is null query the datastor

[appengine-java] Please help me with mapping

2010-06-12 Thread nischalshetty
Hi All, I need to clear a few doubts. Let's take an example so that you know what my doubt is : I have a User object and each user performs an operation - say a status update. User { private Long id; private List updates; } Now this seems all good but if I'm not wrong Appengine has no provi

[appengine-java] Re: Records Count

2010-06-11 Thread nischalshetty
For count, you need to implement sharded counters - http://code.google.com/appengine/articles/sharding_counters.html The code required to do the same is provided. Just understand what sharded counters are and make use of the provided code. -Nischal On Jun 11, 10:37 pm, Nacho Coloma wrote: > GAE

[appengine-java] Intermittent 500 Server Error

2010-05-21 Thread nischalshetty
Hi, I keep getting 500 server erro at regular intervals. IMO it's the Google App engine that is facing issues. This is really frustrating now because my apps usage has increased a lot and I keep getting complaints about it from users. I am not able to reproduce, there are no indications about this