<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: bad file number when doing file access in Java in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607956#M32581</link>
    <description>Found the problem fully described on &lt;A href="http://news.gmane.org/gmane.comp.java.bdbje.general" target="_blank"&gt;http://news.gmane.org/gmane.comp.java.bdbje.general&lt;/A&gt; ;-)&lt;BR /&gt;&lt;BR /&gt;A few wild shots, since I'm not familiar with this software, but from what I understand from above and subsequent links:&lt;BR /&gt;* if the file is to be removed, be sure to have the DELETE privilege set.&lt;BR /&gt;* If the file is to be read + write by a number of streams, SHARE must be complete!&lt;BR /&gt;* Is the program doing an EXEC: that doesn't work (properly) on VMS (at least, by my latest knowledge)&lt;BR /&gt;* Is this the way locks are implemented in Java? SIGH. There must be a better way on VMS, even in JAVA...&lt;BR /&gt;&lt;BR /&gt;Willem</description>
    <pubDate>Mon, 22 Aug 2005 09:41:02 GMT</pubDate>
    <dc:creator>Willem Grooters</dc:creator>
    <dc:date>2005-08-22T09:41:02Z</dc:date>
    <item>
      <title>bad file number when doing file access in Java</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607953#M32578</link>
      <description>When I run BDBJE I set the environment in the following way:&lt;BR /&gt;$@sys$common:[java$142.COM]JAVA$142_SETUP FAST&lt;BR /&gt;$define/job JAVA$ENABLE_ENVIRONMENT_EXPANSION TRUE&lt;BR /&gt;$ define DECC$efs_case_preserve true&lt;BR /&gt;$ define DECC$efs_case_special true&lt;BR /&gt;$ define DECC$efs_charset true&lt;BR /&gt;$ define JAVA$FILE_OPEN_MODE 3&lt;BR /&gt;$define java$classpath xxx$java:[000000],...&lt;BR /&gt;$java -cp $java$classpath "SimpleExample.SimpleExample" "/xxx$java/test/"&lt;BR /&gt;&lt;BR /&gt;I get the following error&lt;BR /&gt;com.sleepycat.je.RunRecoveryException: com.sleepycat.je.DatabaseException: Could&lt;BR /&gt;n't open file /extel$java/test/00000000.jdb: com.sleepycat.je.RunRecoveryExcepti&lt;BR /&gt;on: IOException caught: java.io.IOException: bad file number&lt;BR /&gt;&lt;BR /&gt;I must be missing a setting somewhere</description>
      <pubDate>Sat, 20 Aug 2005 08:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607953#M32578</guid>
      <dc:creator>P R Stone_1</dc:creator>
      <dc:date>2005-08-20T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: bad file number when doing file access in Java</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607954#M32579</link>
      <description>What do you get from&lt;BR /&gt;&lt;BR /&gt;$ dir/full extel$java:[test]00000000.jdb</description>
      <pubDate>Sun, 21 Aug 2005 20:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607954#M32579</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2005-08-21T20:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: bad file number when doing file access in Java</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607955#M32580</link>
      <description>00000000.JDB;1                File ID:  (166635,13,0)         &lt;BR /&gt;Size:            1/3          Owner:    [USERS,JAVA]&lt;BR /&gt;Created:    20-AUG-2005 13:48:00.40&lt;BR /&gt;Revised:    20-AUG-2005 14:22:33.49 (26)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     22-AUG-2005 04:11:00.45&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online &lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 3, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    No version limit&lt;BR /&gt;Record format:      Stream_LF, maximum 0 bytes, longest 32767 bytes&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWED, Owner:RWED, Group:RE, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 1/3 blocks.&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;</description>
      <pubDate>Mon, 22 Aug 2005 03:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607955#M32580</guid>
      <dc:creator>P R Stone_1</dc:creator>
      <dc:date>2005-08-22T03:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: bad file number when doing file access in Java</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607956#M32581</link>
      <description>Found the problem fully described on &lt;A href="http://news.gmane.org/gmane.comp.java.bdbje.general" target="_blank"&gt;http://news.gmane.org/gmane.comp.java.bdbje.general&lt;/A&gt; ;-)&lt;BR /&gt;&lt;BR /&gt;A few wild shots, since I'm not familiar with this software, but from what I understand from above and subsequent links:&lt;BR /&gt;* if the file is to be removed, be sure to have the DELETE privilege set.&lt;BR /&gt;* If the file is to be read + write by a number of streams, SHARE must be complete!&lt;BR /&gt;* Is the program doing an EXEC: that doesn't work (properly) on VMS (at least, by my latest knowledge)&lt;BR /&gt;* Is this the way locks are implemented in Java? SIGH. There must be a better way on VMS, even in JAVA...&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Mon, 22 Aug 2005 09:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bad-file-number-when-doing-file-access-in-java/m-p/3607956#M32581</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-22T09:41:02Z</dc:date>
    </item>
  </channel>
</rss>

