AQ to MQ Message Sequence Issue
Hi,
I am using Advanced queues on "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi".
The Advanced Queue is created - next many message(s) are enqueued one-at-a-time in order - part of the code is shown below....
LOOP
-- Convert to XML
msg_xml := XMLType.createXML(msg, NULL);
-- Add message to the queue
enqueue_options.VISIBILITY := DBMS_AQ.ON_COMMIT;
enqueue_options.SEQUENCE_DEVIATION := null;
msg_properties.EXPIRATION := DBMS_AQ.NEVER;
DBMS_AQ.ENQUEUE ( queue_name => 'Q_EXPR_MSG_TXN',
enqueue_options => enqueue_options,
message_properties => msg_properties,
payload => msg_xml,
msgid => msg_handle);
END LOOP;
The AQ sends the messages to an MQ - the MQ end is reporting messages are arriving as a batch (not one-at-a-time as placed on the AQ) and out of sequence...
I can understand why the AQ sends the messages across as a batch however is this possible to change to send across one message at-a-time...?
Why are the messages arriving out of sequence ..? (is this to do with batching)
Regards Ian
The queue...
OWNER ID_FEED_OWNER
NAME Q_EXPR_MSG_TXN
QUEUE_TABLE QT_EXPR_MSG_TXN
QID 131912
QUEUE_TYPE NORMAL_QUEUE
MAX_RETRIES 5
RETRY_DELAY 0
ENQUEUE_ENABLED YES
DEQUEUE_ENABLED YES
RETENTION 0
USER_COMMENT (null)
NETWORK_NAME (null)
CREATED 06-JAN-12
LAST_DDL_TIME 02-FEB-12
The queue table...
OWNER ID_FEED_OWNER
QUEUE_TABLE QT_EXPR_MSG_TXN
TYPE OBJECT
OBJECT_TYPE SYS.XMLTYPE
SORT_ORDER ENQUEUE_TIME
RECIPIENTS MULTIPLE
MESSAGE_GROUPING NONE
COMPATIBLE 10.0.0
PRIMARY_INSTANCE 0
SECONDARY_INSTANCE 0
OWNER_INSTANCE 1
USER_COMMENT (null)
SECURE NO
CREATED 06-JAN-12
LAST_DDL_TIME 06-JAN-12
Not sure about the MQ version as its on our clients side - i'll try and find this out....
Regards
Similar Messages
-
How to implement Message Sequencing other than mediator
Hi All,
I am looking for a solution to implement the message sequencing option for the below integration scenario between Order management module and projects module using SOA and AIA 11g.
1. The source system triggering requests is the Order management module(sometimes projects module) of Ebiz R12.
2. When an order is booked an event is raised and pushed to WF_Deferred_Q in Ebiz environment.
3. This messages are pushed to WF_BPEL_Q in SOA environment by the QAgent configured at the Ebiz end.
4. At SOA end , there is an AqAdapter configured in OSB(as a proxy service) will poll WF_BPEL_Q and pull the messages.
5. Based on the type of request messages are routed to different requestor ABCS services( AIA framework).
Scenarios possible are:
1. Orders created newly and same are synched to projects module.
2. Orders updated and same is updated in the projects module. (order header id is same for multiple update requests on the order )
Scenario 1: Two update requests for same order
1. When an existing order which has got five line items and each line item has got 2 sub line items, is updated at the same time from different locations(let’s say from India and Japan) where in order from India is updating the quantity on one sub line item whose parent line item is (lets say A) and another request from japan is updating the unit sale price in another sub lie item line item whose parent is also line item A.
2. Both the update requests which are raised will have the same order header ID and also the request from India is errored out while updating the projects module due to some reason which needs some manual intervention to update the data and resubmit the message.
3. Now we want to stop the request from Japan until the request from India is not processed.
4. Simultaneously we want to allow the orders which are independent.
Note: We are not looking to use “wait” option which will have an impact on the performance .
Please suggest your valuable inputs and expert thoughts in implementing the message sequencing with less impact in this situation.
Thanks in advance.
Regards,
ShaileshCan someone post expert views on the below issue?
Regards,
Shailehs -
WHAT ALL MESSAGE'S ISSUED WHILE CREATING PO
Sir,
ply let me know after saving the po i want to know what all messages were issued while creating the po.
Like "warning" or "information" message
where can i see this
regards
ameyHi,
PAth- Spro-MM-Purchasing-Environment Data-Define Attributes of System Messages...
Here are few message type:
Contract has different purchasing organization & W
Validity period of contract does not start until & W
Validity period of contract expired on & W
Target value of contract & exceeded by & & W
Net price for item & taken from conditions W
Purchase requisition & item & already deleted W
Scheduled quantity & & greater than target quantity & & W
Quantity smaller than invoiced quantity & W
Target quantity exceeded by & & W
Not possible to determine a consumption account W
Release date lies in the past W
Base unit of measure & adopted from material master record
Release date: next workday is & W
Contract target value & reached W
Please only use plants with company code &
Order unit copied from material master record W
Hope it helps.
Utsav.. -
Duplicate Message ID issue in case of Multi mapping (without BPM)
Hi Experts,
I am doing one sample Example for my requirement of converting the single source message data into the multiple Target messages.
for example, when sender system is sending the 5 sale order details into a single message in PI then my Inbound proxy class of ECC R/3 receiver system must get this sale orders separately, that means inbound proxy class method must be triggered separately for 5 sale orders from sender system. for achieving this, I have used the Multi mapping concept in ESR (without BPM).
This scenario is in Asynchronous mode.
The below screen shots give the details on what I have configures so far.
IN ESR
IN ID
IN SXMB_MONI of PI
IN SXMB_MONI of ECC R/3 Receiver system (Error in Processing)
due to this error, inbound Proxy class method is not being triggered for the single Sale order details as well,
please let me know how to tackle this duplicate message ID issue when we have multiple payloads to process in a single message.
please also let me know if is there any other workaround to fulfil this requirement.
Thank you,
Regards,
JageshHi Nunu,
Check the below blog for restrictions.
Multi-Mapping without BPM - Yes, it’s possible!
Restrictions
Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
Regards,
Praveen. -
Oracle 11g : Sequence Issues after impdp
Hi All,
We are migrating from Oracle 10g to Oracle 11g. As part of this, we take a expdp from 10g and successfully did an import using impdp on to Oracle 11g database.
But the problem is, there were few Primary key violations which occurred and all of them relate to sequences.
The Maximum data in the tables and the last number in the sequences differed which caused the issue.
Upon investigation and browsing the Web, http://www.nerdliness.com/article/2009/03/18/my-oracle-sequencedatapump-shenanigans ; I understood it could be because of the export taken while the application is online and writing to the database.
I reset all the failing sequences manually and it is fine now.
My questions now are
*1) Can we ascertain that the export taken when the source database is offline would eliminate the sequences issue.*
2) As this is being done in Production, I would like to make few checks to ensure that the sequences are properly imported. ---
Again reading few websites and oracle Forums, i found the below sql's..
select table_name, column_name, utl_raw.cast_to_number(high_value) as highval
from dba_Tab_columns
where owner = 'PRODUCTION_OWNER'
AND DATA_TYPE= 'NUMBER'
AND (OWNER, TABLE_NAME, COLUMN_NAME) IN
(SELECT CC.OWNER, CC.TABLE_NAME, CC.COLUMN_NAME
FROM DBA_CONS_COLUMNS CC
JOIN DBA_CONSTRAINTS C
ON CC.OWNER=C.OWNER
AND CC.CONSTRAINT_NAME=C.CONSTRAINT_NAME
WHERE C.CONSTRAINT_TYPE ='P'
ORDER BY 3;
SELECT SEQUENCE_NAME, MIN_VALUE, MAX_VALUE, LAST_NUMBER
FROM DBA_SEQUENCES
WHERE SEQUENCE_OWNER = 'PRODUCTION_OWNER'
ORDER BY LAST_NUMBER
If I relate the last_number with the highval and if they are same, does that mean the sequences are imported properly.
Note: We have sequence caching done and we are on RAC.
Edited by: ramakrishnavydyula on Jan 30, 2013 9:36 AMWe are migrating from Oracle 10g to Oracle 11g. As part of this, we take a expdp from 10g and successfully did an import using impdp on to Oracle 11g database.
But the problem is, there were few Primary key violations which occurred and all of them relate to sequences.
The Maximum data in the tables and the last number in the sequences differed which caused the issue.
it could be because of the export taken while the application is online and writing to the database.I don't know what's your database's size , and what's acceptable downtime for you, but I could never propose such a migration tecnique to any of my customers, due to excessive downtime when databases are quite large.
It's quite obvious that you get such errors when the export is done while people are working, unless you use FLASHBACK_SCN or FLASHBACK_TIME parameter while exporting. But in this case, assuming you don't get errors (e.g. ORA-01555), you'll probably lose a lot ot transactions.
Assuming your 10g database is running in archivelog mode (which should be the default in production DBs) did you think of using RMAN to do the migration ? -
Errors Message while issuing the material in MB1A i.e unrestricted material
Hi Expert,
I want know the Message while issuing the material in MB1A we are getting the error unrestricted material, so what is the reason of error.(i.e there is no stock available or any other give me the reply as soon as possible)
Regards,
Ram RathodeYou are not clear. What is the error message that you get?
-
The message sequence of JMS adapter and BPM
This is my scenario: AP1 -> MQ -> JMS Adapter -> XI BPM -> SAP
But if AP1 sends 10 messages to MQ server, how to make sure the received message sequence of SAP is the same as AP1 ?
Because JMS adapter doesn't have synchronous ability, or I can set best effort to make sure the sequence.HI,
See the below links to solve the BPM performance problems
BPM Performance tuning
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
BPM performance question
SAP XI BPM Performance and statistics
Performance problem on BPM
BPM pros and cons
Performance problems using BPM
Regards
Chilla.. -
Wacky image sequence issue - flickers
Hi guys,
I've created a simple 2 image sequence I wanted to play through at the top of my DPS document - but when I preview the article (on both desktop, iphone and ipad) the image sequence fails..
I took a quick screencap to show what Im going.
DPS Image Sequence issue - YouTube
Any advice?For a two-image effect, I would use a slideshow instead of an image sequence. Not sure what's causing the flicker.
-
Messages were issued when costs were calculated (see log)
Hi,
When I am creating the production order ( T Code: co08 , MTO scenarios and with reference to sale order ) but i am getting these error messge.Error when calculating costs see log like:
Messages were issued when costs were calculated (see log)
Message no. CK262
and also iam not getting planned cost .in the production order i saw log worning message like
Object was not costed
Message no. CK060
Diagnosis
The system could not find any entries that are relevant to costing.
System Response
The system did not cost the object.
Procedure
Check whether the following objects should be flagged as relevant to costing:
o Items in the BOM
Display BOM
o Operations in the routing
o Control key in the routing
1. Look at the message log.
2. Check whether a quantity was specified in the confirmation.
pls give me clarification ASAP
Regards
SAPCOHi Hisapgaru,
The error on product costing can be cause by several message which can be caused by poor master data maintenance. It does not mean, the error are found on every message line, you have to analyze the material number that involve in the message using the information provided by log message (procedure).
To analyze product costing in a comprehensive way is by using CK11N. By this t-code you can display the product cost result from 3 pespective: Cost element, costed BOM or cost component.
You can event check the product costing parameter from this CK11N/CK13N(display product costing). Without doing analysa to product costing, you cannot point out what cause the problem.
Solve the problem from product cost planning side first, then after calculation free of error, you can go back to production order activity.
Best regards,
Irhasni -
Error message: Sequence 1-FIN000000b9?
I keep getting this error message. What is it? And how can I get rid of it?
Error message: Sequence 1-FIN000000b9?Its related to a render file. Its either lost or gone bad.
Probably best to trash your renders for the sequence and render again. Would that set you back to far? -
SOLAR01 - assign message to issue
In SOLAR01, I would want to assign message to issue, however we could not do so, as when we list the message to be assigned, none could be found.
Strangely, this can be done from transaction SOLUTION_MANAGER > Issue Management > Issues.
Anyone encountered this before ?Hi,
Since your current stack level is unknown, perhaps this note maybe of interest to you, 1162628
Cheers,
SH -
[Q] Identity Sequence issue causes MAB to auth against AD ??
We have a strange issue whereby some users have suddenly failed to correctly authenticate against ACS 5.1 - we cant work out why, as nothing has changed and would greatly appreciate your help.
We have dot1x configured on our network with MAB fallback. We havent yet rolled out dot1x to the clients even though the network is set up for this. In the meantime, we are using Mac Authentication Bypass. We do use 802.1x for wireless though.
I have set up the folowing Identity Sequence:
AD1 (this is set up as our AD servers for 802.1X user and machine auth)
SecurID Server (we dont use this yet either)
Internal Users (this is just used to authenticate ciscoworks)
Internal Hosts (this contains the list of allowed MAC addresses)
Typically what we have seen today is a user initially authenticates successfully by matching the Internal Hosts identity store, but then an hour later, re-authentication fails as the MAC address matches the AD1 id store and subsequently fails due to the MAC address not being present within AD.
Here is the successful connection entry (all MAC addresses substituted form the originals)...
Steps
11001 Received RADIUS Access-Request
11017 RADIUS created a new session
11027 Detected Host Lookup UseCase (Service-Type = Call Check (10))
Evaluating Service Selection Policy
15004 Matched rule
15012 Selected Access Service - Network Access
Evaluating Identity Policy
15006 Matched Default Rule
15013 Selected Identity Store - Internal Hosts
24432 Looking up user in Active Directory - 00-1B-78-00-33-00
24412 User not found in Active Directory
24559 Searching for user in the RSA identity store.
24556 User record was not found in the cache.
24210 Looking up User in Internal Users IDStore - 00-1B-78-00-33-00
24216 The user is not found in the internal users identity store.
24209 Looking up Host in Internal Hosts IDStore - 00-1B-78-00-33-00
24211 Found Host in Internal Hosts IDStore
22037 Authentication Passed
22023 Proceed to attribute retrieval
24432 Looking up user in Active Directory - 00-1B-78-00-33-00
24412 User not found in Active Directory
22016 Identity sequence completed iterating the IDStores
Evaluating Group Mapping Policy
24423 ACS has not been able to confirm previous successful machine authentication for user in Active Directory
Evaluating Exception Authorization Policy
15042 No rule was matched
Evaluating Authorization Policy
15004 Matched rule
15016 Selected Authorization Profile - MAB-PC
11022 Added the dACL specified in the Authorization Profile
11002 Returned RADIUS Access-Accept
Here is the failed connection entry....
Steps
11001 Received RADIUS Access-Request
11017 RADIUS created a new session
11027 Detected Host Lookup UseCase (Service-Type = Call Check (10))
Evaluating Service Selection Policy
15004 Matched rule
15012 Selected Access Service - Network Access
Evaluating Identity Policy
15006 Matched Default Rule
15013 Selected Identity Store - AD1
24432 Looking up user in Active Directory - 00-1B-78-00-33-00
24416 User's Groups retrieval from Active Directory succeeded
22037 Authentication Passed
22023 Proceed to attribute retrieval
22038 Skipping the next IDStore for attribute retrieval because it is the one we authenticated against
22016 Identity sequence completed iterating the IDStores
Evaluating Group Mapping Policy
24423 ACS has not been able to confirm previous successful machine authentication for user in Active Directory
Evaluating Exception Authorization Policy
15042 No rule was matched
Evaluating Authorization Policy
15006 Matched Default Rule
15016 Selected Authorization Profile - DenyAccess
15039 Selected Authorization Profile is DenyAccess
11003 Returned RADIUS Access-Reject
Any help greatly appreciated!Hello Paul,
If a switch is configured for dot1x with MAB fallback as ours is, does the switch still send the MAC address for a dot1x-enabled client as well as the user and host AD credentials even though the MAC address is not required for auth in this case?
A switchport configured for 802.1x with MAB fallback will first send an EAPOL Start message. An 802.1x enabled client would be able to provide the appropriate User and Host information and get authenticated via 802.1x. No MAC address will be send at this point.
For the same switch and a client with dot1x DISABLED, does the switch forward just the MAC address to ACS?
Yes, the switch will send the EAPOL Start messages to the 802.1x Disabled client. It will not be able to respond to the switchport request. After the retries the switchport will fallback to MAB and expect the client to send the MAC Address to get authenticated.
If the switch invokes MAB and passes just the MAC address to ACS, does ACS still run the MAC address through the full identity store sequence which starts with AD1, even though dot1x is not running (and therefore AD matching is not relevant)?
Yes, the ACS will still run the authentication against all the Database specified on the Identity Store Sequest from top to bottom
Ultimately, I am trying to decide if
a) ACS is passing non-dot1x credentials (namely the MAC address) to AD erroneously ---> Do not think this might be the case as it will always pass the credentials to the every database on the specified order
b) if AD is responding (correctly or incorrectly) with a match ---> We know this one is happening.
c) if AD is rejecting the MAC address but that the rejection message isnt triggering the next iteration in the identity store sequence. ----> Do not think AD is rejecting the MAC Address based on:
24432 Looking up user in Active Directory - 00-1B-78-00-33-00
24416 User's Groups retrieval from Active Directory succeeded
At this point I have no suggestions on how to determine if the MAC Address is being properly authenticated on the AD Side -
Oracle Client 11g R2 sequencing issue with App-V 5.0
Hi All,
Can anyone help on a issue that I face while I try to create the ODBC connection after I have published the sequenced application. I get the error message as shown :
Have already tried sequencing by creating the Dummy ODBC user DSN and system DSN on the base machine before sequencing and have added the TNSNames.ora path as an environment variable.
Thank in advance for your help!Installation of 32 bit and 64 bit 11.2.0.1 Oracle client on windows 7Akanksha,
If your application is 64-bit, you need only 64-bit Oracle client software which installs 64-bit ODBC.
There is no need to install 32-bit Oracle client.
I am suspecting that some of the required components are missing from your installation.
1)Are you able to connect to the Database using the the sql*plus ?
(You need to open the sql*plus session from the machine where ODBC application is running)
2) Try to run the application as administrator user and see whether it helps.
3)What is the type of client installation which you performed ? (Administrator/Runtime/Custom)
If it is custom type, might be you are missing some components.
Try to install as Administrator and see whether it helps.
Regards,
Ravi -
QT 7.6.6 image sequence issue
macbook pro running osx 10.9.4
shot about 800 photos (1 every 5 seconds) on my gopro.
everytime i open quicktime pro 7.6.6 and open the image sequence, it only grabs one frame. they are numbered sequentially.
i had shot 1600 photos of the sunset a few weeks ago, and it worked perfectly. selected the first image, and it loaded the rest with no issues.
now it wont do it. ive tried everything and its starting to get on my nerves.
anyone else have this issue, and if so - how do i fix it?
thanks,
daveA bit more info: I looked at the network traffic with Activity Monitor. My Mac is receiving a bit-rate well above what is needed for any particular stream at the start of the stream and continues that way until around 25 seconds into the video. At that point the incoming data rate drops to around the expected level. The glitch (in Firefox 3 Mac) appears about 12 seconds into each clip.
The client Mac incoming network traffic is about the same when I play the same clip with Firefox 3 (with the glitch) and Safari(where there is no problem). The glitch occurs on every clip regardless of the bit rate, even as low as 132kbps. I'm on a 20Mbps Internet connection. The server network is fast enough to stream 1 and 2Mbps clips with little or no problems to my Windows machine or the Mac with Safari or FF2.
We are opening a QuickTime player in a smaller browser window. For some reason we are initially getting two control bars at the bottom in Firefox 3 (not in FF2 or Safari). The bottom control comes up first and has the initial "buffering" message, a speaker icon and FF/RW controls. Above that is another control bar with a speaker, play/pause, the timeline and the FF/RW controls. Interesting that this cosmetic glitch appears in the QT browser window only in FF3, the same browser with the playback glitch.
Thanks, -
LiveCache - LC10 message - Index issue
hi,
LiveCache - LC10, - Problem Analysis ->Performance -> Database Analyser -> bottleneck report
The message read as follows:
LiveCache- Bottle-neck messages:
2 tables contain > 1.000.000 records but only 20.000 rows will be sampled for statistics.
Table SAPR3./SAPAPO/ORDKEY contains 8247892 rows(205921 pages), sample rows 20000
Table SAPR3./SAPAPO/STOCKANC contains 1319385 rows(25413 pages), sample rows 20000
Looks this would affect the processing and the delay may be an issue for CIF queue processing.
Wondering, if sampling could be increased ? is there any oss note available to do this. This index is implemented using BADI
Any input on this issue is appreciated.
Thanks,
RajSPlease check the following notes regarding changing the sample of the statistics run:
Note 808060 - Changing the estimated values for Update Statistics
Note 927882 - FAQ: SAP MaxDB Update Statistics
Kind regards,
Mark
Maybe you are looking for
-
Need info on dbms_output
The data print on REPORT.txt using the below block has an issue. Current O/P: QuestionNumber,Question,Answer,COUNT 1,How would you rate the online web developemtn process for ease of use?,Very Easy,7758 4,If a Customer Service Representative from the
-
Hi, when consuming a webservice i have to create a logical port and this port will be used when i create an instance of the proxy class e.g. DATA: lo_proxy TYPE REF TO /ipro/co_bbp_cms_ibf_metadata. CREATE OBJECT lo_proxy EXPORTING logical_port_name
-
I am having an issue with the index page at http://http://www.pixelsandpaper.com/stANNES/St%20annes/index.html which islocated in a temporary location. I have set the container div to 960 px wide and have set the left and right margins to 20%, how
-
How to make a page READ ONLY / all fields are DISABLED ?
Hi all, I am using ONE page to do ADD/EDIT/DISPLAY data. When users are in DISPLAY mode, I want all fields on the page to be read only / disabled. How is the best approach to do that ? (other than going to every fields and set the ReadOnly/Disabled p
-
How can my MacBookPro share documents with my iPad via iCloud?
I've moved to iCloud, logged in, enabled all the various sharing options, and yet Keynote and Pages files stay resolutely on whichever device they were created on. What am I missing? The various devices are on iOS5, OSX 10.7.2, Keynote 5.1, Pages 4.