You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/03/02 11:08:50 UTC

[jira] Created: (HARMONY-3283) [drlvm] Incomplete library search path

[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


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.


[jira] Commented: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486323 ] 

Alexey Varlamov commented on HARMONY-3283:
------------------------------------------

The last patch looks good, will test and commit next day. I'd also suggest to eliminate that zoo of duplicated properties, but this could go to separate JIRA.

> [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.


[jira] Updated: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov updated HARMONY-3283:
-------------------------------------

    Patch Info: [Patch Available]

> [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.


[jira] Updated: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene S. Ostrovsky updated HARMONY-3283:
-----------------------------------------

    Attachment: H3283-Fix-v2.patch

> [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.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.


[jira] Commented: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486375 ] 

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

HARMONY-3533 could also be committed with this one.

> [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.


[jira] Commented: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477253 ] 

Alexey Varlamov commented on HARMONY-3283:
------------------------------------------

BTW, it appears the "default" name is hardcoded in several places: 
vm/vmcore/src/init/vm_properties.cpp
build\make\harmonyvm.properties

> [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
>
> 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.


[jira] Updated: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene S. Ostrovsky updated HARMONY-3283:
-----------------------------------------

    Attachment: H3283-Fix-v2.patch

> [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.


[jira] Updated: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene S. Ostrovsky updated HARMONY-3283:
-----------------------------------------

    Attachment: H3283-Fix.patch

Added patch:
  H3283-Fix.patch

Fixes the issue.
Regression test will be added tomorrow.

> [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
>         Attachments: H3283-Fix.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.


[jira] Commented: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484887 ] 

Pavel Pervov commented on HARMONY-3283:
---------------------------------------

I have one concern.

We have the property 'org.apache.harmony.vm.vmdir' which points to the place where VM is really located. The value of this property should be added to 'vm.boot.library.path' instead of '<launcher-dir>/default'. Otherwise, if VM is not located in default directory, we'll have the same problem.

> [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
>         Attachments: H3283-Fix.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.


[jira] Assigned: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-3283:
----------------------------------------

    Assignee: Alexey Varlamov

> [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.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.


[jira] Closed: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov closed HARMONY-3283.
------------------------------------

    Resolution: Fixed

Integrated at r525490, thanks!

> [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.


[jira] Updated: (HARMONY-3283) [drlvm] Incomplete library search path

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene S. Ostrovsky updated HARMONY-3283:
-----------------------------------------

    Attachment: H3283-Regression-test.patch

> [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.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.