Problem with  listWebServices() command in wlst.

Hi I am trying to get the list of webservices deployed on my weblogic domain, but when i execute the command i get no output, can any one please explain the reason for this.
Regards
rahul

What do you mean by no output?
You do not see any errors?
Because listWebServices() is a custom WLST command and would need a specific jar in the classpath (For more information review the following doc: http://docs.oracle.com/cd/E25178_01/web.1111/e13813/custom_webservices.htm ). If this jar is missing an NameNotFound error would be thrown anyways.
If you do not see any errors and just getting an empty output, then please consider checking that the web services applications deployed on the server are in ACTIVE state.
Also, one more important check is that this command needs to be executed after the connect() command, i.e., it is a WLST online command, so you should be connected to the admin server.
Arun

Similar Messages

  • Problems with 'df' command

    Hello folks,
    I'm having some problems with df command:
    Output:
    [nenemfromhell@myhost ~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 999M 4.0K 999M 1% /dev
    none 999M 4.0K 999M 1% /dev
    /dev/sda8 133G 125G 2.0G 99% /media/DU
    shm 999M 0 999M 0% /dev/shm
    First: It doesn't show my root partition, but i can check it in gparted.
    Second: /dev/sda8 is a NTFS partition that its size is 12GB
    Thanks.
    Last edited by nenemfromhell (2012-01-20 03:37:30)

    Please include some detail as to how you solved the problem: https://wiki.archlinux.org/index.php/Fo … way_Street

  • Problem with shell commands and scripts from an Applescript Application

    Hi-
    I am fairly new to OSX software development. I am trying to build an application that creates a reverse SSH tunnel to my computer and starts OSXvnc. The idea is that my Mom or anyone else who needs help can connect to me without having to tinker with their firewalls.
    There are plenty of resources on how to do this, and I have found them. What I have a problem with is the following.
    I am building this application in Xcode as an Applescript application, because Applescript and shell scripting are the only forms of programming I know. I use an expect script to connect through SSH, and a "do shell script" for the raw OSXvnc-server application to allow screen sharing.
    The problem is that when I click on the button to launch OSXvnc-server or the button to launch SSH, the application freezes until the process it spawns is killed or finishes. For example, I can set SSH to timeout after 60 seconds of no connection, and then the Applescript application responds again. I even tried using the ssh -f command to fork the process, but that doesn't seem to help.
    I am also using "try" around each of the items.
    What am I doing wrong? How can I make the buttons in my app launch SSH and OSXvnc-server without hanging the application while it waits for them to finish?
    Thanks so much!

    See here for an explanation of the syntax.
    (20960)

  • Problem with issuing command via CustomScriptExtension

    I am trying to issue a CustomScriptExtension command to an Azure virtual machine from within my C# application. The CustomScriptExtension is installed in the VM and working. I verified this by issuing a test command via PowerShell. Essentially I am trying
    to execute what would be the equivalent to the PowerShell command Set-AzureVMCustomScriptExtension, but in code.
    Below is the code segment that I am having problems with:
    ComputeManagementClient client = new ComputeManagementClient(AzureSessionInfo.CloudCredentials);
    IList<ResourceExtensionReference> extReferences = new List<ResourceExtensionReference>();
    IList<ResourceExtensionParameterValue> extParamValues = new List<ResourceExtensionParameterValue>();
    string account = "{\"storageAccountName\":\"" + AzureSessionInfo.StorageAccount + "\",\"storageAccountKey\": \"" + AzureSessionInfo.StorageAccountKey + "\"}";
    string scriptfile = "{\"fileUris\": [\"" + "https://teststorageaccount.blob.core.windows.net/testcontainer" + "\"], \"commandToExecute\":\"powershell -ExecutionPolicy Unrestricted -file " + "ScriptName.ps1" + "\"}";
    byte[] bytes1 = System.Text.Encoding.UTF8.GetBytes(account);
    bytes1 = System.Text.Encoding.UTF8.GetBytes(account);
    string ScriptPrivateConfig = Convert.ToBase64String(bytes1);
    byte[] bytes2 = System.Text.Encoding.UTF8.GetBytes(scriptfile);
    bytes2 = System.Text.Encoding.UTF8.GetBytes(scriptfile);
    string ScriptPublicConfig = Convert.ToBase64String(bytes2);
    ResourceExtensionParameterValue extRef_Parameter1 = new ResourceExtensionParameterValue()
    Key = "CustomScriptExtensionPrivateConfigParameter",
    Value = ScriptPrivateConfig,
    Type = "Private"
    ResourceExtensionParameterValue extRef_Parameter2 = new ResourceExtensionParameterValue()
    Key = "CustomScriptExtensionPublicConfigParameter",
    Value = ScriptPublicConfig,
    Type = "Public"
    extParamValues.Add(extRef_Parameter1);
    extParamValues.Add(extRef_Parameter2);
    ResourceExtensionReference extRef_CustomScript = new ResourceExtensionReference
    Name = "CustomScriptExtension",
    Publisher = "Microsoft.Compute",
    Version = "*",
    ReferenceName = "CustomScriptExtension",
    ResourceExtensionParameterValues = extParamValues
    extReferences.Add(extRef_CustomScript);
    AzureSessionInfo.CloudServiceName = "CS1000001";
    AzureSessionInfo.VMName = "CS1000001";
    AzureSessionInfo.ImageFamilyName = "Windows Server 2012 R2 Datacenter";
    client.VirtualMachines.Update(AzureSessionInfo.CloudServiceName,
    AzureSessionInfo.VMName,
    AzureSessionInfo.VMName,
    new VirtualMachineUpdateParameters
    RoleName = AzureSessionInfo.VMName,
    ResourceExtensionReferences = extReferences
    I receive the following error message back from the call:
    BadRequest: Invalid extension reference parameter value in JSON configuration data for the Role: CS1000001, Reference name: CustomScriptExtension.
    I could only find very little documentation on this. Any help would be appreciated.

    Thanks Mekh... after many hours of researching and trial/error, I figured it out.
    The MSDN article I used previously led me down the wrong path. (see article here: http://msdn.microsoft.com/en-us/library/azure/dn781373.aspx). This may work for RESTful calls but not for .NET API calls.
    The part of the code that was hurting me was where the command strings (account and
    scriptfile) were being converted to Base64 encoding. This is NOT correct for .NET calls. Once I removed that, everything worked fine.
    I came across this after researching the same commands used by Linux scripts. They don't convert to Base64 either so I wonder why this is included in the documentation at all.
    In either case, I figured it out, but the documentation is very poor in this area (or all together non-existent). I don't even see where it is documented as to which JSON parameters names are supposed to be used, or even that JSON is required.
    Also, related to the Update command, if you are truly "updating" the config, you must include everything about the original config (whether it changed or not) along with the changes you want to make. If not then you will undo ALL but the changes
    you issued via the command.

  • Problem with runas command. Elevation error

    Running on Win 8.1 Pro I'm facing a problem with runas.
    What I'm trying to do is launch an mmc as my domain admin account.
    Therefore I type this command from an elevated cmd (Right-click "Run as Administrator"):
    runas /user:Contoso\MyDomainAdmin /noprofile mmc
    This worked like a charm in Windows 7, and on my Win81Pro client it yields:
    RUNAS ERROR: Unable to run - mmc
    740: The requested operation requires elevation.
    The account I'm logged in with, is local admin, and the UAC slider is set in the bottom.
    In the eventviewer, I only see some special logons where my normal account is trying to impersonate my domain admin account, and the next event, the domain admin's session is destroyed.
    If this is by design, how would I then run mmc as my domain admin and at the same time avoid its credentials being stored on the local machine?
    Thanks in advance!

    yes, you need to be local admin to be able to elevate!
    I've tested this on a system here and I reproduce the issue you encountered. Some investigation showed running a program that requires elevation using runas is not  possible http://msdn.microsoft.com/en-us/library/bb756922.aspx
    MCP/MCSA/MCTS/MCITP

  • Problem with java commands

    Hello,
    I am able to run the java command on the command promt, but other commands like javap,javac are not working, its saying
    "javap not recognized and internal or external command operable program or batch file"
    what could be the problem?
    thanks in adv
    vakvarma

    thanks for ur reply
    its the problem with my path settings and i have corrented it

  • Problem with  AT command in LOOP

    Hi Experts,
    here i ve a problem like, in my table there are 3 PSPHI(projects) values,
    if i loop n calculate the sum it is getting total amt for 3 PSPHI values,
    but i want every end of PSPHI i need sum.
    the below code is working fine if there is no AT coomand, if i put AT END OF PSPHI it is giving 00.00 values.
      LOOP AT it_final into it_output.
       AT END OF PSPHI.
        if it_final-wrttp = '04'
           AND it_final-vorga = 'COIN' 
           AND it_final-beltp  = '02'
           AND it_final-versn = '000'.
       t_pla_rev = t_pla_rev + it_output-wlp01.
        MOVE it_output-wlp01 TO pla_rev.
        sum = sum + pla_rev.
          if sy-subrc EQ 0.
            else.
            write:/10 ' u r not ok'.
        endif.
    e  ndif.
    append it_output.
    *ENDAT.
    ENDLOOP.
    write:/10 'total amt is', sum.
    could anybady check where i gone wrong pls...
    Thanks in advance,
    sudharsan.

    Hi,
    What is your table structure.
    The command  AT ........ENDAT  work in sequential order.
    Let me explain with example.
    if your table itab has two column  column1 and column2
    loop at itab into wa.
    at new column2.
    // This will execute when the Value of column 1 change or column2
    // change.
    endat.
    endlloop.
    The solution of your problem is.
    Change your internal table column order ,
    Put the column first for which you want to calculate the sum.
    Thanks & Regards
    Kulvendra Kumar

  • PROBLEM WITH USER COMMAND AT SIMPLE REPORT

    HII FRNDS
    MY PROBLEM IS
    WHEN I AM BRANCHING TO A LIST REPORT FROM MY ALV REPORT BY USING LEAVE TO LIST-PROCESSING . THEN IN MY LIST REPORT I AM HAVING 2 MORE CUSTOMIZED BUTTON . BUT THE THING IS THAT I AM NOT ABLE TO MAKE THAT BUTTON  FUNCTION .
    CAN ANY BODY HELP ME WITH HOW TO MAKE THAT BUTTON WORK IN THE SIMPLE REPORT . I HAVE USED AT USER COMMAND IN THE BEGINING OF REPORT BUT STILL ITS NOT WORKING .
    THANKING YOU
    ROHIT

    HII FRNDS THIS IS THE CODE
    CASE R_UCOMM.
        WHEN 'DISPLAY1'.
          LOC_INDEX = 1 .
          SET PF-STATUS 'STATUS' EXCLUDING 'DISPLAY1'.
          LOOP AT INT_OUTPUT INTO WA_OUTPUT
                             WHERE CHECKBOX = WC_MARKED.
            APPEND WA_OUTPUT TO INT_DISPLAY .
          ENDLOOP.
          LEAVE TO LIST-PROCESSING .
          PERFORM F9100_DISPLAY_DETAILS USING LOC_INDEX.
    ENDCASE.
    AT USER-COMMAND .
    CASE SY-UCOMM.
    WHEN 'BACK'.
    BREAK-POINT.
           PERFORM F9100_DISPLAY_DETAILS USING LOC_INDEX.
      ENDCASE.
    THE PERFORM F9100 DISPLAYES THE LIST REPORT . THERE ARE NO SPELLING ERRORS FRNDS .

  • Problem with rename command in ftp_command

    hi all ,
    i am facing a problem in renaming a file by rename command...
    this is how i am calling the fm ftp_command
    CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = g_handle
          command       = 'RENAME l_templine_file l_templine_file1'
        TABLES
          data          = l_i_temp_line
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.
      IF sy-subrc <> 0.
    here l_templine_file   - dev00227.header.tmp  
    l_templine_file1 - dev00227.header.txt
    the fm is failing that the error meassage is FTP subcommand  error
    can u suggest where i am going wrong in this...

    hi,
    May be the command you are passing is incorrect syntax..
    Pass the values like this..
    l_templine_file =  'c:\dev00227.header.tmp' " this should be with path'
    l_templine_file1 = 'dev00227.header.txt'" this is just the name of file
    If not worked..then Try writing in small letters//
    write
    command = 'rename l_templinefile l_templine1'.
    rewards if useful
    Hope this solves..
    regards,
    nazeer
    Message was edited by:
            nazeer shaik
    Message was edited by:
            nazeer shaik
    Message was edited by:
            nazeer shaik

  • Problem with running commands

    Hi everybody !
    I'm having a form which on being submitted runs a Linux Shell Script using the Runtime class .
    Shell script consists of a command which prompts the user his username/password . I may sound absurd , but I want to know whether is it possible if I could prompt the user through GUI i.e my JSP page at this point of time .
    Thanks in advance ,
    Bye .

    Pl .help with this problem .It's urgent ,very important & challenging too .
    Someone , somewhere must have faced this problem .
    Thanks a lot.

  • Problem with modify command....

    Hi abapers,
    loop at itab.
    read table ifinal with key kunnr = itab-kunnr.
    if sy-subrc = 0.
    move: ifinal-dmbtr to itab-dmbtr.
    modify itab index sy-tabix.
    endif.
    endloop.
    Now the problem is that when i am using modify index sy-tabix it creating an additional entry
    and when i am using only modify itab its working fine so wat could be the reason that modify index sy-tabix is
    not working propertly.
    Thanks

    Hi Aarif,
    I am assuming there is one-to-one relationship between itab and ifinal.
    Try using following code.
    sort itab by kunnr.
    sort ifinal by kunnr.
    data: l_index like sy-tabix.
    l_index = 1.
    loop at itab.
      loop at ifinal from l_index.
         if ifinal-kunnr eq itab-kunnr.
            move: ifinal-dmbtr to itab-dmbtr.
        elseif ifinal-kunnr gt itab-kunnr.
           move sy-tabix to l_index.
           exit.
       endif.
    endloop.
      modify itab transporting dmbtr.
    endloop.
    Regards,
    Anil Salekar

  • Problem with User Command in alv report

    Hi
    I have developed a ALV grid report with drill down capability to transaction code for user command. I am having a trouble with this.
    CASE ucomm.
        WHEN '&IC1'.
          CLEAR: wa_import.
          IF selfield-fieldname EQ 'ANLN1'.
            READ TABLE t_import INTO wa_import INDEX selfield-tabindex.
            SET PARAMETER ID 'BUK' FIELD wa_import-bukrs.
            SET PARAMETER ID 'ANl' FIELD wa_import-anln1.
            CALL TRANSACTION 'AW01N'.
          ENDIF.
    here my parameter ids are showing the values but when i call the transaction i am not getting the actual asset numbers.
    Can someone help me out this
    Thanks

    Hi,
    add the AND SKIP FIRST SCREEN...addition..
    CALL TRANSACTION 'AW01N' AND SKIP FIRST SCREEN.
    Thanks
    Naren

  • Problem with "Hide" command in advanced actions

    Hi:  I am having an issue with the "Hide" function in advanced actions.  Here's the scenario:  I have a smart shape covering an object on the master slide.  When the user clicks on a click box, I want the smart shape to go away (hide) so that the object on the master slide appears.  I set up the click box and then added the advanced action as follows:
    Conditional Action:
    If
    1 is equal to 1
    Actions:
    Assign v-Tanker with 1
    Play Audio Slide 12Tanker.mp3
    Hide HazWasteDefHider
    No Else action because 1 is always equal to 1.
    The problem is this...When I click the Click box in preview, the first two actions happen, but the last one (Hide HazWasteDefHider) does not.
    What am I doing wrong?  Any advice would be appreciated.

    I have to disagree with my esteemed colleagues on this one.  I NEVER use Standard Actions (SA) unless I know for certain that it will be a very simple action I'm happy to delete and rebuild if it turns out that I ended up needing a Conditional Action (CA) instead.
    Perhaps it's just the types of projects I work on, or perhaps it's a flaw in my character, but in my experience almost every time I've used a SA in a project I've ended up needing a CA later in the development process and wished I'd done that in the first place.  So I've fallen into the habit of ONLY ever using CAs as insurance against wasting time.  I've not found CAAs run any slower than SAs, but they are FAR more versatile.  SA's hem you in too much.
    You can easily make a CA work as a SA by fudging the condition with 1==1 as mentioned above. And you can mix CAs with SAs as consecutive statements in the same CA. But no matter what you do, Captivate does not allow you to change a SA into a CA.  Once created, the die is set in stone for SAs.  It's the fact that you cannot convert one into the other that makes me go straight to the CA option in the drop-down each time.  I just wish I had the option to make CAs the default instead of always needing to change it from SA.
    I would personally prefer that Captivate's developers made the Condition section of a CA optional via a check box or similar so that you could just switch off the condition if you didn't need it.

  • URGENT!! problems with Unix command, please help

    I am trying to use the following Unix command and I keep getting error messaages from stdError. However if I run the same command from the command line it works perfectly. For some reason when I run the command from inside the program it thinks the append symbol ">>" is another file.
    String command = " cat /users/02/wjoc1/Test/list.mod >> /users/02/wjoc1/Test/Blacklist ";
    Process p = Runtime.getRuntime().exec(command);
    The error get is :
    /bin/cat: >>: No such file or directory
    Any help would be greatly appreciated

    The better solution for this problem is write a shell script for the action you wnat to perform and execute it using the runtime.exec().In your case just cut and paste cat /users/02/wjoc1/Test/list.mod >> /users/02/wjoc1/Test/Blacklist in to a file and save it. use that file as a argument for the exec method it will work.
    cheers
    R.Karuna

  • ITunes 10.4.1 Problem with Key Command Go to Current Song - Doesn't always work

    Since updating to iTunes 10.4.1, I've noticed that the key command, command + L doesn't always work to display the current song.

    I have this problem in iTunes 10.7 (21). The "Go to Current Song" option exists in the Controls menu, but even when audio is playing it is disabled.

Maybe you are looking for

  • Java.lang.NullPointerException when instantiating VORowImpl

    Hi , I am trying to extend a controller where I want to get an attribute value from a View object. I initiate the VO and then use vo.first() to get RowImpl. But I get NullPointerException when i use the extended CO in the page pointing to the line wh

  • Convert Excel into Password Protected PDF Files

    Hello Aandi/Lenoard, I believe you are the Adobe Forums administrators so I thought you guys are the right people to approach. OTHERS ARE ALSO INVITED TO COMMENT ON THIS TOPIC. I have C# desktop app which generates Excel files and our goal is to conv

  • Cannot import from iPad (in any application)

    We can no longer import photos from my wife's iPad from iPhoto, Aperture or Image Capture. I've tried on two different computers, one running the most recent version of Mountain Lion, the other Mavericks with the most recent updates to Aperture and i

  • Mysterious Disk Space Usage on MBA

    Hi all I have a new 128GB mac book air. I keep little data on it for obvious reasons, prepferringexternal HDDs. On checking recently my user ID has over 10GB of files. In checking the individual folders, they are : Desktop           295kb Documents  

  • How do I colorize certain objects in my photos?

    i have a photo of a cabinet in a room and i want to see how different stain colors would look on it. the stain colors are on another photo is there a way to pick the colors in one photo and apply them to the other? Any tutorials?  Thanks appreciate i