xadisk
  1. xadisk
  2. XADISK-77

Problem when trying to write to a Samba shared folder

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: filesystem
    • Labels:
      None
    • Environment:

      XADisk 1.1
      Windows XP SP3 + Weblogic 10.3.3 (XADisk JCA adapter)
      RedHat Ent. Linux Server 5.5 (remote folder)

      Description

      A Linux network folder has been exposed in the intranet by Samba.
      The folder requires authentication with a local Linux user to allow read/write access.
      It has been mounted as a network drive on the Windows machine where the Weblogic server hosting the XADisk JCA adapter.

      When a move operation is attempted, the attached stacktrace is shown (copy from the server's console, as there is a mix of logs and system outs) and the operation fails.

      The local XA homedir after the operation is attached as a zip.

      A workaround (if it fits, depending upon your application requirements) is to disable directory synchronization using setSynchronizeDirectoryChanges

        Activity

        Hide
        Nitin Verma added a comment -

        Hi Stelios,

        Thanks for bringing up the issue.

        While I am investigating it and coming up with a plan, you may consider using:

        http://xadisk.java.net/javadoc/1.1/org/xadisk/filesystem/FileSystemConfiguration.html#setSynchronizeDirectoryChanges%28java.lang.Boolean%29

        to disable directory synchronization.

        Please let me know if you have any questions.

        Thanks,
        Nitin

        Show
        Nitin Verma added a comment - Hi Stelios, Thanks for bringing up the issue. While I am investigating it and coming up with a plan, you may consider using: http://xadisk.java.net/javadoc/1.1/org/xadisk/filesystem/FileSystemConfiguration.html#setSynchronizeDirectoryChanges%28java.lang.Boolean%29 to disable directory synchronization. Please let me know if you have any questions. Thanks, Nitin

          People

          • Assignee:
            Nitin Verma
            Reporter:
            sgerogia
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: