On Windows in TIBCO Designer, saving changes to a proejct can fail without warning or error when the user does not have file write permissions.

On Windows in TIBCO Designer, saving changes to a proejct can fail without warning or error when the user does not have file write permissions.

book

Article ID: KB0091881

calendar_today

Updated On:

Products Versions
TIBCO Designer -
Not Applicable -

Description

Description:
Description
===========
On Windows, file write operations, such as saving a file, can fail  
without warning or error from Java applications if you do not have  
Windows file write permission to the file. This affects all Java  
applications, including TIBCO programs such as TIBCO Designer, the  
design time environment for TIBCO products such as TIBCO  
ActiveMatrix BusinessWorks and TIBCO ActiveMatrix adapters, and  
other TIBCO products. In the particular case of TIBCO Designer,  
saving changes to a project can fail without warning or error when  
the user does not have file write permission.

Recommendation/Workaround
=========================
We recommend TIBCO Designer users ensure that they have appropriate  
file permissions when editing projects in a Windows environment  
(this is not an issue in Unix environments).

Cause
=====
TIBCO Designer uses the java.io.File::canWrte() API of the JDK to  
determine if the file is writable or not while editing/saving  
projects. On Windows, this java API is internally calling Win32 APIs  
to verify the permissions. There is a bug/known issue in JDK (SDN  
id: 6203387) describing that these Win32 APIs are not aware of  
Windows files permissions and just query the file read only bit.  
This is only an issue on Windows, it works as expected on Unix  
environments.

Resolution
==========
Third party vendor (Sun and/or Microsoft) resolution.
Symptoms:

Cause:

Issue/Introduction

On Windows in TIBCO Designer, saving changes to a proejct can fail without warning or error when the user does not have file write permissions.