B2B Picking up twice

Hi All,
Our scenario is B2B should pick 860 and 850 EDI transactions from FTP folder and should place in IP_IN_QUEUE(I.e its inbound to B2B). Successfully we are able to complete that, but we are facing the same issue as
If we place a one file in FTP folder , B2B is picking twice from FTP and it showing as two trasnaction in Reports console. Please help me in resolving this.
Regards
Raj

Hi Raj,
1. Is this a HA configuration with multiple instances of B2B accessing the common File/FTP folder?HA - High Availability, is the concept of running multiple instances of same server. To know more, please refer -
http://www.b2bgurus.com/2008/02/high-availability-with-fileftp-adapter.html
2. What is the value of minimumAge parameter in the Host DC configuration?There is a setting in FILE/FTP transport, receiver file minimum age(in ms) - Time before which b2b will not pickup the file from the target directory. B2B has capability of timestamp based reading, means it would not process the incoming file until the specified time in configuration. It would prevent B2B to read the half written files. By default, it's value is zero.
Regards,
Anuj

Similar Messages

  • B2B picking wrong agreement

    Hi All,
    I have a trading partner that is set up for 855 "EDI X12 over Generic Exchange" transaction and the same trading partner set up for 856 "EDI X12 over Internet" - AS2.
    I have the following setup - we cannot put all transactions in one agreement since the 997s come over different delivery channels.
    Agreement 1: EDI 856 (out) and 997 (in) - AS2
    Agreement 2: EDI 855 (out) and 997 (in) - EDI/VAN
    The 997 for 856 is coming in fine and is being processed successfully. The 997 for 855 is coming back and failing since its finding wrong agreement.
    Is this a bug? Shouldn't the processing continue trying to find the correct agreement?
    If I quiesce Agreement 1 then the 997s flow through. But this is a manual workaround.
    ERROR CODE - AIP-50523
    ERROR DESCRIPTION - Machine Info: Description: Document Exchange protocol name "Generic" in message is different from document exchange protocol name "AS2" in agreement StackTrace: Error -: AIP-50523: Document Exchange protocol name "Generic" in message is different from document exchange protocol name "AS2" in agreement at oracle.tip.adapter.b2b.tpa.MessageValidator.validateDocExchange(MessageValidator.java:245) at oracle.tip.adapter.b2b.tpa.MessageValidator.validateMessage(MessageValidator.java:131) at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:769) at oracle.tip.adapter.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:240) at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1833) at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574) at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444) at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399) at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527) at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374) at java.lang.Thread.run(Thread.java:534)
    Thanks.

    Hi Suresh,
    Whenever Oracle B2B receives a message from it's TP, it performs following three steps -
    1. TP identification on the basis of Exchange/Transport/Other Standards
    2. Transaction set identification on the basis of Exchange/Transport/Other Standards
    3. Agreement Identification on the basis of above two
    In your case, as TP is same and even incoming DocType (997) is same (if I get it right, then DocType Revision will also be same), hence B2B is picking first available agreement for this pair.
    As Dheeraj suggested, try putting both Business Actions in same agreement and run a test. If you want to keep two separate agreements, then DocType Revision for 997 should be different in both the cases.
    Let us know the result please.
    Regards,
    Anuj

  • B2b unable to pick the file from xml gateway

    Hi All,
    I am taking a scenario where B2B picks the files from xml gateway and drop the files in FTP folder. I modified the XML gateway inbound and outbound, i has given my user credentials(unmae, host ,pwd ,sid, port). In agreement in the place of internal delivery channel i has given XML gateway outbound.
    Still its unable to pick the files from xml gateway.
    Clarify my understanding please
    While b2b picks the files from xml gateway, It will pick from ECX_Inbound or ECX_Outbound?
    Here i am attaching the logs:
    2010.01.15 at 07:32:51:101: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
    2010.01.15 at 07:32:56:366: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
    2010.01.15 at 07:32:56:369: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
    2010.01.15 at 07:32:56:392: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration obtained
    2010.01.15 at 07:32:56:395: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
    2010.01.15 at 07:32:56:547: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
    2010.01.15 at 07:32:56:821: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
    2010.01.15 at 07:32:56:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
    2010.01.15 at 07:32:56:826: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
    2010.01.15 at 07:32:56:829: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
    2010.01.15 at 07:32:56:832: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
    2010.01.15 at 07:32:56:835: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
    2010.01.15 at 07:32:56:837: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
    2010.01.15 at 07:32:56:840: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
    2010.01.15 at 07:32:56:842: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
    2010.01.15 at 07:32:56:845: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
    2010.01.15 at 07:32:56:848: B2BStarter thread: B2B - (INFORMATION) Repository:print: [10] Custom Document over Internet
    2010.01.15 at 07:32:56:851: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
    2010.01.15 at 07:32:56:853: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
    2010.01.15 at 07:32:56:856: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
    2010.01.15 at 07:32:57:649: B2BStarter thread: B2B - (DEBUG) Repository:constructCertSQL SELECT cert.ID, cert.CLASSTYPE FROM TIP_Certificate_ra cert, TIP_Party_ra party, TIP_DocumentExchange_ra docex WHERE cert.ID = docex.signingcredential AND cert.tradingpartner = party.ID AND party.ishosted != 'Y'
    2010.01.15 at 07:32:57:785: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
    2010.01.15 at 07:32:58:077: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
    2010.01.15 at 07:32:58:824: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
    2010.01.15 at 07:32:58:827: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
    2010.01.15 at 07:32:58:831: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
    2010.01.15 at 07:32:58:891: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
    2010.01.15 at 07:32:59:010: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
    2010.01.15 at 07:32:59:013: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
    2010.01.15 at 07:32:59:038: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
    2010.01.15 at 07:32:59:041: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
    2010.01.15 at 07:32:59:043: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
    2010.01.15 at 07:32:59:046: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
    2010.01.15 at 07:32:59:059: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = ERROR
    2010.01.15 at 07:32:59:294: B2BStarter thread: B2B - (DEBUG) Repository:Repository:getDeliveryEndPointList() Wallet Location /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
    2010.01.15 at 07:32:59:297: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: No Archive dir
    2010.01.15 at 07:32:59:300: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: marker :false
    2010.01.15 at 07:32:59:314: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO
    2010.01.15 at 07:32:59:322: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO file.receiver.wallet_location = /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
    file.receiver.wallet_password = *****
    file.receiver.polling_interval = 5
    file.receiver.path = /ftpdata/elshad1/ice/infile/850/PO
    file.receiver.marker = false
    marker = false
    ccc = false
    file.receiver.channel_mask = None
    file.receiver.minimum_age = 0
    filename_format = %FROM_PARTY%_%TIMESTAMP%.dat
    file.receiver.van = false
    file.sender.channel_mask = None
    file.receiver.user = eiced1
    PROTOCOL_ENDPOINT = null
    file.receiver.password = *****
    file.receiver.preserve_filename = false
    transport_callout_waittime = 30
    preserve_filename = false
    file.receiver.ccc = false
    van = false
    polling_interval = 5
    2010.01.15 at 07:32:59:491: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Emerson_Robin_FTP_TransportServer < ftp > < Emerson >]
    2010.01.15 at 07:32:59:858: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
    2010.01.15 at 07:32:59:864: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = ERROR
    2010.01.15 at 07:32:59:949: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Outbound - initialize
    2010.01.15 at 07:32:59:953: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Obtaining outbound connection...
    2010.01.15 at 07:32:59:956: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
    2010.01.15 at 07:32:59:960: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound username: apps
    2010.01.15 at 07:33:04:319: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:33:04 GMT+00:00 2010 Outbound - initialize exit
    2010.01.15 at 07:33:04:322: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
    2010.01.15 at 07:33:04:326: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
    2010.01.15 at 07:33:04:329: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2010.01.15 at 07:33:04:332: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2010.01.15 at 07:33:04:335: B2BStarter thread: B2B8:15:32:157: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:32 GMT+00:00 2010 inbound username: apps
    2010.01.15 at 08:15:33:757: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 inbound initialize exit
    2010.01.15 at 08:15:33:761: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Outbound - initialize
    2010.01.15 at 08:15:33:764: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Obtaining outbound connection...
    2010.01.15 at 08:15:33:767: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
    2010.01.15 at 08:15:33:770: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound username: apps
    2010.01.15 at 08:15:34:473: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:34 GMT+00:00 2010 Outbound - initialize exit
    2010.01.15 at 08:15:34:476: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
    2010.01.15 at 08:15:34:479: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
    2010.01.15 at 08:15:34:481: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2010.01.15 at 08:15:34:484: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2010.01.15 at 08:15:34:487: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
    2010.01.15 at 08:15:35:928: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
    2010.01.15 at 08:15:36:132: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
    2010.01.15 at 08:15:36:139: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
    regards
    cnu

    Anuj,
    The log which i placed on top, thats the complete log and DC log is given below
    2010.01.18 at 12:58:06:117: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:11:130: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:16:143: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:21:153: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:26:169: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:31:164: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:36:173: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:41:182: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:46:194: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:51:210: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:56:217: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:01:244: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:06:254: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:11:256: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:16:283: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:21:276: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:26:285: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:31:297: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:36:314: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:41:324: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:46:327: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:51:341: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:56:352: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 13:00:01:359: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered

  • In oracle B2B multiple files are getting picked from SFTP location for one file in custer environment

    Flow is like :
    REST ENDPOINT->OSB PROXYSERVICE->BUSINESS SERVICE->B2B SFTP LOCATION->B2B->SOA JMS Queue->SOA COMPOSITE-
    Due to cluster environment, there is issue when B2B picks the file from SFTP location for Custom protocol using sftp listening channel. Sometimes B2B picks multiple files from SFTP location for just one copy of file. It is happening because of cluster environment 4 instances of server is looking into the SFTP location for picking the file and sometime 2 or more instances of server are reading same file and sending the copy to B2B.
    Please let me know , how can I stop this behavior

    All QFE's have been applied we are building the image so we have some control.
    I have build an image which used the debug DLL's of the FATFS and I have enabled all of the DebugZones.  The problem is still happening. From the timings in the debug logs and the timestamps in the data which corrupts the test file I have been able
    to see that the file is corrupted AFTER the write is complete. Or at least that's how it seems.
    We finished writing the file and closed the handle. Then more data is written to other files. When we get around to verifying the file it now contains data from the files that were subsequently written.
    What I think I need to do is figure out in detail how the two files were "laid down" onto the SDCard.  If the system used the same cluster to write the 2 files then that would explain the issue.

  • MDM adpter picking up file twice.

    Hi,
    my scenario is MDM->PI->R3. When the XML files are generated into MDM ready folder,PI is picking these files twice.
    For Ex: Material no A20 is getting picked up twice. (Its result two messages in SXMB_MONI.Two IDOCS getting created at R3.)
    1st message ID is PQR
    2nd message ID is ABC
    When i am checking in Message monitoring->Adapter engine->Message ID(PQR & ABC).Both messages showing me same file name XY.xml.
    Why the same file is getting picked up twice? Where as we know whenever PI pickes up the file,Same file is gets transfered into Archive folder. so that PI wont Pick it up 2nd time.
    Please suggest.

    I never configured MDM PI adapter, but i do think that you have an option to delete file after picking up,if this type option is there use this,so you can avoid this problem.
    check like processing mode option available in MDM AAdapter or not.
    Regards,
    Raj

  • B2B Broadcasting : How to send a single file to multiple trading partners

    Oracle 10g B2B (10.1.2)
    I have a use case where I need to send a file to multple trading partner. Actually BPEL ftps a file to the B2B file server and B2B picks that file and needs to send it to multiple trading partners.
    I read through the blog http://blogs.oracle.com/oracleb2bgurus/2009/03/broadcast_feature_in_oracle_as.html and did the following change.
    1. Created a generic identifier : Grouping.
    2. Added this identifier to the relevant trading partner.
    3. Modified the business action to include the actionName=Grouping; for all the relevant Trading Partner which is supposed to get the file.
    4. Used the Group identifier in the Trading partner agreement.
    5. Redeployed the TPAs.
    Issue :
    As the file has to follow a convention <Toparty>_<DocumentType>_<RevNo>_<MessageType>_<MessageId>.txt , I am able to send the file to the trading partner for which I put the name in place of <ToParty> and <DocumentType>.
    Please let me know the exact steps to follow. any document would be of great help.
    Thanks
    Rajeev
    Edited by: user10680470 on Oct 13, 2009 12:34 AM

    Hi Anuj,
    Thanks for replying. I had tried both options.
    For first option it returned error stating it could not identify the trading partner.
    Second one was looking more promising but due to the DocumentType parameter in the filename which I was using as the DocumentType of any one of the business action action name of a trading partner, it was giving error. Is it possible to have the DocType for multiple trading partners, just a thought.
    I will try to explore more on the option 2 with the fileformat using the actionname.
    Meanwhile if you could find anything please let me know.
    Thanks a lot....
    Rajeev
    Edited by: user10680470 on Oct 13, 2009 2:47 AM

  • Error Messagejava.lang.NullPointerException in Oracle B2B 11g

    Hi all,
    We are working on simple PO transaction(outbound flow) between two trading partners using AS2 protocol. B2B picks the data successfully, we are able to see the application message getting generated but niether we are able to see the payload or business message
    Following is the error message i get in soa diagnostic log.
    Messagejava.lang.NullPointerException
    Supplemental Detail at oracle.tip.b2b.system.InitMessageBundle.getStringFromBundle(InitMessageBundle.java:207)
    at oracle.tip.b2b.system.InitMessageBundle.getStringFromBundle(InitMessageBundle.java:179)
    at oracle.tip.b2b.system.IPException.getSeverity(IPException.java:422)
    at oracle.tip.b2b.system.IPException.getMessage(IPException.java:466)
    at oracle.tip.b2b.log.LogManagerImpl.log(LogManagerImpl.java:108)
    at oracle.tip.b2b.system.B2BDomainException.ipLog(B2BDomainException.java:190)
    at oracle.tip.b2b.system.B2BDomainException.<init>(B2BDomainException.java:138)
    at oracle.tip.b2b.engine.Engine.copyAndResetPayload(Engine.java:5599)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3053)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2706)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:540)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:200)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    java.lang.NullPointerException
    at oracle.tip.b2b.system.InitMessageBundle.getStringFromBundle(InitMessageBundle.java:207)
    at oracle.tip.b2b.system.InitMessageBundle.getStringFromBundle(InitMessageBundle.java:179)
    at oracle.tip.b2b.system.IPException.getSeverity(IPException.java:422)
    at oracle.tip.b2b.system.IPException.getMessage(IPException.java:466)
    at oracle.tip.b2b.log.LogManagerImpl.log(LogManagerImpl.java:108)
    at oracle.tip.b2b.system.B2BDomainException.ipLog(B2BDomainException.java:190)
    at oracle.tip.b2b.system.B2BDomainException.<init>(B2BDomainException.java:138)
    at oracle.tip.b2b.engine.Engine.copyAndResetPayload(Engine.java:5599)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3053)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2706)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:540)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:200)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Can anyone please let me know what could be the issue? I am new to Oracle B2B. Please guide me
    Thanks in advance

    Make sure that value of "Large Payload Directory" is a valid directory. You can find it at Administration -> Configuration --> Performance. By default it's value is "/tmp" which is not a valid path for all the OS.
    Please refer section "A.2 Handling Large Payloads" at -
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10229/app_perform.htm#BABCDGBD
    Regards,
    Anuj

  • B2B 11g - Base64 - Decoding possibility?

    Hi,
    I have created a Proxy Service is OSB to receive input payload from my tranding partner. Along with some other information I also get HL7 document which is Base64 encoded in the input payload. Currently I am using a Java call out to decode the message and send it to the B2B_IN_QUEUE, from where B2B picks up the message.
    Is there a way in B2B which tells B2B to first decode the message and then use it? I just want to pass the encoded message to B2B and then have B2B decode that message and identify the agreement.
    Thanks,
    Sanjay

    Hi Sanjay,
    Is there a way in B2B which tells B2B to first decode the message and then use it? I just want to pass the encoded message to B2B and then have B2B decode that message and identify the agreement.You may use java callout in Oracle B2B itself-
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/callouts.htm#CHDEFBDG
    Regards,
    Anuj

  • B2b data source change

    Hi,
    I have just installed the following:
    1. Mete Data Repo..MRCA for creating B2B SCHEMAS.
    2. Oracle AS 10.1.2.0.2
    3. Oracle b2b integration 10.1.2.0.2
    4. Oracle AS 10.1.2.0.3
    However post i need to change the hostname for the database in the OAS installation.
    like in.
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc-vip.emix.nu)(PORT = 1521))
    needs to be changed to
    (ADDRESS = (PROTOCOL = TCP)(HOST = pqr-vip.emix.nu)(PORT = 1521))
    does b2b pick up from some jndi entry...can u let me know the file location or from console where this can be done.
    Thanks,
    Rosh

    Hi Rosh,
    Sinkar has described it very well, here -
    Re: b2b connection
    Regards,
    Anuj

  • B2B call out - TO_PARTY, FROM_PARTY

    Hi
    I have written a java program extending oracle.tip.callout.Callout, implemented execute() method gave some System.out.println() statment for debugging pupose.
    Prepared jar out of this java file and uploaded under B2b home/ip/lib.
    I have updated my trading partner with Call out class, library, call out timeout values.
    restarted my b2b.
    In the logs under b2b_home/ip/logs/
    I can see that debug statement for displaying the TO_PARTY, FROM_PARTY are comign as null.
    I have given EDI Interchange Id as identification in Agreement.
    And provide Interchange Sender Id and Interchange Receiver Id in Documet Protocol parameters.
    And this is inboud operation.
    Could you please tell me if I am missing anything?
    Thanks
    Praveena

    Hi Prasanna,
    My use case is.
    I have an EDI Payload which is having carriage returns, because of which it is not processed correctly, I have to process this file before B2B picks it up.
    It is an inbound operation , wherin EDI files will be placed on some directory on the server.
    The processing of this file is happening successfully in B2B.The message is getting translated to XML in IP_IN_QUEUE.
    Now for processing my EDI payload, I have to use Call out.
    I changed the Java classs, and added my code and redeployed it.Now it is throwing AIP-51806: Error during callout invocation.
    So I created a new class and prepared the jar, then also same error.
    I raised this in another thread.I couldn't go forward because of this error.
    Thanks
    Praveena

  • Trading partner receiving two same transactions

    Hi B2B Gurus,
    Our scenario is Division people place the flat files to FTP folder, SOA picks the flat files from FTP and it transforms to EDI XML file and then it place the EDI XML to IP_OUT_QUEUE, B2B picks up the file and it transforms to native EDI and sends it to trading partner.
    But here issue is we are sending a single transaction to trading partner and they are receiving the same payload with different filename
    Ex: The file named - Penske_860_20110629_172354282965_20110629_132412042.dat (Interchange # 282965)
    Contains the same data as - emerson860_pp_out.110629132506.17334
    The file named - Penske_860_20110629_183428283017_20110629_143441592.dat (Interchange # 283017)
    Contains the same data as - emerson860_pp_out.110629143618.29885
    Could any one help us how to cross chek this and wat are the chances for this ...
    Regards
    Sam

    Hi Anuj,
    Is it that same TP is receiving one transaction twice or same transaction is being passed to two TP's
    ans:same TP is receiving one transaction twice with different filename with same payload.
    We are using 10G B2B.
    We are sending one transaction to tradaing partner and trading partner receving the same transactions twice with different file name and same payload.
    Anuj, I cross check the filename in the log file, i am able to find only one file name in it. (Penske_850)
    Is it possible that we sent one file and they are duplicating on theire side?
    Regardds
    sam

  • Incorrect data from "table.getString" in jCO call to a Unicode SAP sys

    We have started getting java errors, with a local standalone java application, after we converted our SAP system to Unicode. The java application makes a RFC call to SAP and runs a functional module, which extracts payment data. The data is passed through table parameters T_OUTLOG and T_FILE.
    When trying to get data from the first field/parameter of a table, it also picks up data from the second field/parameter. It seems to be picking up twice the number of expected characters. Consequently when we try to get data from the second field/parameter, it now contains the data from the third field/parameter.
    Below are the sample data, java code and results:
    eg. SAP TABLE "T_OUTLOG" has the following fields and values:
    FILE: 103501U1
    LAUFD: 20070803
    LAUFI: TIN01R
    RPPOST: 44
    JAVA CODE:
    com.sap.mw.jco.JCO.Table table = function.getTableParameterList().getTable("T_OUTLOG");
    for(int i = 0; i < table.getNumRows(); i++)
      table.setRow(i);
      String s12 = table.getString("FILE");
      String s13 = table.getString("LAUFD");
      String s14 = table.getString("LAUFI");
      int j = Integer.parseInt(table.getString("RPOST"));
    RESULTS:
    S12 ("FILE") = 103501U120070803
    S13 ("LAUFD")= TIN01R
    Please advise if you have seen this error before. Is there a need to update any of the jCO jar, rfc, dll files etc.? If so how can this be done?

    Jco return a big String with the result. When you initialize the JCO.table get the structure and length of each field.
    But, your code is correct. Check in SAP the function and structure of T_OUTLOG
    Also, you can use JCO.Field to find the error.
    com.sap.mw.jco.JCO.Field objCurrentField = null;
    com.sap.mw.jco.JCO.Table table = function.getTableParameterList().getTable("T_OUTLOG");
    for (int j = 0; j < table.getFieldCount(); j++) {
         objCurrentField = table.getField(j);
         System.out.println(j“> ”” Name: ”+ objCurrentField. getName() + “; Length”+ objCurrentField.getLength() + “; Type: ”+ objCurrentField.getTypeAsString() + “; Value: ”+ objCurrentField.getValue());
    Remember, The abap data type it’s different in JAVA and depend of the users parameters. Example: Fields Type DATUM in SAP return to JAVA “00.00.0000” or “00/00/0000” or “00000000”. Maybe the problem it’s the data type.

  • Error when using File protocol

    Hi,
    I have set up ACME (Host) and Vision (TP) to send an xml file using "Custom Document over Generic Exchange". I post a file to the inbound queue using the tutorial shell script. The file shows up in the /tmp/b2b directory that I set up. However, it gets deleted in about a minute.
    The transactions shows as completed under "Business Message Status Report" The error report shows: "Document protocol identification error."
    The debug log shows the following:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>0A0428AA10EA56E70720000017C970F0</b2bMessageId>
    <errorCode>AIP-50083</errorCode>
    <errorText>Document protocol identification error</errorText>
    <errorDescription>
    <![CDATA[Unable to identify the document protocol of the message  ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    The ack mode is set to none. Why is the iB2B trying to read the message after writing to the output directory?
    Thanks in advance.

    Hi
    This could be due to the fact that you have used the same endpoint for Vision and Acme.
    The flow seems to be as follows
    - Enqueue message into Queue
    - Acme B2B picks up the message, finds the message is for Vision and drops it into the endpoint defined for Vision (endpoint taken from the Delivery Channel created for TP Vision). Till this it seems as expected.
    - Acme B2B polls on the endpoint for it to receive the message ( this is endpoint taken from the Delivery Channel created for Host Acme).
    - If there is a file in the endpoint directory, it will be picked by Acme B2B.
    I feel you have the same endpoint given for both Acme and Vision. Please try the following
    - Change the Vision endpoint to /tmp/vision
    - If the endpoint had been used as "use exsiting" then even the Acme endpoint would have changed to "/tmp/vision", so please create a new Delivery Channel for Acme and set this endpoint to "/tmp/Acme".
    Hope this helps.
    Cheers
    -Arun

  • Doc type in 10G

    Hi B2BGurus,
    I am trying to process showshipment file from FTP folder to B2B(Where B2B picks it up from ftp and send it to RTP) to send it to RTP, but it erroring out in B2B...
    doctype name:show_shipment_456
    Machine Info: (dev-soa.pots.org)
    Description: Make sure the trading partner has name, type, and value information
    StackTrace:
    Error -: AIP-50548: Trading partner agreement lookup failed as From trading partner cannot be identified
         at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:316)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:606)
         at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:223)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1098)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:913)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:326)

    Hi Anuj,
    I changed the file name according to it and now i am facing the different error, help me in resolving this please
    Machine Info: (dev-soa.pots..)
    Description: General Error
    StackTrace:
    Error -: AIP-50014: General Error: Error -: AIP-50025: Repository error : Error -: AIP-50025: Repository error : Error -: AIP-50143: Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1251)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:913)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:326)
    Caused by: Error -: AIP-50025: Repository error : Error -: AIP-50025: Repository error : Error -: AIP-50143: Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateReqRespState(DbAccess.java:3427)
         at oracle.tip.adapter.b2b.msgproc.Response.outgoingResponse(Response.java:905)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1208)
         ... 3 more
    Caused by: Error -: AIP-50025: Repository error : Error -: AIP-50143: Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.collaboration.CollaborationManager.setTransactionState(CollaborationManager.java:874)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateReqRespState(DbAccess.java:3424)
         ... 5 more
    Caused by: Error -: AIP-50143: Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.collaboration.B2BWFEventManager.handleException(B2BWFEventManager.java:478)
         at oracle.tip.adapter.b2b.collaboration.CollabCatalogAccessor.getTransactionInstance(CollabCatalogAccessor.java:364)
         at oracle.tip.adapter.b2b.collaboration.CollabCatalogAccessor.setTransactionState(CollabCatalogAccessor.java:283)
         at oracle.tip.adapter.b2b.collaboration.CollaborationManager.setTransactionState(CollaborationManager.java:871)
         ... 6 more

  • Tutorial of ACME-GLOBALCHIPS with FTP1.0

    We have tried to finish the Purchase Order tutorial with Acme(Host) side set up and transport Protocol as FTP1.0 and EDI X12 over Generic Exchange.
    We have defined a Agreement and validated it and then created a configuration and deployed it successfully.
    Now if we run the enq_850.sh we can find a entry in Error Status report in B2B that shows Failed Guideline.
    Then we tried with Translation and Validation off this time we got the dat file with the content same as input xml i.e. Acme_850.xml and FTP done to desired location.
    Can anyone help me out how to through this test case with Translation and Validation ON and pinpoint the error.
    Vargab Pathak
    Mobile:9831964607

    Thanks Ramesh and Prasanna,
    Your help from this forum had helped us immensely to finish our POC on sending an outbound X12 document(850) from BPEL to B2B.We selected the PO data from Oracle Applications using a procedure called this procedure from BPEL process using a database adapter.Enqueued the selected data in IP_OUT_QUEUE using a AQ adapter.B2B picks up this message and converts into a dat file and FTP it to the location defined as end point of Remote trading partner.As we are through with PO with single line we are now trying with PO with multiple lines.
    As in this case the procedure needs to return multiple lines we are returning a table type from it.We are using BPEL PM 10.1.2 it cannot handle this table type.When we tried with BPEL PM 10.1.3 in desktop machine its writing a wrapper package and taking care of this table type.My question is how to handle this table type in BPEL 10.1.2.There must be some work around.
    Thank you once again for your kind support.
    thanks and regards
    Vargab

Maybe you are looking for

  • Lot of core files are generated in webserver machine.......

    we have a iplanet webserver running in our production environment........it is creating lot of entries in the file /var/adm/messages............... Aug 11 13:00:01 uk17 sendmail[1449]: [ID 702911 mail.warning] gethostbyaddr(192.168.245.62) failed: 1

  • Changing Subject: Header for bounced messages

    Our current version: imsimta version Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008) libimta.so 7.0-3.01 64bit (built 09:24:13, Dec 9 2008) Using /opt/sun/comms/messaging64/config/imta.cnf SunOS mmp-nhm1.its.utas.edu.au 5.10 Ge

  • Software download failure - DLL missing

    Colleagues, I have tried to upgrade my Desktop software version 5.0 version 1682 by downloading the 7.1 or earlier software. During the process I get an error message 1723 indicating there is a missing DLL file. How can I solve this problem. Thanking

  • PO return with TD shipment

    Dear gurus, I have a problem with return PO. - First I create return PO with return flag checked. - Then create Outbound delivery (Vl10D). - After that I create TD shipment (O4F1), assign Outbound delivery and make Loading confirmation (O4G1). - But

  • Unable to run Cisco IP Communicator

    I am trying to run Cisco IP communicator while connected to my Wifi network at home (Verizon Fios) but something in the router is blocking it. I am successfully able to run it using Wifi on other Internet services(UVerse, TimeWarner).  Could you plea