Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread Carfield Yim
On 10/30/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You set up your workspace to look like a deployed WAR to a point. You should not have a ...workspace/.../WEB-INF/lib What happens is that the JARs end up on the classpath twice: Once because they are on Eclipse's project classpath, then

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread Howard Lewis Ship
You set up your workspace to look like a deployed WAR to a point. You should not have a ...workspace/.../WEB-INF/lib What happens is that the JARs end up on the classpath twice: Once because they are on Eclipse's project classpath, then a second time when Jetty creates a class loader for the WAR

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread Carfield Yim
On 10/30/06, nard man <[EMAIL PROTECTED]> wrote: That plugin appears to work best if jars are *not* located in WEB-INF/lib. My preference is just manually remove the jars /WEB-INF/lib at classpath config dialog box at eclipse. --

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread nard man
That plugin appears to work best if jars are *not* located in WEB-INF/lib. Just put them somewhere else in the project and add them to the project build path and the plugin will work ok. When you build a war file for production deployment, use ant to ensure the jars are in WEB-INF/lib. On 10/2

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-29 Thread Carfield Yim
I encounter this problem before because of the way the eclipse-jetty plugin load same jar twice. However, I am not sure why this is a problem of hivemind Just pick either isn't ok? Probably worth to show a warning to user but I don't see there is a point to forbid user from running the applic

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-29 Thread andyhot
Check the classpath settings that jetty-launcher uses... Your hivemind-1.1.1.jar is getting included twice Bill Holloway wrote: > Apologies if this is already covered. Probabaly is, but when I run > the jetty launcher in eclipse, I get > > Unable to initialize application servlet: Error: Module

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-29 Thread Jesse Kuhnert
Sounds like you have the jar on your classpath twice. Tapestry uses jetty to run all of the internal/sample applications from eclipse, so you should find plenty of working examples in the repo. On 10/29/06, Bill Holloway <[EMAIL PROTECTED]> wrote: Apologies if this is already covered. Probaba

Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-29 Thread Bill Holloway
Apologies if this is already covered. Probabaly is, but when I run the jetty launcher in eclipse, I get Unable to initialize application servlet: Error: Module hivemind is duplicated! Definition in jar:file:/Users/texomaleo/eclipse/workspace/mindbites_site_jetty/context/WEB-INF/lib/hivemind-1.