Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4732964

can't start rmid when log directory is on mounted Samba network drive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P3
    • None
    • 1.4.1, 1.4.2
    • core-libs
    • x86
    • windows_nt, windows_2000

    Description



      Name: nt126004 Date: 08/16/2002


      FULL PRODUCT VERSION :
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode)


      FULL OPERATING SYSTEM VERSION :

      Windows NT version 4.0

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      All our Windows NT computers use a mounted network drive
      (through Samba) for their development tasks. The network
      drive is on a Solaris 8 server.

      A DESCRIPTION OF THE PROBLEM :
      When starting the RMI activation deamon and specifying a
      log directory that is a Samba mounted network drive the
      rmid fails with a message describing it can't find some
      sort of message.

      rmid -log <some non local drive>

      This only happens on Windows NT, for an rmid on a Linux
      workstation is able to write its state to a remote (Samba)
      mounted partition.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. mount a samba drive on Windows NT, e.g. P:
      2. start rmid with log option that points to mounted
      network drive, rmid -log P:\log
      3. await the message

      Activation.main: an exception occurred: The system cannot
      find message for message number 0x%1
      in message file for %2
      java.io.IOException: The system cannot find message for
      message number 0x%1
      in message file for %2
      at java.io.RandomAccessFile.setLength(Native Method)
      at sun.rmi.log.ReliableLog.recoverUpdates
      (ReliableLog.java:686)
      at sun.rmi.log.ReliableLog.recover
      (ReliableLog.java:208)
      at sun.rmi.server.Activation.startActivation
      (Activation.java:144)
      at sun.rmi.server.Activation.main
      (Activation.java:1977)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      use a log directoy that is local
      (Review ID: 160581)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              peterjones Peter Jones
              nthompsosunw Nathanael Thompson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: