Setting long property  using jconsole

On my jmx bean I am able to invoke methods whose parameters are of type string , I added a new set method whihc takes Long as a paramter exposed it through jmx , I tried updating its value and I am getting java.lang.illegalArgument:argument type mismatch
please advice me how to call set operations on methods whose parameter type is Long ?

there isn't really anything more you need to do. can you show some code? also, did you make the parameter Long or long? that might make a difference.

Similar Messages

  • Set trigger property using JDAPI

    Hi.
    I have a couple of forms I need to modify using JDAPI. Among others I need to set trigger property "Fire in enter query mode" from no to yes. But I just cant find the way how to do this.
    Any help would be appreciated.
    Gregor

    This help may have some info..
    http://www.oracle.com/webapps/online-help/forms/10g/
    Please expand the "Programming Oracle Forms with JDAPI" item and look inside.
    http://www.oracle.com/webapps/online-help/forms/10g/state/content/navId.3/navSetId._/vtTopicFile.jdapi%7Cjdapi_subclassobjprops~html/vtTopicId./

  • Set system property using -D flag that references another system property

    Hi,
    I'm interested in doing something like the following
    java -Dmy.prop=${user.home}/.tmpdir
    Setting the property in Java code is not an option.
    Can this be done?
    Thanks for helping.

    The only way I think you could do this is to ask the os for this value.
    i.e windows: $HOMEDRIVE\$HOMEPATH
    java -Dmy.prop=$HOMEDRIVE\$HOMEPATH\.tmpdir
    linux: ~
    java -Dmy.prop=~/.tmpdir
    Or to use a small java application to return the value into the command line:
    java -Dmy.prop=$(java HomeDir)/.tmpdir
    class HomeDir {
      public void main (String ... args) {
        System.out.println(System.getProperty("home.dir"));
    }

  • How to set ListItem Property using COM

    How do I set the CheckoutUser property of a document contained within a document set??  I can get the document, and reference all its properties, just not sure how to go about setting them using C# and the Client Object Model.....

    Hi Andy,
    The
    CheckoutUser field mentioned above should be Person or Group type, you can check if you can assign a User value to this field per the following similar post.
    http://social.msdn.microsoft.com/Forums/en-US/5183e87c-ee1d-4594-9492-0dfdf6616cce/sp2010-client-object-model-how-to-assign-a-value-to-a-peoplepicker-field
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to set readOnly property using javascript

    Hi Folks,
    How do I make an inputtext readOnly using javascript?
    I have tried the following
    var textComp = AdfPage.PAGE.findComponent("textId");
    textComp.setProperty('readOnly', 'true');
    var textComp = AdfPage.PAGE.findComponent("textId");
    textComp.readOnly = true;
    var textComp = AdfPage.PAGE.findComponent("textId");
    textComp.setAttribute('readOnly', 'true');None of the above works. Any idea?
    Thanks
    Vishal

    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12046/oracle/adf/view/js/component/rich/input/AdfRichInputText.html#getReadOnly__
    Get function for attribute for 'readOnly'. This attribute is secured. You may get it, but you may not set it. Any changes to this attribute will not be transmitted to the server.
    Setting readOnly inputText value using javascript.

  • Set component property using top level api

    Hi I have a requirement to change the property of a component.
       I can use javax.jcr.node  and use setProperty method.But I want to have the same functionality using sling or wcm api.

    Hi Sham ,
         See I want to change the sling:resourceType of the components that are present in pages .So generally we will do
         Node snode= we will convert (/content/www/en/jcr:content/component) to node
      then  If (snode.hasProperty("sling:resourceType){
                    snode.setProperty("sling:resourceType","XXXXX");
    We will do as mentioned above.
       Now I dont want to do this using JCR api (here javax.jcr.node) . I want to have the same functionality using wcm or sling API.

  • [solved] Using xprop to set a property

    xprop(1) has a "-set" option. I can't figure out how to use it. The "surf" browser is scriptable by setting a property named "_SURF_URL" to the URL you want it to load. I've tried these:
    $ xprop -id 14680096 -set _SURF_URL http://www.google.com
    xprop: error: unsupported conversion for _SURF_URL
    $ xprop -id 14680096 -f _SURF_URL STRING -set _SURF_URL http://www.google.com
    xprop: error: Bad format: STRING.
    (The "id" is the one printed by "surf -x", and is correct, since I can use it to read properties.)
    How do I use this?
    Last edited by ataraxia (2009-08-12 14:55:01)

    The -f option isn't that straightforward... see the description of 'format' and 'dformat' in xprop(1).
    This should work:
    xprop -id 14680096 -f _SURF_URL 8s -set _SURF_URL http://www.google.com

  • After installing Mt. Lion, Mail no longer asks for a password, even though I set preference for using a password.

    After installing Mt. Lion 10.8.2, Mail no longer asks for a password before opening messages, even though I tried to set preferences for using the password. Help!

    In Mail Preferences, Accounts item: I tried to delete the password (but that did not save). I got this idea from some Mail Help item that I cannot seem to find again. I cannot recall how I did it in Snow Leopard, but I had it set to ask for a password that was used solely for Mail. It would not download anything until I entered that password. Note: I am not on a network; just the single user of the MacPro. Thank you for any guidance you might be able to offer.

  • How to Set "DateOnly" property in DateTimeControl using Javascript.

    How to Set "DateOnly" property in DateTimeControl using JavaScript.

    Is there any specific reason you want to set it through JavaScript ? You can directly set the DateOnly property in the markup itself.
    <SharePoint:DateTimeControl runat=server id="dtControl" DateOnly="true"></SharePoint:DateTimeControl>
    Please can you elaborate on what exactly is the requirement for setting this through javascript?
    Geetanjali Arora | My blogs |

  • HT204053 I have set up a new Icloud ID  using a new email address on my I mac however my Iphone Icloud ID is still using an old email address that is no longer in use.  How do I change my ICloud ID on my Iphone to that on my  IMac computer. I only want 1

    How do I change  my  Icloud ID on my Iphone to match my ICloud ID on my IMac computer? My phone has an old email address that is no longer in use.  I have a new email address that I have used as my ICloud ID ( Apple ID )  on my IMac.  I want to be able to send photos from my Imac  to my Icloud account  and see view them with my Iphone.  Can you help me ?? Thanks

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use. 
    When you do this, you may find that the password for your old ID isn't accepted.  If this happens, and if your old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iPhone when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • WEBI Sample Result Set Query Property Question

    Wnen I set the WEBI Sample Result Set query property my retrievals took longer than I thought they should especially with a limited result set.  When I hit the View SQL button and look at SQL I notice that the following order by is added to the query:
    Order by dbms_random.value
    I copied the query and ran it against our Oracle database with and without the order by.  Without the order by the query ran significantly faster.   Is there any way to stop the order by from being generated when the Sample Result Set property is set?
    Thanks,
    Bob

    Thanks for your reply.
    I tried to locate the parameter you mentioned in the parameters for my universe and did not find anything referencing not enforcing order bys.  I checked the documentation and did not see anything there either.   Please respond with the exact name of the parameter or if it is a custom parameter the settings you used to create it.
    Thanks,
    Bob

  • Is there any way to set a property for all existing Form Fields of a particular type (Che

    In versions of Acrobat prior to version 9, selecting a particular form tool (Textbox, Checkbox), etc. would only display Fields of that particular type in the Acrobat Designer (not LiveCycle).
    If one wanted to change a particular property of all check boxes for example, one would select the Checkbox Tool, Click Edit>Select All>Right Click one of the Checkboxes and Set the Property for all of the Form's Checkboxes.
    Selecting a particular form tool in the Acrobat (not Lifecycle) Designer in version 9 appears to no longer filter the display to that particular form field type. Is there any way to display only 1 particular form field type in or set a particular property for all existing Form Fields of a particular type (Check Box, Text Box, etc.) in Acrobat 9?

    Thanks for the tip..Am aware of this option and have used JavaScript to batch change properties in the past...
    Am looking for a way to replicate the interactive procedure available in previous versions.  Also, want a way to only display certain Form Field types (use this when analyzing forms which I didn't create).

  • When trying to update  Apps in iTunes on my computer my old Apple ID appears, which is no longer in use and has no password; even when I try to create a password for this Old ID, Apple won't let me. When I go into see my Account settings My new Apple ID /

    When trying to update  Apps in iTunes on my computer my old Apple ID appears, which is no longer in use and has no password; even when I try to create a password for this Old ID, Apple won't let me. When I go into see my Account settings My new Apple ID / iTunes ID are listed and the passwords are correct obviously so why can't I update my Apps?   Why does my Old apple ID keep appearing and how can I get Apple to change this?

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • HT5312 My recovery email is no longer in use, as it hasn't been used for sometime, and now seems to have 'expired', and I do not even recall being asked the security questions,so I can no longer download certain games. Please help.

    I cannot download certain games because I do not recall the answers to my security questions when it asks if I am 17 years or older. In fact, I do not even recall being asked these security questions.
    I tried to guess logical answers but now my iPad is threatening to lock me out. My second email is no longer in use as it has not been used for years and has seemingly expired.
    Can you please help?

    If you don't have access to your rescue email account, or you don't have one on your account (an alternate/secondary email address is a different setting/address), then you will need contact iTunes Support or Apple to get the questions reset (you won't be able to change/add a rescue email address until you can answer 2 of your questions)
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
    When they've been reset you can then use the steps half-way down the page that you posted from to update/add a rescue email address for potential future use

  • Is their a way to set system property in weblogic console

    Hi WL USERS
    Is their a way to set system property in weblogic console ie (http://localhost:8080/console) ? if yes, can we access that property in code using System.getProperty()?
    Regards
    vishy

    Yes, It is Possible.
    Please check the Option-1). Mention in the Following Link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Here i tried to set a Custom Property "*-Duser.dir=E:/MyDirectory*" through the Admin Console.
    NOTE: Setting any Option like JAVA_OPTIONS/CLASSPATh etc through Admin Console will work only when you start your Servers using the NodeManager. It means when you start your ManagedServers through AdminConsole...or Using nodeManager based WLST scripts.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here)

Maybe you are looking for

  • Adobe premiere has encountered an error

    Premiere CC bringt diese Fehlermeldung. Habe dann versucht mit einen neuen Benutzer, dann ging es, aber nur für einen Tag! Was kann ich noch machen?

  • My iPhone cannot be synched. I get a message, An unknown error has occurred (-50).

    My iphone 5 will not sync.  I get the following error message.  iPhone cannot be syched. An unknown error has occurred (-50) Anyone encountered this error?

  • How do I put my phone on two computers?

    I just got a new computer and I want to sync my old phone to this new computer without losing my contacts, photos, and music.

  • Adobe Media Player

    I need a code to validate my product, I received a validation codes but it does not work.  Included in the email or chat is my proof of validation code. Dear Wayne Smith, You recently registered to personalize the Adobe Media Player using this  e-mai

  • SG300-20 Update to 1.2.7.76 lost OID

    I use this oid to gather mac address: .1.3.6.1.2.1.17.4.3.1.1 This has worked on all of our cisco switches (3560,SG300, etc...). When an SG300-20 was updated to 1.2.7.76 the oid no longer exist. snmpwalk -c public -v 2c switch .1.3.6.1.2.1.17.4.3.1.1