Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 45166 invoked from network); 12 Jul 2005 21:38:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 21:38:57 -0000 Received: (qmail 83217 invoked by uid 500); 12 Jul 2005 21:38:54 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 83194 invoked by uid 500); 12 Jul 2005 21:38: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 83180 invoked by uid 99); 12 Jul 2005 21:38:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 14:38:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sylvain.pelletier@gmail.com designates 64.233.182.192 as permitted sender) Received: from [64.233.182.192] (HELO nproxy.gmail.com) (64.233.182.192) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 14:38:52 -0700 Received: by nproxy.gmail.com with SMTP id n15so10800nfc for ; Tue, 12 Jul 2005 14:38:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KPlcv8CLZXwaStOXPykqqbAdIw3bC/m51AR+7gaP/B6I9vHY5H5cFKND1+iCDyFZyksj2zOgLANG5yvjRso01d57ctYafHLkrUhnbh884JuQxQygXoHNPwi8d+1BPYYKfAhCsoL8X3034N3bFiS/rxSWwAsl9AAbfao1v22XJzY= Received: by 10.48.142.11 with SMTP id p11mr8500nfd; Tue, 12 Jul 2005 14:38:51 -0700 (PDT) Received: by 10.48.237.15 with HTTP; Tue, 12 Jul 2005 14:38:51 -0700 (PDT) Message-ID: <47ec7d0b05071214385256605f@mail.gmail.com> Date: Tue, 12 Jul 2005 23:38:51 +0200 From: Sylvain Pelletier Reply-To: Sylvain Pelletier To: user-java@ibatis.apache.org Subject: Re: I must restart Tomcat when I modify some SQL Map XML files in SQLMapConfig.xml In-Reply-To: <20050712143204.73925.qmail@web32213.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.2.1.2.2.20050712085947.02a3d2d8@express.cites.uiuc.edu> <20050712143204.73925.qmail@web32213.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for all the replies ! In fact, it seems that my problem was trivial. I read this in the developer guide: I have setup my SQL MAP XML files like this : instead of : and it's works fine, I can add, remove ... statements to the xml files without reload tomcat. Bye On 7/12/05, Ron Grabowski wrote: > I remember experiencing a similiar problem with Eclipse and Tomcat. It > seemed that whenever I deployed, Tomcat wouldn't recognize that files > had changed and it would never reload the application. I recall being > frustrated when I made small changes to sqlMap xml files and I had to > completely shutdown and restart Tomcat. I resolved the issue by > building my own Ant script to deploy my project. The code below is > several months old and I am no longer working on the project. I used > the code with Eclipse 2 then upgraded to Eclipse 3. That may have been > the MyEclipse version. I remember going through a big IDE upgrade at > some point. Larry and Brandon helped out answering questions with my > iBATIS 1.x to 2.x upgrade too! >=20 > This code was used against a Tomcat 5 installation, not 5.5: >=20 > > classname=3D"org.apache.catalina.ant.InstallTask"> > > > > > > > >=20 > > > >=20 > > > >=20 > > > >=20 > application to servlet container"> > url=3D"${manager.url}" > username=3D"${manager.username}" > password=3D"${manager.password}" > path=3D"${app.path}" > war=3D"file://${build.home}/${app.name}.war"/> > > >=20 > --- "Albert L. Sapp" wrote: >=20 > > We do a redeploy all the time from Eclipse to Tomcat. Occasionally, > > we > > have to restart Tomcat as it seems to stop responding to application > > requests. We haven't figured this out yet, but this mainly occurs on > > the > > Tomcat servers run on our development PCs and not on the primary and > > backup > > servers. > > > > Al > > > > At 03:41 AM 7/12/2005, you wrote: > > >Can't you just use manager included in Tomcat, > > > > > >you can reach it at /manager/html/list and then just reload > > application ? > > >I do that:) > > > > > >Darek > > > > > >----- Original Message ----- > > >From: Zarar Siddiqi > > >To: user-java@ibatis.apache.org > > ; > > >Sylvain Pelletier > > >Sent: Monday, July 11, 2005 7:20 PM > > >Subject: Re: I must restart Tomcat when I modify some SQL Map XML > > files in > > >SQLMapConfig.xml > > > > > >Instead of restarting Tomcat, perhaps you should setup your > > application so > > >that you just have to reload/redeploy the context for the startup > > >listeners to kick in. Restarting tomcat can be slow while reploying > > works > > >like a breeze. I'm using Intellij and you can run Tomcat within it. > > I'm > > >sure Eclipse has the same feature. > > > > > >Zarar > > >----- Original Message ----- > > >From: Sylvain Pelletier > > >To: user-java@ibatis.apache.org > > >Sent: Saturday, July 09, 2005 7:42 AM > > >Subject: I must restart Tomcat when I modify some SQL Map XML files > > in > > >SQLMapConfig.xml > > > > > >Hi, > > > > > >First I'm new to the sqlmap's world! > > > > > >I'm using sqlmap without using the dao manager of ibastis. > > >I work under myeclipse and when I modify the content of SQL MAP xml > > files > > >(to add a select statement for example), the changes are not do in > > real-time. > > >I'm actually restarting tomcat each times I changes SQL MAP xml > > files and > > >it's a quite boring !! > > > > > >Thanks > > > > > >Sylvain > > > > > >=20 >