Created
December 4, 2015 01:13
-
-
Save wcpan/786de26c65d2811952a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> target/host1 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host2 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host3 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host1 <== | |
[INFO] Started o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Restart completed at Thu Dec 03 17:12:32 PST 2015 | |
==> target/host2 <== | |
[INFO] Started o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Restart completed at Thu Dec 03 17:12:32 PST 2015 | |
==> target/host3 <== | |
[INFO] Started o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Restart completed at Thu Dec 03 17:12:32 PST 2015 | |
==> target/host2 <== | |
[INFO] restarting o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
==> target/host3 <== | |
[INFO] restarting o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
==> target/host2 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host1 <== | |
[INFO] restarting o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
==> target/host3 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host1 <== | |
17:12:34 INFO DemoService:40 -1- [host1] Current role: CANDIDATE | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host2 <== | |
[WARNING] unavailable | |
MultiException stack 1 of 1 | |
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:661) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: java.lang.NoSuchMethodError: com.yahoo.gondola.container.RoutingService.<init>(Lcom/yahoo/gondola/Gondola;Ljava/lang/String;)V | |
at com.yahoo.gondola.demo.DemoService.<init>(DemoService.java:33) | |
... 40 more | |
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,STARTING}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
javax.servlet.ServletException: jersey2@9a2a47c2==org.glassfish.jersey.servlet.ServletContainer,1,false | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:634) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: A MultiException has 1 exceptions. They are: | |
1. java.lang.reflect.InvocationTargetException | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1012) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
... 18 more | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:661) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
... 28 more | |
Caused by: java.lang.NoSuchMethodError: com.yahoo.gondola.container.RoutingService.<init>(Lcom/yahoo/gondola/Gondola;Ljava/lang/String;)V | |
at com.yahoo.gondola.demo.DemoService.<init>(DemoService.java:33) | |
... 40 more | |
[INFO] Restart completed at Thu Dec 03 17:12:35 PST 2015 | |
==> target/host3 <== | |
[WARNING] unavailable | |
MultiException stack 1 of 1 | |
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:661) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: java.lang.NoSuchMethodError: com.yahoo.gondola.container.RoutingService.<init>(Lcom/yahoo/gondola/Gondola;Ljava/lang/String;)V | |
at com.yahoo.gondola.demo.DemoService.<init>(DemoService.java:33) | |
... 40 more | |
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,STARTING}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
javax.servlet.ServletException: jersey2@9a2a47c2==org.glassfish.jersey.servlet.ServletContainer,1,false | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:634) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: A MultiException has 1 exceptions. They are: | |
1. java.lang.reflect.InvocationTargetException | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1012) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
... 18 more | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:661) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
... 28 more | |
Caused by: java.lang.NoSuchMethodError: com.yahoo.gondola.container.RoutingService.<init>(Lcom/yahoo/gondola/Gondola;Ljava/lang/String;)V | |
at com.yahoo.gondola.demo.DemoService.<init>(DemoService.java:33) | |
... 40 more | |
[INFO] Restart completed at Thu Dec 03 17:12:35 PST 2015 | |
==> target/host1 <== | |
[INFO] Started o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Restart completed at Thu Dec 03 17:12:35 PST 2015 | |
==> target/host2 <== | |
[INFO] restarting o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
==> target/host3 <== | |
[INFO] restarting o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
==> target/host2 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host3 <== | |
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,UNAVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
[INFO] Webapp source directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
[INFO] Reload Mechanic: automatic | |
[INFO] Classes = /Users/wcpan2/git/gondola/examples/kv-server/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/core/target/classes | |
[INFO] Added extra scan target:/Users/wcpan2/git/gondola/containers/jersey2-routing/target/classes | |
[INFO] Applying context xml file /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/jetty-web.xml | |
[INFO] Context path = /api | |
[INFO] Tmp directory = /Users/wcpan2/git/gondola/examples/kv-server/target/tmp | |
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml | |
[INFO] Web overrides = none | |
[INFO] web.xml file = file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/WEB-INF/web.xml | |
[INFO] Webapp directory = /Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp | |
==> target/host1 <== | |
[INFO] restarting o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,AVAILABLE}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
==> target/host2 <== | |
[WARNING] unavailable | |
MultiException stack 1 of 1 | |
com.yahoo.gondola.GondolaException | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:105) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.createGondolaInstance(RoutingFilter.java:690) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:656) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.Gondola.init(Gondola.java:121) | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:103) | |
... 37 more | |
Caused by: com.yahoo.gondola.GondolaException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:94) | |
at com.yahoo.gondola.impl.H2dbStorage.<init>(H2dbStorage.java:52) | |
... 43 more | |
Caused by: org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) | |
at org.h2.message.DbException.get(DbException.java:168) | |
at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:187) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:167) | |
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:99) | |
at org.h2.engine.Database.getPageStore(Database.java:2450) | |
at org.h2.engine.Database.open(Database.java:672) | |
at org.h2.engine.Database.openDatabase(Database.java:269) | |
at org.h2.engine.Database.<init>(Database.java:263) | |
at org.h2.engine.Engine.openSession(Engine.java:65) | |
at org.h2.engine.Engine.openSession(Engine.java:175) | |
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153) | |
at org.h2.engine.Engine.createSession(Engine.java:136) | |
at org.h2.engine.Engine.createSession(Engine.java:28) | |
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91) | |
at org.h2.Driver.connect(Driver.java:72) | |
at java.sql.DriverManager.getConnection(DriverManager.java:664) | |
at java.sql.DriverManager.getConnection(DriverManager.java:247) | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:91) | |
... 44 more | |
Caused by: java.lang.IllegalStateException: The file is locked: nio:/private/tmp/gondola-db-host2.mv.db [1.4.190/7] | |
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773) | |
at org.h2.mvstore.FileStore.open(FileStore.java:167) | |
at org.h2.mvstore.MVStore.<init>(MVStore.java:342) | |
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2888) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:154) | |
... 61 more | |
Caused by: java.nio.channels.OverlappingFileLockException | |
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) | |
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) | |
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1107) | |
at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) | |
at org.h2.mvstore.cache.FilePathCache$FileCache.tryLock(FilePathCache.java:158) | |
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155) | |
at org.h2.mvstore.FileStore.open(FileStore.java:164) | |
... 64 more | |
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,STARTING}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
javax.servlet.ServletException: jersey2@9a2a47c2==org.glassfish.jersey.servlet.ServletContainer,1,false | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:634) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: A MultiException has 1 exceptions. They are: | |
1. com.yahoo.gondola.GondolaException | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1012) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
... 18 more | |
Caused by: com.yahoo.gondola.GondolaException | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:105) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.createGondolaInstance(RoutingFilter.java:690) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:656) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
... 28 more | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.Gondola.init(Gondola.java:121) | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:103) | |
... 37 more | |
Caused by: com.yahoo.gondola.GondolaException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:94) | |
at com.yahoo.gondola.impl.H2dbStorage.<init>(H2dbStorage.java:52) | |
... 43 more | |
Caused by: org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) | |
at org.h2.message.DbException.get(DbException.java:168) | |
at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:187) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:167) | |
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:99) | |
at org.h2.engine.Database.getPageStore(Database.java:2450) | |
at org.h2.engine.Database.open(Database.java:672) | |
at org.h2.engine.Database.openDatabase(Database.java:269) | |
at org.h2.engine.Database.<init>(Database.java:263) | |
at org.h2.engine.Engine.openSession(Engine.java:65) | |
at org.h2.engine.Engine.openSession(Engine.java:175) | |
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153) | |
at org.h2.engine.Engine.createSession(Engine.java:136) | |
at org.h2.engine.Engine.createSession(Engine.java:28) | |
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91) | |
at org.h2.Driver.connect(Driver.java:72) | |
at java.sql.DriverManager.getConnection(DriverManager.java:664) | |
at java.sql.DriverManager.getConnection(DriverManager.java:247) | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:91) | |
... 44 more | |
Caused by: java.lang.IllegalStateException: The file is locked: nio:/private/tmp/gondola-db-host2.mv.db [1.4.190/7] | |
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773) | |
at org.h2.mvstore.FileStore.open(FileStore.java:167) | |
at org.h2.mvstore.MVStore.<init>(MVStore.java:342) | |
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2888) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:154) | |
... 61 more | |
Caused by: java.nio.channels.OverlappingFileLockException | |
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) | |
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) | |
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1107) | |
at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) | |
at org.h2.mvstore.cache.FilePathCache$FileCache.tryLock(FilePathCache.java:158) | |
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155) | |
at org.h2.mvstore.FileStore.open(FileStore.java:164) | |
... 64 more | |
[INFO] Restart completed at Thu Dec 03 17:12:36 PST 2015 | |
==> target/host3 <== | |
[WARNING] unavailable | |
MultiException stack 1 of 1 | |
com.yahoo.gondola.GondolaException | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:105) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.createGondolaInstance(RoutingFilter.java:690) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:656) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.Gondola.init(Gondola.java:121) | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:103) | |
... 37 more | |
Caused by: com.yahoo.gondola.GondolaException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:94) | |
at com.yahoo.gondola.impl.H2dbStorage.<init>(H2dbStorage.java:52) | |
... 43 more | |
Caused by: org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) | |
at org.h2.message.DbException.get(DbException.java:168) | |
at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:187) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:167) | |
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:99) | |
at org.h2.engine.Database.getPageStore(Database.java:2450) | |
at org.h2.engine.Database.open(Database.java:672) | |
at org.h2.engine.Database.openDatabase(Database.java:269) | |
at org.h2.engine.Database.<init>(Database.java:263) | |
at org.h2.engine.Engine.openSession(Engine.java:65) | |
at org.h2.engine.Engine.openSession(Engine.java:175) | |
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153) | |
at org.h2.engine.Engine.createSession(Engine.java:136) | |
at org.h2.engine.Engine.createSession(Engine.java:28) | |
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91) | |
at org.h2.Driver.connect(Driver.java:72) | |
at java.sql.DriverManager.getConnection(DriverManager.java:664) | |
at java.sql.DriverManager.getConnection(DriverManager.java:247) | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:91) | |
... 44 more | |
Caused by: java.lang.IllegalStateException: The file is locked: nio:/private/tmp/gondola-db-host3.mv.db [1.4.190/7] | |
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773) | |
at org.h2.mvstore.FileStore.open(FileStore.java:167) | |
at org.h2.mvstore.MVStore.<init>(MVStore.java:342) | |
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2888) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:154) | |
... 61 more | |
Caused by: java.nio.channels.OverlappingFileLockException | |
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) | |
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) | |
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1107) | |
at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) | |
at org.h2.mvstore.cache.FilePathCache$FileCache.tryLock(FilePathCache.java:158) | |
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155) | |
at org.h2.mvstore.FileStore.open(FileStore.java:164) | |
... 64 more | |
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@7eeb38b2{/api,file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/,STARTING}{file:///Users/wcpan2/git/gondola/examples/kv-server/src/main/webapp/} | |
javax.servlet.ServletException: jersey2@9a2a47c2==org.glassfish.jersey.servlet.ServletContainer,1,false | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:634) | |
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) | |
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) | |
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:341) | |
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296) | |
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) | |
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:742) | |
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) | |
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365) | |
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:541) | |
at org.eclipse.jetty.maven.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:494) | |
at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:685) | |
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:539) | |
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) | |
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329) | |
at java.util.TimerThread.mainLoop(Timer.java:555) | |
at java.util.TimerThread.run(Timer.java:505) | |
Caused by: A MultiException has 1 exceptions. They are: | |
1. com.yahoo.gondola.GondolaException | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1012) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:963) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1055) | |
at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1047) | |
at org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385) | |
at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342) | |
at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:390) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:172) | |
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:364) | |
at javax.servlet.GenericServlet.init(GenericServlet.java:244) | |
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:613) | |
... 18 more | |
Caused by: com.yahoo.gondola.GondolaException | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:105) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.createGondolaInstance(RoutingFilter.java:690) | |
at com.yahoo.gondola.container.RoutingFilter$Builder.build(RoutingFilter.java:656) | |
at com.yahoo.gondola.demo.DemoApplication.<init>(DemoApplication.java:33) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350) | |
at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1010) | |
... 28 more | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at com.yahoo.gondola.Gondola.init(Gondola.java:121) | |
at com.yahoo.gondola.Gondola.<init>(Gondola.java:103) | |
... 37 more | |
Caused by: com.yahoo.gondola.GondolaException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:94) | |
at com.yahoo.gondola.impl.H2dbStorage.<init>(H2dbStorage.java:52) | |
... 43 more | |
Caused by: org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-190] | |
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) | |
at org.h2.message.DbException.get(DbException.java:168) | |
at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:187) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:167) | |
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:99) | |
at org.h2.engine.Database.getPageStore(Database.java:2450) | |
at org.h2.engine.Database.open(Database.java:672) | |
at org.h2.engine.Database.openDatabase(Database.java:269) | |
at org.h2.engine.Database.<init>(Database.java:263) | |
at org.h2.engine.Engine.openSession(Engine.java:65) | |
at org.h2.engine.Engine.openSession(Engine.java:175) | |
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153) | |
at org.h2.engine.Engine.createSession(Engine.java:136) | |
at org.h2.engine.Engine.createSession(Engine.java:28) | |
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107) | |
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91) | |
at org.h2.Driver.connect(Driver.java:72) | |
at java.sql.DriverManager.getConnection(DriverManager.java:664) | |
at java.sql.DriverManager.getConnection(DriverManager.java:247) | |
at com.yahoo.gondola.impl.H2dbStorage.createConnection(H2dbStorage.java:91) | |
... 44 more | |
Caused by: java.lang.IllegalStateException: The file is locked: nio:/private/tmp/gondola-db-host3.mv.db [1.4.190/7] | |
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773) | |
at org.h2.mvstore.FileStore.open(FileStore.java:167) | |
at org.h2.mvstore.MVStore.<init>(MVStore.java:342) | |
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2888) | |
at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:154) | |
... 61 more | |
Caused by: java.nio.channels.OverlappingFileLockException | |
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) | |
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) | |
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1107) | |
at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) | |
at org.h2.mvstore.cache.FilePathCache$FileCache.tryLock(FilePathCache.java:158) | |
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155) | |
at org.h2.mvstore.FileStore.open(FileStore.java:164) | |
... 64 more | |
[INFO] Restart completed at Thu Dec 03 17:12:36 PST 2015 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment