Polling/Sender comm channel in clustered environment
Hi Experts,
Our PI7.1 system is currently setup on two java clusters.
I was searching for a guide on how to handle polling using these two clusters, but it seems I can't find one yet.
Do you know where I can find these?
What we were trying to do is disable a comm channel in one node but leave it enabled on another node.
Many thanks!
Regards,
Lex
Lex,
As far as I know we dont need to do anythign manually. It should take care automatically once you tuned all the necessary tuning parameters.
Regards,
---Satish
Similar Messages
-
Regarding issue sender file adapter in clustered environment(PI 7.0)
Hi Experts,
we are using sender file adapter in clustered environment(there are 6 J2EE cluster nodes in XI system) for an interface.the file sender communication channel for this interface is scheduled to run twice every day. recently the channel stopped polling (picking the files from the source directory) and i dont see any error.
when i open Communication Channel monitoring in RWB and select the file sender communication channel and run it manually, none of the cluster nodes are polling for the file.
i have tried editing the communication channel in Integration Directory and activating it. but it does not pick the file.
Can you let me know how the issue can be resolved.
Thanks
-Kaushik
Edited by: Kausik M on Dec 18, 2008 4:13 AMKausik,
A computer cluster is a group of linked computers, working together closely so that in many respects they form a single computer. The components of a cluster are commonly, but not always, connected to each other through fast local area networks. Clusters are usually deployed to improve performance and/or availability over that provided by a single computer, while typically being much more cost-effective than single computers of comparable speed or availability.
clearly your cluster nodes are out of sync...!!!!
It is possible that your ftp server went down for a while . And in the profile of FTP machine the entry of XI server is not made permanent .
1. Try to ping the FTP site from XI server.
BTW are u getting any error msg at RWB ?
Regards, -
Hi to All.
I am facing a issue sender comm channel?
comm channel is picking the file before placing the file in the source dir, the file size is some times coming morethan 6MB.
Could you please help me on this?
Thanks in advance.Hi Yadav,
sapnote_0000821267 (as suggested by Kris)
3. File Locking / Incomplete Processing
Q: I sometimes observe that files are processed only partially, i.e., only a fragment from the file's start is converted into an XI message. Nevertheless, the file is usually archived completely. Does the File Sender Adapter honor if another process has locked a file for exclusive use?
A: Unfortunately, the J2EE 1.3 technology the File Adapter is built upon does not support file locking. This limitation affects the File Adapter's operation. Depending on whether the JRE implementation for the operating system under which the adapter runs uses mandatory file locking or advisory file locking, opening a file that is currently being written to by another process will fail or not.
If opening the file fails, no problem exists and the adapter will try to open the file each poll interval until it succeeds.
However, if opening the file is not prevented by the operating system, the adapter starts to process the file although it is still being modified. Since XI 3.0 SP11 / PI 7.0 there is a parameter named "Msecs to Wait Before Modification Check" in the advanced settings of the File Sender channel configuration to work around this issue. This setting causes the File Adapter to wait a certain time after reading, but before sending a file to the Adapter Engine. If the file has been modified (which is basically determined by comparing the size of the read data with the currentfile size of the input file) after the configured interval has elapsed, the adapter aborts the processing of the file and tries to process the file again after the retry interval has elapsed.
If this option is not available for the settings you would like to use, the following algorithm (to be implemented in your application) may be used to ensure that the File Adapter only processes completely written files:
- Create the file using an extension, which does not get processed by the File Adapter, e.g., ".tmp"
- Write the file content
- Rename the file to its final name, so the File Adapter will notice its existence and pick it up
Regards,
Raghu_Vamsee -
Hi,
what is the queue that appears when i select qos mode as EOIO in File Sender Communication Channel. and what value should i specify there.Hi
As Sudir Said, you can use the SMQ1 and SMQ2 are used to monitor the queues.
check thrrugh these blogs for more info on queues
XI : How to Re-Process failed XI Messages Automatically
XI Asynchronous Message Processing: Understanding XI Queues -Part I
Regards
Goli Sridhar -
Error sender comm.channel
R/3 sends the idoc to the file folder in UNIX, created file adapter to pick the file was given the file path correctly but in communication channel throws out the following error.
( i have to do any configuration )
3/15/07 2:33:46 PM Retry interval started. Length: 60.0 seconds
Error 3/15/07 2:33:46 PM Configured source directory '/usr/server/61/editest/comm/fromsap/2007/03_2007' does not exist
3/15/07 2:33:46 PM Processing started
Error 3/15/07 2:33:00 PM Retry interval started. Length: 60.0 seconds
the directory was there, did i missed any please some one help me.
thanks
nivas
Message was edited by:
nivas nerusuHi,
the path to your folder must be correct
is it a shared folder?
if not use it with drive letter like: c:/something/usr/server/61/editest/comm/fromsap/2007/03_2007
Regards,
michal -
Empty file in sender comm channel
i have issue with the empty files coming from the sender which are getting processed and getting saved in given file location.
Now the problem is,these files donot contain data and rather just gets outputted with header and trailer with some dummy data usually spaces,some zeros,-- like this...,this makes the file size of some 444 bytes or 834 bytes but as it is not having any data,we need to goto SXMB_MONI everyday,check for files,if its empty,needs to cancel them manually because it appears in red flag.
To avoid this,i was thinking of setting the empty file option in processing of communication channel to SKIp messages or delete messages.
Am i right in this approach?
From other thread:
"Currently when a process fails in PI due to an empty file the process needs to be manually set to u201Ccancelledu201D,where to locate in PI,what could be the problem and how it is to be solved.i have asked a similar question and hope that this error will help."
please reply and show me right way of resolving this.
thanks!
cheers!
Edited by: Prateek Raj Srivastava on Aug 19, 2010 10:54 AMHi,
As per ur req, its nt possible in this way.
The empty file handling means the whole file is empty, the size is 0k.
So in ur req, empty file means Header and Trailer present, but no data Records.
we can achive this in following ways also,
1.write an adapter module, to check if at all there is atleast there is 1 Data record, if not throw exception there itself.
2.In the mapping check if at all there is any Data Record. If no Data Records raise exception and also the Alerts.
Babu -
Seeburger AS2 sender comm channel config
Hello,
I have to put in place a scenario for message reicipt of EDI messages via Internet using AS2 on http.
We use the seeburger AS2 adapter.
I try to configure the AS2 sender adapter, but there are many options, which I do not know how to fill, and which aint documented either.
I use the following config:
Tranport Protocol: http
Message Protocol:AS2
Adapter Engine: Integration Server
AS2 Authentification neccessary: When do I have to set this?
Message Title: *
Asynchronous MDN configuration
SSL certificate alias: where do I get this from?
SSL client certificate: what do I put in here?
use proxy: Do I specify the data of our SAP Web dispatcher here?
Thanks
MatthiasHI,
See the below links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
http://www.stylusstudio.com/edi/XML_to_X12.html
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
Details on XI EDI adapter from seeburger
Check this for Conversions-
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
SAP Adapters
EDI with XI
http://www.seeburger.com
http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
seeburger adapter configuration
Regards
Chilla -
'No SOAP envelope' in Sender Comm.Channel
Check if XMLAnonymizer bean could be used on your sender adapter side and replace the SOAP namespaces with the ones defined in your SWCV.
VJHi Rodney,
I have few questions for you. Have you created message mapping according to ur target structure mentioned above ? It it is fine, then go the test tab of message mapping object and perform mapping, let me know if you have any issues there.
One more query, are you request message mapping exception unable to put the data in /target structure, otherwise let me know the error.
Thanks,
RJ -
None of the file Sender Communication Channels are wotking in Prod-Urgent
facing a wierd situation, since yesterday all of my File Sender Comm Channels have stopped picking up files.This is in Production and was working fine day before.When I check in Comm channel monitoring the Channels are started and Functioning and also shows me that they are polling for the files.But no file is picked though files exist in the directory.These channels have been working fine since months and nothing had been changed since then.Suddenly all of them stopped picking up files.
I have about 10 Comm Channels that pick files, Is this related to Adapter Engine....any suggestions on this would be really apprecated.
Thank You.Hi!
Check access rights on your files. Try to set them to 777 (using chmod). Maybe this will help.
Problem is, when the XI does not have rights for picking up files, you see no errror message in CC monitoring and everything seems to be ok, but it is not..
We faced the same problem.. And we figured out, that our partner started to upload files with different access rights.
Peter -
Sync/Async - JMS receiver comm. channel not processing
I have a Sync/Async scenario (without bpm) in PI 7.11:
RFC -> PI -> JMS
whereby the JMS receiver comm. channel does not fully process the message.
More specifically, the RFC sender comm. channel gets a message in and passes the message to the JMS channel, but that JMS channel within the RWB comm. channel log only shows the entry:
- Message processing started
The odd twist to this is that when we bring the PI server down, then back up again, (or wait a period of time, still trying to determine this period) the FIRST message attempt does successfully get processed, i.e. the first message on that JMS receiver comm. channel RWB log shows as:
- Channel successfully processed the message: 08499236-387c-11e0-b002-000025bab2c2
- Stored the correlation ID 08499236-387c-11e0-b002-000025bab2c2 of the request JMS message: ID:c3e2d840d4d8d4f24040404040404040c754dc12d8b54ec6 correponding to the XI message: 08499236-387c-11e0-b002-000025bab2c2
- Message processing started
(but then because of an issue on the target system, no response comes back, so then we'll additionally get the log entry:
- Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: no message received
Any suggestions appreciated on what I can check here to try and figure this out. Possibly because the first message eventually errors out, it is stopping the other subsequent msgs from getting processed...
When I check the audit logs of a 'success' msg vs. a not-successful msg, the success msg has an entry (and subsequent entries) of:
14.02.2011 12:50:19 Information Transform: transforming the payload ...
14.02.2011 12:50:19 Information Transform: successfully transformed
14.02.2011 12:50:19 Information ROB: entering RequestOnewayBean
14.02.2011 12:50:19 Information ROB: forwarding the request message
14.02.2011 12:50:19 Information ROB: leaving RequestOnewayBean
14.02.2011 12:50:19 Information JMS Message was forwarded to the JMS provider succesfully."
14.02.2011 12:50:19 Information XMB Message as Binary was forwarded to the SAP XI JMS service succesfully.
14.02.2011 12:50:19 Information WRB: entering WaitResponseBean
14.02.2011 12:50:19 Information WRB: retrieving the message for 08499236-387c-11e0-b002-000025bab2c2 ...
wheras the non-success msg shows only:
14.02.2011 12:55:30 Information Transform: transforming the payload ...
14.02.2011 12:55:30 Information Transform: successfully transformed
14.02.2011 12:55:30 Information ROB: entering RequestOnewayBean
14.02.2011 12:55:30 Information ROB: forwarding the request message
14.02.2011 12:55:30 Information ROB: leaving RequestOnewayBean
So, we can see that the message is not "forwarded to the JMS provider..." in the non-success case.
And also the sxi_monitor shows these messages with a status of "Log version".
KeithHi Siddhesh - yes that was a while back and am trying to remember the resolution. I have implemented sync/async bridges (as well as async/sync bridges) successfully, so I don't mind checking your settings, particularly I am interested in the settings within the Module tab of the JMS receiver. I can then compare to mine if you'd like. Also if you can let me know what underlying queuing system in that target system (e.g. MQSeries?) that would be great.
Regards,
Keith -
Error in receiver comm channel
Hi All,
I am working on scenario file to file with out IR.just picking up the file from sap app server and placing in target ftp server.
My sender comm channel is picking the file fine but when in receiver comm channel i am getiing error as
"Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Unknown payload format 0 in message"
"Attempt to process file failed with Unknown payload format 0 in message"
i have checked in content of the file it contains no special character. are any security is being maintained.
please advise on this.
Thanks,
BhaskarHi Jude,
I have checked in sender comm channel in message display tool under message content i am getting error as below.
messagecontent
message part [soap document]
500 Internal Server Error
SAP J2EE Engine/6.40
Application error occurred during request processing.
Details: Error [javax.servlet.ServletException: null], with root cause [java.lang.NullPointerException: null].
Exception id: [00145E474044003F000018AD00003E0D000471A1CBF6A02A]
what would be the error and how can i find it.
Is this basis related issue?
Thanks,
Bhaskar -
Content conversion at JMS sender communication channel
Hi friends,
I have to convert fixed length flat structure to xml message.Therefor i have to do content conversion at the JMS sender comm channel.Can someone please explainthe procedure?
data in the queue would be like as follows.
9999000000124646q12233appej500rc11147822zordHi Manikandan,
The structure conversion can handle files containing rows with different structures. In
each row there is a key field to identify the structure. The rows with identical key fields of
course have identical structures.
Let us assume that we have a sample file with four rows. Each row has a two-byte key
field; the first row has a second field with ten bytes; the structure of the second and third
rows is the same and comprises two additional fields with three bytes each; the last row
has a second field with five bytes:
AA1234567890
BBABCABC
BBXYZXYZ
CC12345
The configuration for the conversion could look like this:
Module Configuration
Module Key Parameter Name Parameter Value
Plain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
Plain2XML Transform.ContentType text/xml;charset=utf-8
Plain2XML xml.conversionType StructPlain2XML
Plain2XML xml.processFieldNames fromConfiguration
Plain2XML xml.documentName MyDocument
Plain2XML xml.documentNamespace http://xi.com/test
Plain2XML xml.recordsetName MyRecordset
Plain2XML xml.recordsetStructure NameA,1,NameB,*,NameC,1
Plain2XML xml.keyFieldName MyKey
Plain2XML xml.keyFieldType CaseSensitiveString
Plain2XML xml.NameA.fieldNames MyKey,field-nameA
Plain2XML xml.NameA.fieldFixedLengths 2,10
Plain2XML xml.NameA.keyFieldValue AA
Plain2XML xml.NameB.fieldNames MyKey,field-nameB1,field-nameB2
Plain2XML xml.NameB.fieldFixedLengths 2,3,3
Plain2XML xml.NameB.keyFieldValue BB
Plain2XML xml.NameC.fieldNames MyKey,field-nameC
Plain2XML xml.NameC.fieldFixedLengths 2,5
Plain2XML xml.NameC.keyFieldValue CC
In xml.recordsetStructure, you add a name for each different structure followed by the
number of occurrences or an asterisk for unbounded occurrences. For each structure
name, you configure the structure separately in a separate namespace such as
xml.NameA.fieldNames and so on.
If your source file is a CSV file, replace each xml.XXX.fieldFixedLengths with
xml.XXX.fieldSeparator.
the result of this conversion looks like this:
<ns:MyDocument xmlns:ns="http://xi.com/test">
<MyRecordset>
<NameA>
<MyKey>AA</MyKey>
<field-nameA>1234567890</field-nameA>
</NameA>
<NameB>
<MyKey>BB</MyKey>
<field-nameB1>ABC</field-nameB1>
<field-nameB2>ABC</field-nameB2>
</NameB>
<NameB>
<MyKey>BB</MyKey>
<field-nameB1>XYZ</field-nameB1>
<field-nameB2>XYZ</field-nameB2>
</NameB>
<NameC>
<MyKey>CC</MyKey>
<field-nameC>12345</field-nameC>
</NameC>
</MyRecordset>
</ns:MyDocument>
Regards,
Vinod. -
Hi,
My Scenario is RFC-XI-JDBC. I created one Message Interface, synchronous, abstract, and did the Interface mapping.
I created sender comm channel, receiver comm channel. I configured Sender Adapter(RFC) and Receiver Adapter(JDBC).
I have a little confusion, do I need another two comm channels and another two sender(jdbc) and receiver(RFC) adapters.
Thanks for the help.Hi Raj,
As your scenario says that you are making use of sync communication. Using the same sender and receiver channel the request and response comm is handled. While you create the outbound interface you check the option of msg interface type as sync.
So bottom line is you dont have to create two seperate channel to get the response from the JDBC adapter.
Hope this answers your question.
Regards,
Ajay -
Adapter engine field blank in File Comm channel (Sender)
Hi,
I am not getting any value in drop-down list of adapter engine in file adapter communication channel.System is allowing me to save the comm channel but when I am trying to create sender agreement, system is giving me following error
<b>Unable to find an associated SLD element (source element: SAP_XIIntegrationDirectory, [CreationClassName, SAP_XIIntegrationDirectory, string, Name, directory.s01., string], target element type: SAP_XIIntegrationServer)</b>
I m getting values of adapter engine when I select some other adpter like IDOC or RFC.
Please help...Hi,
1) Can you check your Post Installation.
2) Look for SAP NOTES.
3) Try cache refresh
a)Start transaction SXI_CACHE.
b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
If you still face issue try this .
Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
Regards
Agasthuri Doss -
JDBC Comm Channel not Polling data
Hello,
In a JDBC to IDoc scenario, we have a sender JDBC communication channel which was set to poll for data in every 60 sec. It was working fine for long and suddenly it has stopped polling data. It's status was green and the channel was active.We couldn't find the reason so we configured one more comm channel keeping all the parameters same, and it has started working. We couldn't understand why it was not working earlier. Can any body please highlight on this?
Regards,
SugataHi,
@Barry,
Yes, it dont poll data from database although it was supposed to do so. We have tried to make some changes and then undo changes and save+activate. But that hasn't work.
@ PT Rao,
We tried that too, that also hasen't work.
@ Sumit,
could you please elaborate?
Sugata
Maybe you are looking for
-
Problems installing Skype and Adobe Reader
Hi, I have tried numerous times to install Adobe Reader. Whilst installing a message comes up to say 'close Safari' to install but Safari was never open in the first place! and so it won't install it. As regards Skype, it's installed it but the Skype
-
Shopping Cart Approval & PO generation
Hi All, I am using N step BADI for Shopping Cart approval process. Here can we generate the PO even when the Shopping Cart is awaiting Approval. Please let me know how POs can be created without any approval necessary? This is Urgent!!! Thanks, San
-
Howdy... I have been working a project that has several still images with motion. I have read about the de-interlacing filter but what about the flicker filter. I dont see that mentioned much. Is there a difference? Thanks for the advice... Troy
-
Using dreamweavor 8 with Tomcat
I am trying to connect my db to my test webpage by dreamweavor 8. I get to the connection of the database and I am getting lost. First it as for the db2, sql, mysql.... I am using Squirrel SQL. So would I click on the custom jdbc connection? Second i
-
How do I Extract Raw Clips of my captured HD footage?
This is probably a newb question, but what I want to do simply is to get raw pieces in the original format of my captured HD footage. I shot with the Sony F900 in 1080 true 24p (not 23.97) and captured with the Sony JH-3 deck. I captured the footage