users@glassfish.java.net

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

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 28 Oct 2008 09:25:53 -0700

Hi Satyajit,

On 10/27/08 09:52 PM, Satyajit Tripathi wrote:
> 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 ?

Please add the attached JAR file (produced against V2 UR2) to your
classpath-prefix.

I am trying to get permission to backport this simple fix to the
upcoming V2.1 release,
since this seems to be a common requirement.

Thanks!

Jan

>
> Thanks & regards
> --Satya
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SATYAJIT TRIPATHI (Project Manager)
> ISV Engineering APAC
>
> Sun Microsystems India Private Limited
> Bangalore 560025
> DID : +91 80 66937865
> Mobile: +91 9886019892
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: users-help_at_glassfish.dev.java.net