Command to set the JDBCSystemResource on particular target

Hi,
I am working on Weblogic 10.3.3.
I have following entry in config.xml file
<jdbc-system-resource>
<name>DummyDataSource</name>
<target></target>
<descriptor-file-name>jdbc/DummyDataSource-2753-jdbc.xml</descriptor-file-name>
</jdbc-system-resource>
Through java command, i want to target this datasource on managed1 server.
Please help.
Thanks,
Trupti

Thanks for the reply.
But I am looking for java command to be executed at command prompt
I am trying to execute following command from command prompt
java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic -name DummyDataSource -targets managed1 [action]
I dont have idea which "action" needs to be added here.
Also tried following command
java weblogic.Admin -url t3://localhost:7001 -username weblogic -password weblogic SET -mbean wlsstaad03:Location=admin,Name=DummyDataSource,Type=JDBCSystemResource -property Targets wlsstaad03:Location=admin,Name=managed1,Type=Server
Thanks,
Trupti

Similar Messages

  • Would like to automate this Powershell command that sets the UPN of all mail enabled users

    I have command that changes the UPN of all mailbox users
    Get-ADUser -Filter * -properties homemdb | where {$_.homemdb -ne $null} | ForEach-Object ($_.SamAccountName) {$CompleteUPN = $_.SamAccountName + “@contoso.com”; Set-ADUser -Identity $_.DistinguishedName -UserPrincipalName $CompleteUPN}
    The command works using the AD module for
    powershell. What I would like to do it write a script that does the following.
    Runs the command above
    Only applies changes to users that need it. (I think this applies the setting to all users with the "homemdb")
    I was thinking of setting it as a scheduled task on one of the Domain Controllers. My
    powershell skills are lacking at best, so any guidance on how to set this up would be much appreciated. 
    Thanks

    Cannot bind parameter 'Filter' to the target.
    Exception setting "Filter":
    "Invalid filter syntax. For a description of
    the filter parameter syntax see the command help.
    "(RecipientType -eq
    'UserMailbox') -and
    (UserPrincipalName -notlike
    ('*@{1}' -f $UPNSuffix))" at position 68."
        + CategoryInfo         
    : WriteError:
    (:) [Get-User],
    ParameterBindingException
        + FullyQualifiedErrorId
    : ParameterBindingFailed,Microsoft.Exchange.Management.RecipientTasks.GetUser
    Read the error very carefully: "Invalid filter syntax"
    You filter: "(RecipientType -eq
    'UserMailbox') -and
    (UserPrincipalName -notlike
    ('*@{1}' -f $UPNSuffix))"
    This is not a good filter for anything.
    This is not legal in a filter: (UserPrincipalName
    -notlike ('*@{1}'
    -f $UPNSuffix))"
    See filter syntax for rules on the limited support for PowerShell syntax.   filters are a subset.
    ¯\_(ツ)_/¯

  • OMB command to set the location of an ODBC module

    I am writing OMB scripts to deploy an OWB project to a production environment.
    In the deployment script, I set the location of an Oracle module using the OMB commands :
    OMBALTER ORACLE_MODULE '<modulename>' ADD REFERENCE LOCATION '<locationname>' SET AS DEFAULT
    OMBALTER ORACLE_MODULE '<modulename>' SET PROPERTIES (DB_LOCATION) VALUES ('<locationname>')
    I also have an ODBC module for which I need to assign a location in the same way
    What is the OMB syntax to achieve this?
    OWB version 10.2.0.4

    You can use GATEWAY_MODULE for these. For example ...
    OMBALTER GATEWAY_MODULE '<modulename>' SET PROPERTIES (DB_LOCATION) VALUES ('<locationname>')
    Cheers
    David

  • SCPI command to set the frequency for power measurement on Agilent 53147A?

    Hello,
    I am trying to automate some measurements which require me to use an Agilent 53147A Freq Counter/Power Meter/Digital Voltmeter. The instrument has an option of setting the frequency of the signal we intend to measure. This is done by clicking the "FREQ" button on the instrument and entering the frequency value of the signal whose power we intend to measure. This way the power meter uses the appropriate calibration factor for that frequency for providing accurate signal power level.
    I have been trying to set the frequency of the signal whose power I intend to measure through remote control but have not met success as I have not been able to find the SCPI command associated with this task in the operating manual. Does anyone know what SCPI command is to be used for this purpose? Any comment in this regard is highly appreciated.
    Thank You,
    Vivek

    Hi vivek.madhavan.13,
    Try using the drivers for this device found here:
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=834204A36619504AE04400144FB7D2...
    Then, by going to the lowest level that the VIs permit, you may be able to find the SCPI commands your application needs.
    Regards,
    Joel I.
    Applications Engineer
    National Instruments

  • Is there a command for setting the selection option to be mandatory

    hi,
    i have a 4 select-option in my program, and i would set that, either one select option must be fill to execute the program. which mean, at least one field ( any select option) have to be enter, or else it will not run. is there a command to restrict on this?
    please help. thanks

    Check this sample
    TABLES : vbap.
    SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
                     so_posnr FOR vbap-posnr.
    AT SELECTION-SCREEN.
      IF NOT so_vbeln[] IS INITIAL OR
         NOT so_posnr[] IS INITIAL.
      ELSE.
        MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
      ENDIF.
    " OR You can do it this way also
    TABLES : vbap.
    SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
                     so_posnr FOR vbap-posnr.
    AT SELECTION-SCREEN.
      IF so_vbeln[] IS INITIAL AND
         so_posnr[] IS INITIAL.
        MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
      ENDIF.
    Regards
    Gopi

  • Command to set the performance

    Is there any way to use command line to change the performance setting, such as the cache size?
    Thanks,
    iris

    No, there is no such command.
    Certain parameters can be set over the protocol (LDAP), but they may require the server to be restarted to take effect.
    Check out the Configuration, Command and File Reference Guide at http://docs.sun.com/source/816-5608-10/index.html

  • Where is the command to set number format in the latest version of Numbers?

    I can't believe that Numbers seems to make it easy to do something stupid like turn a cell pink, but that I cannot find ANYWHERE the simple icons/commands to set the various important number formats. Scientific notation, Currency, fixed decimals. What am I missing here? I'm remembering Appleworks 6, whose spreadsheets allowed a halfway intelligent user to get actual work done. Help will be highly appreciated.

    Select Format at top/right, then the Cell tab (Numbers 3.2).  Select the cell(s), then open the Data Format dropdown.

  • How to set the particular city as a region for checking my device in SMP 2.3 HWC

    Hi Experts,
    I am doing a sample for finding the device with in the region or not like if i set the region as particular city like hyderabad, then it will show the next screen otherwise it has to show the alert message like "You are out of the hyderabad, you cannot access this app.",
    Now i am able to get the current location latitude and longitude, now i have to set the region.
    how to set the particular city as my region in SMP2.3 HWC.
    Vamsi K

    Hi Midhun,
             Thanks for your reply, i just want to set the Hyderabad coordinates, and i am getting the current device location latitude longitude values. i am comparing those two values, if those were matched then i will go to the next screen i.e., something like hello welcome you are logged in, other wise just show an alert " you are out of the region, so you are not able to use this application".
    Thanks,
    Vamsi.K

  • Set the password for zip file in unix

    Hi All,
    I have used the below command to zip the file and it is working fine.
    cd /YYYY;zip -r ZZZZ.zip ZZZZ.TXT
    While using the below command to set the password on zip file , I am getting error like "zip error: Invalid command arguments (encryption not supported)
    zip -P password -r ZZZZ.zip ZZZZ.TXT
    Can you please help me how to set the password for zip file in UNIX.
    Thanks,

    Do you use any characters in the password that might confuse the zip command? (like '-' or ';'?)
    If I use the command in RHEL4:
    cd /tmp
    zip -P password -r tt.zip gconfd-oracle
    adding: gconfd-oracle/ (stored 0%)
    adding: gconfd-oracle/lock/ (stored 0%)
    adding: gconfd-oracle/lock/ior (deflated 67%)

  • How do I set the NPLC on a Agilent 34970A then keep it set when I do a Temp measurement on the channels

    I have an Agilent 34970A DAQ that I am trying to set the NPLC to 10 and keep it set when I issue a temp measurement command to the channels.  Right now I can issue the NPLC 10 command to set the channels and it works but when I send the measure channels command the NPLC gets set back to 1. What am I missing to keep this from happening?
    Thanks in advance for your help.
    Charles

    JimmyJin wrote:
    Hi Charles,
    Was your problem solved? I have run into a very similar situation but instead of HP 34970A, I have a HP 3852A and I want to set NPLC small so that it speeds up the data acqusition.
    I tried Measurement and Automation Explorer and use "communicate with Instrument" under GPIB folder and issue the command "NPLC 0" before running labview. But I did not see any change when I run my LabVIEW again. Since this command was working under VEE Pro, I am guessing the setting for NPLC was somehow reset. I am not sure why.
    I will try use "GPIB write" vi to see if it does anything but I'm not sure if I should set NPLC value everytime. Please let me know what you think if by any chance you see this message.
    Thanks,
    Jin
    I don't think you can set the NPLC to 0, the minimum value is 0.02. Maybe VEE automatically set it to the minimum value. Instead use NPLC MIN.
    Now if you use the MEAS? command to read the value the instrument will use the default value for the type of measurement if you don't specify the resolution (not the integration time, if you look at the 34970A documentation you will see how they relate) which is probably set to NPLC 1.
    If you want to speed up things you may look at the ROUT: SCAN and READ? commands to define a scan list.
    Ben64

  • Gen 2 VM - Setting the Boot order in Powershell does not work

    Hyper-v 2012 R2
    I'm using the following command to set the Boot Order for Gen 2 VM however when the VM is powered on, it continues to boot from the OS boot drive SCSI,0,0
    Set-SCVirtualMachine -VM "My-VM" -FirstBootDevice "SCSI,0,1"
    I've confirmed that "SCSI,0,1" is set as the DVD drive and this is indeed a Virtual DVD that has an ISO mounted on it.
    Any ideas why this is being ignored?

    Try this:
    http://itproctology.blogspot.com/2013/10/modifying-hyper-v-generation2-vm-boot.html
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Sending image sequence job to compressor in command line : how to set the framerate?

    Hello,
    In Compressor, when you import a image sequence, it's possible to set the framerate and add an audio file before choosing a preset and lauching the encoding task.
    I want to dlo the same thing with command line. I know how to send a compressor job with command line, but no how to add theses settings.
    In the compressor command line help, we've got this :
    Job Info: Used when submitting individual source files. Following parameters are repeated to enter multiple job targets in a batch
              -jobpath <url> -- url to source file.
                                               -- In case of Image Sequence, URL should be a file URL pointing to directory with image sequence.
                                               -- Additional parameters may be specified to set frameRate (e.g. frameRate=29.97) and audio file (e.g. audio=/usr/me/myaudiofile.mov).
    So there are also framerate and audio parameters in command line but i've no idea how to write the command line with theses parameters
    Here is an example of command line for Compressor (by Apple) :
    ./Compressor ‑clusterid tcp://127.0.0.1:51737 ‑batchname myBatch ‑jobpath /Volumes/Source/ShortClips/NTSC24p.mov ‑settingpath /Users/stomper10/Library/Application\ Support/Compressor/PhotoJPEG.setting ‑destinationpath /Users/machinename/Movies/myDestinationFilename.mov.
    Thank you for your help!

    You can see in the command sh running-config command
    show running-config : Displays the current access point operating configuration
    Use the guest-mode SSID configuration mode command to configure the radio interface (for the specified SSID) to support guest mode. Use the no form of the command to disable the guest mode.
    [no] guest-mode .
    Here is the guideline for usage
    The access point can have one guest-mode SSID or none at all. The guest-mode SSID is used in beacon frames and response frames to probe requests that specify the empty or wildcard SSID. If no guest-mode SSID exists, the beacon contains no SSID and probe requests with the wildcard SSID are ignored. Disabling the guest mode makes the networks slightly more secure. Enabling the guest mode helps clients that passively scan (do not transmit) associate with the access point. It also allows clients configured without a SSID to associate.
    Examples
    This example shows how to set the wireless LAN for the specified SSID into guest mode:
    AP(config-if-ssid)# guest-mode
    This example shows how to reset the guest-mode parameter to default values:
    AP(config-if-ssid)# no guest-mode

  • Setting the cursor on a particular input field in module pool

    Hi,
    I am working on an abap module program, the requirement is the cursor should be placed on a particular field at run time.
    In detail:  Table contains zserialno primary key field, zemailid of char type.
    Screen design: 1st text input field is zserialno
                             2nd field zemailid is splitted into 3 input text fields.
    For 2nd field zemailid 1st input field allows user to enter his/her email name, 2nd input field is an drop down which contains domain names and 3rd field is an empty field which is to be triggered on user action.
    example: zemailid- 1st input field  XYZ 2nd input field conatains @gm../@yah....and others. If user selects on others value in drop down of 2nd input field, the cursor should point the 3rd input field which allows the  user to enter his/her other domain.
    I used
    SET CURSOR FIELD <3rd inpu field namet>.
    , but the cursor pointing the key field of the table zserialno even the input field of zserialno was provided with a value.
    Any idea on this is appreciated.
    Edited by: Sona_abaper on May 7, 2011 5:34 PM

    Hi Sona,
    F1:
    Effect:
    During PBO processing, this statement sets the cursor in the screen layout of the current screen. The cursor can be positioned by entering a screen element after FIELD or by entering a specific position using col and lin. Outside of PBO processing, the cursor is positioned in the next list displayed on the screen.
    If the SET CURSOR statement is not specified, depending on the definition of the screen, the cursor is set according to the following hierarchy:
        On the cursor position determined statically in the screen properties,
        On the first input field of the screen,
        On the first screen element of the screen,
        On the command field in the systemtoolbar.
    The latter also applies if the command field in the system toolbar is not displayed.
    I'm convinced your code works as designed.
    Let us know your PBO module and code.
    Regards,
    Clemens

  • Unable to set the Cursor focus on a particular field in OA Page

    Hi,
    I have a custom page with 3 controllers . Now when i delete a row from the Advance table, the focus of the cursor goes to the top of the page. My requirement is that, the focus should remain in the Advance table region itself.
    I tried to set the focus using the below code. It dosent work. Could there be an issue since iam using more than one controller for the page?
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    bodyBean.setInitialFocusId("item164"); // item164 is the messageTextInput field in the Advance table region.
    I tried to get the Initialfocus value after its set. The value shows as 'item164'. However , it doesnt focus on that item.
    Please help me out in fixing this issue.
    Thanks
    AG

    Hi,
    Thanks for the Info. Can you help me with this java script or if you can provide me any reference it would be hepful.
    Basically the focus has to stay in that particular AdvanceTable region where the row is deleted. Not required that the focus has to point to the next row after the delete.
    Thanks
    AG
    Edited by: 928445 on Apr 26, 2012 12:06 AM

  • How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English

    How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English
    == This happened ==
    Every time Firefox opened
    == From the beginning

    Some add-ons:
    Default FullZoom: https://addons.mozilla.org/en-US/firefox/addon/6965 (I use this one)
    No Squint: http://urandom.ca/nosquint/
    Also:
    http://support.mozilla.com/en-US/kb/Page+Zoom
    http://support.mozilla.com/en-US/kb/Text+Zoom
    http://kb.mozillazine.org/Browser.zoom.siteSpecific

Maybe you are looking for