Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects versions: 1.6.1
    • Fix versions: 1.7.0
    • Components: Jetty
    • Labels:
      None

      Description

      There are exception logs with the Jetty 9.x embedded container (embedded only), though they don't cause any issues.

      Running org.codehaus.cargo.sample.java.WarAuthenticationTest
      2016-12-23 08:09:58.271:INFO::main: Logging initialized @11590ms to org.eclipse.jetty.util.log.StdErrLog
      2016-12-23 08:09:58.571:INFO:oejs.Server:Thread-11: jetty-9.4.0.v20161208
      2016-12-23 08:09:58.807:INFO:oeja.AnnotationConfiguration:Thread-11: Scanning elapsed time=20ms
      Dec 23, 2016 8:09:58 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
      INFO: WELD-ENV-001008: Initialize Weld using ServletContainerInitializer
      Dec 23, 2016 8:09:58 AM org.jboss.weld.bootstrap.WeldStartup <clinit>
      INFO: WELD-000900: 2.4.1 (Final)
      Dec 23, 2016 8:09:59 AM org.jboss.weld.bootstrap.WeldStartup startContainer
      INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
      Dec 23, 2016 8:09:59 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.ScopedInstance because of underlying class loading error: Type org.eclipse.jetty.cdi.core.ScopedInstance not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:09:59 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.AnyLiteral because of underlying class loading error: Type org.eclipse.jetty.cdi.core.AnyLiteral not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:09:59 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.JettyLogFactory because of underlying class loading error: Type org.eclipse.jetty.cdi.core.JettyLogFactory not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:09:59 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.SimpleBeanStore because of underlying class loading error: Type org.eclipse.jetty.cdi.core.SimpleBeanStore not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:09:59 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.NamedLiteral because of underlying class loading error: Type org.eclipse.jetty.cdi.core.NamedLiteral not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:09:59 AM org.jboss.weld.environment.jetty.JettyContainer initialize
      INFO: WELD-ENV-001200: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
      2016-12-23 08:09:59.672:INFO:oejs.session:Thread-11: DefaultSessionIdManager workerName=node0
      2016-12-23 08:09:59.672:INFO:oejs.session:Thread-11: No SessionScavenger set, using defaults
      2016-12-23 08:09:59.674:INFO:oejs.session:Thread-11: Scavenging every 600000ms
      2016-12-23 08:09:59.677:WARN:oejs.SecurityHandler:Thread-11: ServletContext@o.e.j.w.WebAppContext@1f1deea3{/authentication-war,file:///private/var/folders/sh/b7mq601551q4q1wl_td10v440000gn/T/jetty-0.0.0.0-54325-authentication-war.war-_authentication-war-any-2596047564986899348.dir/webapp/,STARTING}{/Users/alitokmen/Documents/Work/CARGO/cargo/core/samples/java/target/deployables/authentication-war.war} has uncovered http methods for path: /test
      2016-12-23 08:09:59.677:WARN:oejs.SecurityHandler:Thread-11: ServletContext@o.e.j.w.WebAppContext@1f1deea3{/authentication-war,file:///private/var/folders/sh/b7mq601551q4q1wl_td10v440000gn/T/jetty-0.0.0.0-54325-authentication-war.war-_authentication-war-any-2596047564986899348.dir/webapp/,STARTING}{/Users/alitokmen/Documents/Work/CARGO/cargo/core/samples/java/target/deployables/authentication-war.war} has uncovered http methods for path: /
      2016-12-23 08:10:00.083:INFO:oejsh.ContextHandler:Thread-11: Started o.e.j.w.WebAppContext@1f1deea3{/authentication-war,file:///private/var/folders/sh/b7mq601551q4q1wl_td10v440000gn/T/jetty-0.0.0.0-54325-authentication-war.war-_authentication-war-any-2596047564986899348.dir/webapp/,AVAILABLE}{/Users/alitokmen/Documents/Work/CARGO/cargo/core/samples/java/target/deployables/authentication-war.war}
      2016-12-23 08:10:00.118:INFO:oeja.AnnotationConfiguration:Thread-11: Scanning elapsed time=0ms
      Dec 23, 2016 8:10:00 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
      INFO: WELD-ENV-001008: Initialize Weld using ServletContainerInitializer
      Dec 23, 2016 8:10:00 AM org.jboss.weld.bootstrap.WeldStartup startContainer
      INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
      Dec 23, 2016 8:10:00 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.SimpleBeanStore because of underlying class loading error: Type org.eclipse.jetty.cdi.core.SimpleBeanStore not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:10:00 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.ScopedInstance because of underlying class loading error: Type org.eclipse.jetty.cdi.core.ScopedInstance not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:10:00 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.JettyLogFactory because of underlying class loading error: Type org.eclipse.jetty.cdi.core.JettyLogFactory not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:10:00 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.NamedLiteral because of underlying class loading error: Type org.eclipse.jetty.cdi.core.NamedLiteral not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:10:00 AM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
      INFO: WELD-000119: Not generating any bean definitions from org.eclipse.jetty.cdi.core.AnyLiteral because of underlying class loading error: Type org.eclipse.jetty.cdi.core.AnyLiteral not found.  If this is unexpected, enable DEBUG logging to see the full error.
      Dec 23, 2016 8:10:00 AM org.jboss.weld.environment.jetty.JettyContainer initialize
      INFO: WELD-ENV-001200: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
      2016-12-23 08:10:00.367:INFO:oejsh.ContextHandler:Thread-11: Started o.e.j.w.WebAppContext@69394d4c{/cargocpc,file:///private/var/folders/sh/b7mq601551q4q1wl_td10v440000gn/T/jetty-0.0.0.0-54325-cargocpc.war-_cargocpc-any-6514280319465228628.dir/webapp/,AVAILABLE}{/Users/alitokmen/Documents/Work/CARGO/cargo/core/samples/java/target/jetty9x/embedded/WarAuthenticationTest/testExecutionWithAuthenticatedWar/container/cargocpc.war}
      2016-12-23 08:10:00.386:INFO:oejs.AbstractConnector:Thread-11: Started ServerConnector@631cb6e9{HTTP/1.1,[http/1.1]}{0.0.0.0:54325}
      2016-12-23 08:10:00.387:INFO:oejs.Server:Thread-11: Started @13708ms
      2016-12-23 08:10:00.768:INFO:oejs.AbstractConnector:Thread-37: Stopped ServerConnector@631cb6e9{HTTP/1.1,[http/1.1]}{0.0.0.0:54325}
      2016-12-23 08:10:00.769:INFO:oejs.session:Thread-37: Stopped scavenging
      2016-12-23 08:10:00.801:INFO:oejsh.ContextHandler:Thread-37: Stopped o.e.j.w.WebAppContext@69394d4c{/cargocpc,null,UNAVAILABLE}{/Users/alitokmen/Documents/Work/CARGO/cargo/core/samples/java/target/jetty9x/embedded/WarAuthenticationTest/testExecutionWithAuthenticatedWar/container/cargocpc.war}
      2016-12-23 08:10:00.809:INFO:oejsh.ContextHandler:Thread-37: Stopped o.e.j.w.WebAppContext@1f1deea3{/authentication-war,file:///private/var/folders/sh/b7mq601551q4q1wl_td10v440000gn/T/jetty-0.0.0.0-54325-authentication-war.war-_authentication-war-any-2596047564986899348.dir/webapp/,UNAVAILABLE}{/Users/alitokmen/Documents/Work/CARGO/cargo/core/samples/java/target/deployables/authentication-war.war}
      Exception in thread "Thread-37" org.codehaus.cargo.container.ContainerException: Failed to stop the Jetty container
      	at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:109)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:85)
      Caused by: java.lang.IllegalStateException: Singleton not set for STATIC_INSTANCE => []
      	at org.jboss.weld.bootstrap.api.helpers.RegistrySingletonProvider$RegistrySingleton.get(RegistrySingletonProvider.java:28)
      	at org.jboss.weld.Container.instance(Container.java:63)
      	at org.jboss.weld.bootstrap.WeldRuntime.shutdown(WeldRuntime.java:77)
      	at org.jboss.weld.bootstrap.WeldBootstrap.shutdown(WeldBootstrap.java:113)
      	at org.jboss.weld.environment.servlet.WeldServletLifecycle$3.run(WeldServletLifecycle.java:247)
      	at org.jboss.weld.environment.servlet.WeldServletLifecycle.destroy(WeldServletLifecycle.java:258)
      	at org.jboss.weld.environment.servlet.EnhancedListener.contextDestroyed(EnhancedListener.java:85)
      	at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:873)
      	at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:545)
      	at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:848)
      	at org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:355)
      	at org.eclipse.jetty.webapp.WebAppContext.stopWebapp(WebAppContext.java:1486)
      	at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1450)
      	at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:902)
      	at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:271)
      	at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:564)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
      	at org.eclipse.jetty.server.Server.doStop(Server.java:523)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	... 5 more
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.codehaus.cargo.container.jetty.internal.JettyExecutorThread.run(JettyExecutorThread.java:85)
      Caused by: java.lang.IllegalStateException: Singleton not set for STATIC_INSTANCE => []
      	at org.jboss.weld.bootstrap.api.helpers.RegistrySingletonProvider$RegistrySingleton.get(RegistrySingletonProvider.java:28)
      	at org.jboss.weld.Container.instance(Container.java:63)
      	at org.jboss.weld.bootstrap.WeldRuntime.shutdown(WeldRuntime.java:77)
      	at org.jboss.weld.bootstrap.WeldBootstrap.shutdown(WeldBootstrap.java:113)
      	at org.jboss.weld.environment.servlet.WeldServletLifecycle$3.run(WeldServletLifecycle.java:247)
      	at org.jboss.weld.environment.servlet.WeldServletLifecycle.destroy(WeldServletLifecycle.java:258)
      	at org.jboss.weld.environment.servlet.EnhancedListener.contextDestroyed(EnhancedListener.java:85)
      	at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:873)
      	at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:545)
      	at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:848)
      	at org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:355)
      	at org.eclipse.jetty.webapp.WebAppContext.stopWebapp(WebAppContext.java:1486)
      	at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1450)
      	at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:902)
      	at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:271)
      	at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:564)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
      	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
      	at org.eclipse.jetty.server.Server.doStop(Server.java:523)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      	... 5 more
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.057 sec - in org.codehaus.cargo.sample.java.WarAuthenticationTest
      

        Attachments

          Activity

            People

            • Assignee:
              alitokmen S. Ali Tokmen
              Reporter:
              alitokmen S. Ali Tokmen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: