You need to delete the contents of WEB-INF/lib in your webapps directory
after doing a war:inplace.

Mike

On 11/21/07, traceon <[EMAIL PROTECTED]> wrote:
>
>
> hi together,
>
> i've done the following steps from the quick-start guide:
> - Archetype Tapestry Basic project
> - mvn
> - jetty:run-war
>
> application can be accessed through http://localhost:8080
>
> but...
>
> after running "mvn war:inplace" i get the following error (see logs below)
> and i'm not able to start/access the webapp properly.
>
> thx for your help!
>
> cheers
> traceon
>
> Browser: http://localhost:8080
> -----------------------------------------------
> HTTP ERROR: 503
>
> SERVICE_UNAVAILABLE
>
> RequestURI=/home
>
> Powered by jetty://
>
> Logs:
> ----------------------------------------------
> [INFO] Context path = /
> [INFO] Tmp directory = F:\Development\traceon\target\work
> [INFO] Web defaults =  jetty default
> [INFO] Web overrides =  none
> [INFO] Webapp directory = F:\Development\traceon\src\main\webapp
> [INFO] Starting jetty 6.1.5 ...
> 2007-11-26 22:06:17.366::INFO:  jetty-6.1.5
> 2007-11-26 22:06:17.163::INFO:  No Transaction manager found - if your
> webapp requires one, please configure one.
> 2007-11-26 22:06:18.835:/:INFO:  Initializing Spring root
> WebApplicationContext
>
>
> **********************************************************
>
>
> org.apache.hivemind.ApplicationRuntimeException: Error: Module
> hivemind.lib
> is duplicated!  Definition in
> jar:file:/C:/Programme/dev/maven-2.0.7
> /repo/hivemind/hivemind-lib/1.1.1/hivemind-
> lib-1.1.1.jar!/META-INF/hivemodule.xml
> has been ignored in favor of existing definition from
> jar:file:/F:/Development/traceon/src/main/webapp/WEB-INF/lib/hivemind-
> lib-1.1.1.jar!/META-INF/hivemodule.xml.
> org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java
> :39)
>
> org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> (RegistryInfrastructureConstructor.java:202)
> org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(
> RegistryBuilder.java:168)
> org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> RegistryBuilder.java:143)
> org.apache.tapestry.ApplicationServlet.constructRegistry(
> ApplicationServlet.java:256)
> org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:197)
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java
> :433)
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java
> :612)
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java
> :1218)
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java
> :147)
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(
> ContextHandlerCollection.java:161)
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java
> :147)
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
> org.mortbay.jetty.Server.doStart(Server.java:217)
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java
> :132)
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(
> AbstractJettyMojo.java:345)
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java
> :286)
> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(
> AbstractJettyRunMojo.java:204)
> org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:443)
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:539)
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:493)
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:463)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:311)
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:143)
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
> **********************************************************
> --
> View this message in context:
> http://www.nabble.com/Error%3A-Module-hivemind.lib-is-duplicated%21-tf4852931s2369.html#a13886516
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to