JNA error on AIX

28 views
Skip to first unread message

Yanming Li

unread,
Mar 4, 2015, 8:03:56 PM3/4/15
to project-...@googlegroups.com
Hi,
Does anybody know how to fix JNAUtils error on AIX?
I have the following  configurations:
AIX powerpc
IBM java 8
voldemort 1.6.0

thanks

See error:

2015-03-04 18:16:45,953 [main] INFO  - Could not locate JNA classes
2015-03-04 18:16:45,954 [main] ERROR -
java.lang.UnsatisfiedLinkError: voldemort/utils/JNAUtils.mlockall(I)I
        at voldemort.utils.JNAUtils.tryMlockall(JNAUtils.java:51)
        at voldemort.server.VoldemortServer.startInner(VoldemortServer.java:328)
        at voldemort.common.service.AbstractService.start(AbstractService.java:62)
        at com.emeter.eidg.voldemort.VoldemortEipDataGridServerImpl.start(VoldemortEipDataGridServerImpl.java:123)
        at com.emeter.hydrofw.application.AbstractApplication.start(AbstractApplication.java:308)
        at com.emeter.hydrofw.application.AbstractBootstrap.doInit(AbstractBootstrap.java:107)
        at com.emeter.hydrofw.application.AbstractBootstrap.start(AbstractBootstrap.java:165)
        at com.emeter.hydrofw.application.PropertiesBootstrap.run(PropertiesBootstrap.java:93)
        at com.emeter.hydrofw.application.PropertiesBootstrap.main(PropertiesBootstrap.java:60)

Arunachalam

unread,
Mar 4, 2015, 8:33:55 PM3/4/15
to project-...@googlegroups.com
AIX case is not handled. You need to handle the AIX case in this file


Thanks,
Arun.

--
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-voldem...@googlegroups.com.
Visit this group at http://groups.google.com/group/project-voldemort.
For more options, visit https://groups.google.com/d/optout.

Yanming Li

unread,
Mar 5, 2015, 5:18:34 PM3/5/15
to project-...@googlegroups.com
Hi Arun,

I added the following lines to skip mlockall for AIX. What is the impact for skiping mlockall on AIX? 

In JNAUtils.java
 public static void tryMlockall() {
        try {
            if(isOperatingSystem("windows"))
                return;
            if(isOperatingSystem("aix"))
                return;

Is there a way to make mlockall work on AIX?

thanks

--
Yanming
(Home)650-520-2673
(cell)  650-278-3837

Arunachalam

unread,
Mar 5, 2015, 7:10:34 PM3/5/15
to project-...@googlegroups.com

Arunachalam

unread,
Mar 5, 2015, 7:11:25 PM3/5/15
to project-...@googlegroups.com
If you can't do mlockall, disable the swap space on the OS and both has the same effect.

Thanks,
Arun.

Yanming Li

unread,
Mar 5, 2015, 8:44:14 PM3/5/15
to project-...@googlegroups.com
Got it.
Thanks

Reply all
Reply to author
Forward
0 new messages