Thanks, I tried it.
I downloaded libjnidispatch.a for aix-ppc, packaged in the aix-ppc folder 
of jna-4.0.0.jar
I also had to change to a java 32 bit since the library is for 32bit.

After running orientdb 2.0RC1 with the options to enable JNA, how can I 
check if JNA is really used?
ORIENTDB_SETTINGS="-Dprofiler.enabled=true *-Djna.nosys=true 
-Dmemory.useUnsafe=false*"

I still have the query execution hang.

Il giorno giovedì 8 gennaio 2015 12:49:00 UTC+1, Andrey Lomakin ha scritto:
>
> java ... -Djna.nosys=true -Dmemory.useUnsafe=false 
>
> :-))
>
> On Thu, Jan 8, 2015 at 1:37 PM, Nicolò Chieffo <[email protected] 
> <javascript:>> wrote:
>
>> Thanks for the link.
>>
>> After a google search, I've found a precompiled jna 4.0 here: 
>> https://github.com/twall/jna/blob/master/dist/aix-ppc64.jar
>> I think I have to extract it and place the library inside the shipped JNA 
>> JAR.
>>
>> After that how can I force 2.0 RC1 to use JNA instead of UNSAFE?
>> Thank you
>>
>> Il giorno giovedì 8 gennaio 2015 11:05:43 UTC+1, Andrey Lomakin ha 
>> scritto:
>>>
>>> HI,
>>> We discussed it in previous thread you should recompile JNA under AIX 
>>> platform.
>>> Some of our users did this. 
>>> Also you may look at https://groups.google.com/
>>> forum/#!msg/jna-users/QETmbp-_HIc/NC9qDqGudyUJ and 
>>>
>>> On Thu, Jan 8, 2015 at 11:28 AM, Nicolò Chieffo <[email protected]> 
>>> wrote:
>>>
>>>> I'm currently using 2.0 RC1, so JNA is not used.
>>>> I'm currently having troubles in running a query
>>>>
>>>> Il giorno giovedì 8 gennaio 2015 09:50:38 UTC+1, Andrey Lomakin ha 
>>>> scritto:
>>>>>
>>>>> Hi,
>>>>> In such way we disable Unsafe not JNA.
>>>>> In RC1 Unsafe is preferred over JNA by default.
>>>>> Could you try it ?
>>>>>
>>>>>
>>>>> On Wed, Jan 7, 2015 at 6:46 PM, Luca Garulli <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> Hi Nicolò,
>>>>>> Try with this settings in last line of server.sh file:
>>>>>>
>>>>>> java ... -Djna.nosys=true -Dmemory.useUnsafe=false ...
>>>>>>
>>>>>> Lvc@
>>>>>>
>>>>>>
>>>>>> On 7 January 2015 at 17:44, Nicolò Chieffo <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>>> Is it possible to disable JNA?
>>>>>>> My system is AIX and I can't use it correctly with JNA.
>>>>>>>
>>>>>>> thanks
>>>>>>>
>>>>>>> -- 
>>>>>>>
>>>>>>> --- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "OrientDB" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>  -- 
>>>>>>
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "OrientDB" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Best regards,
>>>>> Andrey Lomakin.
>>>>>
>>>>>   -- 
>>>>
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "OrientDB" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Best regards,
>>> Andrey Lomakin.
>>>
>>>   -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Best regards,
> Andrey Lomakin.
>
> 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to