tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: adding <distributable/> garbles sesion id string
Date Thu, 19 Aug 2004 19:26:35 GMT

As long as the session ID is a valid string, it's not a bug.  There's no
requirement that the session ID be human-readable right? ;)

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Nikita []
>Sent: Thursday, August 19, 2004 3:25 PM
>Subject: adding <distributable/> garbles sesion id string
>I have a very simple war app. it consists of only test.jsp, a page that
>prints out session id string. The problem is that if i add
>"distributable" to web.xml, this string becomes garbled (both in the
>browser and in console output):
>without <distributable/>:
>	"session id: 5129D795478E6529E233E1909EF85CB7.node1"
>with <distributable/>:
>	"session id: gDMzbOR3bJ8SNSmC3dDMWQ**.node1"
>I deployed the same war as in stand-alone tomcat 5.0.27 under both xp
>and linux and saw no problems. So seems like this is a jboss issue.
>however, jboss 4.0rc1 uses tomcat 5.0.27-dev, and i'm wondering if
>upgrading to 5.0.27 would help at all.
>Could this be related to the fact that i'm using mod_jk 1.2.6? If so,
>should i post this in clustering forum? I'd really appreciate any
>my setup:
>jboss 4.0 rc1, clustered with mod_jk 1.2.6, tomcat 5.0.27-dev
>os: jds 1 linux (based on suse enterprise desktop 1.0), also tried win
>kernel: 2.4.21-189-default
>java version "1.4.2_04"
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
>Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
><%@ page contentType="text/html; charset=iso-8859-1" language="java"
>import="java.sql.*" errorPage="" %>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
><meta http-equiv="Content-Type" content="text/html;
><title>Untitled Document</title>
>session id: <%=session.getId()%>
>last accessed: <%=new java.util.Date()%>
>-------------------end test.jsp----------------------
><?xml version="1.0" encoding="ISO-8859-1"?>
><!DOCTYPE web-app
>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>    "">
>  <display-name>Test Application</display-name>
>  <description>
>	Sample session jsp
>  </description>
>-------------------end web.xml-------------------------------
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message