You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (Commented) (JIRA)" <ji...@apache.org> on 2012/02/20 19:11:34 UTC

[jira] [Commented] (OPENEJB-1783) Sometimes the list of URLs is too large when searching for annotated classes.

    [ https://issues.apache.org/jira/browse/OPENEJB-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212014#comment-13212014 ] 

Romain Manni-Bucau commented on OPENEJB-1783:
---------------------------------------------

it can easily be done adding to default.exclusions the good string or hardcoded in org.apache.openejb.config.NewLoaderLogic#applyBuiltinExcludes
                
> Sometimes the list of URLs is too large when searching for annotated classes.
> -----------------------------------------------------------------------------
>
>                 Key: OPENEJB-1783
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1783
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Alan Cabrera
>            Assignee: Alan Cabrera
>
> There's no need to search the Java libraries and OpenEJB jars for user CLI extensions.  Some of the system jars are *huge* and causes an OOM error when scanning is performed.
> Create {{URLs.cullSystemAndOpenEJBJars(urls)}} and {{URLs.cullSystemJars(urls)}} which can be shared by other bits of code which seem to be cookie cutting this logic.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira