You should remove the hivemind libs from the eclipse start configuration for 
your container (at least that was the case with jetty)

-----Original Message-----
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 11. August 2006 17:05
To: 'Tapestry users'
Subject: RE: Strange HiveMind/T4 error message

There is a workaround for this.  I don't remember it off the top of my head,
but many have encountered this.  Just search this list for the answer.  It
has something to do with the Jetty launcher in Eclipse setting up duplicate
classpaths or something.

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content
Sent: Friday, August 11, 2006 11:02 AM
To: users@tapestry.apache.org
Subject: Re: Strange HiveMind/T4 error message

Hivemind and Tapestry JARs need to be in the same place if you use Tomcat, 
not sure about Jetty. The problem arisises if they are not using the same 
classloader. Do you have HM JARs in a shared/lib directory?
I just put everything in WEB-INF/lib. Other options are just too much bother

with classloader issues.

Henrik

"Michael Gentry (Yes, I'm a Contractor)" <[EMAIL PROTECTED]> 
skrev i en meddelelse news:[EMAIL PROTECTED]
Environment: T4 4.0.2, HM 1.1.1, Jetty 5.1.8, Eclipse 3.2, JettyLauncher
1.4.1

In Eclipse, I have a Tapestry and HiveMind User Library defined which
specifies all the JAR files in a directory path outside of the Eclipse
workspace.  I included these User Libraries in my project and all was fine.
I could launch using JettyLauncher and run/debug.  I then removed the User
Libraries from the project and copied the JAR files directly into the
project¹s context/WEB-INF/lib directory.  All was no longer fine.  I would
get the following strange error.  If you look closely, the path it specifies
as containing the duplicate module is the same exact path.  Any ideas why?
I removed all the JAR files and went back to using the User Library
defintions.

Thanks!

/dev/mrg

PS. When I ran using the HiveMind User Library definition, but had the T4
JAR files copied into context/WEB-INF/lib, I¹d get a similar error message.
In a nutshell, I couldn¹t have HiveMind or Tapestry JAR files in
context/WEB-INF/lib.



org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is
duplicated!  Definition in
jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W
EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml has been ignored in
favor of existing definition from
jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W
EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml.
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39
)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescript
or(RegistryInfrastructureConstructor.java:202)
org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(Reg
istryBuilder.java:168)
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j
ava:143)
org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.
java:253)
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
ava:446)
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic
ationHandler.java:321)
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex
t.java:509)
org.mortbay.util.Container.start(Container.java:72)
org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
org.mortbay.util.Container.start(Container.java:72)
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to