harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene S. Ostrovsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3283) [drlvm] Incomplete library search path
Date Tue, 03 Apr 2007 07:52:32 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486257
] 

Eugene S. Ostrovsky commented on HARMONY-3283:
----------------------------------------------

Added patches:
  H3283-Regression-test.patch
  H3283-Fix-v2.patch

Regression test and second revision of the issue fix.
According to Pavel's suggestion default value for vm.boot.library.path includes the value
of org.apache.harmony.vm.vmdir property.

> [drlvm] Incomplete library search path
> --------------------------------------
>
>                 Key: HARMONY-3283
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3283
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Varlamov
>         Attachments: H3283-Fix-v2.patch, H3283-Fix-v2.patch, H3283-Fix.patch, H3283-Regression-test.patch
>
>
> The DRLVM fails to start in server mode if custom java.library.path is specified:
> > ./java -Djava.library.path=mypath -Xem:server Hello 
> Internal error: java.lang.VMStart.initialize() method completed with an exception. 
> java/lang/UnsatisfiedLinkError : Can not find the library: libgc_cc.so
>  at java.lang.Runtime.loadLibrary0 (Runtime.java: 806)
>  at java.lang.System.loadLibrary (System.java: -1)
>  at org.apache.harmony.drlvm.gc_cc.GCHelper.<clinit> (GCHelper.java: 29)
>  at java.lang.VMClassRegistry.initializeClass (VMClassRegistry.java: -2)
>  at java.lang.Class.forName (Class.java: 160)
>  at java.lang.Class.forName (Class.java: 128)
>  at java.lang.VMStart.parseSystemProperties (VMStart.java: 65)
>  at java.lang.VMStart.initialize (VMStart.java: 45)
> HMYEXEL062E Internal VM error: Failed to create Java VM
> FAILED to invoke JVM.
> Seems that "vm.boot.library.path" has incomplete value; it includes bin directory only
but should also include bin/default (or whatever %VMDIR% is).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message