i switched the order of app-binding and jetty-server-starting; now it
gets a bit farther but throws another exception:
2012-03-20 10:25:35.550:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.servlet.ServletHandler@177f409c: java.lang.ClassCastException: org.eclipse.jetty.server.handler.ContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler
java.lang.ClassCastException: org.eclipse.jetty.server.handler.ContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler
at org.eclipse.jetty.servlet.ServletHandler.doStart(ServletHandler.java:147)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:722)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at helma.main.ApplicationManager$AppDescriptor.bind(ApplicationManager.java:550)
at helma.main.ApplicationManager.startAll(ApplicationManager.java:168)
at helma.main.Server.run(Server.java:602)
at java.lang.Thread.run(Thread.java:662)
helma compiles & starts now, but throws this exception:
java.lang.IllegalStateException: STARTED
at org.eclipse.jetty.server.handler.HandlerWrapper.setHandler(HandlerWrapper.java:71)
at helma.main.ApplicationManager$AppDescriptor.bind(ApplicationManager.java:482)
at helma.main.ApplicationManager.startAll(ApplicationManager.java:168)
at helma.main.Server.run(Server.java:611)
at java.lang.Thread.run(Thread.java:662)
i switched the order of app-binding and jetty-server-starting; now it
gets a bit farther but throws another exception:
2012-03-20 10:25:35.550:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.servlet.ServletHandler@177f409c: java.lang.ClassCastException: org.eclipse.jetty.server.handler.ContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler
java.lang.ClassCastException: org.eclipse.jetty.server.handler.ContextHandler cannot be cast to org.eclipse.jetty.servlet.ServletContextHandler
at org.eclipse.jetty.servlet.ServletHandler.doStart(ServletHandler.java:147)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:97)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:722)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at helma.main.ApplicationManager$AppDescriptor.bind(ApplicationManager.java:550)
at helma.main.ApplicationManager.startAll(ApplicationManager.java:168)
at helma.main.Server.run(Server.java:602)
at java.lang.Thread.run(Thread.java:662)
helma compiles & starts now, but throws this exception:
java.lang.IllegalStateException: STARTED
at org.eclipse.jetty.server.handler.HandlerWrapper.setHandler(HandlerWrapper.java:71)
at helma.main.ApplicationManager$AppDescriptor.bind(ApplicationManager.java:482)
at helma.main.ApplicationManager.startAll(ApplicationManager.java:168)
at helma.main.Server.run(Server.java:611)
at java.lang.Thread.run(Thread.java:662)