This is a known issue with iPlanet iAS (6.x). By default, iPlanet distributes the session context across the server instances (even if you have only one instance) and thus all objects in the session have to be serializable. Solution: Disabling distribution of the session context, i.e., uncheck the Distributed Session check box on the IAS tab of the editing discriptor panel. You then need save the descriptor and redeploy the application.
Hope this helps. ------------------------------------- Do you need a Bug Tracking System? Try Bugzero: www.websina.com/bugzero/ ------------------------------------- ----- Original Message ----- From: "Blue Fish" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 5:55 PM Subject: Http session problem under iPlanet 6.5 > I have a strange situation on iPlanet 6.5as /iPlanet Webserver > (windows 2000 prof). > > 1. In a servlet, I have > session = req.getSession(true); > //add something to the session > session.setAttribute("string1", new String("string type")); > session.setAttribute("object1", new Object()); > Log.debug("In loginServlet, session="+session.getId()); > > 2. In a Jsp page, I have > Log.debug("In JSP, session="+session.getId()); > while (it.hasMoreElements()) { > String name=(String)it.nextElement(); > Log.debug("In JSP, name="+name+", value="+session.getAttribute(name)); > } > > The servlet is called first and then sendRedirect to the jsp page. > The result is, in jsp, it got the same session (id is the same). > and get "string type" for string1 (correct), but object1 is null(not > correct). > > (NOTE: the same code is tested on tomcat and other half dozen containers, > all worked fine, I mean, object1 is not null). > > Has anyone had a similar experience? > Thanks. > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html