SOAPHandler Usage Query

Hi,
We currently use javax.xml.ws.handler.soap.SOAPHandler to measure latency of our web service calls. On an inbound message, we inject the current time in milliseconds into the MessageContext and on the outbound message, we determine latency by retrieving the injected time.
Based on this principle, I have done the following: (i) generate a UUID, (ii) store the inbound context in a Map with the UUID and (iii) inject the UUID into the MessageContext. On a SOAP fault, I then (i) retrieve the UUID from the MessageContext, (ii) use this UUID to remove the inbound context from the Map.
This would then allow us to determine the SOAP message which caused the SOAP fault - which would be incredibly useful to determine the cause of a problem. Has anyone implemented a measure such as this before? Do you see any issues with this approach?
Your thoughts and comments would be highly appreciated.
Regards,
Rennay

Thought that was probably the case. Anyone any idea why it wont show or how to resolve the issue.

Similar Messages

  • How to monitor query usage / query activity in the system?

    I am using 0TCT_MC01 to report the number of times the query was executed and by which user.
    According to SAP Documentation,
    The Technical Content for BI Statistics does not provide any standard queries for doing this. But you can easily create your
    monitoring query based on the InfoProvider 0TCT_MC01 or 0TCT_C01 by using the key figures 0TCTQUCOUNT (counts every
    navigation in a query) and 0TCTWTCOUNT (counts every call of a BI Application = initial opening of Workbook or Web Template).
    0TCTWTCOUNT is a key figure in the cube.  How to restrict this KF to display only Initial opening of Workbook or web template ?
    Regds,

    hi,
    Use the follwoing CHARS for restriction in report from cube 0TCT_VC01.
    0TCTBISOTYP --> Type of BI Application
    0TCTBIOTYPE --> Type of BI Application Object
    I hope it will help.
    Thanks,
    S

  • Item Category Usage query

    Hi Gurus
    Please tell me how item category usage is getting assigned to a material?
    We define item category usage...
    We assign it to a sales doc typ, item category group to get item category.
    But how it is getting determined for a material? Where is the link?
    Regards
    Murali

    hello, friends.
    i've actually been thinking about this issue since i started posting.  yes, you can find item usage in customer-material info.  but where is item usage assigned so that this is relevant in item category determination (as in:  sales doc type + item category group + item usage + higher level item category = item category)? 
    how does the system, for example, know that usage is blank (for normal processing) or 'FREE' for free goods?  is the item usage in the condition records created?
    where does the system find the indicator (item usage CHSP) when batches are involved?
    although there have been many helpful threads, including the 'where used' list, a definitive answer would be very much welcome.
    regards.
    Edited by: jonathan yap on Feb 27, 2008 3:10 PM

  • Increase in usage query

    I have been on option one for ever and have never gone over my usage allowance (10gb), now all of a sudden it has shot up. 27gb in august, 43 gb in sept and already on 9.1gb for october. Nothing has changed at my end- no one games on line, downloads music or film etc or has increased internet usage. In fact we wouldnt know where to start. Rang BT. Their answer was to just up grade as they couldnt tell me what was being downloaded. But I dont want to but also cant afford the additional £33 they have wacked on to my bill for exceeding the allowance. Can any 'normal' person give me advice on how to look into this bearing in mind Im a novice with computers. thanks

    mjb wrote:
    I have been on option one for ever and have never gone over my usage allowance (10gb), now all of a sudden it has shot up. 27gb in august, 43 gb in sept and already on 9.1gb for october. Nothing has changed at my end- no one games on line, downloads music or film etc or has increased internet usage. In fact we wouldnt know where to start. Rang BT. Their answer was to just up grade as they couldnt tell me what was being downloaded. But I dont want to but also cant afford the additional £33 they have wacked on to my bill for exceeding the allowance. Can any 'normal' person give me advice on how to look into this bearing in mind Im a novice with computers. thanks
    Hi.
    Hope you don't mind a few questions.
    Do you use wireless ? How many computers are connected to your network ?
    What anti-virus or other security package do you have installed on the computers ?
    For the usage for October, did you check with the online checker now available ? If so - you might like to check daily for a bit to see what figures are showing.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • ITunes Match Usage Query: Devices

    Hello,
    My fiance and I have a shared apple id for icloud and then have individual accounts for the itunes store. etc.
    I read heaps online about how you can use itunes match by signing up with an id and then you can still make your purchases etc with a different id's.. so I signed up for match using our shared icloud id.
    Now I can't add match to my iPhone without signing out of my normal apple id.  And if I sign out of the icloud id in itunes, then match disappears for the other id's we login with.
    So I assume that this means we can still make purchases etc with our own id's - but they won't upload to match unless we sign in with the match id on the machine?
    Also - does this mean we have to sign into the store on our iphones with our shared id now instead of our own id's in order to use match?
    Kinda *****.  Surely many couples share one music library but use their own individual id's to make purchases etc?
    Anyone else had this issue or know how to work around it?

    Okay - update, been on the blower with Apple Support.
    The Apple model is one ID per individual user (despite supporting a separate Apple ID for iCloud and Store purchases simultaneously on an Apple device).
    So, in terms of iTunes Match, to use it on your device you need to be signed into the APP STORE with the account you used for iTunes Match.
    On the Mac, you would make purchases with your own individual ID (if your scenario is like ours) and then sign back into your iTunes Match account to ensure new purchases upload.
    Not perfect. But still, some functionality can be gained from it.  (Might turn off auto-renew, however).

  • How to find which query taking more cpu

    Hi,
    How to find which query taking more CPU
    at a particular point of time .
    Chhers,

    Take a look at Server Standard Reports. It has a few CPU usage oriented reports.
    You can also track CPU usage by server-side tracing:
    http://www.sqlusa.com/bestpractices/createtrace/
    Glenn Berry's CPU usage query:
    SELECT TOP(25) p.name AS [SP Name], qs.total_worker_time AS [TotalWorkerTime],
    qs.total_worker_time/qs.execution_count AS [AvgWorkerTime], qs.execution_count,
    ISNULL(qs.execution_count/DATEDIFF(Second, qs.cached_time, GETDATE()), 0) AS [Calls/Second],
    qs.total_elapsed_time, qs.total_elapsed_time/qs.execution_count
    AS [avg_elapsed_time], qs.cached_time
    FROM sys.procedures AS p WITH (NOLOCK)
    INNER JOIN sys.dm_exec_procedure_stats AS qs WITH (NOLOCK)
    ON p.[object_id] = qs.[object_id]
    WHERE qs.database_id = DB_ID()
    ORDER BY qs.total_worker_time DESC OPTION (RECOMPILE);
    LINK:
    http://dba.stackexchange.com/questions/52216/sql-server-2008-high-cpu-historical-queries
    Query optimization:
    http://www.sqlusa.com/articles/query-optimization/
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • cache-query-results question

    I have another post for general descriptor tag information but I do have a specific question. In a project I am looking at I see:
    <cache-usage> check cache by primary key </cache-usage>
    <cache-query-results>false</cache-query-results>
    <maintain-cache>true</maintain-cache>
    I'm not sure how to interpret this. Does this mean that a cache is in place or not? cache-query-rests is set to false which implies no caching, yet the other parameters imply a cache is in place. What overrides here?
    Thanks

    The XML maps directly to the API so the JavaDocs and related documentation are the best tools:
    cache-usage: query.setCacheUsage(int)
    This option indicates how the object cache should be used when processing the query. This is how in-memory query is configured as well as support for cache-hits on ReadObjectQuery.
    cache-query-result: query.setShouldCacheQueryResults(boolean)
    This option allows you to indicate that the results returned from the query execution should be held. When the query is executed again these results will be returned without going to the database or searching the object cache. This is just caching the results locally within the query.
    maintain-cache: query.maintainCache() or query.dontMaintainCache()
    This setting determines if the results returned from the query should be cached in the shared object cache. It is on by default and turning this off is very rare. Occasionally done to compare the cache version with the database verision when handling an optimistic locking failure.
    Doug

  • Aggregates usage

    gurus
    i have to evaluate all my aggregates in production and get rid of few of them.
    questions what i have is
    when was the last time any query actually accessed my aggregate?
    what are the queries which actually use this aggregate?
    we do have statistics cubes active. i used the standard Aggregate usage query but i am not convienced with the data. it actually shows only one query has used my aggregate
    i am trying to get information from RSDDSTAT and RSDDSTATAGGR tables but i am able to understand which of the available fields will answer my question
    can anyone help me out please. would be great if you can be more specific
    thanks

    Are your queries on multiproviders?  I believe some of what gets captured for multiproviders has changed over versions and SPs, but not all aggregate usage gets logged in RSDDSTAT.  At one point MultiProvider queries that ran in parallel did not log the aggregate, and before that, a MP couldn't use an aggregate.  I'm not 100% certain what scenarios get logged, but if you think about it, a MP query could be hitting the multiple aggregates - both aggregates from the different underlying cubes and in some cases, different aggregates on the same cube for different Restricted KF.  Since BW is only logging to RSDDSTAT a single entry for that query navigation, it can't possibly reflect the use of multiple aggregates. I believe I saw a while back that indicated that in this case, no aggregate would be included on the record written to RSDDSTAT. 
    An easy way to confirm this would be to look at the usage counts and last used date/time in the Maintenance for Aggregate window.  That will tell you how many times an aggregate has actually been used and the last time it was used.  These should give you a confirmation about which ones are being used the most.  This, unfortunately, is a total for the aggregate and is not at the query level.
    You can compare the usage counts shown in the Maintenance of Aggregate screen (count is from the aggregate's creation/last change) with what you get from RSDDSTAT for the same timeframe.  I'll bet that for Multiproviders RSDDSTAT is too low.

  • How can I install Windows 7 on my Macbook air

    I recent purchased a Macbook air mid-2011 and I want to install a copy of Windows 7 by Boot Camp. But I did not know why I cannot reboot the Windows after the distribution completed (I had a Sumsung mobile DVD-ROM which works well when I use it to install apps). With my old Macbook 2010, of course, which had a DVD-ROM inside, it will automatically reboot into Windows installation . According to the Boot Camp, the 1st step is to make a ISO-image of Windows 7. However, I did not know how to do it. Please help me.
    Thanks!
    wm3625

    As this is not a Macbook Air specific question, and is entirely a Bootcamp usage query, the best place to post this is in the BootCamp forum of this community.
    https://discussions.apple.com/community/windows_software/boot_camp
    i only post this because I know that you are likely to get a much faster array of repsonses that will resolve all your questions if you post in the forum most suitable.

  • JPA -- How can I turn off the caching for an entity?

    Hi,
    I have a problem that I will illustrate with a simplified example. I have created an entity:
    @Entity(name="Customer")
    @Table(name="CUSTOMERS")
    public class Customer implements Serializable {
    }I have also set the collowing properties in persistence.xml:
    <property name="toplink.cache.type.default" value="NONE"/>
    <property name="toplink.cache.size.default" value="0"/>
    <property name="toplink.cache.type.Customer" value="NONE"/>
    <property name="toplink.cache.size.Customer" value="0"/>
    <property name="toplink.cache.shared.Customer" value="false"/>And then I run the following code:
    Customer cust = em.find(Customer.class, 1L);
    System.out.println(cust);
    cust = em.find(Customer.class, 1L);
    System.out.println(cust);The problem: the second call to em.find does NOT generate a query to the database. Here's a fragment from the console log:
    [TopLink Fine]: 2007.05.11 02:55:05.656--ServerSession(2030438)--Connection(5858953)--Thread(Thread[Main Thread,5,main])--SELECT ID, SEX, NAME, MANAGER FROM CUSTOMERS WHERE (ID = ?)
         bind => [1]
    Customer: id=1, name=Customer #1, sex=MALE
    Customer: id=1, name=Customer #1, sex=MALECan anyone help me? Why isn't the caching turned off? I tried various combinations of properties. Nothing worked. I was expecting to see two queries to the database. I can see only one.
    I tried with TopLink Essentials Version 2 Build 39 and Version 2 Build 41.
    Best regards,
    Bisser

    The cache is likely turned off, but you can't tell because you are using the same transactional EntityManager instance for the two queries. The EntityManager requires its own cache for object identity and transactional purposes, as once you read an object in through the EM, the spec requires that all subsequent reads return the same instance. Only the EntityManager refresh will cause a refresh, that or setting your queries to use the toplink.refresh and toplink.cache-usage query hints.
    I would strongly recommend you use a query cache for performance, but there are of course reasons why one might not be the best option.
    http://weblogs.java.net/blog/guruwons/archive/2006/09/understanding_t.html
    is a good blog on understanding the caching used In TopLin Essentials.
    Best Regards,
    Chris

  • LMS 4.2.1 -- PSUCli.sh doesn't know -p cmf (Solaris)

    Hi all,
    we had a new installation on our solaris 10 server of LMS 4.21 (first LMS 4.2 then update to LMS 4.21).
    Trying to update Mdf with
    /opt/CSCOpx/bin/PSUCli.sh -p cmf ....
    I got result stating that cmf is unknown.
    With performing PSUCli.sh -h cmf is obviously not known to PSUCli.sh (please see following 'strange' output)
    </opt/CSCOpx/bin># PSUCli.sh -h
    Package Support Updater Usage : [ psu refers to this CLI executable ]
    > psu -help
    > psu -p <product1, product2...> -query [-src dir ] {-all |
    > PackageNames} psu -p <product1,product2...> -install -src dir {-all|
    > PackageNames} [-noprompt] psu -p <product1, product2...> -uninstall
    > {-all | PackageNames } [-noprompt] psu -p <product1,product2...>
    > -download -dst dir{-all | PackageNames} psu -p <product1,product2...>
    > -software -dst dir{-all | PackageNames} psu -p <product1,product2...>
    > -pointpatch -dst dir {-all | DefectID} psu -p <product1,product2...>
    > -pkgDependents [-src dir] {-all| PackageNames} psu -p
    > <product1,product2...> -pkgVersion [-src dir] {-all| PackageNames}
    Note: PackageNames/DefectID are case-sensitive.
    Commands:
    -help     (-h)       : Print psu command usage
    -query     (-q)       : Print list of package(s) available in the specified source location
                             (default source location is installed repository of the product).
    -install   (-i)       : Install packages.
    -uninstall (-u)       : Uninstall packages from the repository.
    -download (-d)       : Download Device packages for the specified product(s).
    -software (-s)       : Download Software packages for the specified product(s).
    -pointpatch (-pp)     : Download Point Patches for the specified product(s).
    -pkgDependents (-pdep) : Print list of base package(s) for the specified package(s) present in the source location
                             (default source location is installed repository of the product).
    -pkgversion (-pver)   : Print the versions of the specified package(s) present in the source location
                             (default source location is installed repository of the product).
    Options:
    -p product   : Product for which download/query/install/uninstall is carried out.
    The specified Product must be registered with PSU during installation.
    -src dir     : Source location of packages.
    -all         : Select all packages from the source location.
    -dst dir     : Destination location for download of packages.
    -noprompt     : flag which turns off the prompting for restart of daemon services during install/uninstall
    Valid options for (-p):
    cm ( Network Topology Layer 2 Services and User Tracking )
    lmsportal ( LMS Portal )
    rme ( Inventory Config And Image Management )
    dfm ( Fault Management )
    ipm ( IPSLA Performance Management )
    cvw ( CiscoView )
    entory ( Config And Image Management )   <-- This is strange
    upm ( Device Performance Management )
    Anybody having a glue, idea, whatever???
    Thanks in advance
    Lothar

    Hi all,
    solution from Cisco TAC
    During install we got a corrupted file /opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/tag.properties
    with exchanging with an uncorrupted one PSUCli.sh works as expected

  • How to view what is using up the temporary tablespace

    Hi all
    I am running into a problem - my temporary tablespace is being completely used up.
    How would i find out what is using up this? Technically it has enough space to function properly but now we are getting 0 bytes free.
    thanks!

    There is nothing wrong if a temporary tablespace appears as full. It is very normal. I
    For more information about temporary tablespace usage query V$SORT_USAGE and V$SORT_SEGMENT .
    For more information go to this link
    http://asktom.oracle.com/pls/ask/f?p=4950:8:14327914180898764224::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:374218170986

  • SYSAUX out of space

    Hello,
    I am currently working on R12.1.2 on OEL 5.4 .In application sysaux tablespace is showing 5% free.is that ok for?
    unable to extend index error also show in alert log file.please tell how can i extend tablespace.
    Regards,

    Hello,
    ORA-1655: unable to extend table SYS.SMON_SCN_TO_TIME_AUX by 128 in tablespace SYSAUX
    Errors in file /orahome/oratest/TEST/db/tech_st/11.1.0/admin/TEST_oraserver2/diag/rdbms/test/TEST/trace/TEST_smon_26879.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01655: unable to extend cluster SYS.SMON_SCN_TO_TIME_AUX by 128 in tablespace SYSAUX
    Tue Jun 01 14:57:35 2010
    ORA-1655: unable to extend table SYS.SMON_SCN_TO_TIME_AUX by 128 in tablespace SYSAUX
    Errors in file /orahome/oratest/TEST/db/tech_st/11.1.0/admin/TEST_oraserver2/diag/rdbms/test/TEST/trace/TEST_smon_26879.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01655: unable to extend cluster SYS.SMON_SCN_TO_TIME_AUX by 128 in tablespace SYSAUX
    Tue Jun 01 15:02:36 2010
    ORA-1655: unable to extend table SYS.SMON_SCN_TO_TIME_AUX by 128 in tablespace SYSAUX
    please tell how can i extend tablespace and add datafile.please also tell a query to find out space usage query.i am very great full to you
    Regards,

  • Warranty Void query(High Impotence) AND DISK USAGE 100% NEED HELP!!!

    I Have an HP Dv6 pavillion 7011tx. after i upgraded this laptop to windows 8, i observed that the disk usage (in task manager) always shows 100% activity..had an Clean boot, tried all the disk checks and management things . rebooted th pc again with windows 8 but still the problem continues..
    i dont think there is any solution to this problem as i have seen many many more other posts similar to this problem
    COMING TO MY QUERY,
    I think that the problem is with bios config, my hardisk type is SATA  but the bios has it set to EF mode currently .
    Which has made my pc very very slow The insyde h20 bios sucks! 
    Bios utlilty doesnt has the option even to change it. Is there any solution to this problem?
    PC Configuration:
    I5 3rd gen intel processor
    6GB Ram
    600GB HDD
    CAN THIS CONFIGURATION ACHIEVE A 100% DISK USAGE EVEN IF NOTHING BIG IS RUNNING IN BACKGROUND?
    I AM THINKING TO BUY AN SOLID STATE DRIVE, i hope that it will resolve the problem as it is compatible on both the mode. I will extend my HDD with SDD!
    Can i do it myself or shall i have to go to HP CENTER.
    DOES MY WARRANTY GETS VOID IF I OPEN THE LAPTOP BACK FOR THIS ?
    REPLY ASAP (URGENT)

    Hi,
    Disk Usage 100% does not mean disk full but there is task which is doing a lot of i/o during that time (probably swap/page file). If nothing using i/o, the number should be down to 0% as shown:
    Now, I start a download, you can see both disk usage and Networks activities:
    In your case, the utility may do a lot of i/o to the swap/page file. My suggestion: stop it or BUYING MORE RAM.
    Hope this helps.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Visual studio online - Excel power query usage and samples needed

    Background
    Visual Studio Online does not offer much in the way of reporting, when compared to (onsite) TFS... unless you utilize the REST API functionality.
    The Visual Studio Online REST API is fairly extensive, but not very 'reporting' friendly to applications like Microsoft Excel.
    Question
    Are there any good examples of Microsoft Excel Power Query usage - to acquire and create reports via the Visual Studio Online REST API?  I've searched - but surprisingly haven't found anything of substance.  It is fairly simple to call a VSO REST
    query using Excel Power Query, but not so simple to iterate through the lists within lists, etc... unless you are familiar with 'M language'.

    Hi,
    Thank you for reaching out to us. I am currently researching to gather more information with regards to your request. I shall revert back to you with an update at the earliest. Sincerely appreciate your patience.
    Regards,
    Nithin Rathnakar

Maybe you are looking for