Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 91725 invoked from network); 29 Jul 2008 19:53:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2008 19:53:01 -0000 Received: (qmail 43029 invoked by uid 500); 29 Jul 2008 19:52:55 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 42479 invoked by uid 500); 29 Jul 2008 19:52:54 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 42468 invoked by uid 99); 29 Jul 2008 19:52:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 12:52:54 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clamey@localmatters.com designates 216.241.189.144 as permitted sender) Received: from [216.241.189.144] (HELO mailhost01.localmatters.com) (216.241.189.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 19:51:59 +0000 Received: from 10.4.0.152 ([10.4.0.152]) by mailhost01.ad.corp.localmatters.com ([10.200.4.32]) with Microsoft Exchange Server HTTP-DAV ; Tue, 29 Jul 2008 19:52:03 +0000 User-Agent: Microsoft-Entourage/11.3.6.070618 Date: Tue, 29 Jul 2008 13:52:03 -0600 Subject: Re: iBATIS 2.3.3. Clustering and Lazy Loading From: Christopher Lamey To: Message-ID: Thread-Topic: iBATIS 2.3.3. Clustering and Lazy Loading Thread-Index: AcjxtJI90No6kl2nEd2ytAAbY5caEQ== In-Reply-To: <703258.30439.qm@web31305.mail.mud.yahoo.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You need to disable the lazy loading and maybe the byte code enchancments in iBATIS. If you're caching, you might have to tweak the cache settings to allow for things to be serialized as well. Check out the settings element in the sqlmap config xml file. On 7/29/08 10:36 AM, "nch" wrote: > > Hi, there. > I've upgraded to iBatis 2.3.3 (from 2.3.0) and Spring 2.5.5. I need my web > application to run on a clustered environment - tomcat 6 and session > replication. > I see tomcat can not replicate objects coming from iBatis. > > > 29-jul-2008 18:23:32 org.apache.catalina.ha.session.DeltaManager > requestCompleted > SEVERE: Unable to serialize delta request for sessionid > [D03E2DD6DEFBA8C805919A03C701C85A] > java.io.NotSerializableException: > com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) > at > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) > > > I thought this issue was solved in a previous version of iBatis. > Is there a solution for this issue in the svn? > > Regards > > > >