Getting OSB Metrics

Hi folks,
While learning OSB, I'm trying to run ServiceStatisticsRetriever.java code sample from http://docs.oracle.com/cd/E23943_01/admin.1111/e15867/app_jmx_monitoring.htm#CEGFFBFG. It only works if I use an account with admin privileges and I get my statistics back. If I however, run it using read-only account (with which I can view OSB metrics via admin console - we have 10gR3), I get an error:
Access not allowed for subject: principals=[itmonitor, Monitors, IntegrationMonitors, AdminChannelUsers, Deployers, IntegrationDeployers], on ResourceType: com.bea.wli.monitoring.ServiceDomainMBean Action: execute, Target: getProxyServiceStatistics
I can't figure out what I'm doing wrong.
Any help is greatly appreciated.
Thank you, Roman

you are calling wrong  the Service.
¿what kind of service do you have? RPC? Document?
ir your target service its document, I recommend this:
1. Test target service with OSB
2. copy XML request and XML response from the test.
3. use XML request format that you got at Step 2 in your source service and using it at your "Service Callout".

Similar Messages

  • Unable to get jrpp. metrics

    We're running JRun 4 and CF 6.1 with Apache 2.x and Windows
    2000 Server.
    I cannot get any metrics logged except for totalMemory and
    freeMemory. All "jrpp." metrics are 0. I tried removing the metrics
    prefix (jrpp) but then the variables are not interpreted and show
    up as "busyTh", for example.
    I followed at least three examples of how to set up jrun.xml
    and this still won't work. Please help! This is driving me nuts.
    Some code is attached below:

    There is documentation on how to get the metrics available in the developers guide available [here|http://help.sap.com/businessobject/product_guides/boexir31/en/boesdk_java_dg_12_en.zip]
    You want to look under Using the SDK -> Server administration -> Managing servers -> To get server metrics

  • Getting performance metrices

    Hi All,
    I am new to the forum and hi everyone.....
    I need to develop an application to, fetch data from almost all of the Oracle 10g releas 3 Application server Metric Tables. I cannot use builtin tools provided with Oracle 10g release 3 like, dmstool.bat. In the Oracle application server 10 g release 2, I was able to get the metric tables performance data in an xml format through web browser by giving
    http://<IPAddress:port/dms0/AggreSpy?format=xml&table=ohs_responses.....
    But in Oracle Application server 10 g release 3, the above url does not show me the metrices in the xml format. it still shows the Metric tables welcome page.
    I have made configuration in the dms.conf file such that it redirects to servelt http://<IPAdress>::7200/dmsoc4j/AggreSpy?format=xml&....
    Is there any additional configuration need to be done for getting the metrices in the xml format or can anyone tell me the way or url trough which i can access the metrices tables in xml format by web browser for oracle 10 g release 3 Application server.
    Thank u all, Awaiting for ur reply

    Thanks for ur reply..
    I want to confirm one more thing that, through aggrespy Is it possible to get the xml format of the metic tables?
    I was able to get them in Oracle application server 10g release 2.The URL i used is http://server:port/dmsoc4j/AggreSpy?format=xml
    In oracle 10 g release 3 ,I am getting the existing page, the page is not getting converted to xml format.By using dmstool, i am able to get xml format by giving
    "dmstool -dump format=xml".
    Can u please confirm me this thing? If possible what additional configuration is required.
    Thank u in advance....

  • How to get OSB to stop appending port # in the endpoint of a published WSDL

    This is the closest thread I could find to my issue, but still is not quite what I am looking for: How to get ip number in WSDL instead of host name? I have an OSB server behind a VIP, and I am publishing a proxy service for an external client to call. The VIP only accepts connections over SSL/https. OSB only hosts services on http/port 80, and the VIP handles the connectivity and security between them.
    I wrote a wsdl by hand, set my endpoint to the VIP address (https), created the proxy service, and deployed to OSB. I can test the service all day in SoapUI by calling the VIP, so far so good. However, when the client calls https://VIP/myService/?wsdl, he sees the wsdl's endpoint populated as http://VIP/myService:80.
    How do I stop OSB from appending :80 to the endpoint in the wsdl? This makes it unusable for any client caller to generate code by calling ?wsdl, so it forces us to export the wsdl and all schema files and provide to clients by hand. What configuration setting can we change that will fix this behavior?

    vladodias wrote:
    OSB only hosts services on http/port 80...You can change OSB to host on any port you want and can also configure security...
    http://docs.oracle.com/cd/E28280_01/dev.1111/e15866/model.htm
    http://docs.oracle.com/cd/E28280_01/web.1111/e13707/ssl.htm#i1200848
    appending :80 to the endpoint in the wsdl ... makes it unusable for any client caller to generate code by calling ?wsdl
    I should have mentioned that :80 was an external constraint, so it was not an option to change this portion of the OSB configuration...
    Most wsdl clients should be able to call a wsdl from any port as well... The presence of :80 shouldn't make any difference... So, I can't quite understand that either...The point is to be able to provide a framework to clients that needs as few settings overridden as possible, so we'd like the published endpoint to actually match the true endpoint that we would expect a client to call.

  • Trying to use the classes in casStubs.jar and get crawl metrics

    I was going through the class files available in casStubs.jar and was trying to come up with a script in AppConfig.xml to connect to the CAS server and obtain the crawl status and metrics. I was trying this option because the class com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent does not provide me these features.
    +<script id="CheckCrawlStatus">+
    +<bean-shell-script><![CDATA[+
    import javax.xml.namespace.QName;
    import com.endeca.cas.wsdl.*;
    final String wsdlUrl = "http://" "${cas.host}" + ":" + "${cas.port}" + "/cas?wsdl";+
    final QName name = new QName("http://endeca.com/itl/cas/2010-07", "CasCrawlerService");
    CasCrawlerServiceLocator service =  new CasCrawlerServiceLocator(wsdlUrl, name);
    CasCrawler crawler = service.getCasCrawlerPort();
    String crawlName = "myFirstCrawl";
    CrawlId crawlId = new CrawlId(crawlName);
    Metric[] metricArray = crawler.getMetrics(crawlId);
    + // rest of the code to retrieve crawl metrics +
    +]]></bean-shell-script>+
    +</script>+
    Unfortunately, I am always getting connection refused exception - "java.net.ConnectException: Connection refused". My cas wsdl is loading fine in my browser.
    Any ideas about the shortcomings in the code or missing configuration in CAS or DT or platformservices?
    Thanks
    Dev

    Hey Brett,
    Awesome, it works now. I went through the source code by de-compiling the class files and figured out why you referred to this extra line of code; great that it didn't miss your "laser eyes". It was really helpful.
    Another question for you; a stupid one maybe -
    I was also trying to call the web-services through the browser -
    http://{cas-host}:{cas-port}/cas/listCrawls - this one works great; gives me the list of all the crawls
    http://{cas-host}:{cas-port}/cas/getAllMetrics - this one work great too
    But when I try to pass a parameter my service call fails with an exception
    http://{cas-host}:{cas-port}/cas/getMetrics?crawlId={crawl-id}
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>java.lang.ClassCastException@1b3bf979 while invoking public java.util.List com.endeca.itl.service.CasCrawlerImpl.getMetrics(com.endeca.itl.cas.api.CrawlId) throws com.endeca.itl.cas.api.CrawlNotFoundException with params {crawl-id}.</faultstring>
    </soap:Fault>
    </soap:Body>
    Note : {cas-host}, {cas-port} and {crawl-id} are placeholders for actual values.
    Any idea where I am going wrong?
    Thanks
    Dev
    Edited by: 950423 on Sep 4, 2012 3:13 PM

  • How to get osb fault detail payload's element value?

    I have a proxy service, in the service error handler, my business fault is under fault detail node, such as following:
    <soap:Body      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>invalid taskId:1234</faultstring>
    <detail>
    +<ns1:WFWSException xmlns:ns1="http://service.webservice.wfws.xxx.com/">+
    +<errorCode      xsi:type="xs:int" xmlns:ns2="http://service.webservice.wfws.xxx.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">-1</errorCode>+
    +<errorInfo      xmlns:ns2="http://service.webservice.wfws.xxx.com/">invalid taskId:1234</errorInfo>+
    +<message      xmlns:ns2="http://service.webservice.wfws.xxx.com/">invalid taskId:1234</message>+
    +</ns1:WFWSException>+
    </detail>
    </soap:Fault>
    </soap:Body>
    I want to get WFWSException's errorCode, errorInfo and message seperately, but detail is anytype, how can I do?

    see : http://redneckprogrammer.blogspot.nl/2010/11/osb-getting-xml-out-of-table-column.html
    you need to parse the string to xml and then you should be able to execute a xpath expression on it
    maybe you also need to add the namespace "http://service.webservice.wfws.xxx.com/" to the default namespace list otherwise use wildcard selecting with *:

  • Getting "OSB Service Callout action received SOAP Fault response" on trying to invoke a service using service callout

    I'm trying to invoke a search service using service callout . However on trying to test it , I'm getting this response
    <con:fault  xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382500</con:errorCode>
    <con:reason>
    OSB Service Callout action received SOAP Fault response
    </con:reason>
    <con:details>
    <con1:ReceivedFaultDetail  xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:faultcode  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</con1:faultcode>
    <con1:faultstring>Cannot find dispatch method for {}</con1:faultstring>
    <con1:http-response-code>500</con1:http-response-code>
    </con1:ReceivedFaultDetail>
    Please help in resolving this error.
    Thanks,
    Rohit

    you are calling wrong  the Service.
    ¿what kind of service do you have? RPC? Document?
    ir your target service its document, I recommend this:
    1. Test target service with OSB
    2. copy XML request and XML response from the test.
    3. use XML request format that you got at Step 2 in your source service and using it at your "Service Callout".

  • Deployer:149150 Getting OSB deployment error

    Hi All,
    When we deploy a java webservice in OSB server it work fine but after that OSB deployment stop and we are not able to deploy any osb application. we get the below error.
    *java.rmi.RemoteException: [Deployer:149150]An IOException occurred while reading input. : with response code '500' : with response message 'Internal Server Error'*
    Our java webservice have few dependent jar like axis library which we put in domain lib folder.
    Thought we remove all the custom jar from OSB domain lib folder but still we are getting a same error. please let me know how to deal with such error. we dont want to recreate a domain again.

    Check the OSB server log to find out any errors during the deployment. Also let us know the exact version of OSB and weblogic, you are working with.
    Regards,
    Anuj

  • Getting the Metric evaluation error start - Unable to run the process

    Hi,
    I am getting the below error:
    Metric evaluation error start - Unable to run the process
    We are using the Grid Control for monitoring purposes, and we get this error frequently from different databases. Please do let me know if anyone have faced this error before or know about it. Any kind of help is greatly appreciated!
    Thanks.

    Where are you seeing this error?
    Can you confirm the target exists (check targets.xml on the agent) and that the instance of the target has it defined correctly (all the required instance properties are there)?
    Given that those check out, can you open up the metric browser on the agent and make sure the target looks ok there.

  • Get database metrics in 9i

    Hello,
    I use oracle 9.2.0.6. I need to get information about:
    1. percent of CPU use in real time
    2. percent of space used in a tablespace (in MB)
    3. percent of memory used by database
    4. number of corrupt Data Blocks
    5. number sorts to disk (per second)
    6. Unavailable or available database
    I hope you will help me to write this selects.
    Thanks in advance

    I find by myself.

  • Can not get JMX metrics to show up in Enterprise Manager

    Hi there,
    I'm using these settings in my Instroscope.profile file (for tomcat out-of-box, no fancy configurations)
    introscope.agent.jmx.enable=true
    #introscope.agent.jmx.globalfilter=
    introscope.agent.jmx.name.primarykeys= <empty>
    introscope.agent.jmx.name.filter= <empty>
    All metrics defined in PBDs show up, but I don't see JMX metrics.
    not sure if this is the cause or not, but I'm seeing these errors in introscope log file:
    java.lang.NullPointerException: while trying to invoke the method javax.management.MBeanAttributeInfo.isReadable() of an object loaded from an array (which itself was loaded from local variable 'attInfo') with an index loaded from local variable 'attributeII'
    Any help is appreciated.
    -Jinlin
    Edited by: Jinlin Chen on Apr 19, 2010 7:57 PM

    Windows: http://support.apple.com/kb/TS1538
    Mac: http://support.apple.com/kb/TS1591

  • How can get osb software  and  installation and guidance ?

    hi
    Friend i need OSB software and installation guidance please help me any one
    Thanks&Regarding
    [email protected]

    You can download it from: http://www.oracle.com/technetwork/middleware/service-bus/downloads/index.html
    Installation guide: http://docs.oracle.com/cd/E28280_01/install.1111/e15017/toc.htm
    Regards,
    Fabio.

  • OSB or BPEL

    Hi All,
    We have the following requirement:
    1. Poll a particular location for any new incoming file (size ~ 5 MB), frequency of about 500 files a day.
    2. Store this data to a Database after doing some transformation.
    3. Maintain the transaction state i.e. if update fails for any particular record in the file then the entire transaction should roll back.
    So my questions were
    Q1. Which technology to use BPEL or OSB ?
    Q2. Does this choice depends on the size of the incoming files ?
    Q3. What is the performance overhead involved in either cases?
    Thanks.

    Below are my comments:
    1. Poll a particular location for any new incoming file (size ~ 5 MB), frequency of about 500 files a day.
    Both OSB/BPEL can be used. But given that the message size is around 5 MB, I would incline towards BPEL. My experience has showed that OSB is good for message sizes of up to 1-2MB.2. Store this data to a Database after doing some transformation.
    Both OSB/BPEL can be used. If the amount of transformation is high then use BPEL.
    Also as the transformation needs to be done for the message size of 5MB, BPEL would be a better fit here. 3. Maintain the transaction state i.e. if update fails for any particular record in the file then the entire transaction should roll back.
    Initially, i thought that you need to persist the state and hence you should use BPEL, as OSB is stateless.
    But after reading the next part of the line regarding transaction rollback - you can use both OSB/BPEL. Use JCA DbAdapter with a XA data source and you should be able to accomplish this.
    Using BPEL will give you the facility to monitor each and every message instance that was processed by the BPEL process. This visibility is not present in OSB as it is stateless. You can get the metrics like number of messages processed, timetaken, number of errors, etc .. in OSB though.Thanks,
    Patrick

  • OSB to SOA suite package not forming correctly

    Setup is as follows:
    AIX 5.3 on the box, 10 gigs ram, installation of the latest releases of OSB and SOA suite on top of weblogic. I've built out a couple of simple database queries in BPEL based off wsdls, dropped them on to the SOA suite server, used EM to open a test console and plugged in some search data. Search returns successfully.
    I then open up OSB's console, create a business service to the endpoint on the soa server, and a proxy based off the same wsdl used in the BPEL construction which I then route to the business service. Both service and proxy are made with basic http for the protocol (not sure how to use the sb protocol, and not sure if that will fix the problem). Load the test console on the proxy service, which displays an xml form similar to what is used in the SOA suite. Fill out the same information, but the invoke returns BEA-380000. Following the invocation trace in OSB everything looks good in terms of package content.
    Wondering if it might simply be a problem with how the OSB interprets XML from a wsdl, I piped the XML from the SOA suite into the OSB's xml field, but to no luck, same error. After some more testing and frustration,I put the SOA suite XML straight in to the form field in the OSB test console, and it worked. However, the package itself seems oddly formed, consisting of:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
    Which I've been told is basically double wrapping the package, which shouldn't work, and more importantly wont be generated when someone uses say SOAPUI to access our service on the OSB.
    Now, on the SOA suite side of things. In EM console, I navigate to my BPEL process and can see the faults caused by the OSB. The same faults are also generated when binding to the OSB's endpoint with SOAPUI, but not when going directly to the SOA suite's endpoint. The error is the following:
    oracle.j2ee.ws.saaj.soap.SOAPVersionMismatchException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
    And the payload sent shows as empty.
    So to my best uneducated guess, it looks like the OSB wraps the payload in an envelope, and then unwraps it before handing it to the SOA suite, which expects the payload to be wrapped. Sadly, I'm still pretty new to the wsdl/webservice/oracle world, so I'm not even sure if that's an accurate representation. Any insight on what might be happening or how to get OSB to talk with SOA suite correctly would be greatly appreciated. Included below are the XML payloads I've used (minus a bit for confidentiality reasons). Apologies if the formatting doesn't work so nice for it.
    OSB Generated (fails):
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    Body:
    <ns2:SyncEmployeeIDRequest xmlns:ns="removed" xmlns:ns1="removed" xmlns:ns2="removed">
    <!--You have a CHOICE of the next 2 items at this level-->
    <ns:PersonIdentificationAssertion>
    <!--Optional:-->
    <ns1:PersonBirthDate>
    <ns1:Date>2008-09-28</ns1:Date>
    </ns1:PersonBirthDate>
    <!--Optional:-->
    <ns1:PersonGivenName>string</ns1:PersonGivenName>
    <ns1:PersonSurName>string</ns1:PersonSurName>
    </ns:PersonIdentificationAssertion>
    <ns1:DepartmentIDText>string</ns1:DepartmentIDText>
    </ns2:SyncEmployeeIDRequest>
    SOA Generated(works if plugged into OSB form field)
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header></soap:Header>
         <soap:Body xmlns:ns1="removed">
              <ns1:SyncEmployeeIDRequest xmlns:ns2="removed">
                   <ns2:PersonIdentificationAssertion xmlns:ns3="removed">
                        <ns3:PersonBirthDate>
                             <ns3:Date>2008-09-28</ns3:Date>
    </ns3:PersonBirthDate>
                        <ns3:PersonGivenName>string</ns3:PersonGivenName>
                        <ns3:PersonSurName>string</ns3:PersonSurName>
    </ns2:PersonIdentificationAssertion>
    </ns1:SyncEmployeeIDRequest>
    </soap:Body>
    </soap:Envelope>
    Working Request Document in OSB:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
         <soap:Body      xmlns:ns1="removed">
         <ns1:SyncEmployeeIDRequest      xmlns:ns2="removed">
         <ns2:PersonIdentificationAssertion      xmlns:ns3="removed">
         <ns3:PersonBirthDate>
         <ns3:Date>2008-09-28</ns3:Date>
         </ns3:PersonBirthDate>
         <ns3:PersonGivenName/>
         <ns3:PersonSurName>ALastName</ns3:PersonSurName>
         </ns2:PersonIdentificationAssertion>
         </ns1:SyncEmployeeIDRequest>
         </soap:Body>
         </soap:Envelope>
         </soapenv:Body>
         </soapenv:Envelope>
    If I can provide anymore information that will help shed light on this issue please let me know.
    Thank you for your time.
    ~Nick

    Problem solved. When I originally created my business service inside of OSB, I created it based off an endpoint provided by the SOA server. Instead, I went and did a mass import from a url, pointed it at the SOA server wsdl, and then built the web service off of that wsdl resource in the OSB. Now it works like a charm.

  • Table in report based on metric data

    Hi!
    I want to add a simple table to report, showing the data from the metric I have in my plug-in. The metric has near 50 columns.
    As far as I understand, I need to write SQL statement that selects from mgmt$metric_current view.
    The problem is that the data is presented 'vertically' in this view, meaning that I have one column with metric column name and another with metric column value, so if I want to get a table that represent my metric I need to write 50 inner joins in my SQL statement, which is extremely unefficient.
    Is there any other way to select metric current data in an efficient way?
    Thanks in advance,
    Alex.

    Alex,
    You do have to write a query to join across MGMT$METRIC_CURRENT to get multiple metric columns into a table.
    But for a reasonably sized table (column-wise), the performance should be fine. Why would you want to have
    a table with 50 columns? You'd have your end user doing quite a bit of horizontal scrolling all of the time; that
    wouldn't be very usable. Perhaps the better approach would be to have a number of tables with selected columns
    in each that are closely related. It seems that even regardless of this, that 50 columns is a lot in a single metric.
    Would it also make sense to break this metric up for usability as well? If so and you had originally put all 50 columns
    in a single metric for performance reasons (i.e. perhaps the overhead to connect to the source is big), you could
    keep that big metric as is, and have sifferent aggregate metrics that just consist of particular subsets of the
    columns. These aggregate metrics aren't "collected" like the base one.
    Dave

Maybe you are looking for

  • Ar/ap process

    Hi, Any one can pls tell me in detail: 1.when we purchase /sell (ap/ar) something waht is the total process and which areas it wil reflect in fi & co I wil assign points thans jay

  • I want to download an album but its only been released in the  US site and im in Australia, how do i get it d

    I want to download an album but its only been released on the  US site and im in Australia, how do i get it

  • ABAP Query: How to transport?

    We have created one ABAP query in Development system. In Query we did some changes related to code. We want to transport it to Quality system.For this we are running "RSAQR3TR" program in Devp System . through which we are exporting "User Group, Info

  • Table control in ME51 BDC

    Dear abaper Can u Pl let me to how to handle table control in ME51 BDC. if u have program send it to [email protected] rgds, Simha

  • Add new node on vehicle master

    Hello experts, We have many custom fields on vehicle master and we can't add more than 99 custom fields on same screen (SAP restriction) Now I want to add new node (like we have data Entry, Service, Document flow) Once I add new node, we know how to