Configuration MBean

Has anyone used configmbean - for instance the declaration could be like this in orion-application.xml -
<jmx-config-mbean
objectname=":type=test,name=testconf"
     class="demo.oc4j.jmx.wc.TestConf"
     location="simplembeans.jar">
<description> The config MBean that controls the main screen’s customization </description>
     <config-file path="webcache.xml" injection-name="configfile" />
</jmx-config-mbean>
I am facing 2 problems , not able to locate the jar file which contains - oracle.as.config.MutableRepositoryFile and there is a compilation error for @inject annotation ...Could some one give some inputs if they have used configMBean ?
The MBean looks like follows -
package demo.oc4j.jmx.standard;
import oracle.as.config.*;
import javax.management.*;
import java.io.*;
* The MBean implementation class which demonstrates configuration mBean
public class TestConf
private MutableRepositoryFile wcConf = null;
public TestConf()
public void load()
     System.out.println("%%%%%%%%%% Inside load of WebCache %%%%%%%%%%%%%%");
public void store()
     System.out.println("%%%%%%%%%% Inside store of WebCache %%%%%%%%%%%%%%");
@inject("configfile")
public void setConfigScreen(MutableRepositoryFile myConf)
throws IOException {
     this.wcConf = myConf;
     System.out.println("%%%%%%%% trigger configuration reload %%%%%%%%%%");
}

Has anyone used configmbean - for instance the declaration could be like this in orion-application.xml -
<jmx-config-mbean
objectname=":type=test,name=testconf"
     class="demo.oc4j.jmx.wc.TestConf"
     location="simplembeans.jar">
<description> The config MBean that controls the main screen’s customization </description>
     <config-file path="webcache.xml" injection-name="configfile" />
</jmx-config-mbean>
I am facing 2 problems , not able to locate the jar file which contains - oracle.as.config.MutableRepositoryFile and there is a compilation error for @inject annotation ...Could some one give some inputs if they have used configMBean ?
The MBean looks like follows -
package demo.oc4j.jmx.standard;
import oracle.as.config.*;
import javax.management.*;
import java.io.*;
* The MBean implementation class which demonstrates configuration mBean
public class TestConf
private MutableRepositoryFile wcConf = null;
public TestConf()
public void load()
     System.out.println("%%%%%%%%%% Inside load of WebCache %%%%%%%%%%%%%%");
public void store()
     System.out.println("%%%%%%%%%% Inside store of WebCache %%%%%%%%%%%%%%");
@inject("configfile")
public void setConfigScreen(MutableRepositoryFile myConf)
throws IOException {
     this.wcConf = myConf;
     System.out.println("%%%%%%%% trigger configuration reload %%%%%%%%%%");
}

Similar Messages

  • How can I configuration MBean in weblogic server  using the console ?

    How can I configuration MBean in weblogic server using the console ?
    I hear people talking about mbeans in weblogic server I have look in the console I can not find where , or how to do it.
    can some body explain that or a link that explain it, how to do it on the console ?

    Hi,
    Registering Custom MBeans from Admin Console is not yet possible. But yes there are ways to Configure and Utilize Custom MBeans ...
    http://weblogic-wonders.com/weblogic/2010/02/16/registering-and-invoking-custommbeans/
    Thanks
    Jay SenSharma

  • Creating Configuration MBean using RemoteMBeanServer

    Hi
    I'm trying to create a configuration MBean using the RemoteMBeanServer. More precisely, I get a reference to the RemoteMBeanServer using the MBeanHome.
    Then I use the standard createMBean method of the javax.management.MBeanServer to create a Configuration MBean. In my case it is a JDBCConnectionPoolMBean.
    However, when I try to run this from lets say a webapp, it throws a quote: "javax.management.NotCompliantMBeanException: The MBean must be have a concrete class"
    I know I can use the MBeanHome to create ConfigurationMBeans but for sake of reuse I'd like to use the MBeanServer's interface. I can use the MBeanHome to get the RemoteMBeanServer, but I don't want to use the MBeanHome interface for MBean management.
    I can lookup/query the Configuration MBeans using the generic MBeanServer but I'm not able to create any.
    The core of the code is something like this:
    ObjectName oname = new ObjectName("devel:Name=testPool,Type=JDBCConnectionPool");
    ObjectInstance oi = mbeanServer.createMBean(
    "weblogic.management.configuration.JDBCConnectionPoolMBean" oname );
    where mbeanServer is a reference to a javax.management.MBeanServer retrieved from MBeanHome
    How can I do this then? Do I have to use one of the other overloaded createMBean methods? different name?
    Hope someone can help.

    Hi PunisheerII,
    Would you please post more information about this issue?
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • Can't fine WebServer configuration MBean using WLST

    I am trying to script the various log attributes (for access.log) on the weblogic.management.configuration.WebServerMBean
    using WLST. I have done the same before with wlshell. However I am having a problem
    finding that mbean use the WLST directory concept. I would presume it would be
    in <domain>/config/Servers/<server-name>/WebServer/<server-name>
    but all that is under that dir is WebDeployment.
    Can you share with me where I would find that MBean?
    Also, in the above directory path example, isn't <server-name> appearing twice
    a little redudant? If I have already navigated to Servers/<server-name> why should
    I need to navigate thru the <server-name> again when accessing other MBean beneath
    this directory?
    Thanks. I really think WLST is a great tool with tons of promise. We have automated
    the whole domain creation and managed server/cluster config with one script!

    Darryl Stoflet wrote:
    I am trying to script the various log attributes (for access.log) on the weblogic.management.configuration.WebServerMBean
    using WLST. I have done the same before with wlshell. However I am having a problem
    finding that mbean use the WLST directory concept. I would presume it would be
    in <domain>/config/Servers/<server-name>/WebServer/<server-name>
    but all that is under that dir is WebDeployment.
    Can you share with me where I would find that MBean?
    Also, in the above directory path example, isn't <server-name> appearing twice
    a little redudant? If I have already navigated to Servers/<server-name> why should
    I need to navigate thru the <server-name> again when accessing other MBean beneath
    this directory?All the MBeans as you may have already noticed are arranged in a
    hiearchical fashion, as you see in config.xml. So for example you have,
    Domain - <domain-name>
         |_ Servers
              |_ myserver
                   |_ COM
                   | |_ myserver -No Contained MBeans/children
                   |_ Log
                   | |_ myserver - No Contained MBeans/children
                   |
                   |_ WebServer
                        |_ myserver
                             |_WebDeployment
                                  |_ myWebDeployment
    As you can see when you are at the domain level and do a ls(), by
    default you will see the children MBean types under the Domain MBean
    instance. If you specify ls('a'), this will show the attribute names and
    values for the domain mbean instance. So, 'Servers' is a child of Domain
    MBeean and when you cd to 'Servers' and do a ls() it will show the
    available mbean instance names under Servers. You will cd to any
    instance, in this case 'myserver'. After cd'ing to myserver when you do
    a ls() you will see the child MBean types for the Server Instance and
    ls('a') shows the attributes and values for the mbean instance.
    Now cd to WebServer, and when you do a ls() it shows the instance names
    of WebServer and since there is only one instance it shows 'myserver'
    which is the name of the WebServerMBean instance. When you cd to this
    instance and do a ls(), it shows the children of this mBean which is
    WebDeploymentMBean.
    Hope this helped explain the confusion.. :-).
    Let me know if you have any questions.
    Thanls,
    -satya
    >
    Thanks. I really think WLST is a great tool with tons of promise. We have automated
    the whole domain creation and managed server/cluster config with one script!

  • Problem when we created the managed server to configure different ports.

    I am trying to configure different ports for admin console and my communication service as we can’t share admin port to the outside world.
    So that only admin can access admin console using admin port.
    And out side clients can access my webapplication using different port.
    For this i have created the managed server in weblogic.and I deployed the application on managed server.
    Now admin server is running on 8001 port and my Communication Service application is running on 7001 port.
    But when I tried to configure MBeans related to myCommunicationServiceApplication those were disapper on admin console. And the other wlng services are appearing on admin console.
    1. Since my application deployed on managed server MBeans registration happened from myapplication hence it’s disappear on admin console.
    Now If I want to configure Mbeans (related to my communication service) how can I configure it?
    2. My communication service using configurationStore module and other wlng services.
    When I tried to start my application on managed server I got the below error:
    <Apr 28, 2009 12:22:44 PM IST> <Error> <Deployer> <BEA-149231> <dscp11166.TechMahindra.com> <Unable to set the activation state to true for the application 'wlng_nt_qualcomm_active_mediation [Version=1.0]'.
    com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException: Configuration store module is not available.
    3. I tried to target all wlngResources to manged server by editing config.xml file.
    Then all wlng services disappears on admin console. If this is the case how can I configure container/account services on wlng?
    I have created the Basicweblogic domain.
    Below is the config.xml for reference.
    "QualcommServer" is managed server name.
    Can any one please suggest me how to configure this kind of scenarios?
    <server>
    <name>AdminServer</name>
    <machine>new_Machine_1</machine>
    <listen-port>8001</listen-port>
    <default-iiop-user>weblogic</default-iiop-user>
    <default-iiop-password-encrypted>{3DES}W8nBdoJPRZ8TkwcXwAZoxA==</default-iiop-password-encrypted>
    <listen-address>localhost</listen-address>
    </server>
    <server>
    <name>QualcommServer</name>
    <machine>new_Machine_1</machine>
    <listen-address>localhost</listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <java-home>C:\Program Files\Java\jdk1.6.0</java-home>
    <class-path>C:\bea\wlng400\server\lib\weblogic.jar;C:\bea\wlng_pds400\lib\wlng\wlng.jar</class-path>
    <bea-home>C:\bea</bea-home>
    <username>weblogic</username>
    <password-encrypted>{3DES}W8nBdoJPRZ8TkwcXwAZoxA==</password-encrypted>
    </server-start>
    </server>
    <embedded-ldap>
    <name>managedserver</name>
    <credential-encrypted>{3DES}9q80YuFJueVVJxoWduJA1OGhbqk14EpgQWWyTrzlmxo=</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.0.1.0</configuration-version>
    <app-deployment>
    <name>wlng_nt_session#4.0</name>
    <target>QualcommServer</target>
    <module-type>ear</module-type>
    <source-path>C:\bea\wlng400/applications/wlng_nt_session.ear</source-path>
    <security-dd-model>CustomRolesAndPolicies</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>interceptors</name>
    <target>QualcommServer</target>
    <module-type>ear</module-type>
    <source-path>C:\bea\wlng400/applications/interceptors.ear</source-path>
    <security-dd-model>CustomRolesAndPolicies</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>wlng_prm</name>
    <target>QualcommServer</target>
    <module-type>ear</module-type>
    <source-path>C:\bea\wlng400/applications/wlng_prm.ear</source-path>
    <security-dd-model>CustomRolesAndPolicies</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>wlng_nt_qualcomm_active_mediation#1.0</name>
    <target>QualcommServer</target>
    <module-type>ear</module-type>
    <source-path>servers\AdminServer\upload\wlng_nt_qualcomm_active_mediation.ear</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <machine>
    <name>new_Machine_1</name>
    <node-manager>
    <name>new_Machine_1</name>
    <listen-address>localhost</listen-address>
    </node-manager>
    </machine>
    <jms-server>
    <name>JMSServer-AdminServer</name>
    <target>AdminServer</target>
    </jms-server>
    <jms-system-resource>
    <name>WLNGJMSResource</name>
    <target>QualcommServer</target>
    <descriptor-file-name>jms/wlng-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <custom-resource>
    <name>networktier</name>
    <target>AdminServer</target>
    <descriptor-file-name>custom/nt.xml</descriptor-file-name>
    <resource-class>com.bea.wlcp.wlng.management.descriptor.resource.WlngTierResource</resource-class>
    <descriptor-bean-class>com.bea.wlcp.wlng.management.descriptor.bean.WlngTierBean</descriptor-bean-class>
    </custom-resource>
    <custom-resource>
    <name>wlng-edr</name>
    <target>AdminServer</target>
    <descriptor-file-name>custom/wlng-edr.xml</descriptor-file-name>
    <resource-class>com.bea.wlcp.wlng.management.descriptor.resource.WlngEdrResource</resource-class>
    <descriptor-bean-class>com.bea.wlcp.wlng.management.descriptor.bean.WlngEdrBean</descriptor-bean-class>
    </custom-resource>
    <admin-server-name>AdminServer</admin-server-name>
    <jdbc-system-resource>
    <name>wlng.datasource</name>
    <target>QualcommServer</target>
    <descriptor-file-name>jdbc/wlng-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>wlng.localTX.datasource</name>
    <target>QualcommServer</target>
    <descriptor-file-name>jdbc/wlng-localTX-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    Thanks,
    Srinu Babu P

    Dear Nariharan,
    Today I faced a simlar issue, and this SAP Note helped me fix it: 1966807 - Duplication of AET table records in change processing
    In my case, cardinality of AET table was 1:1, and I was getting duplicate PARENT_ID every time when trying to create a subsequent service request for my activity.
    Regards,
    Andrew

  • MBean Attribute (Does not apply to application modules)

    Can any one tell what this mean ?
    MBean Attribute (Does not apply to application modules) :
    is this means that it wont help for datasources for any J2EE application ????
    Inactive Connection Timeout     
    The number of inactive seconds on a reserved connection before WebLogic Server reclaims the connection and releases it back into the connection pool.
    You can use the Inactive Connection Timeout feature to reclaim leaked connections - connections that were not explicitly closed by the application. Note that this feature is not intended to be used in place of properly closing connections.
    When set to 0, the feature is disabled.
    MBean Attribute (Does not apply to application modules) :
    JDBCConnectionPoolParamsBean.InactiveConnectionTimeoutSeconds
    Minimum value: 0
    Maximum value: 2147483647

    Yes!, they do not apply for any applications they are management interfaces, internal to weblogic.
    Below is the brief information about it:
    A managed bean (MBean) is a Java bean that provides a Java Management Extensions (JMX) interface. JMX is the J2EE solution for monitoring and managing resources on a network.
    BEA WebLogic Server provides a set of MBeans that you can use to configure, monitor, and manage WebLogic Server resources through JMX. This reference document organizes WebLogic Server MBeans into the following categories:
    MBeanServer Services, which serve as your entry point into navigating the MBean hierarchies. Some of these MBeans contain attributes and operations for managing changes to WebLogic Server configuration MBeans.
    Configuration MBeans, which expose attributes and operations for configuring WebLogic Server resources.
    Runtime MBeans, which provide information about the runtime state of its resources.
    New MBeans, which have been added in the current release of WebLogic Server. These new MBeans are also listed in other categories in this document (for example, new runtime MBeans are also listed under the Runtime MBeans category).
    Deprecated MBeans, which are deprecated in the current release of WebLogic Server.

  • Accessing Runtime Mbeans from the command line.

    Hi,
    I just wanted to know if runtime Mbeans can be invoked from the command line.
    I tried accessing the ExecuteQueueRuntime mbean from the command line but nothing ever comes back.I am able to retrieve configuration mbeans without errors.
    Do I need to create the runtime mbeans before I can use them ?
    Or I need to invoke these commands via server code only?
    Thanks.

    Can you post the command you are using? I just tried this and seems to work.
    D:\>java weblogic.Admin -username weblogic -password weblogic get -type ExecuteQueueRuntime -pretty
    MBeanName: "mydomain:Location=myserver,Name=weblogic.admin.RMI,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 2
    ExecuteThreadTotalCount: 3
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@3eb934
    Name: weblogic.admin.RMI
    ObjectName: weblogic.admin.RMI
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444704
    Registered: false
    ServicedRequestTotalCount: 87
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.System,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 5
    ExecuteThreadTotalCount: 5
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2cfc8c
    Name: weblogic.kernel.System
    ObjectName: weblogic.kernel.System
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444754
    Registered: false
    ServicedRequestTotalCount: 124
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.Non-Blocking,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 0
    ExecuteThreadTotalCount: 0
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d125d
    Name: weblogic.kernel.Non-Blocking
    ObjectName: weblogic.kernel.Non-Blocking
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444764
    Registered: false
    ServicedRequestTotalCount: 0
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.admin.HTTP,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 2
    ExecuteThreadTotalCount: 2
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d260e
    Name: weblogic.admin.HTTP
    ObjectName: weblogic.admin.HTTP
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444814
    Registered: false
    ServicedRequestTotalCount: 0
    Type: ExecuteQueueRuntime
    MBeanName: "mydomain:Location=myserver,Name=weblogic.kernel.Default,ServerRuntime=myserver,Type=ExecuteQueueRuntime"
    CachingDisabled: true
    ExecuteThreadCurrentIdleCount: 15
    ExecuteThreadTotalCount: 15
    ExecuteThreads: [Lweblogic.management.runtime.ExecuteThread;@2d3a8c
    Name: weblogic.kernel.Default
    ObjectName: weblogic.kernel.Default
    Parent: myserver
    PendingRequestCurrentCount: 0
    PendingRequestOldestTime: 1129990444854
    Registered: false
    ServicedRequestTotalCount: 7
    Type: ExecuteQueueRuntime
    D:\>
    Thanks,
    -satya
    BEA Blog: http://dev2dev.bea.com/blog/sghattu/

  • How can create a MBean for LoginServlet?

    hi all,
    i am new to JMX concepts.
    i would like to find the response time for a login (servlet & jsp) process using JMX MBean.
    anybody have material to do this plz give me.
    Thanks
    Rams

    hi ,
    i solved
    here i am posting that steps
    JMX Interface definition
    ResponseTimeCalculatorMBean interface defined as follows.
    public interface ResponseTimeCalculatorMBean
    Note: MBean interface name must be ended with MBean.
    JMX MBean Implementation
    ResponseTimeCalculatorMBean interface implemented in ResposneTimeCalculator.java class.
    Implementation class should be the same name as MBean interface name except the suffix 'MBean'.
    public class ResponseTimeCalculator implements ResponseTimeCalculatorMBean
    Attributes for ResponseTimeCalculatorMBean.
    /*operations implementations*/
    Registering with MBean Server
    public class LoginResponseTimeService extends ResponseTimeCalculator implements MBeanRegistration
    MBeanServer mbs;
    ObjectName name;
    public void start() throws Exception
    //write custom code here to register custom Mbeans
    mbs= ManagementFactory.getPlatformMBeanServer();
    name= new ObjectName("mbean:type=ResponseTimeCalculatorMBean");
    mbs.registerMBean(this, name);
    /*MBeanRegistration interface implementations*
    Now the JMX MBean service has been created.
    JMX custom MBean with JBOSS Application Server
    To monitor login process��s response time using JBoss Application server's jmx-console or JConsole utility, do the following steps.
    Create an archive for created MBean classes (.class files)
    eg.jar -cf ResponseTime.jar *.class
    Set class path for ResponseTime.jar in "D:\jboss-4.2.0.GA\bin\run.bat" or copy and paste the ResponseTime.jar into D:\jboss-4.2.0.GA\server\default\lib
    Configure MBean service name in JBoss-service.xml as follows
    <mbean
    code="LoginResponseTimeService"
    name="mbean: service=LoginResponseTime">
    </mbean>
    Run the server.
    Now you can monitor the response time from http://localhost:8080/jmx-console.
    i hope this will help to new guys
    Regards
    Rams
    Edited by: Ram_Rengasamy on Sep 20, 2007 12:48 PM

  • WTC Configuration with WLST script

    Hi,
    Can any one help me to write WLST script to create WTC configuration.
    Regards,
    Siva Prasad Reddy

    Use the MBean reference manual to find the appropriate configuration mbeans. Use the WLST reference manual to find the appropriate command syntax
    - connect
    - edit
    - startEdit
    at domain level
    wserver = cmo.createWTCServer("wtcname")
    then either cd into the created WTCServer or use the returned wserver
    then call methods like createWTCLocalTuxDom and createWTCRemoteTuxDom as needed.
    cd into those subdirectories as needed.
    you may also want to turn on WLST console recording and perform the steps in the WLS console. a WLST script will be generated that you can then further customize.

  • How to view MBean on glassfish v3 server and persistent MBean?

    Hi all,
    wenn the server restart, i lose all the values of my configuration MBeans, i think it should be persistented on the mbean server, but how to do it? when man use the RequiredModelMBean load()/store() method, please give a example?
    i can configuration the MBeans with JConsole now, but how can i see it with glassfish v3?
    thanks!

    abulseed wrote:
    georgemc wrote:
    Yeh. You said that in the initial post.I wasn't sure how to fix this situation then.
    and i managed to kill itIs that actually a fix? Who knows? Only you.Actually it did fix my issue because i wasn't use the process that was listening on the port. I know i may face a situation where killing the process is not the right option (if it is needed) if you got something in mind please share.No need. I think you've got the point already.

  • Problem creating WLI MBeans

    Hi,
    I would like to configure a WLI Server programmatically by creating JMSEventGenerators using the WLI MBeans.
    I use the following code after getting the administration MBeanhome interface to find or create a JMSEventGenConfiguration MBean
    home.findOrCreateAdminMBean("MyJMSEventGen", "JMSEventGenConfiguration");
    The call does not succeed but throws the following exception:
    java.lang.ClassNotFoundException: weblogic.management.configuration.JMSEventGenConfigurationMBean
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at weblogic.management.internal.TypesHelper.findClass(TypesHelper.java:477)
         at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:383)
         at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:137)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at weblogic.management.internal.Helper.createMBean(Helper.java:1152)
         at weblogic.management.internal.Helper.createAdminMBean(Helper.java:483)
         at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:707)
         at weblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.java:588)
         at weblogic.management.internal.AdminMBeanHomeImpl.createAdminMBean(AdminMBeanHomeImpl.java:856)
         at weblogic.management.internal.MBeanHomeImpl.findOrCreateAdminMBean(MBeanHomeImpl.java:683)
         at weblogic.management.internal.MBeanHomeImpl.findOrCreateAdminMBean(MBeanHomeImpl.java:653)
         at weblogic.management.internal.AdminMBeanHomeImpl.findOrCreateAdminMBean(AdminMBeanHomeImpl.java:912)
         at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    That's of course the truth. There is no class with a FQCN: weblogic.management.configuration.JMSEventGenConfigurationMBean
    So I tried to pass the FQCN to the method and I received the following error message:
    java.lang.ClassNotFoundException: weblogic.management.configuration.com.bea.wli.management.configuration.JMSEventGenConfigurationMBean
    It seems weblogic is always prepending "weblogic.management.configuration" to the classname of configuration MBeans (that's what the documentation says).
    I have also tried to create the MBean via WLST and weblogic.ADMIN tool but had no success.
    Below is a sample of a call of the weblogic.ADMIN tool to create the MBean:
    java weblogic.Admin -adminurl localhost:7001 -username weblogic -password weblogic CREATE -mbean
    integration:Name=myTestConfig -type JMSEventGenConfiguration
    It doesn't work with FQCN either. The tool does not throw any exceptions nor does it write any other messages to the screen.
    It simply quits.
    Is there a way to solve this problem?
    Environment:
    Win XP
    BEA WebLogic Integration 8.5
    WLS 8.1
    Thanks in advance
    Ralf

    try using custom() after you connect WLI instance
    e.g. connect(.......)
    custom()
    ls()
    This may help you I think.

  • How to find the corret MBean path in WLST.

    Hello all!
    I have a question about WLST where I found a MBean that I need to change its value, but I don't know where it is located inside the WLST directory tree , there's any easy way to find the path or set a new value to this MBean that i want to change?
    MBean: SecurityConfigurationMBean.NodeManagerUsername
    SecurityConfigurationMBean.NodeManagerPassword
    I want to change the NodeManagerusername and Password.
    Thanks all :D

    Also, for anything configuration mbean that is settable in the console, you can turn on WLST script recording and change the value. The generated script should be close to what you want.

  • Get JMS Factory from MBean ??

    I am using JMSDestinationRuntime MBean to get back a list of queues and then use the QueueBrowser to peek at the messages in the queues.
              I want to make this generic, so am wondering if there is any way in which i can get the JMSFactory name of each queue from the MBean, such that i can do the following:
              qconFactory = (QueueConnectionFactory) ctx.lookup(jmsFactory);
              qcon = qconFactory.createQueueConnection();
              qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
              //queue = (Queue) ctx.lookup(queueName);
              queue = qsession.createQueue("eri01JMSServer/K12MyOrgJMSQueue_eri01");
              qbrowser = qsession.createBrowser(queue);
              qcon.start();
              Thanks,
              Sam

    You can look up jms connection factory JNDI names via the associated configuration mbeans (instead of the runtime mbeans). Alternatively, you could simply use one of the default built-in connection factory names - as you probably don't need to use a custom connection factory simply for browsing a destination.
              Another alternative is to use WebLogic 9.0 and later, which provides runtime mbeans for browsing the destinations (no JMS API involved - just JMX). These mbeans are more powerful than the queuebrowser, as the mbeans are capable of viewing all messages in the destination (including "unborn" scheduled messages for example).
              Tom

  • Weblogic 11 get value of  'persistent-store-type' throught MBean

    Hello!
    Please, tell me how to get at runtime
    value from weblogic.xml
    <session-param>
    <param-name>PersistentStoreType</param-name>
    <param-value>jdbc</param-value>
    </session-param>
    I cannt find MBean for getting this param value at runtime.
    Can i use for this ReplicationRuntimeMBean?

    Note that this is a configuration setting.
    Most configuration for WebAppComponentMBean is deprecated and the preferred way is to use weblogic.xml.
    The MBean reference can be found here - http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13951/core/index.html
    Open the tree Configuration MBeans, Domain Configuration MBeans, WebAppComponentMBean

  • Attribute AgentUser not getting displayed

    I m trying to configure OIPM
    1. Access the Oracle I/PM domain in Oracle Enterprise Manager 11g FusionMiddleware Control at the following URL: http://localhost:7001/em
    2. Log in as the Administration user (for example, weblogic).
    3. In the navigation tree, expand Application Deployments, and then click the imaging application.
    4. On the Application Deployment menu, select System MBean Browser.
    5. On the System MBean Browser page, close the com.bea folder under Configuration MBeans.
    6. Expand the oracle.imaging folder under Application Defined MBeans.
    7. Expand the Server: <server_name> and config folders. The default server name is IPM_server1, but it can be changed when installing I/PM, so ensure you are
    configuring the correct server.
    8. Click config.
    however I do not see the attribute : AgentUser... Is there any specific way in which this attribute is enabled.

    There is no need for AgentInput user id as the system will use the logged on user id. The documentaton is incorrect.

Maybe you are looking for

  • Crash and crash and crash

    i can't seem to open any motions and textures in search or any others like ambience or foley, I also can't seem to work more than 5 minutes without the entire program crashing. I have been having this problem ever since I got the new update this week

  • E63 doesn't initialize after backup and firmware u...

    Hello, I live at Brazil (don't worry at the English mistakes) and I bought some weeks ago a Nokia E63 cellphone. I updated its firmware and it stopped working after I restored the backup. I used the Nokia Software Updater, and it showed that I could

  • ETC Directory missing from the KM Content directory in EP

    Dear experts The etc directory is missing from the KM Content Directory in Enterprise Portal. It's appearing for some of the application servers and missing from some. Please find the settings in the file system repository Prefix (must start with /):

  • R separate personalization classes reqd 4  jsps managed by servlet portlet?

    My portlet is a servlet which manages multiple jsps. This servlet manages the session data as well as navigation between the pages. At the moment, I have separate personalization classes for each of the jsps. Each personalization class extends NameVa

  • Weird font issues after update.

    After updating to Snow Leopard, I started getting permission questions from Firefox about a font that I had stored on an external drive. Now I'm getting an alert that's in a garbled font. Any suggestions?