[
https://issues.apache.org/jira/browse/OWB-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881561#action_12881561
]
Gurkan Erdogdu commented on OWB-400:
------------------------------------
>>>Only viable solution seems to ditch scannotation and use xbean-finder or
>>>some similar product instead.
Or you change this internal URLS to actual URLS that our code understands.
bundle://319.9:9 --> file :// etc...
This is the reason why Scanning provided as SPI. If you want to chage scanning,
implement your own scanning using any other library and use it instead of
chaning the current scanning using scannotation.
> 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.