clarencen/lshift — Issue #402: JMX exception during build
Author: clarencen
Created: 2011-11-14 22:42:55+00:00
State: open

The JMX exception during the build needs to go away:

@@@

2010-10-01 16:51:44.907:WARN::bean: org.mortbay.jetty.plugin.JettyServer@16610faf
[16:51:44]: javax.management.InstanceAlreadyExistsException: org.mortbay.jetty.plugin:type=jettyserver,id=0
[16:51:44]:	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
[16:51:44]:	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
[16:51:44]:	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
[16:51:44]:	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
[16:51:44]:	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
[16:51:44]:	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
[16:51:44]:	at org.eclipse.jetty.jmx.MBeanContainer.addBean(MBeanContainer.java:277)
[16:51:44]:	at org.eclipse.jetty.jmx.MBeanContainer.add(MBeanContainer.java:142)
[16:51:44]:	at org.eclipse.jetty.util.component.Container.add(Container.java:202)
[16:51:44]:	at org.eclipse.jetty.util.component.Container.update(Container.java:160)
[16:51:44]:	at org.eclipse.jetty.util.component.Container.update(Container.java:102)
[16:51:44]:	at org.eclipse.jetty.server.Server.setConnectors(Server.java:178)
[16:51:44]:	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:404)
[16:51:44]:	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:377)
[16:51:44]:	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:577)
[16:51:44]:	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
[16:51:44]:	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
[16:51:44]:	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
[16:51:44]:	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
[16:51:44]:	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
[16:51:44]:	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
[16:51:44]:	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
[16:51:44]:	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
[16:51:44]:	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
[16:51:44]:	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
[16:51:44]:	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
[16:51:44]:	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[16:51:44]:	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[16:51:44]:	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[16:51:44]:	at java.lang.reflect.Method.invoke(Method.java:597)
[16:51:44]:	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[16:51:44]:	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[16:51:44]:	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

@@@