Processing a WI file through the loader, file process in ok information transferred into Maintenance Manager works orders updated etc, file in CIM_DIR directory, however post processing successfully, file never gets moved to CIM_ARC directory as following java error message appearing Following error occurred while archiving the WI40120.CAR ORA-29532: Java call terminated by uncaught Java exception: java.lang.RuntimeException: movefile: 'from' file WI40120.CAR cannot write (i.e. remove) this file. So if job was scheduled to run cyclically would keep trying to process file in as must move to CIM_ARC post processing. All Oracle directories setup correctly, appropriate roles assigned.The CIM_DIR and CIM_ARC were located on a unix box and were unix directories. Eventually found out that the operating system privileges on the incoming files caused this issue.
Permissions on linux directory 777 owner=oracle group atlas, incoming files owner datatx, group atlas. Files from ftp coming in as 600 (rw) for owner. That doesn't work. Tried 640 that didnt work, had to be 660. Given they currently have as a cron job running every minute to change could still get a situation when processing a file with incorrect permissions which causes archive in app to fail, which then causes knock-ons processing files again as still in directory.
Explained need to process the files when permissions correct. So files need to be in directory with corrrect permissions. If cannot achieve better to put incoming files in a holding sub directory then cron job can move the files after permissons amended, this way files processed with correct operating system permissions. No java error.
Product TechNotes and FAQs
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!