Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 7756 invoked from network); 24 Jan 2006 07:49:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jan 2006 07:49:14 -0000 Received: (qmail 99933 invoked by uid 500); 24 Jan 2006 07:48:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 99919 invoked by uid 500); 24 Jan 2006 07:48:59 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 99908 invoked by uid 99); 24 Jan 2006 07:48:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 23:48:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.124.139.208] (HELO pcsspz.PATNI.COM) (203.124.139.208) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 23:48:57 -0800 Received: from ttcmail.patni.com ([192.168.12.202]) by pcsspz.PATNI.COM (8.12.8/8.12.8) with ESMTP id k0O7oKvK017102; Tue, 24 Jan 2006 13:20:20 +0530 Received: from antivirgw1.patni.com ([192.168.12.47]) by ttcmail.patni.com (8.13.4/8.13.4) with SMTP id k0O7qZNO030620; Tue, 24 Jan 2006 13:22:35 +0530 Received: from pcsttc.patni.com ([192.168.12.201]) by antivirgw1.patni.com (SMSSMTP 4.1.11.41) with SMTP id M2006012413185518269 ; Tue, 24 Jan 2006 13:18:55 +0530 Received: from PCP43395 ([199.92.207.18]) (authenticated bits=0) by pcsttc.patni.com (8.13.4/8.13.4) with ESMTP id k0O7qZ9v001547; Tue, 24 Jan 2006 13:22:35 +0530 Reply-To: From: "Nehal Sangoi" To: "'Tomcat Users List'" , Subject: RE: serializing java code Date: Tue, 24 Jan 2006 13:17:27 +0530 Message-ID: <005701c620ba$6ca49890$3b69d103@ttcnt.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal In-reply-to: <000f01c620b7$48523950$8a01a8c0@smartfish> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I do have objects that do db connections. I think i would need to dig out some more info into the direction you provided. I will look out for how to do it and work upon. Thank You.....for providing useful information !! Nehal -----Original Message----- From: Richard Mixon [mailto:rnmixon@qwest.net] Sent: Tuesday, January 24, 2006 12:55 PM To: 'Tomcat Users List' Subject: RE: serializing java code Your "code" does not really get "serialized". You just have to be sure that you are not storing any objects in the Session that are not Serializable - i.e. they must implement the interface java.io.Serializable. For many of your custom object types it may be as simple as just implementing the Serializable interface. But if any of your objects have database connection, or other information that cannot be readily serialized - this will take a bit more thought. I'm not aware of a tool that would do this for you - it would be magic :) When I moved an application to a Tomcat cluster a while back, it turned up a number of objects that I did not realize were Serializable, including Log4J loggers. It took a bit of rework, but probably was all done within a half of a day. HTH - Richard -----Original Message----- From: Nehal Sangoi [mailto:nehal.sangoi@patni.com] Sent: Monday, January 23, 2006 11:32 PM To: Tomcat Users List (E-mail) Subject: serializing java code Hi I need to serialize my existing java code for implementing Tomcat Clustering feature. Is there any ready-made tool which does the job easily? Otherwise, manually, how can i convert my existing code into serialized format? Thanks Nehal --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org