Here is the piece of codes which is throwing the error.

<select name="list1" size="15" multiple>
        <jbo:RowsetIterate datasource="userRole" >
        <option value="<jbo:ShowValue datasource="userRole"  
dataitem="RoleName" />">
          <jbo:ShowValue datasource="userRole"  dataitem="RoleDesc" />
        </option>
        </jbo:RowsetIterate>
      </select>
  
  <select name="list2" size="15" multiple>
        <jbo:RowsetIterate datasource="roles" >
        <option value="<jbo:ShowValue datasource="roles"  dataitem="RoleName" 
/>">
          <jbo:ShowValue datasource="roles"  dataitem="RoleDesc" />
        </option>
        </jbo:RowsetIterate>
      </select>

Exception is always being thrown from the RowSetIterate Tags in JSPs. This was 
working properly with Tomcat4 version and when we upgraded our Tomcat to 
version 6 we started getting this strange exception.

Please share your thoughts.


-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Monday, August 19, 2013 9:39 PM
To: Tomcat Users List
Subject: Re: JspTagException- Stream closed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Babu,

On 8/19/13 2:59 AM, Babu, Tinu wrote:
> Thank you Konstantin and Chris for your valuable comments.
> 
> No image IO operation has been performed by the thread. Basically what 
> it does is, we have a database view for admin user which is like a 
> package tree. On click of each package will show the contents of the 
> package in the right panel. This works always. But when the user 
> clicks on packages  very fast, this Stream closed error is getting 
> displayed in the GUI. Now iIf the user click on the package again 
> which has thrown the exception previously will
> show the contents properly.   I don’t have the source for
> RowsetIterateTag and so not very sure about the content of do EndTag 
> or what it actually does.
> 
> I don’t think that any other exception is being thrown along with the 
> Stream closed exception. I am new to this server-client applications, 
> so please correct me if I am wrong.

This sounds like you may be inappropriately sharing a resource between threads 
-- most likely a database Connection, Statement, or even ResultSet object.

Is this all implemented in a JSP or a servlet?

Can you post some of the relevant code?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSEiARAAoJEBzwKT+lPKRYktAQAJZ7OoktKQw2Y+FKgfWHpeen
Md4BBd6rEebSfzEAd9qm88UEvOKNn/kks7uj27vRe1zpZdWf4S7xQ1TEnNVIhi+q
TxjolFmj6NvDIDuGQV1W8M0Js2kORm14X0GlokFY4Pg5qBBZ5LjxyrzAtOlvyGK9
qJjlvkJFfC/pmRI0zLtiLCAhEisLBZJdAh2O6StFB65HcE+XzawZYtJ2FrnkzfYu
l4eY16Qf0kqZs8dSXsbIMf3S27Oik/ApsNMNp8FuyrvQ5+Zh2UIN07/pPSzEPIEG
/jb+qyMgd+nqiS4LMsgNXoR+VzyGZ977HZv/Toxv+pSSbr5MPdRT8mBXan6wa5zc
y0U1GVPuaOyIV9J1+8x+UqojXafYvHSCFRq9hpTKZODBxgtIMRVkQimUdriibU92
Sy6p4O/bhhCBU0L1D7fhsu/7yw3eZcQWLMNuNk6cLCKhDVMOmnpUF9ILWx1Ginsf
Kqs/uZStSXEg9p5Q8N8T7pHaVnoMRUcoJpzQ2JvQ7hYDX535Qq6T2NiI7+c09xz+
uKW1ATMUkQiRuwfYGE2GLZKUbEgI9agrBTC4u/+b3Px22I4WniUa/rln7QGyXg3v
o/nCLcQn8w1kckNte5uIloyocuUBcO5aP3qzX146+icZrBl8dMQYUvdKzD9dh4tj
dsdC+WWP9kHMo2PGScYo
=UGQ8
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


Reply via email to