[ https://issues.apache.org/jira/browse/OWB-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John D. Ament resolved OWB-1201. -------------------------------- Resolution: Invalid Alright, this one's my fault. I didn't properly take into account the scanning fix from OWB-1199 so when I worked around it locally I missed a step. It's all good now. > OWB Not discovering JARs in a Capsule packaged JAR > -------------------------------------------------- > > Key: OWB-1201 > URL: https://issues.apache.org/jira/browse/OWB-1201 > Project: OpenWebBeans > Issue Type: Bug > Reporter: John D. Ament > > Note: this may be the root of OWB-1200 > OWB doesn't seem to discover JARs within a capsule JAR. I package my app > using a bunch of dependencies, and wrap it in a capsule JAR to simplify > deployment (rather than having all of the JARs dumped out onto the file > system). > I noticed when using OWB 1.7.3 I get this output when starting: > {code} > Jul 15, 2017 10:41:55 PM org.apache.webbeans.lifecycle.AbstractLifeCycle > bootstrapApplication > INFO: OpenWebBeans Container is starting... > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/hammock-microprofile-1.0-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/deltaspike-core-api-1.8.0.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/deltaspike-core-impl-1.8.0.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/util-brave-1.5-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/web-spi-1.5-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/hammock-core-1.5-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/rest-cxf-1.5-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/web-tomcat-1.5-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/util-metrics-1.5-SNAPSHOT.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cxf-integration-cdi-3.1.12.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-cdi-1.3.6.jar!/META-INF/beans.xml > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/joda-time-2.9.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/swagger-annotations-1.5.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/swagger-models-1.5.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/jackson-dataformat-yaml-2.8.4.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cxf-rt-transports-http-3.1.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/validation-api-1.1.0.Final.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/johnzon-mapper-1.1.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-annotation-3.2.3.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/swagger-jaxrs-1.5.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/johnzon-jaxrs-1.1.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/brave-jaxrs2-4.5.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/classmate-1.3.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/jackson-core-2.8.4.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-json-3.2.3.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/annotations-2.0.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/hibernate-validator-cdi-5.4.1.Final.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/swagger-core-1.5.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/brave-core-4.5.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/johnzon-core-1.1.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/profiler-1.0.2.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/stax2-api-3.1.4.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/util-beanvalidation-1.5-SNAPSHOT.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/hibernate-validator-5.4.1.Final.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cxf-rt-frontend-jaxrs-3.1.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/xmlschema-core-2.2.2.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/bootstrap-owb-1.5-SNAPSHOT.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/jboss-logging-3.3.1.Final.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cxf-rt-rs-client-3.1.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/snakeyaml-1.15.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-servlets-3.2.3.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/brave-web-servlet-filter-4.5.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cxf-rt-rs-service-description-swagger-3.1.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/dist-microprofile-cochise-1.5-SNAPSHOT.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/zipkin-reporter-0.10.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/brave-http-4.5.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/jackson-annotations-2.8.4.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/jackson-databind-2.8.4.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/woodstox-core-asl-4.4.1.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/zipkin-1.24.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/reflections-0.9.10.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-healthchecks-3.2.3.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cxf-core-3.1.12.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/cdi-api-2.0.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-jvm-3.2.3.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/metrics-core-3.2.3.jar > Jul 15, 2017 10:41:55 PM > org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery > addWebBeansXmlLocation > INFO: added beans archive URL: > file:/Users/johnament/src/hammock-examples/hammock-microprofile/target/hammock-microprofile-1.0-SNAPSHOT-capsule.jar > Jul 15, 2017 10:41:55 PM org.apache.deltaspike.core.util.ProjectStageProducer > initProjectStage > INFO: Computed the following DeltaSpike ProjectStage: Production > 22:41:55.912 [main] INFO org.hibernate.validator.internal.util.Version - > HV000001: Hibernate Validator 5.4.1.Final > Jul 15, 2017 10:41:56 PM org.apache.webbeans.config.BeansDeployer > configureInterceptors > WARNING: Interceptor class : > org.apache.deltaspike.core.impl.throttling.ThrottledInterceptor is already > defined > Jul 15, 2017 10:41:56 PM org.apache.webbeans.config.BeansDeployer > configureInterceptors > WARNING: Interceptor class : > org.apache.deltaspike.core.impl.lock.LockedInterceptor is already defined > Jul 15, 2017 10:41:56 PM org.apache.webbeans.config.BeansDeployer > configureInterceptors > WARNING: Interceptor class : > org.apache.deltaspike.core.impl.future.FutureableInterceptor is already > defined > Jul 15, 2017 10:41:56 PM org.apache.webbeans.config.BeansDeployer > validateInjectionPoints > INFO: All injection points were validated successfully. > Jul 15, 2017 10:41:56 PM org.apache.cxf.endpoint.ServerImpl initDestination > INFO: Setting the server's publish address to be / > 22:41:56.890 [main] INFO org.reflections.Reflections - Reflections took 27 > ms to scan 1 urls, producing 22 keys and 25 values > {code} > Its picking up all of the JARs. However, when I run with the SeContainer in > OWB2, this is all I see > {code} > Jul 15, 2017 10:30:59 PM > org.apache.deltaspike.core.impl.config.EnvironmentPropertyConfigSourceProvider > <init> > INFO: Custom config found by DeltaSpike. Name: 'hammock.properties', URL: > 'jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/hammock-microprofile-1.0-SNAPSHOT.jar!/hammock.properties' > Jul 15, 2017 10:30:59 PM > org.apache.deltaspike.core.impl.config.EnvironmentPropertyConfigSourceProvider > <init> > INFO: Custom config found by DeltaSpike. Name: 'hammock.properties', URL: > 'jar:file:/Users/johnament/.capsule/apps/hammock-microprofile-1.0-SNAPSHOT-capsule/web-spi-1.5-SNAPSHOT.jar!/hammock.properties' > Jul 15, 2017 10:30:59 PM org.apache.webbeans.lifecycle.AbstractLifeCycle > bootstrapApplication > INFO: OpenWebBeans Container is starting... > Jul 15, 2017 10:30:59 PM org.apache.deltaspike.core.util.ProjectStageProducer > initProjectStage > INFO: Computed the following DeltaSpike ProjectStage: Production > 22:30:59.768 [main] INFO org.hibernate.validator.internal.util.Version - > HV000001: Hibernate Validator 5.4.1.Final > Jul 15, 2017 10:30:59 PM org.apache.webbeans.config.BeansDeployer > validateInjectionPoints > INFO: All injection points were validated successfully. > Exception in thread "main" > org.apache.webbeans.exception.WebBeansDeploymentException: Error while > sending SystemEvent to a CDI Extension! > org.apache.webbeans.portable.events.discovery.AfterDeploymentValidationImpl@46271dd6 > at > org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:749) > at > org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:494) > at > org.apache.webbeans.container.BeanManagerImpl.fireLifecycleEvent(BeanManagerImpl.java:489) > at > org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:847) > at > org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:343) > at > org.apache.webbeans.lifecycle.AbstractLifeCycle.bootstrapApplication(AbstractLifeCycle.java:137) > at > org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:103) > at > org.apache.openwebbeans.se.OWBInitializer.newContainer(OWBInitializer.java:107) > at > org.apache.openwebbeans.se.OWBInitializer.initialize(OWBInitializer.java:91) > at > org.apache.openwebbeans.se.SeInitializerFacade.initialize(SeInitializerFacade.java:137) > at > ws.ament.hammock.bootstrap.owb.OWBBootstrapper.start(OWBBootstrapper.java:39) > at ws.ament.hammock.Bootstrap.main(Bootstrap.java:35) > at > ws.ament.hammock.example.canonical.RestApplication.main(RestApplication.java:31) > Caused by: org.apache.webbeans.exception.WebBeansException: > java.lang.IllegalStateException: Could not find beans for Type=class > ws.ament.hammock.web.spi.StartWebServer and qualifiers:[] > at > org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:366) > at > org.apache.webbeans.event.NotificationManager.invokeObserverMethod(NotificationManager.java:832) > at > org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:732) > ... 12 more > Caused by: java.lang.IllegalStateException: Could not find beans for > Type=class ws.ament.hammock.web.spi.StartWebServer and qualifiers:[] > at > org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:153) > at > ws.ament.hammock.web.extension.StartWebServerExtension.startWebTier(StartWebServerExtension.java:31) > 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.apache.webbeans.event.ObserverMethodImpl.invoke(ObserverMethodImpl.java:399) > at > org.apache.webbeans.event.ContainerEventObserverMethodImpl.invoke(ContainerEventObserverMethodImpl.java:83) > at > org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:360) > ... 14 more > {code} > And as you can see, it can't find my bean classes (but it does seem to find > extensions OK). > Note that I included a work around for OWB-1199 that looks like this > {code} > public class HammockScannerService extends CDISeScannerService { > @Override > protected void configure() { > registerBeanArchives(loader); > super.configure(); > } > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)