Getting an MBean implementation to self register

Have a number for Jetty server/servlet combos each running in their own JVM that I want to register with a MBeanServer running in still another JVM. So I took client code to do this. The server class looks lik this:
package com.sra.pipeline.servers.htmlexport;
import java.io.IOException;
import java.net.MalformedURLException;
import javax.management.InstanceAlreadyExistsException;
import javax.management.MBeanException;
import javax.management.MBeanRegistrationException;
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.NotCompliantMBeanException;
import javax.management.ObjectName;
import javax.management.ReflectionException;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import org.jingle.jmxremote.client.MBeanServerImpl;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.ServletHolder;
public class HtmlExportServer implements HtmlExportServerMBean {
     private static int port;
     private static Server server;
     private static String name = "HtmlExportServer";
     private static HtmlServlet servlet;
     public static void main(String[] args)
          throws Exception {
         registerBean();
         if(args.length == 1) {
             port = Integer.parseInt(args[0]);
         }else {
             port = 8090;
                    Server server = new Server(port);
                    Context context = new Context(server,"/",Context.SESSIONS);
                    servlet = new HtmlServlet();
                    context.addServlet(new ServletHolder(servlet), "/*");
                    server.start();
                    server.join();
     public String getName() {
         return name;
     public boolean haveConnection() {
         return (servlet.hasConnection());
     public boolean isRunning() {
         return (server != null);
     public static void registerBean() {
                    try {
             JMXServiceURL url = new JMXServiceURL(
                 "service:jmx:rmi:///jndi/rmi://localhost:9999/server");
             JMXConnector cs = JMXConnectorFactory.connect(url, null);            
             MBeanServerConnection mbsc = cs.getMBeanServerConnection();           
             ObjectName mbeanName = new ObjectName("com.sra.pipeline.servers:type=HtmlExportServer");
             mbsc.createMBean("com.sra.pipeline.servers.HtmlExportServer",mbeanName);
             //MBeanServerImpl mbsi = new MBeanServerImpl(mbsc);
             //mbsi.registerMBean(new HtmlExportServer() , mbeanName);
         } catch (MalformedURLException e) {
             e.printStackTrace();
         } catch (IOException e) {
             e.printStackTrace();
         } catch (MalformedObjectNameException e) {
             e.printStackTrace();
         } catch (NullPointerException e) {
             e.printStackTrace();
         } catch (InstanceAlreadyExistsException e) {
             e.printStackTrace();
         } catch (MBeanRegistrationException e) {
             e.printStackTrace();
         } catch (NotCompliantMBeanException e) {
             e.printStackTrace();
         } catch (ReflectionException e) {
             e.printStackTrace();
         } catch (MBeanException e) {
             e.printStackTrace();
}When I used the createBean method of the MBeanServerConnection in the code above, I got
javax.management.ReflectionException: The MBean class could not be loaded by the
default loader repository
this despite the fact that the MBean Interface and the implementing class are both in the classpath of the MBeanServer.
When I used MBeanServerImpl.registerBean I get
Exception in thread "main" javax.management.JMRuntimeException: javax.management
.remote.JMXServerErrorException: java.lang.NoClassDefFoundError: org/jingle/util
/dydelegation/DelegationInvocationHandler
This class from jmxremote is also in the classpath.
So what gives?
Jim

I think I am having classpath problems with this in general. I'm running this on windows with the following bat file
set cPath=bin;lib/jetty-6.1.9.jar;lib/jetty-util-6.1.9.jar;lib/servlet-api-2.5-6.1.9.jar;lib/tools.jar;lib/tsapi.jar;lib/bcel-5.1.jar;lib/dunamis.jar;lib/jmxremote-all.jar
java -cp %cPath%  com.sra.pipeline.servers.htmlexport.HtmlExport
set cPath=My current error is no class definition found for javax.servlet.Servlet
This file exists in jetty-6.1.9.jar
Is this a problem with a polluted path, or what
Any ideas would be appreciated.
Jim

Similar Messages

  • OIM: Error while deploying Custom Approval Process for Self-Register

    While deploying the Custom Approval Process for Self-Register, i am getting the following error in scac.log file
    Nov 16, 2011 2:48:58 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    Nov 16, 2011 2:48:58 PM com.collaxa.cube.CubeLogger info
    INFO: validating "ApprovalProcess.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
         at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:155)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:271)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:153)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:51)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
         at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
         at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Nov 16, 2011 2:49:00 PM CubeProcessGenerator compile
    WARNING: classpath is: D:\JDev11g\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;D:\OIMPS1\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\gen-classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\lib\oimclient.jar;D:\JDev11g\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel1-1-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel_coherence_config.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpm-analytics.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\wsif-binding.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\monitor-rt-xbean.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\oracle.soa.bpmn.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\user-patch.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\uddi\lib\oracle.soa.uddi.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\bpm-infra.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-scheduler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\xmlunit-1.1.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-xpath-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-was.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\classes
    In scac_out.xml file following is the error message
    <Fault>
    <severity>error</severity>
    <loc>/ns:composite</loc>
    <line/>
    <col/>
    <file/>
    <msg>
    <![CDATA[SCAC-50012]]>
    </msg>
    </Fault>

    Hi,
    I have run into the same problem with SOA 11.1.1.5 version. In my case after fixing the following two errors it seems to work fine.
    If you have followed the guide, there must be some errors:
    First the java code if copied then contains an extra enter value:
    Instead of:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization
    Administrator");"
    Use the following:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization Administrator");"
    The other error is that you should not use <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar, but the <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar in jdeveloper. After these the deployment to the application server works fine for me.

  • Self Register User Auto Approval Scenario in OIM 11g

    Hello,
    I was working on scenario of suppressing approval while Self-Registrating user, following steps were performed
    1) Export SelfCreateUserDataSet.xml using weblogicExportMetadata.sh
    2) Modified SelfCreateUserDataSet.xml [removed approver-only tag from organization attribuite]
    3) Imported SelfCreateUserDataSet.xml using weblogicImportMetadata.sh
    4) Restarted OIM & SOA server.
    5) Created approval policies i.e. Request Level & Operational Level bote with Auto Approve condition.
    6) Made a clone of Self-Register User template & added organization restriction & added Self Operator role.
    7) When tested above scenario then xelsysadm had to approve for request & operational level,organization was already selected ,so shouldnt it get approved
    automatically as i have mentioned Auto-Approve in approval policy ?
    Tested using following link:
    http://hostname:port/oim/faces/pages/USelf.jspx?E_TYPE=USELF&OP_TYPE=SELF_REGISTRATION&T_ID=Clone of Self-Register User
    Thanks,
    Rahul

    Hello,
    No i cannot see organization field as i have restricted organization to 'xyz' .
    My Issue is resolved & problem was that i had changed password of OIM,weblogic also updated boot.properties file in oim & soa,but for some reason my SOA was not working although SOA server was running,so changed password of SOAADMIN from EM,restarted all 3 servers & now my scenario of Self Register Auto Approve works.
    Now only thing i am curious is that when i self register user,it shows Request failed,but when checked in OIM user is created .
    Thank-You
    Rahul

  • Populate fields only for self registered users

    Hi All,
    Scenario : I have an approval task for self registered user. When the user enters the details it goes for approval. The userAccount gets created only when the approver enters values for mandatory attributes like organization.I also have few other mandatory attributes that needs to be filled out.
    The requirement is that these mandatory fields have to be populated automatically. I cannot use an entity adapter because if i do so the manadatory fields will be populated when users are being created by xelsysadm.Please help.
    Thanks.

    You can use Ajax or Java Script for populating other fields.

  • Read Self Register Request using 11g API

    Gurus,
    I am trying to read Self Register Request using API but I am getting beneficiaries and requester data as null.
    Can you please provide some code snippet to read beneficiary data from a Self Register Request.

    Gurus,
    I am trying to read Self Register Request using API but I am getting beneficiaries and requester data as null.
    Can you please provide some code snippet to read beneficiary data from a Self Register Request.

  • Self register

    Hi all,
    i start having problem with self register it was working find but now when you click on self register link this error msg appear "
    User Management Exception 
    An exception occurred. Inform your system administrator. 
    Suggested Options 
    userAdminLocale.get("EXCEPTION_DETAILED_STEPS")
    I realy dont know why r what happen?!!!
    Any help
    thank you

    Hi amet,
    Check the UME  logon property, "ume.logon.selfreg=true" .
    Refer this link
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/52/4c6c3e58d0d064e10000000a114084/content.htm">UME properties</a>
    Regards,
    Malini.V

  • Self Register with LookupField or ComboBox

    Hi EveryOne!
    I'm triying to make that one field in my SelfRegister have a combobox or lookupField, because i'd like than a user when make a selfregister, can choose her organization.
    I've made two userDefineFields, one with type ComboBox and other with LookupField, and i put in my FormMetaData.xml the next:
    <Attribute name="USR_UDF_ORGPRU" label="Organizacion Prueba" displayComponentType="LookupField" dataLength="30" map="USR_UDF_ORGPRU">
    <ValidValues lookupCode="Lookup.UEN" selectionColumn="lkv_encoded"/>
    </Attribute>
    <Attribute name="USR_UDF_ORGPRU" label="Organizacion Prueba2" displayComponentType="ComboBox" dataLength="30" map="USR_UDF_ORGPRU">
    <ValidValues lookupCode="Lookup.UEN" selectionColumn="lkv_encoded"/>
    </Attribute>
    The LookUp.UEN exists and works, but when i try to make a self register, i cannot see the combobox or lookupField. So, i'd like to know what's wrong? or if it's possible assign at my ComboBox static Values, like Sec, ADM....
    Thanks EveryOne!!!
    Marcos Schejtman
    PD.- Sorry for my english, im from Mexico.

    Hi! i could modify mi jsp, but i have a little question, is it possible use the data of lookupField to make the jsp mor interactive, because i used a static combobox, but it still working.
    By the way, i don't know if i should open a new post, but do you know what is the naming to make use from the database in a jsp.
    I put a code like this:
    try {
    ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:jdbc/xlDS");
    con = ds.getConnection();
    con.setAutoCommit(false);
    But i get the exception:
    08/10/13 19:14:27 javax.naming.NameNotFoundException: java:jdbc/xlDS not found
    08/10/13 19:14:27 at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
    08/10/13 19:14:27 at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
    08/10/13 19:14:27 at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
    08/10/13 19:14:27 at javax.naming.InitialContext.lookup(InitialContext.java:351)
    08/10/13 19:14:27 at tiles.tjspSelfRegTrackRequestDetailsTiles.getCommentsNataS(_tjspSelfRegTrackRequestDetailsTiles.java:33)
    08/10/13 19:14:27 at tiles.tjspSelfRegTrackRequestDetailsTiles._jspService(_tjspSelfRegTrackRequestDetailsTiles.java:284)
    08/10/13 19:14:27 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    08/10/13 19:14:27 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    Sorry and thanks for everything!

  • IReceivables 'Self-Register link' - How to Create?

    Hi,
    I'm implementing iReceivables R12 and having an issue with generating a link for users to self-register.  I've done all required setups as per the implementation guide, but only able to register users via the iReceivables Registration responsibility, and this requires a username/password to even access.  A self-register link should bypass any Oracle login and redirect to the Account Creation/Validation/Setup pages.
    Any insight on how to generate this link to the direct Register iReceivables Account pages?
    Thanks and regards,
    Chris

    Hi,
    You need to put your java file inside src-->your package. As you said it is already there, then try to reload and rebuild your project. It must show in the java native types when you browse.
    Even check the package statement of your java file.
    thanks & regards,
    Manoj

  • Self-Register User Template Error : MinLimitException: size minimum limit

    I am using OIM 11.1.1.5. When I click "Self-Register User" request template link, I get the following errors. Note that this link was working on other OIM environment where no custom UDFs are present.
    Thanks!
    Kabi
    The Error in IM pop up screen says "size < minimum limit ; ADF_FACES-60097: for more information, please see the server's error log or an entry beginning with ADF_FACES-60096:Server Exception during PPR,#1"
    The oim_server1-diagnostic.log says
    ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5[[
    oracle.iam.platform.utils.MinLimitException: size < minimum limit
         at oracle.iam.platform.canonic.model.Values.setMinLimit(Values.java:187)
         at oracle.iam.requesttemplate.agentry.operations.OpenActor.renderAttributeRestrictionsTab(OpenActor.java:822)
         at oracle.iam.requesttemplate.agentry.operations.OpenActor.prepare(OpenActor.java:195)
    ---------------------------------------

    Did u import any object for self registration? if so import it again...i have seen this error before in my env.
    If the self registration fails, then it is a Oracle Bug and they are working on getting a patch for it...
    ~VSN

  • Change self-register request template

    Hi there!
    Is it possible to change the request template for self-register to a newly created?
    If it so, how can i archive that?
    I did some searching, but i couldn't find anything on the web.

    You want initiate approval through Self Registration itself but when you are doing Self Registration then User is still not created in OIM so how OIM can raise request for that user.
    You can do one more thing, Create a group & attach an Access Policy with Approval with that group. As user comes into OIM, approval process will get initiated.
    Q: How you will identitfy that which user has come into OIM through Self Registration.
    A: Add one UDF in Self Registration and give some constant value through Self Registration and add Membership rule for group based on value of this UDF.

  • How do I go about getting the product serial number to register my product as well as install my product.  I bought it with a product box.  On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid

    How do I go about getting the product serial number to register my product as well as install my product.  I bought it with a product box.  On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid.  When I tried to type this in for registration, it does register as this numbers also contain letters in it.  Apparently the registration boxes accept numbers only.  What do I do with a useless product for which I have paid good money for it?????

    This is the simple solution which was offered to me when I tried to get the serial code on line.
    The box and disc sleeve do not contain a series with 24 numbers which I presume is the product code to install.
    I tried to redeem the registration code by following what they recommended, but inevitably it gets to the page that showed the registration boxes that need 24 serial numbers and I got stuck again.
    This product is so different what my previous experiences of other software products where I just enter the serial number straight from the disc sleeve and then I got registered and go on to use the software.
    I is really frustrating, spending the last two hours trying to get my product going....

  • How can i get a print of all my registered apple products?

    How can I get a list of all my registered Apple products so I can print and keep on hand?

    http://support.apple.com/kb/HT2526 - If you registered a device you can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    My Support Profile - https://supportprofile.apple.com/MySupportProfile.do

  • Error on accessing the OIM Self Register page.

    Hi,
    I had modified the 'Self Register' Request template on the Admin Console UI to include a new custom attribute.
    Since then, I have removed the custom attribute from the User Configuration and uploaded a new SelfCreateUserDataset.xml.
    On accessing the self register page, it throws the an error with the following message: -
    "Invalid restriction specified for the attribute Role in template Self-Register User. Corresponding Attribute or Attribute Reference not found in the Request Data Set."
    Kindly let me know how to restore the template in UI to the factory setting.
    Thank you,
    Bhaskar

    -

  • Use "wlconfig"/"query" to get multiple mbeans and iterate

    The WebLogic documentation on the "wlconfig" Ant task shows how to use the "query" subelement to get an mbean based on the domain, type, and name. However, in the documentation, I see that the "name" attribute is optional.
    I tried writing a little test using this that queries the "Server" type (with no name) and prints out the resulting variable in an "echo" element right after the query. I tried this on a domain with a single server (just the admin server), and on a domain with an admin server and a cluster. When I print out the variable, it prints out the conventional JMX name format. When I ran this on the domain with multiple servers, it separate each mbean name with a semicolon.
    So, it's clear that it retrieved all the "Server" mbeans, but how do I iterate through the mbeans that I found? The wlconfig documentation doesn't mention the possibility of returning multiple mbeans.

    Hi
    I am trying to do this exact same thing, in order to read resources configured in a WebLogic Server domain and clone it into another domain through Ant scripting.
    Did you find any way to iterate through MBeans?

  • I'm getting this error message: "User not registered for online use" when i'm trying to download music/ track names from a CD into ITunes on my Windows 8 PC.  I'm registered and my itunes account/ appleID are all correct and working.

    I'm getting this error message: "User not registered for online use" when i'm trying to download music/ track names from a CD into ITunes on my Windows 8 PC.  I'm registered and my itunes account/ appleID are all correct and working.

    The ""not recognized for on-line use". error is associated with the Gracenote service that iTunes uses to look up and retrieve metadata for CDs.  Some users have reported that this error occurs when trying to import from CD, subsequent to upgrading to version 12.  A number of slightly different solutions have been reported (though all of a similar nature).
    Try walking through the following steps - before starting you may have to enable hidden files and folders to be viewed - in Windows 7 / Windows Explorer select Organize > Folder and search options, then on the View tab make sure that Show hidden files, folders and drives is selected.  Without this you won't see the AppData folder in C:\Users\username\
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this doesn't work:
    In iTunes, select Edit > Preferences and make a note (or take a screenshot) of your preferences settings in all relevant tabs
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following file:iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this second procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1.
    If this one didn't work:
    Exit iTunes
    Check the following folders:
    C:\Users\username\AppData\Local\Apple Computer\iTunes
    C:\Users\username\AppData\LocalLow\Apple Computer\iTunes
    Delete any copies of the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    Again, if this procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1 of the second procedure. If you're still not able to retrieve CD info:
    Exit iTunes
    In Windows, select Start > Control Panel > Programs and Features.  Find the entry for iTunes, right-click and select Repair.
    When this process has finished, restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If none of these have worked (and almost everything I've seen suggests you should be OK by this point), you may have an issue with the installation and configuration of iTunes itself.  If you have got this far, see turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for advice on how to remove and replace of all components of iTunes.

Maybe you are looking for