BDA scanning via isBDABeansXmlScanningEnabled

2014-05-11 Thread Mark Struberg
Hi folks!

The current impl of isBDABeansXmlScanningEnabled() is pretty much 
disfunctional. 
This has to do that the BDA specification in CDI-1.1 is not as clear as it 
should be.

To get this straight: the BDA is not about specific JARs but rather about the 
'modularization'. Means it's all about ClassLoaders.
If you have an EAR with 3 WARs then we should have 4 BeanManager. One for the 
ear/lib and one for each WAR file which *delegate* to the 'parent' BeanManager. 
And the BDA granularity in practice can also only work on this level.

While cleaning up the AlternativesManager, I also gonna remove this briken 
isBDABeansXmlScanningEnabled approach from where ever I find it along the way.



LieGrue,
strub


Re: BDA scanning via isBDABeansXmlScanningEnabled

2014-05-11 Thread Eric Covener
On Sun, May 11, 2014 at 4:55 PM, Mark Struberg strub...@yahoo.de wrote:
 The current impl of isBDABeansXmlScanningEnabled() is pretty much 
 disfunctional.
 This has to do that the BDA specification in CDI-1.1 is not as clear as it 
 should be.

+1.  IMO even if 1.1 is still unclear, it stil seems to have distanced
itself from isBDABeansXmlScanningEnabled() style BDA relative to 1.0.


Re: BDA scanning via isBDABeansXmlScanningEnabled

2014-05-11 Thread Romain Manni-Bucau
+1


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-11 23:22 GMT+02:00 Eric Covener cove...@gmail.com:
 On Sun, May 11, 2014 at 4:55 PM, Mark Struberg strub...@yahoo.de wrote:
 The current impl of isBDABeansXmlScanningEnabled() is pretty much 
 disfunctional.
 This has to do that the BDA specification in CDI-1.1 is not as clear as it 
 should be.

 +1.  IMO even if 1.1 is still unclear, it stil seems to have distanced
 itself from isBDABeansXmlScanningEnabled() style BDA relative to 1.0.


Re: [VOTE] [RESULT] Release Apache OpenWebBeans-1.2.4

2014-05-11 Thread Jean-Louis MONTEIRO
You forgot mine, but not a big deal, enough binding +1

Jean-Louis


2014-05-08 12:51 GMT-07:00 Mark Struberg strub...@yahoo.de:

 Hi!

 The VOTE did pass with the following


 +1: David Blevins, Thomas Andraschko, Karl Kilden, Romain Manni-Bucau,
 Mark Struberg.
 No -1 nor 0.


 Gonna propagate the artifacts.

 LieGrue,
 strub

 On Thursday, 8 May 2014, 20:54, David Blevins david.blev...@gmail.com
 wrote:

 +1 and thank you!!
 
 
 
 On May 1, 2014, at 2:14 PM, Mark Struberg strub...@yahoo.de wrote:
 
 
 
  I'd like to call a VOTE on releasing Apache OpenWebBeans-1.2.4 .
 
  This is a maintenance release of the owb_1.2.x branch and targets the
 CDI-1.0 specification.
 
  The ReleaseNotes are available online:
 
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310844version=12326813
 
  Maven staging repo:
 
 https://repository.apache.org/content/repositories/orgapacheopenwebbeans-1003/
 
 
  SVN source tag:
 
  https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.2.4/
 
 
  Source Release:
 
 http://repository.apache.org/content/repositories/orgapacheopenwebbeans-1003/org/apache/openwebbeans/openwebbeans/1.2.4/openwebbeans-1.2.4-source-release.zip
 
 
  Binary release:
 
 
 http://repository.apache.org/content/repositories/orgapacheopenwebbeans-1003/org/apache/openwebbeans/openwebbeans-distribution/1.2.4/openwebbeans-distribution-1.2.4-binary.zip
 
 
  PGP release key 2FDB81B1
 
  http://svn.apache.org/repos/asf/openwebbeans/trunk/KEYS
 
 
  The VOTE will be open for 72 hours.
  [ ] +1 approve
  [ ] +0 no opinion
  [ ] -1 veto (and reason why)
 
 
 
  Here is my +1
 
 
  LieGrue,
  strub
 
 
 




-- 
Jean-Louis


[jira] [Created] (OWB-953) Bean scanning doesn't work in Websphere 7

2014-05-11 Thread JIRA
Pierre-François Garcia created OWB-953:
--

 Summary: Bean scanning doesn't work in Websphere 7
 Key: OWB-953
 URL: https://issues.apache.org/jira/browse/OWB-953
 Project: OpenWebBeans
  Issue Type: Bug
  Components: Java EE Integration
Affects Versions: 1.2.2
 Environment: Websphere 7
Reporter: Pierre-François Garcia


Same as https://issues.apache.org/jira/browse/OWB-577  (I can't reopen it) : on 
Websphere 7, the library xbean-finder, used by OWB to scan the jars, doesn't 
recognize the wsjar: protocol of Websphere ClassLoader.

Exception Stack : 
org.apache.webbeans.exception.WebBeansDeploymentException: 
java.lang.UnsupportedOperationException: unsupported archive type: 
wsjar:file:/C:/Users/PB00169/Documents/workspaces75/xsgil/EmployeeListWeb/WebContent/WEB-INF/lib/jsgiltypes-1.1-SNAPSHOT.jar!/
at 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:121)
at 
org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:122)
at 
org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:89)
at 
org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:86)
at 
com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1678)
at 
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:371)
at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:298)
at 
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
at 
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
at 
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
at 
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315)
at 
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:619)
at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2046)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
at 
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:110)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:949)
at 
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Caused by: java.lang.UnsupportedOperationException: unsupported archive type: 
wsjar:file:/C:/Users/PB00169/Documents/workspaces75/xsgil/EmployeeListWeb/WebContent/WEB-INF/lib/jsgiltypes-1.1-SNAPSHOT.jar!/
at 
org.apache.xbean.finder.archive.ClasspathArchive.archive(ClasspathArchive.java:87)
at 
org.apache.webbeans.corespi.scanner.xbean.CdiArchive.init(CdiArchive.java:63)
at 
org.apache.webbeans.web.scanner.WebScannerService.initFinder(WebScannerService.java:82)
at 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:117)
... 25 more






--
This message was sent by Atlassian JIRA
(v6.2#6252)