This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Session issue with Glassfish (Linux) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Session issue with Glassfish (Linux)" Watch "Session issue with Glassfish (Linux)" New topic

Session issue with Glassfish (Linux)

leo jacob

Joined: May 02, 2011
Posts: 17

I have deployed a web application in glassfish server in Linux environment. It is working fine in windows environment but in Linux it is showing some issues regarding Sessions. It is not capturing data in session. For example in my application user name is displaying as welcome User and here I am using session to store user name. It is appearing correct in windows OS but not showing in linux environment. I am not able to get the reason. Any help is highly appreciated.

My code related to session is as follows:


import javax.servlet.http.HttpSession;

public class LoginAction extends ActionSupport implements SessionAware,
ServletRequestAware,ModelDriven {

private Map session;

public void setSession(Map session) {
this.session = session;


public Map<String, List<String>> getSession() {

return session;



I agree. Here's the link:
subject: Session issue with Glassfish (Linux)
Similar Threads
session management -session not destroying automatically
duplicate key violates unique constraint if I do not call getId()?
Securing a Java EE6 application with JPA
Problem with file separator
Caching Issues with Hibnernate