Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 98403 invoked by uid 500); 4 Jun 2003 12:40:15 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 98292 invoked from network); 4 Jun 2003 12:40:14 -0000 Received: from ns.mobicomk.donpac.ru (HELO ns2.mobicomk.ru) (217.106.95.130) by daedalus.apache.org with SMTP; 4 Jun 2003 12:40:14 -0000 Received: from support.lan.mobicomk.ru ([10.10.5.100]) by ns2.mobicomk.ru (8.11.6/8.11.6) with SMTP id h54CeD031833 for ; Wed, 4 Jun 2003 16:40:13 +0400 Date: Wed, 4 Jun 2003 16:40:13 +0400 From: Yury Mikhienko To: cocoon-users@xml.apache.org Subject: Re: How to debug COCOON with ECLIPSE and TOMCAT? Message-Id: <20030604164013.7717e3cd.Yury.Mikhienko@mobicomk.ru> In-Reply-To: <5.2.0.9.0.20030604141424.0275d6f8@messagerie.jouy.4dconcept.fr> References: <5.2.0.9.0.20030604105034.00ac1318@messagerie.jouy.4dconcept.fr> <5.2.0.9.0.20030604141424.0275d6f8@messagerie.jouy.4dconcept.fr> Organization: Mobicom-Kavkaz X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 04 Jun 2003 14:33:37 +0200 Lionel Crine wrote: > With the tomcat plugin : 2.1 > > I think you have setup the windows->preference->tomcat. > I repeat it : > > 1/choose the version you have. 4.1.x is good. > 2/choose the tomcat root directory > 3/choose the server.xml file > 4/i had my tomcat project to my classpath (i'm not sure it's necessary). > 5/ If you want to debug Tomcat (check the "execute in debug mode) > > the parameter for the JVM : > > The JRE by default is not working (or something like that)!!! > So you have to change it the another. > > > 6/ Go in window->preferences->java->installed JREs > 7/add a new standard VM (the one with your sdk). (for example mine is : > d:\software\java\sdk1.4) > 8/notch it. > > 9/Come back to windows->preference->tomcat->JVM parameter > 10/select the new JVM > > > Some optionnal things : > In window->preferences->java->Classpath Variables > create a TOMCAT_HOME identical as CATALINA_HOME -> it seems that the plugin > uses TOMCAT_HOME > > > In the properties of the project : > > 11/java Build Path->source : be sure WEB-INF/classes of your project is here > 12/java Build Path->librairies : add the cocoon libraries (.jar) and yours. > Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME > > 13/Tomcat : I notched "is a tomcat project" (check if this is your context) > "update automatically server.xml" and "reloadable = true". > > > Hope that help a little. > I may have forgotten some things so tell me. > > PS: With my computer the classpath is not build with eclipse So I had to > add all the jars into the libraries (see 12/) > > > Lionel > Thank you! Will try. -- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org