admin@glassfish.java.net

GlassFishV2 Cluster Non-Serializable Attribute Name [Ref, PWC2788: setAttribute: Non-serializable attribute]

From: Satyajit Tripathi <Satyajit.Tripathi_at_Sun.COM>
Date: Tue, 28 Oct 2008 10:11:49 +0530
Hi there,

We have created a GlassFish V2 UR2 cluster with two instances on the same machine and deployed a JavaEE application. After successful login to the app we observed the following Error in the server log file
______________________________________________
java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute
______________________________________________


Question is : Is there a way in "GlassFish V2 UR2" to find out the name of the Attribute which is causing the issue and is not serializable ? We understand that there is a fix incorporated in GlassFish V3 which will print the Attribute name. Also, recently JLuehe provided a jar file to incoporate in GlassFish V2.1.

Can you please share the code for GlassFish V2 UR2 which will print the Attribute name ?

Thanks & regards
--Satya

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC

Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~