cancel
Showing results for 
Search instead for 
Did you mean: 

CPS PlatformAgentService cant read the File Event Definition

Former Member
0 Kudos

Dear Experts,

We implemented CPS to schedule our BW & BO Jobs. we have now some issues on both BW & BO.

Especially on BO where we try to load flat files through a "Event" which triggers the job once the file is loaded (file event raised).

Now the problem is,

this "event" which automaticall triggers the file event definition is NOT able to find the file event (flatfile) and triggeres the Job. So we have to maually raise this "Event" (right click on Event -> Raise) for every file loaded, which is really hard to look every 5min on our directory and raise manually so that uploader can get thier validation.

When I see the difference from automatic & Manual raise, i am asuming that it might be a reason with "PlatformAgentService", because:

In Automatic, the Raiser Object is "PlatformAgentService" which is working perfectly on BO Server.

Manually: its me who has to raise.

The strange thing is,

the file event definition works for some files and triggers itself and for some other files i need to do it maually (all files have same specifications).

Now we dont know, when the job runs and when not, so we are monitoring our directory for files every 5 to 10min.

Cannot able find the reason behind this situation.

I would really appreciate your quick response with a solution

Many thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Given that the platform agent service does work for some of the fileevents, that service seems to be working fine.

Is it possible that some of the fileevents are monitoring a directory where the OS user the PlatformAgent is running under does not have access to ?

Are there any error messages in the platformagent log files ? Or are there any operator messages indicating issues with these (file)events ?

Are you using the latest version of CPS ?

It also sounds a lot like a question you are best off talking to support about, because it could be useful for them to have a look at your system.

Regards,

Anton.

Former Member
0 Kudos

Hai Anton,

Thanks for your promt reply.

Regarding your question

"Is it possible that some of the fileevents are monitoring a directory where the OS user the PlatformAgent is running under does not have access to ?"

- Users upload their flatfiles through our Portal and this file is stored in our Data Service (BO) directory, where this platform agent is installed.

In CPS, the file event definition looks every 30sec and schedule the the Job chain automatic (This is the problem we have now, the file event definition detects sometime and stops sometime). When "Event" stops, we raise it maually.

....meaning, all uploaded files are stored in the directory where the platform agent is installed. which later CPS do its job.

Are there any error messages in the platformagent log files ?

Since we outsoursed our servers, we are waiting for the platform agent logfiles from our vendor.

Or are there any operator messages indicating issues with these (file)events ?

I dont see any operator messages for file events.

Are you using the latest version of CPS ?

Build: M28.24-39738, we just installed it 1month back and above situation is one of our 1st & main issue as we are facing this problem in Production.

Any futhur support from experts is a great helpful

Many thanks

VK

Former Member
0 Kudos

Hi VK,

This really sounds like something you should contact support for, because it may be necessary for someone to have a look on your system.

Regards,

Anton.

Former Member
0 Kudos

Dear Anton,

Once again thank you for your promt reply.

we could able to relove the issue temporarily by doing uncheck of "check lock" in File event definition.

we dont know reason behind this, because at the beginning it was working nicely with checked "check lock" suddenly when the file definition stops detecting files in directory, then we tried to disable the "check lock".

Then Result is : WORKING as normal.

We try to find, what would be the outcome results in doing disable of "Check lock". but couldnt find a reasonable answere.

If you have any answeres to it. would be a great support from your side.

Many Thanks

VK

Former Member
0 Kudos

Hi,

The "check lock" flag is there to check if there is still a lock on the file before raising the event.

This is to prevent detection of files that are still being written to.

So if this flag prevents files from being detected, then it can be that the OS tells CPS that someone is still using the file.

Are the files being detected on Unix or on Windows (where does the CPS agent run), and are they on a local file system or on a mounted filesystem. If on a remote/mounted filesystem: which platform is that and which protocol is used (NFS, Samba, ...) ?

Regards,

Anton.