Configuring Custom OpenType MBeans in Diagnostic Modules

I am running in WebLogic 10 and trying to access my custom opentype mbeans from the diagnostics module. I have successfully configured the class as a collected metric and I am able to acquire anything that is a simple type (which are coded as SimpleType.STRING opentypes), but I cannot seem to get access to the composite types that I have within the same mbean. The attributes are not showing up as an option in the collected attributes table. Here are the attribute definitions I used:
// works
attributes[0] = new OpenMBeanAttributeInfoSupport("ContainerStats",
"List of stats for all containers",
SimpleType.STRING, true, false,false);
// not listing as an available attribute
attributes[1] = new OpenMBeanAttributeInfoSupport("OperationStats",
"List of stats for all operations",
tStatusRecordsType, // this is an object that extends CompositeType
true, false, false);
Is there something special I need to do for composite types to be monitored via the WebLogic console?

Hello,
As of WLS 10, the diagnostics harvester allows harvesting only simple types. Support for harvesting of complex types is planned for a future release.
Regards,
/Raj

Similar Messages

  • Default Code Generation for a Custom Class for an Application Module

    hi all
    Oracle® Fusion Middleware
    Fusion Developer’s Guide for Oracle Application Development
    Framework
    11g Release 1 (11.1.1)
    with Jdeveloper TP3 ,
    By default, the application module Java class will look similar to what you see in
    Example below when you've first enabled it. Of interest, it contains:
    ■ Getter methods for each view object instance in the data model
    ■ A main() method allowing you to debug the application module using the
    Business Components Browser
    [package devguide.model;
    import devguide.model.common.StoreServiceAM;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.ViewLinkImpl;
    import oracle.jbo.server.ViewObjectImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class StoreServiceAMImpl extends ApplicationModuleImpl {
    /** This is the default constructor (do not remove) */
    public SRServiceImpl() { }
    /** Sample main for debugging Business Components code using the tester */
    public static void main(String[] args) {
    launchTester("devguide.model", /* package name */
    "SRServiceLocal" /* Configuration Name */);
    /** Container's getter for YourViewObjectInstance1 */
    public ViewObjectImpl getYourViewObjectInstance1() {
    return (ViewObjectImpl)findViewObject("YourViewObjectInstance1");
    // ... Additional ViewObjectImpl getters for each view object instance
    // ... ViewLink getters for view link instances here
    when i try this i didn't find the default generation for main method
    have i do something before enable custom java file for Application module
    hope to hear from you soon

    hi nonStop
    Since you are using Jdeveloper TP3, this might be a better place to ask your question:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Configuring custom database authentication in Weblogic 10

    Hi,
    For my project I am trying to configure security/login module. It's an ADF based web application(ADF11g) and is deployed on Weblogic10. I have implemented the custom authentication with DB login module, created the jar and placed it inside %WL_HOME%/server/lib/mbeantypes. Now I have created one new Authenticator inside 'myrealm'. But after the successful deployment of the application when I am trying to access any secured page this custom authenticator is not being invoked. Can anyone please tell me the exact steps I have to follow for getting custom authenticator working properly.
    Thanks much!

    I had some minor implementation faults in code, after fixing those it is working fine

  • 9.7.3 Default Code Generation for a Custom Class for an Application Module

    hi all
    Oracle® Fusion Middleware
    Fusion Developer’s Guide for Oracle Application Development
    Framework
    11g Release 1 (11.1.1)
    with Jdeveloper TP3 ,
    By default, the application module Java class will look similar to what you see in
    Example below when you've first enabled it. Of interest, it contains:
    ■ Getter methods for each view object instance in the data model
    ■ A main() method allowing you to debug the application module using the
    Business Components Browser
    [package devguide.model;
    import devguide.model.common.StoreServiceAM;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.ViewLinkImpl;
    import oracle.jbo.server.ViewObjectImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class StoreServiceAMImpl extends ApplicationModuleImpl {
    /** This is the default constructor (do not remove) */
    public SRServiceImpl() { }
    /** Sample main for debugging Business Components code using the tester */
    public static void main(String[] args) {
    launchTester("devguide.model", /* package name */
    "SRServiceLocal" /* Configuration Name */);
    /** Container's getter for YourViewObjectInstance1 */
    public ViewObjectImpl getYourViewObjectInstance1() {
    return (ViewObjectImpl)findViewObject("YourViewObjectInstance1");
    // ... Additional ViewObjectImpl getters for each view object instance
    // ... ViewLink getters for view link instances here
    when i try this i didn't find the default generation for main method
    have i do something before enable custom java file for Application module
    hope to hear from you soon

    hi nonStop
    Since you are using Jdeveloper TP3, this might be a better place to ask your question:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Customer : Exception 7 in function module VIEW_KUxxV

    Hi,
    While Billing facing this problem
    00 Customer : Exception 7 in function module VIEW_KUxxV
    10 The bill-to party could not be determined
    10 The payer could not be determined
    tx in advance
    Bhushan Kolte

    Hello Colleague;
    Please check the account group assignment to the partner functions in   
    transaction VOPA click on partner function button then environment      
    then Account group assignment. Please ensure that this is all configured
    correctly for the partners.                                                                               
    Please also review the note                                    
    -> 80233   Debit-side settlement: Customizing, error messages                                                                               
    In particular the section:                                              
    VF083: 'Customer &: Exception & in function module VIEW_KUAGV'                                                                               
    The error message is generated because of a program error that          
    has since been corrected. The correct error message is VP304,           
    'Customer belongs to customer group & and thus cannot be the            
    sold-to party'.                                                                               
    The partner roles in the customer master are incorrectly set, see       
    below.                                                                               
    Recommendation: Assign the customer an account group which              
    already fulfills these criteria. (In the standard system, this is       
    Account group '0001).                                                                               
    I hope this helps resolve the error.
    Regards
    Ruy Castro

  • Updating a Property in my Custom Authenticator MBean

    I have created a custom AuthenticationProvider. It is configured through an
    MBean produced by WebLogicMBeanMaker from my XML file. I have a custom
    property in the XML file with a default value. My AuthenticationProvider is
    able to get the bean and read back the default value.
    Now, I wish to change that value to something else to allow uses to
    configure the provider. The documentation clearly says that I will be
    unable to use the Weblogic Console to do this and will have to use the
    command line "weblogic.Admin" application to do it. This is fine, but I
    cannot figure out how to access or modify my MBean.
    How do I know the MBeans name or type? The MBean generated is called
    WeblogicCarbonAuthenticatorMBean.java
    I have tried (I have not include username/password in this post for brevity)
    java weblogic.Admin GET -type WeblogicCarbonAuthenticator
    No MBeans found
    java weblogic.Admin GET -type Authenticator
    No MBeans found
    No success.
    I also deployed a pair of JSPs called listMBeans.jsp and showMBean.jsp,
    which claim to show me all the MBeans deployed. Searching through the list
    I see nothing with the world "Carbon" or "Authenticator" in it.
    How can I find/configure my Authenticator MBeans?
    Thanks
    -jordan

    Jordan Reed wrote:
    Getting there! I can now look at my bean, but I cannot seem to update it.
    There is a string property on the MBean called "UserManagerLocation" that I
    need the end user to be able to update to their appropriate location.
    I am able to use the weblogic.Admin utility to query the MBean, but not to
    update.
    So here is my query:
    java weblogic.Admin -pretty GET -mbean
    Security:Name=myrealmWeblogicCarbonAuthenticator
    MBeanName: "Security:Name=myrealmWeblogicCarbonAuthenticator"
    ControlFlag: REQUIRED
    Description: Carbon Authentication Provider adapts authentication
    behavior to the User Manager Service
    ProviderClassName:
    com.sapient.services.security.auth.weblogic7.WeblogicCarbonAuthenticationPro
    vider
    Realm: Security:Name=myrealm
    UserManagerLocation: /security/management/test/RdbmsUserManager
    Version: 4.2
    But here is my failing update:
    java weblogic.Admin SET -mbean
    Security:Name=myrealmWeblogicCarbonAuthenticator -property
    UserManagerLocation "/security/management/RdbmsUserManager"
    MBean not specified for setting of attributes. Value UserManagerLocation for
    parameter ["9"]Get rid of the "'s around the Value. If that does not work, try
    something like this,
    java weblogic.Admin SET -mbean
    Security:Name=myrealmWeblogicCarbonAuthenticator -commotype -property
    UserManagerLocation /security/management/RdbmsUserManager
    If that does not work, please open a support case with BEA.
    Thanks,
    -satya
    >
    >
    >
    But, inside my MBean descriptor I've got it set as writable:
    <MBeanType
    Name = "WeblogicCarbonAuthenticator"
    DisplayName = "WeblogicCarbonAuthenticator"
    Package = "com.sapient.services.security.auth.weblogic7"
    Extends =
    "weblogic.management.security.authentication.Authenticator"
    PersistPolicy = "OnUpdate"
    Writable = "true"
    >
    <MBeanAttribute
    Name = "UserManagerLocation"
    Type = "java.lang.String"
    PersistPolicy = "OnUpdate"
    Readable = "true"
    Writeable = "true"
    Default =
    ""/security/management/test/RdbmsUserManager""
    />
    </MBeanType>
    Any clue why I am unable to update the attribute from the command line?
    Thanks
    -Jordan
    "Satya Ghattu" <[email protected]> wrote in message
    news:[email protected]...
    Jordan,
    You can use weblogic.Admin utility to change values of your custom MBean
    if you know the object name of your MBean.
    Jordan Reed wrote:
    I have created a custom AuthenticationProvider. It is configured
    through an
    MBean produced by WebLogicMBeanMaker from my XML file. I have a custom
    property in the XML file with a default value. MyAuthenticationProvider is
    able to get the bean and read back the default value.
    Now, I wish to change that value to something else to allow uses to
    configure the provider. The documentation clearly says that I will be
    unable to use the Weblogic Console to do this and will have to use the
    command line "weblogic.Admin" application to do it. This is fine, but I
    cannot figure out how to access or modify my MBean.
    How do I know the MBeans name or type? The MBean generated is called
    WeblogicCarbonAuthenticatorMBean.java
    I have tried (I have not include username/password in this post forbrevity)
    java weblogic.Admin GET -type WeblogicCarbonAuthenticator
    No MBeans foundyou should use the fully qualified MBean name. i.e
    java weblogic.Admin GET -type foo.blah.WeblogicCarbonAuthenticator
    java weblogic.Admin GET -type Authenticator
    No MBeans found
    No success.
    I also deployed a pair of JSPs called listMBeans.jsp and showMBean.jsp,
    which claim to show me all the MBeans deployed. Searching through the
    list
    I see nothing with the world "Carbon" or "Authenticator" in it.
    How can I find/configure my Authenticator MBeans?I assume that you are using 7.0sp1, if not please upgrade to sp1. You
    should see a file called CommoConfig.xm.booted file under your domain
    directory, this file contains all the security MBeans that the server
    found. You should be able to get the object names of your custom mbeans
    from this file.
    Hope it helped,
    -satya
    Thanks
    -jordan

  • How to configure custom error page in WebServer 6.1 if instance is down

    Hi ,
    I have deployed an application on port 82.
    If the instance is down, want to configure custom error page in Sun One Webserver 6.1 so that the it displays a customised message rather than browser displaying its custom DNS error page.
    In web.xml, configured the 404/500 error messages, but if the instance is down, my web application does not receive the request. So it should be defined at the root level.Where to configure the same?
    Thanks for the help in advance.

    You can use Error function "send-error" http://docs.sun.com/source/817-1834-10/crobjsaf.html#wp20007
    It has an example
    Error fn=send-error code=401 path=/sun/server61/docs/errors/401.html

  • Custom JMX MBeans not showing JRMC under Weblogic 10.3.1

    Hi,
    I have created some custom JMX MBeans and registered them with the Runtime MBean Server as described in the documentation in a ApplicationLifecycleListener. Even though the ObjectInstances I get back from the MBeanServer indicate that the MBean is registered, when I connect to the server using JRockit Mission Control I only see the standard Weblogic MBeans and my custom MBeans do not show.
    Side note, when I deploy my application in Weblogic 9.2.3 my custom MBeans do show in JRMC? Weird!!!! Both servers are in development mode and both are using JRockit as the JVM.
    Regards,
    Mark P Ashworth

    You should be able define a remote connection to the WLS MBean server in the JRMC Console in the same fashion as in JConsole. You will however loose a lot of functionality, since (I assume) the JVM MBeans in the platform MBean server will not be avilable from the WLS specific MBean server. Pretty much the only remaining tabs of interest will be MBean browser and the trigger tabs. I guess you could also redefine the other tabs to show WLS specific attributes of interest.
    If you wish to monitor the JVM MBeans in the platform MBean server together with the WLS MBeans, then you need to make WLS use the platform MBean server instead of its own, just like the previous entry suggested.

  • How to configure customer KB in partneer functions

    hi,
    sap gurus,
    how to configure customer "KB" - partner function in partner determination procedure which is use ful for credit management.
    plz help me on this
    my id is [email protected]
    regards,
    balaji.t
    09990019711.

    Hi,
    Go to
    *IMG -- SD -- Basic functions -- partner determination -- setup partner determination -
    Set Up Partner Determination for Customer Master ---*
    Find the procedure which is assigned to your account group... you can view this at partner determination  procedure assignment...
    then select the procudure in partner detremination procedures. and then select the partner funtions in procedure...  here add the partner funtion KB in partner funtion and mark it as mandatory by checking the check box in the last mandatory function
    Muthu
    Edited by: Muthupandiyan on Mar 28, 2008 2:02 PM

  • Configure custom query group in navigation menu

    How do we configure custom query groups? Say for example: I have created a custom query group and added my custom query definitions to it. How do I configure this so that when I click on Contract Management Tab on the workbench, my custom query group is invoked?
    I need to configure custom query group in navigation menu. Any help would be appreciated.
    Regards,
    Bindu Sharma

    Hi Bindu,
    As per my understanding, it is standard and query group cannot be added in the navigation but you can add your quries under Agreement and Claus Library.
    Kindly refer the blog for the same: http://scn.sap.com/docs/DOC-55733
    Let me know if you need any other information.
    Thanks,
    Kushagra A

  • How will i configure customer mass maintanance

    how will i configure customer mass maintainance for a given no of customers.....

    hello, friend.
    by mass maintenance, do you mean using t-codes MASS and XD99?
    i believe there is no configuration required for this.  you just have to set up your enterprise structure (sales org, distribution channel, division, sales office, sales group, etc.) to enable you to filter your master data so that only the relevant ones will be maintained en masse.
    regards.

  • How to deploy custom JMX Mbean in Weblogic

    Hi,
    I dont find any forum relevant to my topic. Hence i am posting my query here.
    I have a custom developed MBean running in a seperate JVM i need to deploy this in Weblogic Server JMX agent. How do i deploy this Mbean in Weblogic Server 9.2
    Suggest me please.
    Thanks and Regards,
    Rajashankar.R

    keerthijava wrote:
    Hi,
    I believe you would have got a solution for deploying JMX Mbean in Weblogic . Could you please suggest me .Please, don't resurrect old threads. The thread was posted almost a year ago. I'm locking it.
    Kaj

  • Apple Configurator custom iOS version option

    As of last week, Apple Configurator custom iOS version option seems to be failing out.Previously we were able to install or upgrade to iOS 8.1.3 instead of iOS 8.2 until we have tested applications to confirm they are working on the latest iOS version. When using the custom iOS version, it fails out during the iOS install issue.
    It also appears the iTunes will no longer let a device be restored to the 8.1.3 ipsw either.
    Has anyone else experienced this issue?

    Dear HyperNova,
    Firstly I thank you for your prompt reply to my question. However I do object to your response that you "seriously doubt anyone from Apple would tell me that" - are you seriously questioning my integrity that I would post that if not true! It is no wonder that people shy away from posting on forums when they get that sort of response.
    I was advised by the support person I spoke to that it was intended for developer previews but that I could try it for earlier versions of iOS. It may not be a "supported' feature - but I WAS advised by Apple support that I could do this and it worked.

  • Scripting active configuration deployment location for an oracle module

    Hi,
    Does anyone know how to script the setting of the active configuration deployment location for an oracle module?
    I have executed the following which works fine but I can't figure out how to make it active so the module shows up in the control center to allow deployment.
    I can of course do it manually in the design center by right clicking on the module in the design center, selecting 'Configure' and then (strangely) just selecting the location property which then automatically sets the active location and then it shows up in the control center.
    OMBALTER ORACLE_MODULE 'MOD_EXT' ADD REFERENCE LOCATION 'MIG_EXT_LOCATION' SET AS DEFAULT
    Oracle module MOD_EXT altered.
    OMBALTER ORACLE_MODULE 'MOD_EXT' SET REFERENCE METADATA_LOCATION 'MIG_EXT_LOCATION'
    Oracle module MOD_EXT altered.
    Any ideas?
    Regards,
    Brad

    Hi Brad,
    before you set the location you have to set the correct configuration (in case you use more configurations than the default "DEFAULT_CONFIGURATION") as active configuration:
    OMBCAC 'MY_CONFIGURATION'
    Regards,
    Carsten.

  • Thinkvantage Toolbox / PC Doctor "Diagnostic Module" APPCRASH in pcdrsysinfodirect.p5x

    This kept generating dialogs saying that the "Diagnostic Module" application has stopped working, on my T410 running Windows 7 64-bit.  I tried uninstalling and re-installing the latest Thinkvantage Toolbox, but to no avail.
    I hope this is not indicative of a hardware problem.  At least everything else on the system seems fine at the moment.
    So for now I've worked around this by uninstalling PC Doctor (aka Thinkvantage Toolbox).  I can easily live without it, although there were a couple nice-to-haves in there, so if you have a solution perhaps I'll give it a go.  Otherwise, it might be nice to at least let other users know they can get past this by uninstalling PC Doctor.  I noticed at least one other person on the net having the same problem.
    Of course, the blue "ThinkVantage" button does nothing now.  But maybe I'll tie it to something useful, such as process explorer or msinfo32.

    On a T420, without running the Toolbox (although a part of it may run automatically upon login), I receive repeated errors often that read:
    Problem Event Name:                                 BEX64
    Application Name:                                     pcdrsysinfoperipheral.p5x
    Application Version:                                   6.0.5802.24
    Application Timestamp:                           4d94f53d
    Fault Module Name:                                 SynTPAPI.dll_unloaded
    Fault Module Version:                               0.0.0.0
    Fault Module Timestamp:                       4d098631
    Exception Offset:                                        0000000063020350
    Exception Code:                                          c0000005
    Exception Data:                                           0000000000000008
    OS Version:                                                   6.1.7601.2.1.0.256.48
    Locale ID:                                                       1033
    Additional Information 1:                         7af3
    Additional Information 2:                         7af30e4d2a4db9ca539df106426a237c
    Additional Information 3:                         5193
    Additional Information 4:                         519378eedee7ebc824064a7ad8ded04a

Maybe you are looking for