IBM Support

IV55319: FILE OPEN ERRORS WITH JAVACOMM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: In a javacomm application open() and sem_open()
    calls, on certain internal files, keep failing due lack of
    permissions.
    .
    Stack Trace: N/A
    .
    Continuous open() failures may lead to a high CPU situation.
    

Local fix

  • Manually change permissions of all the files created by javacomm
    to 0666:
    > chmod 666 /dev/shm/sem.javax.comm*
    > chmod 666 /tmp/javax.comm*
    

Problem summary

  • Javacomm creates semaphore and temporary files to synchronize
    access to shared resources. It restricts the write access to
    these files, to the owner (permissions 0644). Javacomm
    applications spawned by other users cannot write to these files,
    leading to a starvation condition.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       6    SR16      (6.0.16.0)
       7    SR7       (7.0.7.0)
    .
    The files created to synchronize access to shared resources need
    to have a universal read/write access. Their permissions are
    hence changed to 0666.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV55319

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-11

  • Closed date

    2014-04-08

  • Last modified date

    2014-04-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 April 2014