Wrox Programmer Forums
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2006, 04:43 AM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
converting .NET error object in VB error object webnet .NET Web Services 0 February 5th, 2007 06:02 AM
Session object keyvanjan Classic ASP Basics 1 January 25th, 2006 09:32 PM
Session Object mcinar Classic ASP Basics 9 January 9th, 2005 05:41 PM
runtime error '800a01a8' Object Required: 'Session footohi Classic ASP Basics 1 July 17th, 2003 06:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.