I'm facing an issue with my box when I try to run 2 clients (diferent wars)
in jboss eap 6.3 in Linux. 

Details:

- 1 Jboss as server node
- 1 Jboss with 2 wars, each war is a ignite as a client connecting to the
server node
- Ignite 1.3.0
- Jboss EAP 6.3
- Linux CentOS (both)

Steps to reproduce:
Run jboss standalone profile with 2 wars: the last war in running fails

I tried the same in windows but looks like there works.

Looking into the Ignite code looks like is creating a file in the tmp folder
and lock it when try to do some process:

        File tmpDir = getUserSpecificTempDir();

        File lockFile = new File(tmpDir, "igniteshmem.lock");

        // Obtain lock on file to prevent concurrent extracts.
        try (RandomAccessFile randomAccessFile = new
RandomAccessFile(lockFile, "rws");
            *FileLock ignored = randomAccessFile.getChannel().lock()) {*
            if (extractAndLoad(errs, tmpDir,
platformSpecificResourcePath()))

Complete StackTrace:
https://gist.github.com/roar109/6e982bd83baf3e1624af

The only workaround I see is deploying in sequential order but is not
something I would like to do.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/OverlappingFileLockException-in-nodes-startup-same-time-in-Linux-tp1415.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to