Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] Error while running embedded jetty

Hi Team,

We are facing below issue while running Jetty, 

image.png 


Please help us to resolve the below issues


jul 01 12:32:56  ERROR [Framework Event Dispatcher: org.eclipse.osgi.internal.framework.EquinoxEventPublisher@402c4085] [Activator.java:126] Failed to startup http server. Will exit jvm process.

Verify that there are no other processes listening on the same port and that the user starting the server has sufficient privileges.

org.eclipse.jetty.util.MultiException: Multiple exceptions

        at org.eclipse.jetty.util.MultiException.ifExceptionThrow(MultiException.java:122) ~[na:na]

        at org.eclipse.jetty.server.Server.doStart(Server.java:413) ~[na:na]

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[na:na]

        at com.ericsson.rm.bcd.server.httpserverjetty.JettyHttpServer.start(JettyHttpServer.java:245) ~[na:na]

        at com.ericsson.rm.bcd.server.httpserverjetty.Activator.frameworkEvent(Activator.java:122) ~[na:na]

        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:927) [org.eclipse.osgi-3.11.2.jar:na]

        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.11.2.jar:na]

        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [org.eclipse.osgi-3.11.2.jar:na]

        Suppressed: javax.servlet.ServletException: com.ericsson.rm.bcd.server.webgui.ApplicationServlet-70f31322==com.ericsson.rm.bcd.server.webgui.ApplicationServlet@f2c52181{jsp=null,order=-1,inst=true,async=true,src="">

                at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:650) ~[na:na]

                at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415) ~[na:na]

                at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[na:na]

 

Caused by: javax.servlet.ServletException: com.ericsson.rm.bcd.server.webgui.ApplicationServlet-70f31322==com.ericsson.rm.bcd.server.webgui.ApplicationServlet@f2c52181{jsp=null,order=-1,inst=true,async=true,src="">

        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:650) ~[na:na]

        at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415) ~[na:na]

        at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[na:na]

        at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) ~[na:1.8.0_241]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483) ~[na:1.8.0_241]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_241]

        at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) ~[na:1.8.0_241]

        at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) ~[na:1.8.0_241]

        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[na:1.8.0_241]

        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) ~[na:na]

        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) ~[na:na]

        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:910) ~[na:na]

        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) ~[na:na]

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~[na:na]

        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[na:na]

        at org.eclipse.jetty.server.Server.start(Server.java:423) ~[na:na]

        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) ~[na:na]

        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) ~[na:na]

        at org.eclipse.jetty.server.Server.doStart(Server.java:387) ~[na:na]

        ... 6 common frames omitted

Caused by: java.lang.NullPointerException: null

        at com.vaadin.flow.server.DeploymentConfigurationFactory.getTokenFileFromClassloader(DeploymentConfigurationFactory.java:341) ~[na:na]

        at com.vaadin.flow.server.DeploymentConfigurationFactory.getTokenFileContents(DeploymentConfigurationFactory.java:311) ~[na:na]

        at com.vaadin.flow.server.DeploymentConfigurationFactory.readBuildInfo(DeploymentConfigurationFactory.java:181) ~[na:na]

        at com.vaadin.flow.server.DeploymentConfigurationFactory.createInitParameters(DeploymentConfigurationFactory.java:174) ~[na:na]

 

Caused by: java.lang.NullPointerException: null

        at com.vaadin.flow.server.DeploymentConfigurationFactory.getTokenFileFromClassloader(DeploymentConfigurationFactory.java:341) ~[na:na]

        at com.vaadin.flow.server.DeploymentConfigurationFactory.getTokenFileContents(DeploymentConfigurationFactory.java:311) ~[na:na]

        at com.vaadin.flow.server.DeploymentConfigurationFactory.readBuildInfo(DeploymentConfigurationFactory.java:181) ~[na:na]

        at com.vaadin.flow.server.DeploymentConfigurationFactory.createInitParameters(DeploymentConfigurationFactory.java:174) ~[na:na]

        at com.vaadin.flow.server.VaadinServlet.createDeploymentConfiguration(VaadinServlet.java:152) ~[na:na]

        at com.vaadin.flow.server.VaadinServlet.createServletService(VaadinServlet.java:190) ~[na:na]

        at com.vaadin.flow.server.VaadinServlet.init(VaadinServlet.java:77) ~[na:na]

        at com.ericsson.rm.common.guibase.GuiBaseServlet.init(GuiBaseServlet.java:269) ~[na:na]

        at com.ericsson.rm.bcd.server.webgui.ApplicationServlet.init(ApplicationServlet.java:97) ~[na:na]

        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:632) ~[na:na]


Thanks in advance for quick response 

Thanks,
---------------------
Kuldeep Singh Budania
Software Architect


Back to the top