IBM WebSphere Adapter for FTP permission issue when accessing directories

Technote (troubleshooting)


Problem(Abstract)

When using IBM WebSphere Adapter for FTP V7.5.0.1 on Microsoft Windows 7 or Microsoft Windows 8 the Adapter fails due to the write permission on the directory.

Symptom

The following errors are seen in the logs:

FTPRA001 E com.ibm.j2ca.ftp.util.FTPFileVerifierWithHA validateEventDirectory
CWYFT0026E: The LocalEventDirectory does not have the required write
permission. Directory name=D:\FTPD\stage\. Explanation=The directory does not have the necessary read or write permissions. UserAction=Ensure that the directory has the necessary permissions.

Cause

This problem is caused by an API change in JDK V1.6. Previously the JDK API checks the directory for write permissions, and returns True if write permissions are available, and False if they are not.


With the new JDK V1.6 the API returns False even when write permissions are available. This causes WebSphere Adapter for FTP to fail during deployment.


Environment

This issue occurs on Windows 7 and Windows 8 environments only, and does not affect Linux environments.

Resolving the problem

IBM WebSphere Adapter for FTP V7.5.0.1_IF05 and V7.5.0.2 contain the fix for this issue. This fix bypasses the checking of the write permission at startup and will return true to the Adapter so the application can start correctly.


When using this fix extra care should be taken to ensure that the correct write permission is enabled for the local directories before Adapter deployment, as the Adapter will not check this permission at startup.


Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Adapters
Adapter for FTP

Software version:

7.5

Operating system(s):

Windows

Software edition:

WebSphere

Reference #:

1617193

Modified date:

2012-12-12

Translate my page

Machine Translation

Content navigation