• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Session Lost

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a web application which uses Java Servlet, JSP. We developed the application
with Tomcat, and everything is fine.But after
we moved the application to Weblogic 5.1 SP8, we
found sometimes the session is lost.It happends
randomly.Does anyone have this experience?
Any advice is greatly appreciated!
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you "loosing" the session because it times out?
Are you loosing the session because you don't have cookies turned on and are not using url-rewriting (response.encodeUrl)?
 
J You
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not using the response.encodeURL() in
the program, and cookies is turned on.
I test it again, and found if I test the SSL
link https://server:7002/Application
Then, after I hited several buttons, the
session is lost.
If I use the http://server:7001/Application,
it is working.
Thanks
 
J You
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Made more tests and found it also happened with
http://server:7001
Checked the documents, happen to find that there
was a bug CR 10172, which take the session-timeout from web.xml as "seconds".This is
supposed to be fixed in SP2.
I just changed the session-timeout to be 1800,
seems fine now. But how can it happen,since
we are using the SP8(I was told).

Thanks.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic