IBM Support

IBM i Access Client Solutions Fails on IBM i For Basic Users

Troubleshooting


Problem

Attempting the use the IBM i Access Client Solutions client on IBM i without *ALLOBJ special authority results in the following exception:
Exception in thread "main" java.io.FileNotFoundException: /QIBM/ProdData/Access/ACS/Base/acsbundle.jar (The file access permissions do not allow the specified action.)                                 
        at java.util.zip.ZipFile.open(Native Method)                                                                             
        at java.util.zip.ZipFile.<init>(ZipFile.java:241)                                                                        
        at java.util.zip.ZipFile.<init>(ZipFile.java:171)                                                                        
        at java.util.jar.JarFile.<init>(JarFile.java:179)                                                                        
        at java.util.jar.JarFile.<init>(JarFile.java:116)                                                                        
Java program completed with exit code 1

Cause

The deployment directories do not have the public authority set correctly.

Resolving The Problem

To correct this problem, run the following commands:
CHGAUT OBJ('/qibm/proddata/access/acs') USER(*PUBLIC) DTAAUT(*RX)
CHGAUT OBJ('/qibm/proddata/access/acs/base') USER(*PUBLIC) DTAAUT(*RX)
CHGAUT OBJ('/tmp') USER(*PUBLIC) DTAAUT(*RWX)
The first two paths need to have *RX authority so that the JAR file can be opened, read, and executed. The /tmp path is the default path for java.io.tmpdir. The client creates temporary files used while it is running so the user must be able to create new files there, read from them, and write to them.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB66","label":"Technology Lifecycle Services"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SSRQKY","label":"IBM i Access Client Solutions"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
07 October 2021

UID

ibm16497247