[
https://issues.apache.org/jira/browse/OODT-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362870#comment-15362870
]
Chris A. Mattmann commented on OODT-929:
----------------------------------------
I verified this and added a test. I can't get OODT to build without skipping
javadoc and tests (cas-protocol ones fail for me locally):
{noformat}
[INFO] CAS Push-Pull-Framework ............................ SUCCESS [ 8.367 s]
[INFO] Product Service .................................... SUCCESS [ 0.076 s]
[INFO] Profile Service .................................... SUCCESS [ 0.422 s]
[INFO] OODT Web Grid ...................................... SUCCESS [ 3.733 s]
[INFO] XML-configured, DBMS-based Product and Profile Server SUCCESS [ 0.327 s]
[INFO] Apache OODT Configurable OPeNDAP Profile Server .... SUCCESS [ 12.198 s]
[INFO] CAS File Manager Browser Web App ................... SUCCESS [ 3.234 s]
[INFO] CAS Product Server Web Application ................. SUCCESS [ 3.704 s]
[INFO] CAS Workflow Manager Monitor Web App ............... SUCCESS [ 1.000 s]
[INFO] Catalog and Archive File Management Browser ........ SUCCESS [ 0.171 s]
[INFO] Catalog and Archive Workflow Management GUI Editor . SUCCESS [ 2.308 s]
[INFO] Process Control System Operator Interface Webapp ... SUCCESS [ 7.059 s]
[INFO] OODT Process Control System JAX-RS service layer ... SUCCESS [ 2.970 s]
[INFO] Apache OODT ........................................ SUCCESS [ 0.009 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:42 min
[INFO] Finished at: 2016-07-05T10:53:11-07:00
[INFO] Final Memory: 81M/1591M
[INFO] ------------------------------------------------------------------------
LMC-053601:oodt mattmann$
{noformat}
> EnvUtilities should only load environment variables one time and statically
> cache them
> --------------------------------------------------------------------------------------
>
> Key: OODT-929
> URL: https://issues.apache.org/jira/browse/OODT-929
> Project: OODT
> Issue Type: Bug
> Components: commons
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> On BigTranslate (and on other projects for years), just getting the
> environment variable sand resolving them in EnvUtilities can leave a TON of
> open file handles. We should only load env variables once statically per JVM
> and then get the cached version after that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)