com.sun.enterprise.container.common.spi.util.InjectionException: No > descriptor registered for current invocation : > com.sun.enterprise.web.WebComponentInvocation@46ffc795 > at > com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.invokeInstancePreDestroy(InjectionManagerImpl.java:239) > at > com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:354) > at > com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:175) > at > com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:139) > at > org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1509) > at > org.apache.catalina.core.StandardContext.contextListenerStop(StandardContext.java:4754) > at > org.apache.catalina.core.StandardContext.stop(StandardContext.java:5469) >

Oracle Community | porschberg | 6 years ago
  1. 0

    exception on deployment with --verify option

    Oracle Community | 6 years ago | porschberg
    com.sun.enterprise.container.common.spi.util.InjectionException: No > descriptor registered for current invocation : > com.sun.enterprise.web.WebComponentInvocation@46ffc795 > at > com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.invokeInstancePreDestroy(InjectionManagerImpl.java:239) > at > com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:354) > at > com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:175) > at > com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:139) > at > org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1509) > at > org.apache.catalina.core.StandardContext.contextListenerStop(StandardContext.java:4754) > at > org.apache.catalina.core.StandardContext.stop(StandardContext.java:5469) >
  2. 0

    @Resource(name="jdbc/__default") has NameNotFoundException in a cluster env on v3.1 build 11 (glassfish-3.1-b11.zip) The same tests passed on v3.1 build 10. To reproduce the issue: Set up sqe test env based on http://agni-1.sfbay.sun.com/JSPWiki/Wiki.jsp?page=SQECoreFULL use "ant -f bootstrap.xml co-jsf" to get test source. 1) start derby and a cluster of 2 local instances % setenv ENABLE_REPLICATION true % cd $SPS_HOME % ant startDerby % ant setup-cluster-profile 2) reproduce the jsf failure % cd $SPS_HOME/pe/jsf/jsf1_2_injections % ant ee build deploy access url http://localhost:18080/jsfinjection-testapp/jsfHello.jsf and see error root cause javax.naming.NamingException: Lookup failed for 'java:comp/env/jdbc/__default' in SerialContext [Root exception is javax.naming.NamingException: Lookup failed for 'jdbc/__default' in SerialContext [Root exception is javax.naming.NameNotFoundException: __default not found]] The related code section is in TestBean.java package test; import javax.annotation.*; import javax.sql.DataSource; public class TestBean { @Resource(name="jdbc/__default") private DataSource ds; For tomcat failure, use "ant -f bootstrap.xml co-tomcat" to get test source. % cd $SPS_HOME/pe/tomcat/servlet/product_test/servlet2_5/annotations % ant ee bat See similar error: javax.naming.NamingException: Lookup failed for 'java:comp/env/myfilter.MyFilter/ds1' in SerialContext [Root exception is javax.naming.NamingException: Lookup failed for 'jdbc/__default' in SerialContext [Root exception is javax.naming.NameNotFoundException: __default

    Java.net JIRA | 6 years ago | sherryshen
    com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class test.FilterTest at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:313)
  3. 0

    OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish 3.1)

    Oracle Community | 5 years ago | okna2000
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish 3.1) | Java.net

    java.net | 1 year ago
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
  6. 0

    Glassfish crashes on facelet refresh only if faces-config.xml is present

    Stack Overflow | 2 years ago
    com.sun.enterprise.container.common.spi.util.InjectionException: No descriptor registered for current invocation : org.glassfish.api.invocation.ComponentInvocation@1a40d20

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.enterprise.container.common.spi.util.InjectionException

      No > descriptor registered for current invocation : > com.sun.enterprise.web.WebComponentInvocation@46ffc795 > at > com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.invokeInstancePreDestroy(InjectionManagerImpl.java:239) > at > com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.destroyManagedObject(InjectionManagerImpl.java:354) > at > com.sun.web.server.WebContainerListener.preDestroy(WebContainerListener.java:175) > at > com.sun.web.server.WebContainerListener.containerEvent(WebContainerListener.java:139) > at > org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1509) > at > org.apache.catalina.core.StandardContext.contextListenerStop(StandardContext.java:4754) > at > org.apache.catalina.core.StandardContext.stop(StandardContext.java:5469) >

      at com.sun.enterprise.web.WebModule.stop()
    2. Glassfish
      WebModule.stop
      1. com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
      1 frame