cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <obill...@jouve.fr>
Subject Re: cocoon under eclipse
Date Tue, 20 Apr 2004 13:54:19 GMT
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


Mime
View raw message