[
https://issues.apache.org/jira/browse/OWB-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881587#action_12881587
]
Mark Struberg commented on OWB-400:
-----------------------------------
Sadly there is no standard way to get the 'internal' URL from an OSGi
ClassLoader. Those jars might come from a filesystem but also from a database.
Sure we might simply implement another Scanner for geronimo-3 using the SPI,
but my point is that scannotation
* is not maintained anymore
* is not an apache project
* it has several reported (and not fixed) issues
* with no progress, and it is
* basically dead since early 2008.
Also, we will face more and more OSGi classloaders in the not so far future ;)
So, after alpha-1, we should imo try to generally replace scannotation with
another attempt.
> 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.