Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 69549 invoked from network); 20 Apr 2004 14:01:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Apr 2004 14:01:32 -0000 Received: (qmail 8421 invoked by uid 500); 20 Apr 2004 14:01:12 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 8407 invoked by uid 500); 20 Apr 2004 14:01:12 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 8369 invoked from network); 20 Apr 2004 14:01:12 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 20 Apr 2004 14:01:12 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BFvoH-00061U-00 for ; Tue, 20 Apr 2004 16:01:13 +0200 Received: from 195.6.79.173 ([195.6.79.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Apr 2004 16:01:13 +0200 Received: from obillard by 195.6.79.173 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Apr 2004 16:01:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Olivier Billard Subject: Re: cocoon under eclipse Date: Tue, 20 Apr 2004 15:54:19 +0200 Lines: 51 Message-ID: References: <405863D10002C8D7@ms001msg.mail.fw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 195.6.79.173 User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040318) X-Accept-Language: en-us, en In-Reply-To: <405863D10002C8D7@ms001msg.mail.fw> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Flavio, Personnaly, I don't start jetty in Eclipse, but use the >cocoon servlet-debug command and plug my Eclipse on the (default) debug port of jetty and it works well. For tomcat, I added a debug clause in a special catalina.bat to plug Eclipse in there. And it also works good. I don't see any advantage to start jetty from Eclipse. Hope this helps. -- Olivier Flavio Palumbo wrote: > Hi Olivier, > > thank you for the replay, but I overtook that phase ; in fact I found on > the mail archive a mail of yours with links to Wiki pages "LoadInEclipse" > and "DebuggingCocoon"; so I rebuilt my project following that documents > ; unfortunately the built went fine, but when I tried to start jetty from > within eclipse, I always get an exception java.lang.NoClassDefFoundError: > Loader > Exception in thread "main". > I configured jetty as an application following these notes, reported at > the bottom of the LoadInEclipse document : > > - make sure ./tools/loader is on your eclipse classpath (it isn't by default) > > - create an eclipse run configuration for Jetty Cocoon: > - On configurations 'Main' tab use 'Loader' as the main class. > - On the Arguments tab set: > - Program arguments: "tools\jetty\conf\main.xml" > - VM arguments: "-Djava.endorsed.dirs=./lib/endorsed" > "-Dwebapp=./build/webapp" > "-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser" > "-Djetty.port=8888 -Djetty.admin.port=8889" > "-Dhome=." > "-Dloader.jar.repositories=./tools/jetty/lib,./lib/endorsed" > "-Dloader.main.class=org.mortbay.jetty.Server" > > Can you please help me ? > > Thanks a lot > > Flavio Palumbo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org