[appengine-java] Re: Using Serializable object in session

2011-05-31 Thread Max
this is more a java question than GAE question check out this http://java.sun.com/developer/technicalArticles/Programming/serialization/ -- 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

Re: [appengine-java] Unable to find the webapp directory

2011-05-31 Thread George Simon
dev_appserver.cmd **C:\Program Files\GoogleAppEngine \appengine-java-sdk-1.3.0\demos\guestbook\war** On Mon, May 30, 2011 at 3:05 PM, Suresh suresh...@gmail.com wrote: hi i have just installed the java sdk. after extracting the files from the appengine-java-sdk-1.3.0 jar, I am trying to

[appengine-java] Re: Is Google planning to offer HR datastore migration feature

2011-05-31 Thread Ian Marshall
I would like to do this too. The priority for me is to preserve my application ID during this migration. My understanding is that it is impossible for an existing app to switch from M/S to HR; a new app ID must be used. (I would love it if my understanding is incorrect.) On May 30, 12:02 pm,

[appengine-java] Re: Is Google planning to offer HR datastore migration feature

2011-05-31 Thread Marcel Overdijk
I think there is an option to alias your old application id. So maybe that's option for you? From my perspective all data can be cleaned in my apps, so just switching would be sufficient... doesn't sound that hard? On May 31, 9:10 am, Ian Marshall ianmarshall...@gmail.com wrote: I would like

Re: [appengine-java] Re: Problem With JPA and Google Engine

2011-05-31 Thread Jorge Cuerdo Álvarez
First of all thank you very much. This is my persistence.xml ?xml version=1.0 encoding=UTF-8 ? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/persistence

[appengine-java] Re: Checking if I understand transactions correctly

2011-05-31 Thread pavb
Hi, Yes all the datastore insert, update, delete done in the transaction are canceled by the rollback operation. The put of your updated Account is validated only if the transaction commit is done succesfully. PA On 30 mai, 07:57, Jacob jacob.rho...@gmail.com wrote: I am writing some code

[appengine-java] Federated Login authentication

2011-05-31 Thread Aswath Satrasala
Hello, In the Application Setting of the Appengine console, set the Authentication Options to 'Federated Login'. Two features will not work - bulkloader - client remote-api. Any workarounds for the above? -Aswath www.AccountingGuru.in -- You received this message because you are subscribed

[appengine-java] Re: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-31 Thread Brandon Donnelson
I have found no workarounds for this limitation at the moment. I'm slicing up my images into tiles/squares which suites my strategy anyway. But it would be nice to figure out why the error shows up. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you

[appengine-java] Re: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-31 Thread Brandon Donnelson
I made an issue: http://code.google.com/p/googleappengine/issues/detail?id=5131 Can GAE dev setup Blob write to datastore unit test, which would take up to 10min writing 10MB+ of data in task. This should replicate the issue. Brandon Donnelson http://gwt-examples.googlecode.com -- You

[appengine-java] javax.servlet.UnavailableException: Configuration problem

2011-05-31 Thread Miroslav Genov
Hello, I have an app which latest version was deployed before: 1 day, 2:19:39. The app is working, but before few minutes I got the following exception: javax.servlet.UnavailableException: Configuration problem at

[appengine-java] 1.3.8 version is displayed as 1.5.0

2011-05-31 Thread Miroslav Genov
Hello, The version which I'm currently using is 1.3.8, but when I deploy it on gae, the following snippet is logging: com.evo.adm.server.AdmBootstrap contextInitialized: Server info: Google App Engine/Google App Engine/1.5.0 String serverInfo =

[appengine-java] Re: Sharing jsession between frontend and backend?

2011-05-31 Thread oceandrive
I am looking for the solution on this. Can someone help.. On May 30, 10:18 pm, Tom Phillips tphill0...@gmail.com wrote: I've got a public backend instance that I'd like to share the user session (java sessions are enabled for app) from the frontend with so that the user doesn't have to log in

[appengine-java] NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Brian
Hello, I am trying to track down a very obscure issue in GAE/J. I have my own custom ForEachTag that I've written that extends from JSTL 1.2's org.apache.taglibs.standard.tag.rt.core.ForEachTag. Obviously, in order to compile my app, I need to compile with the jstl-1.2.jar. Compilation and

[appengine-java] Re: NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Brian
One other item I should mention: this issue only applies on *some* JSP pages. The exception happens only when using the forEach on certain pages. Other pages that use the forEach tag don't have this issue and render just fine. Perhaps it has something to do with the caching and release

[appengine-java] New GWT/App Engine site

2011-05-31 Thread ale
Hello everyone. I am very happy to introduce you to a site made by me and my friend Giorgio. http://www.youtrail.com The website ha been completely developed with GWT, and deployed on the app engine. The main theme of the site are the outdoor sports/activities: you can find some trail with

[appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-05-31 Thread Moishe
That exception happens when a javascript page is left running between re-starting the dev appserver. You can get around it by closing the client page when you re-start the dev appserver. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: New GWT/App Engine site

2011-05-31 Thread Jay Young
Cool idea, but I think you might want to look into GWT's code splitting. It took me 35 seconds to download your 2.11MB file. That's going to turn off a LOT of users. I understand that that file gets cached, but that's not going to be the case on their first trip to your site. -- You

[appengine-java] Re: java.lang.RuntimeException: java.io.NotSerializableException: org.mortbay.jetty.Request at com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:393) a

2011-05-31 Thread Kieran Simpson
How can one avoid putting objects into the HttpSession? On 23/07/64 5:59 AM, Simon Knott wrote: Hi, Any object you put in the HttpSession needs to implement Serializable. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] NotSerializableException escaping Spring Controller and causing problems with Google App Engine Queue

2011-05-31 Thread Kieran Simpson
I have a Spring Controller that is being invoked via an HTTP POST from the GAE Queue Scheduler. @Controller @RequestMapping(value = RSSPoller.RSS_POLLER_URL) public class RSSPoller implements Serializable { private static final long serialVersionUID = -4925178778477404709L; public static

[appengine-java] R: Re: New GWT/App Engine site

2011-05-31 Thread ale
You're right ... It will be one of the first things to improve ... Thanks a lot! Alessandro -- 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

[appengine-java] Re: Would the following create problems for me in Google app engine?

2011-05-31 Thread Ian Marshall
You can reduce time-out issues if you paginate your query by obtaining contiguous chunks, one at a time. A lot depends on your data exchange interface. I use JDO, and GAE/J makes query cursors available for this. I don't know how other interfaces allow cursor/pagination operations. (Twig and

[appengine-java] Re: Is Google planning to offer HR datastore migration feature

2011-05-31 Thread Ian Marshall
I too can make do with cleaning all my datastore data for the transition, so that's good. What you you mean, Marcel, by alias your old application id? On May 31, 8:25 am, Marcel Overdijk marceloverd...@gmail.com wrote: I think there is an option to alias your old application id. So maybe

Re: [appengine-java] R: Re: New GWT/App Engine site

2011-05-31 Thread Jeff Schnitzer
Nice looking site... just on casual perusal, two things jumped out at me: 1) Polish the navigation a bit more. For example, you zoom into the map, click on a trail, click through to the trail's page, then hit the browser back button (seems to be the only way to get back) - and you're now zoomed

[appengine-java] Re: New GWT/App Engine site

2011-05-31 Thread Brandon Donnelson
Nice site! Brandon Donnelson http://gwt-examples.googlecode.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

[appengine-java] Re: Is Google planning to offer HR datastore migration feature

2011-05-31 Thread Nichole
googling outside the list turns up a few examples: http://googleappengine.blogspot.com/2011/03/high-replication-datastore-solid-choice.html On May 31, 1:26 pm, Ian Marshall ianmarshall...@gmail.com wrote: I too can make do with cleaning all my datastore data for the transition, so that's

[appengine-java] Re: NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Nichole
Appengine uses servlet spec 2.4 so the compatible jstl library is version 1.1. the jsp library is version 2.0. You compile w/ those locally, and yes, they are provided by the container for production deployment so you don't include them in your war file/directory. If your custom tag is

[appengine-java] Re: Checking if I understand transactions correctly

2011-05-31 Thread Nichole
I didn't look at your snippet in detail, but you need transactions, and that means the entities need to be in the same entity group, that is have same ancestor. On May 31, 2:53 am, pavb pavieillardba...@gmail.com wrote: Hi, Yes all the datastore insert, update, delete done in the transaction

[appengine-java] Re: Would the following create problems for me in Google app engine?

2011-05-31 Thread Nichole
Adding to Ian's suggesting, you might want to look at Query Cursors and pre-prepare reports ahead of time... or pre-prepare reports iteratively, compress, store as blob and download... On May 31, 1:24 pm, Ian Marshall ianmarshall...@gmail.com wrote: You can reduce time-out issues if you

Re: [appengine-java] servlet filter and static pages

2011-05-31 Thread Erick Fleming
They are if you exclude them from being deployed as static [1] [1] http://code.google.com/appengine/docs/java/config/appconfig.html#Including_and_Excluding_Files On Sun, May 29, 2011 at 6:13 PM, Nichole nichole.k...@gmail.com wrote: Hello, Static pages within appengine are not picked up

[appengine-java] getting this error for the last hour

2011-05-31 Thread John DeRiggi
h2The server encountered an error and could not complete your request.pIf the problem persists, please A HREF=http://code.google.com/appengine/community.html;report/A your problem and mention this error message and the query that caused it./h2 h2/h2 /body/html at

[appengine-java] Re: NoSuchFieldError: deferredExpression - JSTL library conflict

2011-05-31 Thread Brian
Thanks, Nichole. To fix the problem, I downgraded my version of JSTL to 1.1.2 and added the standard taglibs 1.1.2 library as well (which is what I have a compile-time dependency on). This seems to have solved the issue caused by the JSTL 1.2 vs. 1.1.x conflict. I should mention that I

[appengine-java] Re: Checking if I understand transactions correctly

2011-05-31 Thread Didier Durand
Hi, entity group is not useful at rollback but rather limits you to which updates you can do: all the entities you touch in a single transaction must be in the same entity group. So, designing your groups properly is a key design issue in GAE to avoid unnecessary complexity when you later need

[appengine-java] Re: Checking if I understand transactions correctly

2011-05-31 Thread Lars Borup Jensen
Huh? As you are only able to do work in a single transactional unit-of-work on a single entity-group, rollback must be considered usefull. In the above mentioned snippet, an Account entity is looked-up, updated and a child entity TransactionRecord is added, all in a single entity-group, namely