[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: How can I make the session to be held open as long as the user got its browser opened?

2011-04-10 Thread Daniel
I refer to the one that defined in web.xml 30 I want to keep it open as long as the browser is opened at my page... On Apr 10, 2:10 pm, Didier Durand wrote: > Hi, > > You should clarify what you mean by an open session: do you mean the > http one defined by the

Re: [appengine-java] only allowing local connections to dev server?

2011-04-10 Thread Fabrizio Accatino
I use rinetd. It's a port forwarder. http://www.boutell.com/rinetd/ fabrizio (from android) Il giorno 10/apr/2011 19.57, "Luis Montes" ha scritto: > When running a java webapp in eclipse it seems that I can only connect to > the dev jetty instance from the localhost. Is jetty fired up only bound

[appengine-java] -javaagent gets removed from Run Configuration / Arguments in Eclipse

2011-04-10 Thread Dzmitry Lazerka
Hi folks, I've mavenized my project for Eclipse Helios as described at http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html, and other web sites. And it works, but only for one run. When I run it again, it says: Unable to locate the App Engine agent. Please us

Re: [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 James
Please take a look at channel api. Daniel wrote: >any1? > >On Apr 6, 1:18 pm, Daniel wrote: >> Hi >> >> I need to keep the session opened as long as the user got its browser >> opened in my web app... >> >> Is there such a setting that i can enable for my web app? >> >> If not, Is there any sug

[appengine-java] Re: URL Fetch java.io.IOException

2011-04-10 Thread Stefan
Ok, never mind. I removed the con.setRequestProperty("Content- Length",...) in the offending code and that solved my problem. Thanks! Stefan -- 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 goog

[appengine-java] Re: HTTP POST failing in dev environment with SDK 1.4.3

2011-04-10 Thread Stefan
Could be related to issue http://code.google.com/p/googleappengine/issues/detail?id=4823 -- 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 f

[appengine-java] Re: URL Fetch java.io.IOException

2011-04-10 Thread Stefan
Hi Thomad and Z, could one of you describe what you did? Do you simply mean that you remove this line: con.setRequestProperty("Content-Length", "" + Integer.toString(urlParameters.getBytes().length)); For what it's worth: I think this is related to issue 4823 (though the title seems to suggest i

[appengine-java] Server Error(500) problem

2011-04-10 Thread giannisdag
Hi, I have an error Server Error(500) in my application, it happens only for one entity out of three. I did a search and see that it is very common and usually the developer gives its application-id and people of google fix the problem. What should I do in my case? Thanks in advance -- You rec

[appengine-java] Owned relationship. Lost reference

2011-04-10 Thread Luca Matteis
I have a Recipe entity that contains two images: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true") public class Recipe { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private MyImage myImage; //

[appengine-java] only allowing local connections to dev server?

2011-04-10 Thread Luis Montes
When running a java webapp in eclipse it seems that I can only connect to the dev jetty instance from the localhost. Is jetty fired up only bound to 127.0.0.1? I have some mobile wifi devices (android, ipad, etc.) that I'd like to test with on the LAN but it seems that I'm going to have do some t

[appengine-java] Re: Weird 500 Internal Server Error nginx/0.7.67

2011-04-10 Thread Sinan Yuce
rml, Thanks for reply, but issue still exists. Our investigation showed that it only happens when the post size exceed ~40K bytes. If you do not have any issue like this, can you make any suggestions about why this happens when I try to post to an url that starts with my custom domain rather

[appengine-java] Failed to compile jsp files.

2011-04-10 Thread Eric Wu
My project works fine in local server. But when I upload my project to GAE, there is an error: How to solve the problem Regards Creating staging directory Scanning for jsp files. Compiling jsp files. com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files. 2011/4/10

[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 Didier Durand
Hi, You should clarify what you mean by an open session: do you mean the http one defined by the cookie, the security one after login, etc ? regards didier On Apr 10, 9:35 am, Max wrote: > have you tried to use memcache or simply store session into datastore? -- You received this message bec

[appengine-java] Re: Weird 500 Internal Server Error nginx/0.7.67

2011-04-10 Thread rml
We use Nginx with SLL to proxy to our GAE application and don't have any issue with multipart/form-data posts. You may find this useful: http://radomirml.com/2011/01/30/reverse-proxy-for-gae-application-using-nginx-and-ssl On Apr 10, 4:31 am, miglate wrote: > Hi I have just found out that this

[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 Max
have you tried to use memcache or simply store session into datastore? -- 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, sen

[appengine-java] Re: How to model object with lots of small properties

2011-04-10 Thread Didier Durand
Hi, You should use an enum class for the properties (so that you can extend later on) and store them as proposed above in a Set<> regards didier On Apr 10, 8:29 am, Ravi Sharma wrote: > May be you can do womething like this > > class HouseProperty{ > Key id; > String Name;} > > in above class