Session object error
hi folks
i have done the application migration from windows to UNIX.
same application works in windows but not in UNIX.
public SqlManager(HttpServletRequest request)
throws SQLException,IOException,SeptoUserException{
currentRequest = request;
System.out.println(request);
currentRequest = request;
System.out.println(currentRequest);
currentSession = currentRequest.getSession();
System.out.println(currentSession);
setConnection();
SeptoUser user = getSeptoUser();
}
after this line in BOLD
currentSession = currentRequest.getSession()
the execution stops in UNIX and in windows whole application is perfectly
no exceptions were looged in UNIX console when i tried to debug.
i tried to print request object it is getting created perfectly on UNIX Tomcat console but after that session object nothing is printed and execution stops there .
i dont know why this is happenning ??????????
as Java is paltform independent why same code is working on WINDOWS and not on UNIX.
thanks for any help!!!!!!!!!!!!!
Java is Enigma
|