Hi Jean-Hubert, See if this solves your problem: http://groups.google.com/group/google-appengine-java/browse_thread/thread/c31875b8ba1f4f93
On Aug 11, 10:50 am, "FLAMEN, Jean-Hubert" <[email protected]> wrote: > I have a problem on the use of sessions on GAE (google app engine). > > Locally, on my post, the application works quite well. The objects are > stored in session and I have no error. > > When I deploy the application. By entering a screen that uses an object of > the session, the application generates an exception because of the > non-existent object in session. > > I enabled session management with the settings in the web.xml file-appengine > > <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> > <application>sqltech592</application> > <version>1</version> > > <!-- Configure java.util.logging --> > <system-properties> > <property name="java.util.logging.config.file" > value="WEB-INF/logging.properties"/> > </system-properties> > <sessions-enabled>true</sessions-enabled> > > </appengine-web-app> > > I used the methods getAttribute and setAttribute. > I get the HttpSession object by performing the following order: > request.getSession (). This order does refer me HttpSession object. > > The orders do not generate any setAttribute execpt. > > the storage process is as follows: > Step 1: In the servlet 1, storage of the object in session > Step 2: jsp and call new creation request via a form submission form and > therefore call servlet 2 > > Step 3: In another servlet 2, recovery of the object normally stored in > session. > Here, the object is no longer present then it should be logical if SESSION > OF THE GAME working properly. > > Moreover, I have serialized the objects I store in session and for each > class, I have a property serialVersionUID. > > In principle, this should work and what is not. > > WHAT IS REALLY BIZARRE is that it works locally on Eclipse and on > deployment, it does't work > > MANAGEMENT OF THE SESSION is it a known problem on GAE > > Is there someone who can help me for help to solve this problem. > > Is it possible to retrieve an application example that uses the session with > objects to see if this actually works and try to deduce the cause of the > problem. > > Thank you for your support --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---
