on 07-29-2009 5:40 PM
Hello Experts,
I am working on a JMS to IDOC scenario and I have a small User Define funtion for my mapping where I am writing a log entry to a custom log file. So, whenever my mapping gets executed it should write a log entry in a custom log file with the interface number and message id.
Now, this morning i dropped three messages on my MQ queue and I only have two of them in the custom log file. But when i went in PI SAP GUI SXMB_MONI I could see all three messages as successful. This has been happening on random basis, sometimes it skips 1 out of 3 messages or 4 out of 8 etc. We have an APP Server in front of PI but I am not sure if that is causing the problem.
Thanks,
Mayur
It is possible that when there are multiple messages in short span of time, the log file is opened up by one of the mapping and therefore is locked for other mapping being executed at the same time. Therefore only one of the mapping could write an entry to it.
This is just the logical explaination I could think of
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
Could you please check the trace in sxmb_moni and see if it gives you any information about what happened to the log file.
Thanks
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aamir, thanks for the reply. I looked in several Trace entries in sxmb_moni but i don't see much info. I don't think it is a problem of file locking becuase default.trc file has several entries within milliseconds apart. default.trc file is PI's trace file where it records all its transactions. I compared the setting between two files and controllers in config tool and they are same. Please let me know if you have any other idea.
Thanks,
Mayur
We found the solution.
Since we have an App server and an integration server. I have to create seperate controllers in both application server and main pi integration server using configtool. Becuase some of my messages we using our application server to run the mapping program.
Thank you all for your help.
- Mayur
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.