IBM Support

Compiling i Project results in "Access to request was denied." error

Troubleshooting


Problem

Attempts to compile a source member in i Projects using IBM Rational Developer for Power Systems results in the error "Access to request was denied."

Symptom

The following exception will be generated at the time of compilation:


com.ibm.as400.access.ExtendedIOException: /.eclipse/RSE/: Access to request was denied.
at com.ibm.as400.access.IFSFile.exists(Unknown Source)
at com.ibm.etools.iseries.services.qsys.commands.QSYSCommandService.getUserPreferencesIFSDirectory(Unknown Source)
at com.ibm.etools.iseries.services.qsys.commands.QSYSCommandService.getNewFile(Unknown Source)
at com.ibm.etools.iseries.services.qsys.commands.QSYSCommandService.invokeAS400Command(Unknown Source)
at com.ibm.etools.iseries.services.qsys.commands.QSYSCommandService.handleCommand(Unknown Source)
at com.ibm.etools.iseries.subsystems.qsys.commands.QSYSCommandSubSystem.runCommandInService(Unknown Source)
at com.ibm.etools.iseries.subsystems.qsys.commands.QSYSCommandSubSystem.internalRunCommand(Unknown Source)
at com.ibm.etools.iseries.subsystems.qsys.commands.QSYSCommandSubSystem.runCommand(Unknown Source)
at com.ibm.etools.iseries.subsystems.qsys.commands.QSYSCommandSubSystem.runCommand(Unknown Source)
at com.ibm.etools.iseries.subsystems.qsys.commands.QSYSCommandSubSystem.runCommand(Unknown Source)
at com.ibm.etools.iseries.rse.ui.compile.IBMiCompileMember.internalRunCompileCommand(Unknown Source)
at org.eclipse.rse.internal.useractions.ui.compile.SystemCompilableSource.runCompileCommand(Unknown Source)

Cause

Your home directory is not set on the IBM i system.

At compilation, the location of <user home>/.eclipse/RSE directory is verified in order to put user preferences in that directory.

If your home directory is not set, the error is displayed.

Diagnosing The Problem

Use the CHGUSRPRF command on IBM i to verify if you have a home directory.

For example: /home/userName

Resolving The Problem

To resolve the problem:

  1. Set your home directory in your user profile on IBM i using the CHGUSRPRF command
  2. Disconnect from the Rational Developer for Power Systems client
  3. Reconnect the client
[{"Product":{"code":"SS4QVT","label":"Rational Developer for Power Systems Software"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0.0.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

More support for:
Rational Developer for Power Systems Software

Software version:
8.0.0.1

Operating system(s):
Windows

Document number:
154235

Modified date:
02 August 2018

UID

swg21473067