Oracle 11g b2b server JMS Internal Delivery Channel Configuration
Hi,
I am using Oracle 11g b2b server configured with ebMS protocol. I have created a JMS internal delivery channel at host trading partner. Now the Inbound message (message from remote trading partner) will be delivered to back-end application through the jms internal delivery channel. Now I wanted to send this message to the another weblogic server domain which is hosted on another box. So where do I give the other weblogic domain details such that the message will be delivered from the host trading partner's b2b server to remote weblogic domain queue?
Regards,
Baskaran
Hi Baskaran,
As already mentioned by Nitesh, You can Create a Internal JMS Delivery channel and configure the same in your agreement to route the messages to the remote weblogic(domain) JMS queue.
Remote weblogic domain's ip address and port details can be configured as part of JMS Internal Delivery channel, "Destination Provider" like below,
eg.
java.naming.provider.url=t3://<host>:<port>;java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.security.principal=<username>;java.naming.security.credentials=<password>
In this case the messages directly delivery to the remote JMS queue.
Regards
Nandagopal
Similar Messages
-
Diff between AQ & JMS internal listening channel
Hi,
we have configured the oracle b2b 11g server to support ebMS protocol. Tried sending the outbound message from host trading partner to remote trading partner. The outbound message was picked up by the host b2b server over the default queue (IP_OUT_QUEUE) and it had processed the outbound message successfully and send it to remote trading partner. Now i am trying to post a outbound message with the same set of properties over jms queues to host b2b server. It is throwing the following error. Can someone help me out to ounderstand the behaviour between AQ & JMS integration to the Oracle b2b server through internal listening channel?
2009-12-17T10:41:54.406+00:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1a59f29] [userId: <anonymous>] [ecid: 0000IMN9ud6Fw000jzwkno1B9Z400000Ia,0] [APP: soa-infra] Error -: B2B-50083: Document protocol identification error.[[
at oracle.tip.b2b.engine.Engine.identifyDocument(Engine.java:4203)
at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:1850)
at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1395)
at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3216)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:2960)
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)
AS Properties used
user=POC_SOAINFRA
password=poc
url=jdbcracle:thin10.26.248.158:1522rcl
replyToMsgID =
from = BT
to = TP1
doctypeName = bcRequestOrderWLRv13_rs_DT
doctypeRevision = 1.0
payload = ./BT_12345678.xml
attachment =
JMS Properties Used
destination=jms/b2b/B2B_OUT_QUEUE
cf=jms/b2b/B2BQueueConnectionFactory
factory=weblogic.jndi.WLInitialContextFactory
url=t3://10.26.248.244:61001
replyToMsgID =
from = BT
to = TP1
msgType = 2
doctypeName = bcRequestOrderWLRv13_rs_DT
doctypeRevision = 1.0
eventName = rsConfirmOrder
payload = ./BT_12345678.xml
Even i have tried removing the msgType & eventName JMS properties as well but no luck.
Regards,
BpHi Nitesh,
Ok, I have done one change that i have enabled the internal option for the jms listening channel configured for the host application. Now the jms outbound message is getting failed with the following error. So I am thinking that the unsuccessfull message processing is due to the db issue then. Is my understanding correct?
Informational -: B2B-50014: General Error: Informational -: B2B-50025: Repository error: Informational -: B2B-50025: Repository error
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1351)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:738)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3077)
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)
Caused by: Informational -: B2B-50025: Repository error: Informational -: B2B-50025: Repository error
at oracle.tip.b2b.msgproc.DbAccess.formExtB2bMsgForBatch(DbAccess.java:1646)
at oracle.tip.b2b.msgproc.DbAccess.formExtB2bMsg(DbAccess.java:1358)
at oracle.tip.b2b.msgproc.Response.outgoingResponsePostColab(Response.java:1053)
at oracle.tip.b2b.msgproc.Response.outgoingResponse(Response.java:948)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1298)
... 8 more
Caused by: Informational -: B2B-50025: Repository error
at oracle.tip.b2b.msgproc.DbAccess.formExtB2bMsgForBatch(DbAccess.java:1383)
... 12 more
Regards,
Baskaran -
Oracle 11g B2B commandline utilities to manage trading partners, agreements
Hi,
I am working on Oracle 11g b2b server configured with ebMS messaging protocol. My host trading partner is having more number of remote trading partners and hence more agreements. I am exploring the possible means of automating the creation and deployment of trading partners, creation and deployment of agreements and updating some of the trading partners configuration through commanline utilities. Are there any commandline utilities available to do these activities as a self-service in Oracle 11g b2b server? I couldn't find the details in b2b user guide document. Hence I need help to identify this facility.
Regards,
BpsHello Bps,
In section 18 - B2B Command Line Tools, of Oracle B2B 11g user guide, it is mentioned that -
Self-service APIs are not available in this release.and as far as I know these API's are still not released. Please contact Oracle Support to get formal confirmation about the date when it may be released. You may also ask for any workaround available.
Please refer below link for all command line tools available -
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10229/scrpt_imp_exp_dep.htm#BABEACGI
In 11g, all the commandline utilities are listed in single ant script, which is located at $SOA_HOME/bin/ant-b2b-util.xml file.
Regards,
Anuj -
Oracle 11g B2B resubmission commanline utility
Hi,
Do we have the commandline resubmission option available with Oracle 11g b2b server to resubmit a application message or a wire message?
Regards,
BpHello Bp,
In 11g, Resubmission is UI based and is a manual operation. Please refer section "16.1.3 - Resubmitting Messages from Oracle B2B" at below link-
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10229/bb_reports.htm#CHDCDDIE
Also refer-
http://blogs.oracle.com/oracleb2bgurus/2009/09/what_do_i_like_most_in_11g_-_r.html
Regards,
Anuj -
Unable to set Internal delivery channel in B2B 11g
Hi
I am very new to B2B
I have some doubts that i want to clear
I am not sure whether the internal delivery channel will be automatically set in B2B 11g
I created an agreement for one of the external trading partner from host trading partner
When I try to deploy the agreement it is failing with the validation error
I don't know what is the error but I am believing that the internal delivery channel is not set for my host trading partner
I have two question's here
1. How to set Internal delivery channel in 11g B2B if it is not automatically set. If it is set what is it
2. Where can I find the log file on server. I want to get the details of the validation error occuring while I am deploying the agreement
Any help is greatly appreciated
Thanks
Vijay Sai.SHi
Now I want to define a custom IDC using HTTP.
How Can I do that
If go to channels tab for my TP and select HTTP as channel, I am not able to save it and the error is Unable to create an IDC with HTTP as method.
Can you tell me how can I create custom IDC
I don't want to use QUEUE channel for IDC.
Secondly do I have to give proper details of my TP?
I mean to say I that I want to just deploy an agreement for testing purpose by just giving some dummy details of my TP connection.
What if I don't have proper details of my TP connection
Thanks for the log file path
I found it.
I couldn't find any extra details in it though
Thanks
Vijay Sai.S -
BPEL JMS Adpater to publish message to B2B Internal Delivery Channel
We are planning to use the JMS adapter in BPEL to publish message to B2B Internal Delivery channels. But during the JMS Adapter configuration it doesnt list the B2B Internal queues (IP_OUT_QUEUE and IP_IN_QUEUE) in the list of queues. However for AQ Adapter in BPEL, during the AQ Adapter configuration its lists the queues(IP_OUT_QUEUE and IP_IN_QUEUE) in the list of the queues. We used the same database connection and user for both the adapters. The B2B queues are in the B2B repository.
Can we use the JMS Adapter in BPEL to publish message to B2B internal delivery channel and if so is there any other configuration we need to do?You can use the default AQ to pub/sub messages in/out of the IP_IN and IP_OUT Qs.
However, if you still need to use JMS, then make the B2B listen to this JMS Q and then use the JMS adapter.
Using the default AQ should be robust and simple. But, again we have seen several customers implementing in thrid party JMS providers as per their business scenarios.
Regards
Anirudh Pucha -
Using Weblogic JMS for internal delivery channel
hi,
I want my B2B to talk to back-end application through Weblogic JMS queues. I have configured internal delivery channel for this. I am getting error message 'Max retry exceeded' in b2b_idc_transport.log
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) initialize TransportReceiver: [WLIOutbound_TServer < jms > < Wholesale >]
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) JMSReceiver.init() started ....
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) Establishing JMS Connection.
2008.09.24 at 12:10:03:704: B2BStarter thread: (DEBUG) Establishing JMS Connection.
2008.09.24 at 12:15:03:428: B2BStarter thread: (ERROR) Max retry exceeded, closing everything
java.lang.Exception: Max retry exceeded
at oracle.tip.transport.basic.jms.JMSMonitor.reconnect(JMSMonitor.java:833)
at oracle.tip.transport.basic.JMSReceiver.init(JMSReceiver.java:333)
at oracle.tip.transport.b2b.B2BTransport.init(B2BTransport.java:379)
at oracle.tip.adapter.b2b.transport.AppTransportInterface.initialize(AppTransportInterface.java:282)
at oracle.tip.adapter.b2b.engine.Engine.initialize(Engine.java:512)
at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:280)
at oracle.tip.adapter.b2b.init.B2BStarter.startB2B(B2BStarter.java:297)
at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:143)
at java.lang.Thread.run(Thread.java:534)
I have applied latest patch 7322333.
kindly let me know what is workaround for this? also, how can do debugging of this issue in B2B.
Thanks in advance.
Regards,
Vaibhav
Edited by: vaibs on Sep 26, 2008 12:15 AMhi Sinkar,
Thanks for reply. I have checked connectivity from b2b server to weblogic server, using java stub. Stub can connect to the Q successfully.
here is my b2b.log
2008.09.24 at 12:09:49:233: main: B2B - (DEBUG) B2B initialize
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) This is Main thread executing..
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) B2B start
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) B2B start - context started
2008.09.24 at 12:09:49:233: B2BStarter thread: B2B - (DEBUG) B2BStarter - This is B2BStarter thread executing..
2008.09.24 at 12:09:49:233: B2BStarter thread: B2B - (DEBUG)
Maximum Heap Size = 530907136
Memory Allocated = 8323072
Free Memory = 842560
2008.09.24 at 12:09:50:544: B2BStarter thread: BusinessLogicLayer - (INFORMATION) ExecutionContextManager initialization is done
2008.09.24 at 12:09:50:544: B2BStarter thread: BusinessLogicLayer - (INFORMATION) User's maxCachedSessions is set to 0
2008.09.24 at 12:09:50:560: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration oained
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
2008.09.24 at 12:09:51:793: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (NIFORMATION) Repository:print: [10] Custom Document over Internet
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
2008.09.24 at 12:09:51:981: 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'
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:initialize Enter
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:header name: ebXML SOAP Envelope
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:header name: ebXML SOAP Message Header
2008.09.24 at 12:09:52:386: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:initialize Exit
2008.09.24 at 12:09:52:402: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
2008.09.24 at 12:09:52:433: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
2008.09.24 at 12:09:52:543: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
2008.09.24 at 12:09:52:558: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
2008.09.24 at 12:09:52:558: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = STATUS
2008.09.24 at 12:09:52:605: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting http://localhost
2008.09.24 at 12:09:52:605: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: http://localhost port = 7777
PROTOCOL_ENDPOINT = null
2008.09.24 at 12:09:52:636: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Wholesale_Transport_Server < http > < Wholesale >]
2008.09.24 at 12:09:53:682: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
2008.09.24 at 12:09:53:682: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = WARNING
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (INFORMATION) Repository:getInternalDeliveryEndPointList: Putting jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize main Endpoint loop jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize looping through transport Endpoint: jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize add jms transport Endpoint: jms://[email protected] {Destination Provider Properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.destination_password=weblogic, Connection Factory Location=weblogic.jws.jms.QueueConnectionFactory, jms.receiver.jndi_connection_factory_location=weblogic.jws.jms.QueueConnectionFactory, isTopic=false, Message Type=bytes, jms.receiver.is_topic=false, jms.receiver.factory_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, transport_callout_waittime=30, jms.receiver.jndi_destination_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.polling_interval=10, polling_interval=10, Factory Provider Properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.jndi_destination_location=[email protected], jms.receiver.destination_username=weblogic}
2008.09.24 at 12:09:53:713: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [WLIOutbound_TServer < jms > < Wholesale >]
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2008.09.24 at 12:35:52:276: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
2008.09.24 at 12:35:52:884: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
2008.09.24 at 12:35:53:087: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
2008.09.24 at 12:35:53:087: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
Thanks,
Vaibhav
Edited by: vaibs on Sep 28, 2008 3:20 AM -
B2B message Id propagated back to Internal Delivery channel.
Hi
I am interested to find out if there is any mechanism to get the message Id of the document sent by the B2B server back to the internal delivery channel. My requirement is to update the application that sent out a message to the partner via the B2B gateway after I receive an acknowledgment back from the TP. I am using RNIF, so I will be using the exchange level ack. I am also curious to know if B2B can send any control information about the doc exchange status through the internal delivery channel like Status, time sent, messageId etc.
Very urgent.
Thanks
AntenehThanks for the quick turn around the issue. I need help on following
I set up two b2b instances. I am sending 3A4 document as a custom document on AS2 protocol. I have two issues:
1. my sender receives a MDN (acknowledgement) if we send syntactically correct data to partner. state of transaction when i look at the sender side 'business message status report' is changed to 'complete'.
when we send syntactically wrong data MDN is not generated by receiver and the sender side logs show the transaction state as 'waiting for ack'. receiver side 'business message status report' show the transaction as 'Error'.
I turned on the flag 'is acknowledgement handled by Integration b2b' to 'yes' on both sender and receiver side
2. The positive ack which is received by the sender, which changes the state of transaction to complete, I expected it to be posted on to IP_In_queue. But I dont see it there. I am using 'b2buser' to dequeue the message. -
File Internal Delivery Channel
I've created an internal delivery channel to poll for when a File is dropped into a specific directory on the B2B server. B2B should poll for the file and pick it up once the file appears to be sent out to our trading partner. The problem is B2B is not picking up the file and it is just sitting in the directory.
Directory where the file is being dropped: /rootdirectory/foldername/name/location
- directory is on the same server as b2b
File Name: TradingPartner_DocType_MessageType_MessageID.xml
- MessageID is unique
Permissions: The file used for testing was put there by ‘oracle’ home user.
Internal Delivery Channel Settings:
Transport Details:
Transport Protocol: File
URI: /rootdirectory/foldername/name/location
Polling Interval: 1
Receiver Read Only: false
Transport Sever Details:
Host name: B2B box
I created the TPA using the internal delivery channel I created. The configuration is deployed and when I drop the file there, nothing happens. Nothing seems to show up in the logs or error reports.
It seems as if B2B is not even polling that directory. Is there some configuration setting I'm missing? Any help would be greatly appreciated.
Thanks.Hello,
sankar has already given the solution. YOu might also want to enable the transport log for further error messages. Please do so in tip.properties.
#oracle.tip.adapter.b2b.transportTrace = c:\\oracle\\midtier\\ip\\log/transport.trc
Rdgs,Ramesh -
Creation of new internal delivery channel using AQ
Hi,
I wanted to route one of Trading partner data to a different queue.(no want to use existing queues - IP_IN /IP_OUT queue).
This needs to create a new delivery channel using AQ in B2B.
I have gone thru the steps & entered all entries, but I am not able to find any queues created in B2B schema.
Do I need to create a queue using PL/SL in B2B to make it available as internal delivery channel or this setup itself will create a queue in B2B?
PFA the entirs:
for transport parameters
- transport server (B2B server IP)
- Protocol as AQ
-URI - b2b.<uri_name> (name of Queue, wanted to create)
- Hostname
- Port
-SID - b2b
-consumer - b2buser
- receiptient - null
-Polling interval - 6000
Transport server details:
Host name - (IP)
IP - Host IP
username -
Pswd - for B2B schema
Any pointers will be a great help.
Regards,
MSAs mentioned by TH in the above post, first thing is to create the data type that is used for messages - IP_MESSAGE_TYPE. This data type will already be present in the B2B database and could be reused.
For a new data type you could do the following.
==============================================================
Create a new data type using the following
==============================================================
create type IP_MSG_TYPE as OBJECT (
MSG_ID VARCHAR2(128),
INREPLYTO_MSG_ID VARCHAR2(128),
FROM_PARTY VARCHAR2(512),
TO_PARTY VARCHAR2(512),
ACTION_NAME VARCHAR2(512),
DOCTYPE_NAME VARCHAR2(512),
DOCTYPE_REVISION VARCHAR2(512),
MSG_TYPE INT,
PAYLOAD CLOB,
ATTACHMENT BLOB
Once you have created a new Data type ( or are reusing the existing data type), you need to create Queue Table that will hold the Outbound and Inbound message queues. The existing Queue table is "IP_QTAB" which can again be reused.
For new Queue table you could do the following
==============================================================
Create a new Queue Table using the following
==============================================================
execute dbms_aqadm.create_queue_table ( queue_table => 'MY_QTAB',
queue_payload_type => 'IP_MSG_TYPE',
multiple_consumers => FALSE);
If you need to reuse the datatype change the queue_payload_type to 'IP_MESSAGE_TYPE'.
Once we have the Queue Table that will hold the queues, we need to add and start the queues that are to be used for the inbound and outbound messages.
==============================================================
Create the new Queues into the Queue Table using the following
==============================================================
execute dbms_aqadm.create_queue (queue_name => 'B2B.MY_OUT_QUEUE', queue_table => 'B2B.MY_QTAB');
execute dbms_aqadm.create_queue (queue_name => 'B2B.MY_IN_QUEUE', queue_table => 'B2B.MY_QTAB');
execute dbms_aqadm.start_queue(queue_name => 'B2B.MY_OUT_QUEUE', dequeue => TRUE, enqueue => TRUE);
execute dbms_aqadm.start_queue(queue_name => 'B2B.MY_IN_QUEUE', dequeue => TRUE, enqueue => TRUE);
If you are reusing the queue table IP_QTAB for creation of new queues, then reference that for the queue_table in above commands.
You need to reference the queue_name eg. B2B.My_OUT_QUEUE in the B2B UI screen.
Hope this helps.
AKT -
Hi Gurus,
Can anyone help me in understanding all the below related in oracle 11G B2B
1. While creating a document type, we have a parameter called FA on ERROR, What is FA on error?
2.while creating a channel for remote trading partner we have an option called proxy, Any idea abt this ?
3. We have a option in 10 G B2B like "functional acknowledgement handle by integration B2B" do we have this option in 11G
4. Can 11G B2B handle CBOD Ex: in EDI we have a 997 for inbound or outbound we send 997 as FA, can we do this for OAGIS files.....
5. Can i have a 11G B2B important tables names and query to check the inbound and outbound messages....
Thanks1. While creating a document type, we have a parameter called FA on ERROR, What is FA on error?Guess , you are talking about OAG document . "FA on Error" is used for confirmation flag value '1'.
2.while creating a channel for remote trading partner we have an option called proxy, Any idea abt this ?This is for proxy setting . when message are going via proxy then this has to be enabled and proxy setting has to be done in weblogic server.
3. We have a option in 10 G B2B like "functional acknowledgement handle by integration B2B" do we have this option in 11GYes. This is available in configuraion tab of Administation page .
4. Can 11G B2B handle CBOD Ex: in EDI we have a 997 for inbound or outbound we send 997 as FA, can we do this for OAGIS files.....Yes. SOA11gPS2 can handle CBOD and correlate with request message too. There are many featues in OAG. like B2B can generate the CBOD , can validate the message against xsds and many more.Drop a mail to know more.
5. Can i have a 11G B2B important tables names and query to check the inbound and outbound messages....You can refer to below threads;
Information required about B2B transaction tables in 11g
Rgds,
Nitesh Jain
[email protected] -
Inbound MDN's are being sent back to Internal delivery channel
AS2 over HTTPS (sync MDN's) are being sent back to inbound IDC rather than b2b consuming them , can any one point the root cause
Thanks,
KalyanHi Kalyan,
Make sure that you are enabling "Is Acknowledgment Handled By Integration B2B?" in HOST trading partner.
Oracle B2B never defaults an IDC from any other business action. Moreover agreement configuration elements are independent of business protocol being used.
Each and every agreement will have a field "Responding Internal Delivery Channel " but this field appears if you selected "Yes" from the "Is Acknowledgment Handled By Integration B2B?" list when creating a remote trading partner on the Operational Capabilities page.
This field of agreement is used to select the internal delivery channel to use for responding to (acknowledging) messages.
Cross-check your business action configuration and corresponding agreement configuration again.
Please let me know the result.
Regards,
Anuj -
997's sending through internal delivery channel
Hi All,
My scenario is , this is only for testing purpose.. I am sending PO through internal delivery channel to some other ftp in our local folder, b2b should send a 997 back to ipinqueue,, Is it possible to do that....
Help me to resolve this issue please..
RegardsHi Ramesh,
I am getting below errror
Machine Info: (essapt020-u009.emrsn.com)
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) -
File Internal Delivery Channel failed
hi all,
i'm facing some problem with the File Internal Delivery Channel, my idea is to output the incoming message from my remote trading partner into a folder.
i'd follow the steps in the user guide but i can see any files in the folder.
i've try the FTP Internal Delivery Channel and i can see those files in the folder.
can anyone help me here? how to output the incoming message into a folder using the File Transport Protocol??
ThanksHello PT,
A part of this question is also discussed in the other post named Transport Parameters for FTP1.0 . In acme-Global Chips scenario , you might want to define the delivery channel for Acme to be picked up from an FTP folder where Global Chips is assumed to be placing the files for inbound.
For outbound scenario, you have to define the delivery channel of GlobalChips to define the FTP end points so that B2B will put the files in the respective folder. HTH. Please let me know.
Rgds,Ramesh -
How to create a CUSTOM AQ internal delivery channel.
Hi,
I want to use a custom AQ internal delivery channel for inbound. Can someone please help me in the configuration details.Hi Manindra,
You can either create a new URI or use the existing one. It's up to your requirement and use case. URI is nothing but the destination location on which B2B thread hear to pick the message and connects to pass the message.
Regards,
Anuj
Maybe you are looking for
-
SRDemo setup in Webcent 10.1.3.2
Hi, I'm having lot sof problems with SRDemo setup on my new WebCenter 10.1.3.2 installation. For background here is the components which have so far been installed and configured: - indtalled empty Database 10.1.2.3 - installed ias repository to abov
-
How to choose diffetent PO types in R/3 from a SC in Classic Scenario
Hello everyone, I am working with SRM 5.0 in a classic scenario and I have a problem. I create a SC, then it is sent to sourcing cockpit where I assign it a vendor to create a PO, but I can't choose what kind of PO I want to create. In PPOMA_BB, the
-
Can GRID control on Windows watch DB on HPUX
Guru's, I've got a stupid question. Going to install the 10.2 GRID control on a Windows 2000 server. Will I be able to manage Oracle databases that reside on a HPUX server? PS - I've decided to not install the GRID on my HPUX server, as per my earlie
-
Not able to Remove the ZEN 20GB Safely from compu
Hi All When i connect my Zen 20Gb to my comp win xp sp2, it gets detected and i am able to get a new icon under removable dri've and am able to save data's in the Zen's dri've but when i want to disconnect it from the comp, i right click on the usb i
-
Question my computer is not letting me sign on it says invalid password and I know it's the right one it wants me to reset the password but I do not have a password reset disk is there anything I van do?