[
https://issues.jboss.org/browse/JBWEB-171?page=com.atlassian.jira.plugin....
]
Chris Laprun commented on JBWEB-171:
------------------------------------
It's not like it's difficult to implement either:
clusteredSession.setAttribute.iae=setAttribute: Non-serializable attribute {0} in
LocalStrings.properties
and
(sm.getString("clusteredSession.setAttribute.iae", name));
or whatever in setAttributeā¦
ClusteredSession.setAttribute() could report the attribute name
and/or class FQN when not serializable
------------------------------------------------------------------------------------------------------
Key: JBWEB-171
URL:
https://issues.jboss.org/browse/JBWEB-171
Project: JBoss Web
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Cluster
Affects Versions: JBossWeb-2.1.3.GA
Reporter: James Livingston
Assignee: Remy Maucherat
Priority: Minor
org.jboss.web.tomcat.service.session.ClusteredSession.setAttribute() raises an exception
with the clusteredSession.setAttribute.iae message if the attribute can't be
replicated (i.e. isn't Serializable or a primitive).
It would be nice if it mentioned the attribute name and/or the class FQN in the error
message to aid in debugging.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira