You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2009/11/03 22:43:32 UTC
[jira] Commented: (UIMA-1648) UIMA AS lib path contains duplicate
entries
[ https://issues.apache.org/jira/browse/UIMA-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773219#action_12773219 ]
Marshall Schor commented on UIMA-1648:
--------------------------------------
The startup common script sets 3 env vars for lib path - one for PATH, one for LD_LIBRARY_PATH, and one for DYLD_LIBRARY_PATH. The listing shown comes from the JMX bean ManagementFactory.getRuntimeMXBean(), which is equavalent to the System property java.library.path. It's possible that the java startup uses all of these environment variables to set up this path.
That would account for 3 copies, but I count 8 copies. So I don't know where the others are coming from, unless they are already a part of the PATH, LIBRARY_PATH or DYLD_LIBRARY_PATH variables in your setup.
Can you post what the values of these variables are when the script is run?
> UIMA AS lib path contains duplicate entries
> -------------------------------------------
>
> Key: UIMA-1648
> URL: https://issues.apache.org/jira/browse/UIMA-1648
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Affects Versions: 2.3AS
> Reporter: Jörn Kottmann
> Priority: Minor
> Fix For: 2.3AS
>
>
> After starting with deployAsyncService.sh the LIB_PATH is traced to the console,
> but it contains the same entries over and over again:
> + JVM LIB_PATH:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/../lib/amd64:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src:/home/uadmin/apache-uima-asNEW/uimacpp/lib:/home/uadmin/apache-uima-asNEW/uimacpp/examples/tutorial/src::/usr/java/packages/lib/amd64:/lib:/usr/lib
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.