ow2-proactive / connector-matlab-scilab

ProActive connector for Matlab & Scilab
http://proactive.activeeon.com/
GNU Affero General Public License v3.0
2 stars 13 forks source link

Lock acquisition error due to MultiNode per JVM #272

Closed fviale closed 8 years ago

fviale commented 8 years ago

The following error occur when running the selection script for matlab/scilab, due to multiple node per JVM.

The issue is minor as it only creates a small delay in the task selection (until the lock is released), but does not prevent it.

Error occurred while acquiring lock, retrying ...Error occurred while acquiring lock, retrying ...

sun.nio.ch.SharedFileLockTable.checkList(sun/nio/ch/FileLockTable.java:255)
sun.nio.ch.SharedFileLockTable.add(sun/nio/ch/FileLockTable.java:152)
sun.nio.ch.FileChannelImpl.lock(sun/nio/ch/FileChannelImpl.java:1062)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:497)
RUBY.aquireLock(C:/tmp/ProActiveMatlabConnector-7.5.1/script/automatic_matlab_finder.rb:193)
RUBY.block in readConfigs(C:/tmp/ProActiveMatlabConnector-7.5.1/script/automatic_matlab_finder.rb:215)
org.jruby.RubyRange.each(org/jruby/RubyRange.java:454)
RUBY.readConfigs(C:/tmp/ProActiveMatlabConnector-7.5.1/script/automatic_matlab_finder.rb:206)
RUBY.<top>(C:/tmp/ProActiveMatlabConnector-7.5.1/script/automatic_matlab_finder.rb:886)
org.ow2.proactive.scripting.Script.execute(org/ow2/proactive/scripting/Script.java:319)
org.ow2.proactive.scripting.ScriptHandler.handle(org/ow2/proactive/scripting/ScriptHandler.java:93)
java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:497)
org.objectweb.proactive.core.mop.MethodCall.execute(org/objectweb/proactive/core/mop/MethodCall.java:353)
org.objectweb.proactive.core.body.request.RequestImpl.serveInternal(org/objectweb/proactive/core/body/request/RequestImpl.java:214)
org.objectweb.proactive.core.body.request.RequestImpl.serve(org/objectweb/proactive/core/body/request/RequestImpl.java:160)
org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serveInternal(org/objectweb/proactive/core/body/BodyImpl.java:552)
org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serve(org/objectweb/proactive/core/body/BodyImpl.java:485)
org.objectweb.proactive.core.body.AbstractBody.serve(org/objectweb/proactive/core/body/AbstractBody.java:426)
org.objectweb.proactive.Service.blockingServeOldest(org/objectweb/proactive/Service.java:206)
org.objectweb.proactive.Service.blockingServeOldest(org/objectweb/proactive/Service.java:181)
org.objectweb.proactive.Service.fifoServing(org/objectweb/proactive/Service.java:146)
org.objectweb.proactive.core.body.ActiveBody$FIFORunActive.runActivity(org/objectweb/proactive/core/body/ActiveBody.java:337)
org.objectweb.proactive.core.body.ActiveBody.run(org/objectweb/proactive/core/body/ActiveBody.java:175)
java.lang.Thread.run(java/lang/Thread.java:745)