From: Ronald R. <ron...@gm...> - 2015-08-19 21:21:53
|
I’ve built OpenNMS 17.0.0-SNAPSHOT using: # ./compile.pl # ./assemble.pl -Dbuild=all -Dbuild.profile=full -Dopennms.home=/opt/opennms When I unpack this and run it, I get this error in jetty-server.log, and am unable to OpenNMS webapp. Any help to get this working? 2015-08-19 15:45:13,636 WARN [Main] o.e.j.w.WebAppContext: Failed startup of context o.e.j.w.WebAppContext{/opennms,file:/opt/opennms-17.0.0-SNAPSHOT/jetty-webapps/opennms/},/opt/opennms-17.0.0-SNAPSHOT/jetty-webapps/opennms java.lang.IllegalStateException: Duplicate fragment name: spring_web for jar:file:/opt/opennms/lib/org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar!/META-INF/web-fragment.xml and jar:file:/opt/opennms-17.0.0-SNAPSHOT/jetty-webapps/opennms/WEB-INF/lib/org.springframework.web-3.2.3.RELEASE.jar!/META-INF/ web-fragment.xml at org.eclipse.jetty.webapp.MetaData.addFragment(MetaData.java:253) ~[jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.webapp.FragmentConfiguration.findWebFragments(FragmentConfiguration.java:84) ~[jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.webapp.FragmentConfiguration.preConfigure(FragmentConfiguration.java:44) ~[jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:457) ~[jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:493) [jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) [jetty-deploy-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.Server.doStart(Server.java:280) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.opennms.netmgt.jetty.JettyServer.onStart(JettyServer.java:109) [opennms-jetty-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.daemon.AbstractServiceDaemon$4.run(AbstractServiceDaemon.java:297) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.core.logging.Logging.withPrefix(Logging.java:70) [org.opennms.core.logging-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.daemon.AbstractServiceDaemon.start(AbstractServiceDaemon.java:290) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$2.run(AbstractSpringContextJmxServiceDaemon.java:128) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.core.logging.Logging.withPrefix(Logging.java:70) [org.opennms.core.logging-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.start(AbstractSpringContextJmxServiceDaemon.java:118) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) [?:1.8.0_51] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) [?:1.8.0_51] at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) [?:1.8.0_51] at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) [?:1.8.0_51] at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) [?:1.8.0_51] at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) [?:1.8.0_51] at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) [?:1.8.0_51] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [?:1.8.0_51] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [?:1.8.0_51] at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:248) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:107) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:183) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162) [org.opennms.core.daemon-17.0.0-SNAPSHOT.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366) [opennms_bootstrap.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] |