Also checked that adding
 OGlobalConfiguration.JNA_DISABLE_USE_SYSTEM_LIBRARY.setValue(true);
at the begining of contextInitialized method doesn't work either.


On Friday, April 11, 2014 4:24:03 PM UTC+2, Tomek wrote:
>
>
>>> WARNING:   Sun Unsafe direct  memory implementation is going to be used,
>>>  this implementation isnot stable so please use JNA version instead.
>>>
>>
>> This may be solved launching your application with the following 
>> parameter: -Djna.nosys=true
>> It tells your java to use the Orient bundled JNA library instead of that 
>> used by your (OS) which in many case is outdated.
>>
>
> I added <jvm-options>-Djna.nosys = true </ jvm-options> in <java-config> 
> in the file glassfish4\glassfish\domains\domain1\config\domain.xml
>
> There is no change, stil: 
> Warning:   Sun Unsafe direct  memory implementation is going to be used, 
> this implementation is not stable so please use JNA version instead.
>
> and when undeploy:
> Severe:   The web application [/WebApp] created a ThreadLocal with key of 
> type [com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal] (value 
> [com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal@77814413
> ]) and a value of type [com.orientechnologies.orient.core.db.record.
> ODatabaseRecordTx] (value [OrientDB[plocal:c:/tmp/WebApp] (users: 1)])but 
> failed to remove it 
> when the web application was stopped. Threads are going to be renewed 
> over time to try and avoid a probable memory leak.
> Severe:   The web application [/WebApp] created a ThreadLocal with key of 
> type [com.orientechnologies.orient.core.db.OScenarioThreadLocal] (value [
> com.orientechnologies.orient.core.db.OScenarioThreadLocal@fd24867]) and a 
> value of type [com.orientechnologies.orient.core.db.OScenarioThreadLocal.
> RUN_MODE] (value [DEFAULT]) but failed to remove it when the web 
> application was stopped. Threads are going to be renewed over time to try 
> and avoid a probable memory leak.
> Severe:   The web application [/WebApp] created a ThreadLocal with key of 
> type [com.orientechnologies.orient.core.hook.OHookThreadLocal] (value [com
> .orientechnologies.orient.core.hook.OHookThreadLocal@6eadf585]) and a 
> value of type [java.util.HashSet] (value [[]]) but failed to remove it 
> when the web application was stopped. Threads are going to be renewed 
> over time to try and avoid a probable memory leak.
>
>
>
>

-- 

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