cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nnjcsc
Level 6

Modify Text File - not working in IBM WebSphere path

I'm deploying an application into IBM WebSphere on Windows Server 2008 R2.
After the application is deployed, I call action Modify Text File to update a text file. The text file does not get updated. Below is the error.

The same file will update shorter path, like C:\temp\MyFileName.properties

I added a sleep/delay action after the deployment to make sure the MyFileName.properties is present before the action Modify Text File starts.

I tried putting quotes around the path unsuccessfully. I also tried the action to get the 8.3 short name, but that does not work on Win2008R2.
The full path is 154 characters including spaces. Is there a path length limitation?

Error:

Modify Text File - Single File: D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\MyMachineNameNode01Cell
\MyAppName.ear\MyAppName.war\WEB-INF\classes\MyFileName.properties
Status: ERROR
Additional Notes: ERROR - Unable to locate ASCII text file to be manipulated. Deferring...
Labels (1)
0 Kudos
(1) Reply
pv7721
Level 20

Is it possible for you to post your project?
0 Kudos