OSB, statistics from MBean

Hello! I just trying to get statistics from Oracle Service Bus via com.bea.wli.monitoring.ServiceDomainMBean. As far as i understand manual i need to add to server's classpath this libs:
%ALSB_HOME%\lib\sb-kernel-api.jar
%ALSB_HOME%\lib\sb-kernel-common.jar
%ALSB_HOME%\lib\sb-kernel-resources.jar
%ALSB_HOME%\lib\sb-kernel-impl.jar
%ALSB_HOME%\modules\com.bea.common.configfwk_1.5.0.0.jar
%ALSB_HOME%\..\modules\com.bea.alsb.statistics_1.2.0.0.jar
%ALSB_HOME%\..\modules\com.bea.core.management.jmx_1.4.1.0.jar
%ALSB_HOME%\..\modules\com.bea.core.management.core_2.8.0.1.jar
%ALSB_HOME%\..\wlserver_10.3\server\lib\weblogic.jar
next as far as i understand i must to run WebLogic Server with parameters:
-Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder
-Xmanagement:ssl=false,authenticate=false,port=7092,autodiscovery=false
After server start i not see MBeans (com.bea.wli.monitoring.ResourceType, com.bea.wli.monitoring.ServiceResourceStatistic, com.bea.wli.monitoring.ResourceStatistic, com.bea.wli.monitoring.StatisticValue) in Jconsole, in Mission Control, or in output of command "java -jar cmdline.jar - 192.168.154.142:7092".
Where my mistake?
Edited by: 915814 on 17.12.2012 8:41

my situation belong to this case:
2.10.3.2 Debugging Oracle Service Bus Running Stand-Alone on a Managed Server
If you want to debug on an Oracle Service Bus instance that is running stand-alone on a managed server in a non-clustered environment, follow these steps:
In Eclipse, in Servers view, add a server for the domain to which the Oracle Service Bus managed server belongs.
Make sure that both the domain's admin server and the Oracle Service Bus managed server are running.The admin server must be running in normal mode, not debug mode.
Follow the debug configuration and debug steps Section 2.10.3, "Using the Oracle Service Bus Debugger Launch Configuration."If you set up a Remove Java Application configuration to test Java callouts, be sure to target the configuration to the managed server.
but Ican not make it work

Similar Messages

  • Aggregator did not receive statistics from [sb03] for the current view

    I'm receiving a warning message in a BEA Aqualogic Service Bus console "Aggregator did not receive statistics from [sb03, sb05, sb06, sb04, sb02, sb01] for the current view".
    I don´t have any idea what is the root cause of this issue.
    Thanks,
    Norberto Enomoto

    Norberto,
    I've found this link with a list of SB Runtime Messages.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/messages/alsb/kernel/l10n/ServiceDomainMBean.html
    One of this refer to the problem you're having:
    BEA-473051
    Error: Aggregator did not receive statistics from servers for the current view
    Description
         There is a communication failure between Aggregator server and other managed servers. One of the managed servers failed to send statistics to the managed server on which Aggregator is running.
    Cause
         Communication failure between managed servers.
    Action
         Wait for some time and try again.
    Att.
    José Compadre Junior
    Edited by: user10076953 on 22/03/2010 11:09
    Edited by: user10076953 on 22/03/2010 11:09

  • Can not access the Instance Data of a Singleton class from MBean

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

  • Export OSB configuration from eclipse using ant script

    I am trying to export an OSB project from eclipse using ant script
    I followed the link below http://biemond.blogspot.com/2010/07/osb-11g-ant-deployment-scripts.html
    It is using com.bea.alsb.core.ConfigExport to do the export. This export is always set to resource level.
    I see it generates a file ExportInfo setting some properties. It has a property that set the export level as below
    <imp:property name="projectLevelExport" value="false"/>*
    How can I export the project in project level? basically setting projectLevelExport to true?
    So that if a file does not exist in the sbconfig.jar file , then while importing the jar to OSB server it will delete the file from the server instead of skipping it?
    I appreciate any help
    here is the ant script snippet that gets executed to export from eclipse
    <target name="exportFromWorkspace">
         <delete failonerror="false" includeemptydirs="true"
    dir="${metadata.dir}"/>     
                   <!--eclipse.refreshLocal resource="${config.project}" depth="infinite"/-->
    <java dir="${eclipse.home}"
    jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar"
    fork="true" failonerror="true" maxmemory="768m">
    <jvmarg line="-XX:MaxPermSize=256m"/>
    <arg line="-data ${workspace.dir}"/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${config.project}"/>
    <arg line="-configJar ${config.jar}"/>
    <arg line="-configSubProjects ${config.subprojects}"/>
              <arg line="-exportLevel true"/>
    <arg line="-includeDependencies ${config.includeDependencies}"/>
    <sysproperty key="weblogic.home" value="${weblogic.home}"/>
    <sysproperty key="osb.home" value="${osb.home}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.home}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    </java>
    </target>

    yes, I specified the project name to export the whole project.
    Here is few lines from my properties file
    # properties for workspace export
    config.project="OSB Configuration-GW"
    config.jar=D:/workspace/osb/scripts/gateway/mycode2/ant_osb/dist/sbconfig.jar
    config.subprojects="GatewaySecurity"
    config.includeDependencies=true
    workspace.dir=D:/workspace/osb/gateway-workspace
    But this property does not make it to export at project level ,it export the specified project at resource level.
    And while importing this jar to OSB server, if a file is missing it skips the file instead of deleting the file from the OSB server
    If I unjar sbconfig.jar file, open ExportInfo file and update the line in bold below to true then it deletes the file from OSB server, if not exist in sbconfig.jar
    <imp:property name="exporttime" value="Thu Dec 29 13:57:44 EST 2011"/>
    <imp:property name="productname" value="Oracle Service Bus"/>
    <imp:property name="productversion" value="11.1.1.4"/>
    *<imp:property name="projectLevelExport" value="false"/>*
    Here is few lines from Oracle API java doc
    http://docs.oracle.com/cd/E13171_01/alsb/docs26/javadoc/com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html
    public static final ALSBImportOperation.Operation Delete
    Indicates that the resource is deleted in the importing domain. This is the default operation when the project is exported in its entirety and the resource exists in the target domain but not in the jar file
    public static final ALSBImportOperation.Operation Skip
    Indicates that the resource is skipped meaning the resource is not touched in the importing domain. This is the default operation if the jar file was exported at the resource level, and a resource that exists in the target domain, does not exist in the jar file.

  • Model/IPolicySet$POLICYSET_STATUS eroor while invoking OSB proxy from BPEL

    Hi,
    I am calling an OSB proxy from BPEL .While testing the BPEL , i am getting the following error
    oracle/wsm/policy/model/IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
    But i have no policies attached in the OSB.
    Kindly let me know if any resolution to this issue.
    Edited by: Lalit on Mar 18, 2012 11:15 PM

    I am getting the same error..
    Someone have any idea how to resolve it??
    which proxy i need to delete in console and redeploy???
    I redeployed my project many times but still same error..

  • Warning ALSB Statistics Manager BEA-473007 Aggregator did not receive statistics from ...

    Hi,
    I am using cluster with osb_server1 and osb_server2. While starting the servers, I am facing below error on Managed Server(osb_server2) but only warning on Managed Server(osb_server1).
    Warning on managed server1(osb_server1)
    <Warning> <ALSB Statistics Manager> <BEA-473007> <Aggregator did not receive statistics from [osb_server2] for the aggregation performed for tick 1855320.>
    Error on managed server2(osb_server2)
    <Nov 24, 2011 11:23:00 AM UTC> <Error> <ALSB Statistics Manager> <BEA-473003> <Aggregation Server Not Available. Failed to get remote aggregator
    java.rmi.UnknownHostException: Could not discover URL for server 'osb_server1'
    at weblogic.protocol.URLManager.findURL(URLManager.java:145)
    at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.getInitialContext(WlsRemoteServerImpl.java:94)
    at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.lookupJNDI(WlsRemoteServerImpl.java:54)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.getRemoteAggregator(ALSBStatisticsManager.java:291)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.access$000(ALSBStatisticsManager.java:38)
    Truncated. see log file for complete stacktrace
    Please provide your solutions here.
    Thanks

    Hi,
    I am using cluster with osb_server1 and osb_server2. While starting the servers, I am facing below error on Managed Server(osb_server2) but only warning on Managed Server(osb_server1).
    Warning on managed server1(osb_server1)
    <Warning> <ALSB Statistics Manager> <BEA-473007> <Aggregator did not receive statistics from [osb_server2] for the aggregation performed for tick 1855320.>
    Error on managed server2(osb_server2)
    <Nov 24, 2011 11:23:00 AM UTC> <Error> <ALSB Statistics Manager> <BEA-473003> <Aggregation Server Not Available. Failed to get remote aggregator
    java.rmi.UnknownHostException: Could not discover URL for server 'osb_server1'
    at weblogic.protocol.URLManager.findURL(URLManager.java:145)
    at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.getInitialContext(WlsRemoteServerImpl.java:94)
    at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.lookupJNDI(WlsRemoteServerImpl.java:54)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.getRemoteAggregator(ALSBStatisticsManager.java:291)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.access$000(ALSBStatisticsManager.java:38)
    Truncated. see log file for complete stacktrace
    Please provide your solutions here.
    Thanks

  • How to reset OSB domain from EM point of view?

    Hi folks,
    Since I set up a OSB domain in EM on a client host for the very first time, the administrative server changed (actually moved inside firewall and hence changed its name, consequently I re-installed OSB on it from scratch). Now EM on the client host cannot locate the administrative server, and thus thinks the domain id down. When I try to edit hosts list using EM on the client host (Setup>Hosts), the link directs to the client host itself (like https://client001.example.com/?tab=2&mode=3). As the client host obviously runs no administrative part, the page does not exist.
    On the other hand, when asked about OSB devices (Setup>Devices), EM correctly connects to the new administrative server name, and shows the correct answer. Same, obtool running on the client host can connect to the new administrative server and fetch settings from it (e.g. lshosts correctly displays the hosts in the domain).
    Seems that the old administrative server name exists only within EM settings. I believe the best thing to do is to re-create OSB domain (from the EM point of view) with the new administrative server in it. How can I do that?
    Thanks already for your answers.
    Dmitry.

    " emca -config dbcontrol db -repos recreate " does the job. Of course, as the repository is reset -- all other history records are lost.

  • Getting statistics from multiple tables using conditional expressions (e.g. combining min, count, sum, etc) in PHP/MySQL

    Hi,
    I'm trying to get statistics from a variety of related tables
    where the statistical counts are based on comparing the value on
    one table with an equivalent value on a second table (and I want to
    view the results grouped by time period, day, week, month, etc);
    e.g.
    Consider two tables - Customer & Customer_Action which
    are related as a one-to-many (one customer can take many actions):
    Customer: id, create_date, customer_name, etc.
    Customer_Action: id, customer_id, create_date, action, etc.
    If the customer took their first action at the same time as
    they registered on the system (i.e. if the customer record was
    created at the same time as the very first action record)
    YES_count is incremented by 1 else
    NO_count is incremented by 1
    So running the query against the database the report would
    look something like:
    Customers Yes No
    January 8 5 3
    February 14 9 5 .... Etc.
    I've tried this around a number of different ways but always
    seem to end up with double counting in one way or another: see this
    sample data
    Customer Create_Date Action_Date
    01 05/07/2008 12:36 05/07/2008 12:36
    01 05/07/2008 12:36 28/08/2008 22:22
    02 10/07/2008 12:04 10/07/2008 12:04
    03 10/07/2008 12:12 10/07/2008 12:12
    This should give me
    Count Yes No
    July 3 3 0
    ...... but I get always get a customer counts of 4 2 2!
    My current statement is .....
    SELECT count( m2u_Customer.id ) AS Customer,
    min( m2u_Customer_Action.action_date ) AS 'Action_Date',
    DATE_FORMAT( m2u_Customer.create_date, '%m-%M' ) AS Month,
    sum(case when m2u_Customer.create_date =
    m2u_Customer_Action.create_date then 1 else 0 end) as Yes,
    sum(case when m2u_Customer.create_date !=
    m2u_Customer_Action.create_date then 1 else 0 end) as No
    FROM m2u_Customer
    LEFT JOIN m2u_Customer_Action ON ( m2u_Customer.id =
    m2u_CustomerAction.customer_ id )
    WHERE m2u_Customer.create_date > '2008-07-02'
    AND m2u_Customer.create_date < '2008-08-01'
    GROUP BY DATE_FORMAT( m2u_Customer.create_date, '%m-%M' )
    Can this be done?
    Regards.
    Patrick

    In the default php.ini is set open_basedir which limits work with php only to few directories (and directories bellow them). There is set /srv/http, /home,/tmp and /usr/share/pear by default.
    To allow your vhost you should add /data/www or set empty value.

  • Specifying user-ID for gathering perfmon statistics from windows servers?

    When using OATS Load Testing to gather statistics from Windows servers (perfmon stats), the user-Id the Load Testing server is running under must be a member of the Performance Monitoring group on all the Windows servers I am trying to monitor. I have a standard user-ID I use for this kind of monitoring. It is automatically setup on all the servers in our enterprise. Where do I specify this user-ID and password in OATS Load Testing?
    The only reference I can find in the documentation says to change the user-ID and apassword in the Oracle Load Testing Agent Serivce. I don't think this is what I want. And, there is no service called "Oracle Load Testing Agent Service" installed on my server anyway.
    Thanks for the help!

    To gather any Server Stats (i.e. perfmon) data the OLT controller must communicate with a data collector process. The data collector process is olt-dc-java-agent.exe, which I recall is also kicked off by the Agent Manager Service (just like it does for the javaagent load agent process). I think you have configured the collecting of server stats data to be collected from a remote agent machine, which is fine, but you could configure SS to collect from the service running on the OLT (oats controller) machine.
    There is a reason why the DC processes can be separated from the OLT machine. If you testing and SS collecting in a single subnet environment, then it is fine to default your OLT/SS environment to use this single OLT AgentManagerService/DCollector configuration. Though, in the case where the servers you need to collect from are behind a firewall, you will need to install that AgentManagerService/DCollector combo on a machine behind the firewall, and also configure OLT/SS to talk to that 2nd data collector. A second example is when you are collecting so much data that the single data collector is stressed. So in that case simply creating a 2nd data collector machine will distribute the gathering of data.
    btw, you should consider not using your Network UserID/Pass for authenticating the agent manager service. Best practice is to ask your IT to create a special user/pass to handle the server stats needs. Then there is no conflict if you change your password in the future.

  • From Mbeans to SNMP traps

    Hi,
    I wonder if someone could told me how to pass from MBeans to SNMP traps on IAS 10g??. I search for something similar on this forum but I have no success. The traps are sended to an HP OpenView.
    Thanks a lot.

    On AdventNet there is an SNMP adaptor form MBeans but I dont know if this adaptor is necesary on IAS...?

  • Invoke OSB service from ADF page

    How can we invoke an osb service from an Adf Page
    Thanks,

    Raise a thread in ADF forum and you should get an answer there -
    JDeveloper and ADF
    Regards,
    Anuj

  • Cannot create OSB project from Eclipse

    I am working with OSB after a while. I have installed OSB and webgic server. When I have installed OSB the Oracle Enterprise pack for Eclipse has been installed.
    Now, when I am trying to create an OSB project from Eclipse. But when I am doing File-->New-->OSB Configuration Project, it gives error message:
    The selected wizard could not be started.
    Plug-in "com.bea.alsb.ui" was unable to instantiate class "com.bea.alsb.ui.wizards.NewALSBContainerWizard".
    com/bea/alsb/core/containers/exceptions/ContainerException
    Do I need to Install anything else?

    I resolved this issue. First, I installed WebLogic Server with Oracle WebLogic Server 11gR1 (10.3.3) + Coherence + OEPE (dowload here) and then, installed Oracle Service Bus v. 11.1.1.3.0. (download here ).
    When install OSB, be sure to select the oepe that is located inside the middleware directory.
    Doing these steps, after these installations, on path "Middleware directory/oepe_11gR1PS2" is the eclipse.exe. If you executed this file, it seems that the problem is resolved when try to create an osb project.

  • Combining Statistics from Multiple PDFs

    Hi all!! I am working on some PDF files that collect monthly data and statistics from multiple employees.  The employees fill out the forms and send them back each month.  Right now wer have to manually enter the monthly data into a separate form.  Is there any way to have Acrobat collect information off the forms and place it on the other form?  Thanks in advance for any assistance anyone can give.

    It can be done, but it is not a simple process. Will your users have Reader or Acrobat? Reader enabled forms have a 500 use limit. This can all be done on the web without incurring the 500-use limit. You will need someone with programming capability. An alternative would be to use something like FileMaker Pro (if the forms will be filled out by one user or hosted on the web with only 10 or fewer people accessing the database at a time). There is also a FileMaker Pro Advanced which can distribute FileMaker Pro applications). The nice thing about FileMaker Pro is that one needs almost no programming experience and the data will lie in a database, the appropriate resting place for most data.

  • Getting web statistics from iPlanet 6.x

    We currently use iPlanet 4.x and can browse to http://serverip:port/<servername>/sitemon to get web statistics from the server, and we have a network management application that needs to get these stats regularly. We are upgrading to iPlanet 6.x and can't figure out how to get the same functionality. sitemon doesn't appear to be available, so how can we make this work?

    Hi,
    Check out the below link, which will help to Monitoring current Statistics of iWS 6.x by enabling "obj.conf" file.
    http://docs.iplanet.com/docs/manuals/enterprise/50/tuning/perf6.htm#16292
    Hope this helps.
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • How do I transfer columns of statistics from an email or QuarkXpress into Adobe Muse?

    How do I transfer columns of statistics from an email or QuarkXpress into Adobe Muse?

    Well, it really depends on the file format your friends are using to send you the video. iTunes will only play certain formats, think of it as........having a car that only takes premium gasoline. If your friends give you a million gallons of regular gasoline, sure it's gasoline, but it won't work in your car. (That's a bad analogy but it's the best I can come up with).
    So, if you open up your mail (are you using the Mail program on your computer, or going to a website such as gmail.com or yahoo.com to access your mail?), you should be able to right click the video and select to download it.
    This should download it to your "downloads" folder, it should be on your dock if you didn't remove it. Click it, and select the "More in finder" button at the very top of the "stack".  If not, click the "Finder" button on your dock, and on the left click the Downloads tab.
    Now, you must find the video. It should have the name of the video with the extension (an example would be...... firstbirthday.mp4). The extension is the ".mp4" part. Yours may be .mov, .mp4, .mkv, .avi, the list goes on and on, but it's very important.
    You can try dragging the movie into iTunes (drag it anywhere over where it says Music, Movies, TV Shows, etc.) and it should hopefully turn to a little green bubble with +1. If the extension is not compatible, then, converting will be needed and that's a bit more tricky. It's also a little more tricky to get them to play on your Apple TV unless you use AirPlay.
    Let us first know what extension these videos are in and we can go from there.

Maybe you are looking for

  • Installing oracle 817 on redhat 7.1

    Could someone please help me? I'm trying to install oracle 817 on redhat 7.1 i did all the prework and also installed java sdk1.3.1, and set my path also. when I try to run the ./runInstaller or even the install/linux/runInstaller, i get this error,

  • CS3 on WinXP and Registry permission

    I was troubleshooting UI language problem in InDesign CS3 (5.0.3, German CS3 Design Premium), where UI appeared in English and online-help won't work if non-admin user starts the application on a WinXP, when I discovered the following. Adobe CS Desig

  • Working on two machines

    I started my site on the Mac Pro and was wondering if i could update and edit on my imac. If so how?

  • Add Quotes.vi not working as documented

    I use the openg config vi's and realized different behaviour between LV 8.6.1 and LV 2010. Digging into this I found that the 'Add Quotes.vi' adds quotes to all strings. The help says 'Adds quote marks (") around a string that contains spaces.'. Afte

  • HT1420 How do i find out what computers are authorized on my account

    How do i find out what computers are authorized on my account