Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 76655 invoked from network); 5 May 2008 19:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 19:16:33 -0000 Received: (qmail 3852 invoked by uid 500); 5 May 2008 19:16:34 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 3798 invoked by uid 500); 5 May 2008 19:16:34 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 3787 invoked by uid 99); 5 May 2008 19:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 12:16:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 19:15:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1689E238887B; Mon, 5 May 2008 12:16:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r653561 - /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java Date: Mon, 05 May 2008 19:16:11 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080505191612.1689E238887B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jdillon Date: Mon May 5 12:16:11 2008 New Revision: 653561 URL: http://svn.apache.org/viewvc?rev=653561&view=rev Log: Log the gbeanInfo too when a serialization error orrurs Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java?rev=653561&r1=653560&r2=653561&view=diff ============================================================================== --- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java (original) +++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java Mon May 5 12:16:11 2008 @@ -233,8 +233,8 @@ out.writeObject(name); out.writeObject(value); } catch (NotSerializableException e) { - // When we find something that is not serialzable, include the type information as well as the name/abstractName for debugging - throw (IOException) new IOException("Unable to write attribute: " + name + " in gbean: " + abstractName + " type: " + value.getClass()).initCause(e); + // When we find something that is not serialzable, include the type and gbean details as well as the name/abstractName for debugging + throw (IOException) new IOException("Unable to write attribute: " + name + " in gbean: " + abstractName + " type: " + value.getClass() + " gbean-info: " + gbeanInfo).initCause(e); } catch (IOException e) { throw (IOException) new IOException("Unable to write attribute: " + name + " in gbean: " + abstractName).initCause(e); } catch (NoClassDefFoundError e) {