Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-513

proxies should be inactive after a container shutdown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.2.0
    • Component/s: Injection and Lookup
    • Labels:
      None

      Description

      something like the exception below might happen if WebBeansConfigurationListener#contextDestroyed gets called before other listeners.

      SEVERE: Error while loading the propertyFile META-INF/openwebbeans/openwebbeans.properties
      java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(ZipFile.java:114)
      at java.util.jar.JarFile.<init>(JarFile.java:135)
      at java.util.jar.JarFile.<init>(JarFile.java:72)
      at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
      at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
      at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70)
      at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
      at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
      at java.net.URL.openStream(URL.java:1010)
      at org.apache.webbeans.config.PropertyLoader.loadAllProperties(PropertyLoader.java:115)
      at org.apache.webbeans.config.PropertyLoader.getProperties(PropertyLoader.java:75)
      at org.apache.webbeans.config.OpenWebBeansConfiguration.parseConfiguration(OpenWebBeansConfiguration.java:216)
      at org.apache.webbeans.config.OpenWebBeansConfiguration.<init>(OpenWebBeansConfiguration.java:128)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.apache.webbeans.corespi.DefaultSingletonService.getSingletonInstance(DefaultSingletonService.java:89)
      at org.apache.webbeans.corespi.DefaultSingletonService.get(DefaultSingletonService.java:201)
      at org.apache.webbeans.config.WebBeansFinder.getSingletonInstance(WebBeansFinder.java:57)
      at org.apache.webbeans.config.WebBeansFinder.getSingletonInstance(WebBeansFinder.java:52)
      at org.apache.webbeans.config.OpenWebBeansConfiguration.getInstance(OpenWebBeansConfiguration.java:120)
      at org.apache.webbeans.corespi.ServiceLoader.getService(ServiceLoader.java:54)
      at org.apache.webbeans.context.ContextFactory.getContextsService(ContextFactory.java:81)
      at org.apache.webbeans.context.ContextFactory.getStandardContext(ContextFactory.java:261)
      at org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:281)
      at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:124)
      at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95)
      at org.javassist.tmp.java.lang.Object_$$javassist_23.toString(Object$$_javassist_23.java)
      at org.apache.catalina.loader.WebappClassLoader.clearThreadLocalMap(WebappClassLoader.java:2193)
      at org.apache.catalina.loader.WebappClassLoader.clearReferencesThreadLocals(WebappClassLoader.java:2126)
      at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1746)
      at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1658)
      at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:710)
      at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4649)

        Attachments

          Activity

            People

            • Assignee:
              struberg Mark Struberg
              Reporter:
              gpetracek Gerhard Petracek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: