This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Session issue with Glassfish (Linux)" Watch "Session issue with Glassfish (Linux)" New topic
Author

Session issue with Glassfish (Linux)

leo jacob
Greenhorn

Joined: May 02, 2011
Posts: 17
Hi,

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:

JSP:

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;

}

@SuppressWarnings("unchecked")
public Map<String, List<String>> getSession() {

return session;

}
session.get("userId");


}




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