[ 
https://issues.apache.org/jira/browse/OWB-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881351#action_12881351
 ] 

Mark Struberg commented on OWB-400:
-----------------------------------

seems like scannotation cannot handle OSGi bundles but exists with the 
exception above.

Scannotation seems not to be maintained anymore, so there is no quick way to 
get a fix in.

Only viable solution seems to ditch scannotation and use xbean-finder or some 
similar product instead.


> starting OWB as part of an EAR in geronimo causes a exception due to missing 
> 'bundle' protocol
> ----------------------------------------------------------------------------------------------
>
>                 Key: OWB-400
>                 URL: https://issues.apache.org/jira/browse/OWB-400
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: M4
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.0-CR2
>
>
> The following Exception occurs when trying to deploy an EAR with OWB in 
> geronimo:
> 2010-06-22 18:14:05,746 ERROR [WebScannerService] ERROR_0002
> java.io.IOException: Unable to scan directory of protocol: bundle
>         at 
> org.scannotation.archiveiterator.IteratorFactory.create(IteratorFactory.java:39)
>         at org.scannotation.AnnotationDB.scanArchives(AnnotationDB.java:291)
>         at 
> org.apache.webbeans.web.scanner.WebScannerService.configure(WebScannerService.java:65)
>         at 
> org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:74)
>         at 
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:117)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to