How to define a transaction queue in xmlgateway setup?
Hi folks:
I have made a sample in XMLgateway successfully. But that is using the OTA way, which I send the request use the Oracle Transport Agent with this link:http://[hostname]:[port]/webservices/ECXOTAInbound, and I can see the status in Transaction Monitor is successful. And From Oracle DB, I can see the message is enqueued the ecx_inqueue table(Inbound Message Queue) first, and then the workflow BES enqueues the message to the ecx_in_oag_q_table(inbound transaction queue) for XML gateway to process.
And my question is: When I try to send the message rather by axis client than by the link http://[hostname]:[port]/webservices/ECXOTAInbound, there is no record for this message in Transaction Monitor. And from Oracle DB, I can see the message is enqueued the wf_ws_jms_in table(Inbound Message Queue) first, and then the message is not enqueued into ecx_in_oag_q_table(Inbound transaction queue). But a error message is insert into ecx_inbound_logs.
So,What I want to ask for help are following:
1.How can I define the transaction queue for trading partner's transaction?
2.Is there another inbound transaction queue I can use for wf_ws_jms_in(Inbound Message Queue)?
3.Is this transaction queue(ecx_in_oag_q_table) only receive the message from ecx_inqueue table(Inbound Message Queue)? If yes, what's the transaction queue receive the message from wf_ws_jms_in table(Inbound Message Queue), and How can I assign this transaction queue to my JMS and web service request trading partner?
I really appreciate if anyone can help me to make such thing clear. Thanks very much.I'm always waitting...
i have a program in production system if i type the request and execute its sends a mail to my admin saying to transport the request to production system.....thats y??????
just tell me ur idea.............
Similar Messages
-
How to define a persistant queue in glassfish v2.x
Hi Everyone,
I just wanted to ask how to define a persistent queue in glassfish v2.x.
Basically I want that, if there are un-consumed messages in the queue and the goes goes down, the messages will still be there once the queue comes up.
I haven't seen where I can configure these features, or whether it's a default setting.
If you can provide some screen shots for the configuring that'd be great.
If glassfish can't do it what other similar program can I use?
ThanksHi Peter,
You can find all information you need on Oracle Application Server JMS in the documentation:
http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14427/jms.htm
Including the ports if I'm correct. There's some nice links to HOW-TO documents as well.
I'm not that well familiar with JMS myself, but if I'm not mistaken it should not matter where you define your queues or topics, since they should be looked up through JNDI anyway. But please someone correct me if I'm wrong.
HTH,
Bas -
How to define transaction semantics for JMS Queues
Hi,
My scenario in Oracle Fusion Middleware 11gR3, SOA Suite, IDE: JDeveloper 11g is as follows:
First). receive a message from QueueA, Second). Using the message, call a serviceABC and send the same message into QueueB.
I created a syn-BPEL, configured two JMS Adapters(for accessing Queue A & B) and one webservice binding for calling serviceABC(Proxy service). Note: I created the two queues and a connection factory under JMS System Module. As two different external systems have to access QueueA and QueueB.
Now, when I execute the BPEL and ServiceABC gets faulted, the message is gettings consumed from QueueA and the same message is getting produced in QueueB.
My goal is to define a transaction semantics for my composite(syn-BPEL), such that, when ServiceABC or producing the message in QueueB fails. I retain the message in QueueA(basically, rolling back the message).
Options tried so far: 1). Created a scope for the three operations and added a compensationhandler to it and .2). XA Connection Factory is Enabled. Result: no luck:( still message from QueueA is getting consumed where as per my goal it should get rolled-back.
Please suggest your approach, I'll try out and post the outcome back.Whats your architecture? Are you running your app on an application server? If so, are you in a servlet or EJB? You should be able to get the application server to manage your transactions for you in that case e.g. wrap all the JMS calls in an stateless session bean and give it Required in its transaction attribute of deployment descriptor.
If you're not on an application server, you need to get a transaction manager, either by putting your code in an app server ( with JBoss you can use its transaction manager without necessarily having to use EJBs or Servlets, but thats not tested as thoroughly as the container managed transactions, and you will have to write some of the transaction code yourself ) or using a stand alone one. -
How to define a queue in SPAM?
how to define a queue in SPAM?
And also tell me the steps or procedure to apply support packs .Hello kumar,
- Download the support packs from service.sap.com (provided you have a login ID) to the usr\sap\trans directory.
- Open a command prompt and change the directory to
NT: :\usr\sap\trans
UNIX: /usr/sap/trans
- Unpack the support packs using the following command:
NT: CAR -xvf :
.CAR
UNIX: CAR -xvf ///.CAR
This command unpacks the files that need to be imported into your SAP instance into the usr\sap\trans\eps\in directory.
- Log into client 000 as user DDIC
- Call transaction SPAM
- Once in transaction SPAM, go to menu option Support Package->Load Packages->From Application Server. It will ask you if you want to upload the files - click the green check mark on the box that appears to upload the files.
- Another screen will appear listing the files that you uploaded successfully - just click on the Back arrow to get back to the SPAM screen.
- On the SPAM screen, click on the Display/Define button.
- A box will appear with the Support Package categories (Basis, ABA, etc.)
- Click on the category for the support packages that you uploaded and it will list them in order.
- You can apply them individually or the whole list at one time.
- To apply individually, select the first one in the list and then hit the green check mark at the bottom left of the box. Then on the SPAM screen, go to menu Support Package->Import Queue.
- Confirm that you want to import the support package.
- Once it is done importing, you have to confirm the queue by clicking on the
Confirm Queue button - this will turn the yellow light in the Status area to green.
*Always check your logs after applying support packages by clicking on the Logs button in the SPAM screen.
Regards,
Raju. -
How to define an new New transaction type in SRM Environment?
Hi All,
There is a situation where in I have to add anew transaction type and link it to the existing process.
If I am going to
SPRO->SRM->SRM Server -> Cross appl.Basic Setting ->
Define transaction type
It gives me an un editable screen.
My question is how to define a new transaction type here
Kindly Let me know if there is any way to do it through ABAP .
Thanks And Regards,
RupeshWhen you have gone through the path you describe you end up with a screen with a line for "define transaction types". To the left of the line are two icons - one to execute the function (the execute icon) and one with documentation (the text icon). Click on the documentation icon.
Rob -
How to define a JMS queuen in AppServer? Firewall-Ports?
How do I define a JMS queue in Oracles AppServer (for usage in SoaSuite)?
Which ports do I have to open in firewall to get the JMS queue be accessible from other (remote) computers?
PeterHi Peter,
You can find all information you need on Oracle Application Server JMS in the documentation:
http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14427/jms.htm
Including the ports if I'm correct. There's some nice links to HOW-TO documents as well.
I'm not that well familiar with JMS myself, but if I'm not mistaken it should not matter where you define your queues or topics, since they should be looked up through JNDI anyway. But please someone correct me if I'm wrong.
HTH,
Bas -
DEFERRED TRANSACTION QUEUE의 내용을 지우는 여러가지 방법 (replication)
제품 : ORACLE SERVER
작성날짜 : 2004-08-13
PURPOSE
advanced replication 환경에서, 특정 master site나 updatable snapshot
site은 다른 remote의 master site로 데이타를 propagation시키기 위해서
해당 local site에 deferred transaction queue를 유지한다.
remote site로 잘 전달된 데이타는 주기적으로 dbms_defer_sys.purge job에
의해 deferred transaction queue인 DEFCALL에서 지워지게 되는데, 경우에
따라 문제가 발생하면서 DEFCALL의 내용이 remote site로 전달이 안되면서
계속해서 지워지지 않고 남게 될 수 있다.
이러한 경우 다음 트랜잭션의 진행이나 전달에도 방해가 될 수 있어
강제로 지우고자 하는 상황이 발생하는데 그러한 경우의 조치 방법에 대해서
자세히 설명한다.
SCOPE
Advanced Replication Feature는 8~10g Standard Edition에서는 지원하지
않는다.
Explanation
1. 특정 deferred transaction id를 지우는 경우
기본적으로 deferred transaction queue에 쌓인 트랜잭션을 지우는
방법은 다음과 같다.
dbms_defer_sys.delete_tran(deferred_tran_id, destination)
즉 다음 예와 같다.
SQL>exec dbms_defer_sys.delete_tran('2.7.10', 'rep2.world');
이때, 해당 destination에 대한 모든 트랜잭션인경우는 앞의 argument를
null로 하고, 특정 transaction id에 대한 모든 destination에 대해서인
경우는 뒷부분의 argument를 null로 한다.
결국 저장된 모든 deferred transaction이라면, 다음과 같다.
SQL>exec dbms_defer_sys.delete_tran(null,null);
2. 특정 table에 관한 내용만 지우는 경우
예를 들어 특정 table, 여기서는 DEPT table에 관한 사항을 DEFCALL에서
지우고자 한다면 다음과 같이 조치하면 된다.
SQL>connect repadmin/repadmin
SQL>set pagesize 1000
SQL>set head off
SQL>spool purgedefcall.sql
SQL>select 'exec dbms_defer_sys.delete_tran('''
|| deferred_tran_id || ''', null);'
from defcall
where packagename like 'DEPT%';
SQL>spool off
spool에 의해 만들어진 purgedefcall.sql을 깨끗하게 편집한 후 다시 save한다.
SQL>connect repadmin/repadmin
SQL>@purgedefcall.sql
이때 만약 특정 site로의 전달만을 막고자 한다면, null대신 MS_B.WORLD와 같이
해당 site를 가리키는 database link이름을 직접 지정하면 된다.
3. 전체 queue의 내용을 모두 지우는 경우
DEFCALL의 내용을 모두 지우는 경우라면 기본적으로는 앞에서 사용한
DBMS_DEFER_SYS.DELETE_TRAN을 이용하면 된다.
SQL>connect repadmin/repadmin
SQL>exec dbms_defer_sys.delete_tran(null,null);
DEFERROR의 내용을 모두 지우는 경우에는 DBMS_DEFER_SYS.DELETE_ERROR를
사용한다.
SQL>exec dbms_defer_sys.delete_error(null,null);
그런데 이 delete_tran과 delete_error의 경우는 내부적으로 delete문장을
사용하면서 undo record를 위해 rollback을 사용하면서 지워야 하는 데이타가
매우 많은 경우 속도도 문제가 되고 rollback space오류도 발생 가능하다.
이러한 경우에는 다음과 같이 truncate command를 이용하여 간단하고 빠르게
deferred transaction queue의 내용을 정리할 수 있다.
(1) Oracle7의 경우
DEF$_CALL, DEF$_CALLDEST, DEF$_ERROR 를 모두 truncate시킨다.
단 이때 DEF$_CALLDEST가 DEF$_CALL을 reference하는 constraint가 있는 관계로,
DEF$_CALLDEST를 모두 truncate하여 데이타가 전혀 없는 상태에서도,
DEF$_CALL이 truncate가 되지 않는다.
delete operation의 경우 child table이 비어 있다면 master table의 데이타를
지우는데 오류가 없지만, truncate의 경우는 데이타 확인 없이 바로 지우는
것이기 때문에 child table에 데이타가 없다하더라도 그러한 check없이,
무조건 자신을 reference하는 child table의 constraint가 enable되어 있는한은
master table이 truncate가 불가능하게 된다.
SQL>connect as system/password
SQL>alter table system.DEF$_CALLDEST disable constraint
DEF$_CALLDEST_CALL;
SQL>truncate table system.DEF$_CALL;
SQL>truncate table system.DEF$_CALLDEST;
SQL>truncate table system.DEF$_ERROR;
SQL>alter table system.DEF$_CALLDEST enable constraint DEF$_CALLDEST_CALL;
(2) Oracle8의 경우
Oracle8에서는 DEF$_CALLDEST가 더이상 DEF$_CALLDEST_CALL constraint를
가지지 않으므로 이 부분에 대한 고려는 필요없이 다음과 같이 해당 table들을
truncate시키면 된다.
SQL>truncate table system.DEF$_AQCALL;
SQL>truncate table system.DEF$_CALLDEST;
SQL>truncate table system.DEF$_ERROR;
SQL>truncate table system.DEF$_AQERROR;
4. deferror의 내용을 지우는 방법
deferred transaction이 remote로 전달되어 반영되다가 오류가 발생하면
source가 되는 데이타베이스의 queue에서는 해당 내용이 사라지고,
반영되던 destination 데이타베이스의 deferror와 defcall/deftran에
해당 내용이 쌓이게 된다.
이러한 경우 error의 내용을 다시 반영을 시도하거나 아니면 내용을
확인 후 지우게 된다.
다음과 같이 지우면 된다.
SQL>exec dbms_defer_sys.delete_error(null,null);
참고로 다시 수행하는 것은
SQL>exec dbms_defer_sys.execute_error(null,null);
Reference Documents
<Note:190885.1> How to Clear Down the Deferred Queue and DBMS_DEFER_SYS.
DELETE_TRAN -
How to define RADIO BUTTONS in MODULE POOL PROG.?
Hi Experts,
I need to keep the RADIO BUTTONS in 1000_screen of my_module_pool prog., like,
I hv 2 fields in this screen, as expected, the first shuld hv DEFAULT selection.
So, I just simply, dragged & dropped 2 radio buttons from left menu of the screen builder & given them the names as
R_SUMMARY
R_DETAIL
Then i executed the transaction, but, these above 2 fields are getting selected, as default??
I know that, if its a REPORT prog. we can define as w/ a GROUP, then the 1st one is hv the default selection.
so,
1 - How to define RADIO BUTTONS in this screen of a module pool prog.
2 - How to use these names in the prog.(PAI - i guess)?
thanq
Edited by: Srinivas on Jul 12, 2008 11:59 PMHi Srinivas,
Please check this link
Re: urgent:Regd radio buttons in module pool
http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html
http://****************/Tutorials/ABAP/Checkbox/page1.htm
http://****************/Tutorials/ABAP/Checkbox/page2.htm
Best regards,
raam -
How to define Substitution rule for Businee area
Hi experts,
Could you please guide me to define substitution rule for Business are.
Below is the requiremnt :
I want to assign different business area for this cost centre.
While posting document in FB01, we are entering cost centre in line itme. Businee area is picking from cost centre master.
Example : Cost centre 11310 and businee area Y020.
Businee area Y020 is picking from cost centre 11310 while posting document.
I want to assign different business area for this cost centre.
For that I want to define substitution rule.
I have defined substitution rule and activated in comapany code but it is not working. Please guide me how to define Substitution rule for the same.
I have defined prerequisit as Comapny code = 2053 and Cost centre =11310 and transaction code = FB01 then
Substitute business area with Y045.
It is not working .
Please guide me where I did mistake and how to rectify the same.
Thanks in advance for your quick response and points will also assign for helpfull answer.
Regards,
AmarHi Paul,
Thaks for your reply.
Yes, you are correct. SAP is changing this back to BA from Cost centre.
Why can't we use Substitition for the above issue.
Then what is solution for my issue.Please suggest any alternative solution.
Thanks in advance for your help.
Regards,
Amar. -
How to define JMS-Adapter WSDL?
Is there somewhere a short guide on how to define a WSDL für accessing
a JMS queue through an JMS adapter?
How do I have to define the XSD for the payload of a JMS message?
PeterSrini,
the URL format u need to give while creating webservice is ....
<b>http://url:port/XISOAPAdapter/MessageServlet?channel=:service:channel</b>
here
service= <b>sender business ser</b>vice /<b>business system</b> whatever u have used.
channel= sender communication channel
for example
<b>http://xyz.com:59600/XISOAPAdapter/MessageServlet?channel=:BS100:Sender_SOAP</b>
BS100= sender business system
SEnder_SOAP = sender communication channel
hope u r clear now!!!!
regrads
biplab
Use a Good Subject Line, One Question Per Posting - Award Points -
How many types of transactions in ABAP
How many types of transactions in ABAP
Hi,
Transactions
The normal way of executing ABAP code in the SAP system is by entering a transaction code. Transactions can be accessed via system-defined or user-specific, role-based menus. They can also be started by entering their transaction code (a mnemonic name of up to 20 characters) in the special command field, which is present in every SAP screen. Transactions can also be invoked programmatically by means of the ABAP statements CALL TRANSACTION and LEAVE TO TRANSACTION. Transaction codes can also be linked to screen elements or menu entries. Selecting such an element will start the transaction. The term "transaction" must not be misunderstood here: in the context just described, a transaction simply means calling and executing an ABAP program. In application programming, "transaction" often refers to an indivisible operation on data, which is either committed as a whole or undone (rolled back) as a whole. This concept exists in SAP but is there called a LUW (Logical Unit of Work). In the course of one transaction (program execution), there can be different LUWs.
Letu2019s have a look at the different kind of transactions:
Dialog transaction
These are the most common kind of transactions. The transaction code of a dialog transaction is linked to a Dynpro of an ABAP program. When the transaction is called, the respective program is loaded and the Dynpro is called. Therefore, a dialog transaction calls a Dynpro sequence rather than a program. Only during the execution of the Dynpro flow logic are the dialog modules of the ABAP program itself are called. The program flow can differ from execution to execution. You can even assign different dialog transaction codes to one program.
Parameter transaction
In the definition of a parameter transaction code, a dialog transaction is linked with parameters. When you call a parameter transaction, the input fields of the initial Dynpro screen of the dialog transaction are filled with parameters. The display of the initial screen can be inhibited by specifying all mandatory input fields as parameters of the transaction.
Variant transaction
In the definition of a variant transaction code, a dialog transaction is linked with a transaction variant. When a variant transaction is accessed, the dialog transaction is called and executed with the transaction variant. In transaction variants, you can assign default values to the input fields on several Dynpro screens in a transaction, change the attributes of screen elements, and hide entire screens. Transaction variants are maintained in transaction SHD0.
Report transaction
A report transaction is the transaction code wrapping for starting the reporting process. The transaction code of a report transaction must be linked with the selection screen of an executable program. When you execute a report transaction, the runtime environment internally executes the ABAP statement SUBMITu2014more to come on that.
OO transaction
A new kind of transaction as of release 6.10. The transaction code of an OO transaction is linked with a method of a local or global class. When the transaction is called, the corresponding program is loaded, for instance methods an object of the class is generated and the method is executed.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar. -
How to manually flush jms queue
hi,
we have some transaction which is stuck in a JMS queue and we want to forcibly clear it from queue.
please let me know how to go for this
thanksDoes anyone know how to publish a JMS queue? Thanks.Yes, I do. But rather than write a long posting describing how to use the JMS API. I'd like to invite you to read the JMS tutorial:
http://download.oracle.com/javaee/1.3/jms/tutorial/index.html
Look particularly at
http://download.oracle.com/javaee/1.3/jms/tutorial/1_3_1-fcs/doc/client.html
Nigel -
Hi,
How to define new accruals key used in OB40.
Regards,
Pardeep Malikhi
for OBYC u can define it from
SPRO >Materials Mangement > Purchasing > Conditions > Define price determination process > Define Transaction/event keys.
for OB40 u have to define it in OBCN
regards
Ki -
Hi...
I like to Know how to define tables and fields in Cu60 Transaction Table.. Please Provide me a Solution.
With Regards,
AahbhaDear Aabha,
1.First create the table in CU61,_set the status as released_,include the check box for decision table and assign the
characteristics created in CT04 and save the data.
2.IF it's not set with the status released means you cant maintain any values in the table in CU60.
3.The use of including this check box for decision table is when you maintain the table values using CU60,automatically the
system proposes all the combination of characteristic values.
4.Say for Eg: in CU61 you have assigned 2 charac values one is colour and you have 2 values for this say Blue and red and
another charac say gear type and you have 2 values one is 4 gear and another is 5 gear type,now 4 different combination is
possible,so this combination will come in CU60.
Check and revert
Regards
S Mangalraj
Edited by: Mangalraj.S on Oct 6, 2010 11:45 AM -
How to manage an Asynchronous Queue???
Hi all,
Been searching for quite some time on what the best way is/simply how to manage an Asynchronous Queue.
I would have thought it was easy, but I'm definately getting the impression I am wrong. Here is some information that I would like to be front-facing on my client (whether Swing/Applet/Web-based hopefully does not make a difference):
1. The number of messages waiting
2. The number of messages being processed at the moment
3. The date/timestamp of each message in waiting
4. (optional) a user or programatically assigned name for each message in the queue (so that I will know what message I am looking at in-waiting).
Seems pretty standard, but I don't see a standard way of getting this information! Someone, please show me I'm not insane! =)
Environment is JDK 1.4.2, J2EE 1.3, JBoss 3.2.2, Message-Driven Beans.
TIA,
-D1,3 & 4 are possible from the QueueBrowser
Maybe you are looking for
-
Vendor Scorecard Performance Report
The Vendor Scorecard Performance Report data is based on dates entered in the PO (dates provided by the vendor to us at the time we cut the PO or even months after the PO is cut-this date can change) as opposed to our expected lead time (lead time pr
-
***Balance sheet Report book got Disappeared from HFM Explorer***
Hi All, Actually one of my user is able to open the balance sheet report book from hfm workspace and run the report till last month. No one has removed any of his access.He is able to see all the other reports except Balance sheet report this month.A
-
Duplicate pages resulting from PDF conversion
Hello! I've run into an issue I've never seen happen before: When converting a 26-page Word file to PDF, the resulting PDF file duplicates 5 pages of the Word file inappropriately. That is, Table 2 (which breaks across a few pages), is interrupted by
-
TS4006 what is the range for find my iPhone
What is the range on locating iphone5
-
Changed photo dates--how to fix
I bought a Mac and transferred all files. Now all of the photo dates have been changed to the date I transferred the files! Some of them shot on an actual camera came out OK, but almost all of them that had originally be shot on a cellphone had the d