How to check via wlst that application was deployed on specific server?

There is several managed servers(not in claster) on environment.
My application is deployed on a few of them.
1. How to check if application was already deployed on some specific managed server?
2. Is it possible to redeploy application only on one managed server?
3. How to redeploy application on all managed servers?
Edited by: vbez on Sep 13, 2010 6:26 AM

How to check if application was already deployed on some specific managed server?
applicationRuntime = cmo.getAppRuntimeStateRuntime();
state = applicationRuntime.getCurrentState("deploymentname", "deploymenttarget");Is it possible to redeploy application only on one managed server?
If you redeploy an application it is deployed to all the targets it has been assigned to.
How to redeploy application on all managed servers?
See above. If your application has been targetted to the managed servers
it gets redeployed to these targetted servers.

Similar Messages

  • How to check the records that were inserted in a day?Please Help!

    HI All,
    How to check the records that were insterted in a day in a standard SAP table?
    For example : I want retrieve the records that were added in a day in WLK1 table.
    How do i do this?
    Urgent!! Please help!
    Thanks in advance!
    Sandeep Shenoy

    HI
        Changes to data within a table can be automatically logged. Such automatic logging of changes is called automatic table history. To turn on logging, tickmark the Log Data Changes check box on the Technical Settings screen
    IF THIS IS ALREADY DONE FOR A PARTICULAR TABLE, YOU CAN GET THE RECORD OF CHANGES THAT YOU MADE FOR THAT PARTICULAR TABLE AS EXPLAINED UNDER
    <a href="http://64.233.179.104/search?q=cache:pOdVy55jfAIJ:cma.zdnet.com/book/abap/ch06/ch06.htmHISTORYOFUPDATESINADAYINABAP&hl=en&gl=in&ct=clnk&cd=1">Automatic Table History and Change Documents</a>
    IF ITS HELPFUL PLEASE REWARD POINTS
    REGARDS
    ANOOP

  • HT1277 iPhone 4S.  My e-mail service provider is Embarq.  I am receiving e-mails, but I cannot send e-mails.  I get a message that recipient was rejected by the server because it does not allow relaying.  Any suggestions?

    iPhone 4S.  My e-mail service provider is Embarq.  I am receiving e-mails, but I cannot SEND/REPLY to e-mails.  I get  message that recipient was rejected by the server because it does not allow relaying.  Any suggestions.

    Problem has been solved thanks to a posting by AmberDrivingKendal on 5/15/11.  More Like This section was a great help.

  • Have a new iPad with ios6.  Will not send emails. Addresses are valid  but get notice each time that recipient was rejected by the server.  No help on web site, and Apple's only manual is for previous os version.  We miss Steve Jobs.

    Have a new IPad with IOS6.  Will not send emails.  Addresses are valid but get notice each time that "recipient was rejected by the server."  Apple has apparently neglected to put out a manual with IOS6 and the previous manual has no indication of what to do.  Really miss Steve Jobs.

    Try going into Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if it then works

  • How to check, when the Maintenance Order was deleted

    Hello Experts,
                          Can you please tell me of how to check for the maintenance order that when it was deleted and who has deleted that.
    If any T-Code is there or at the Table level also to check the requirement.
    Regards,
    Yawar Khan

    If you want to track when you have put deletion flag, you can track it using above mentioned techniques.
    If you archived (deleted) permanently, then using archival history only, you can check I guess.
    Check these links. While deleting maintenance order, we can hisorical order with same number. Using that creation date, you can track.
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e6552462a11d189000000e8323d3a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e4d2f462a11d189000000e8323d3a/frameset.htm

  • How to find apple id that i was entered on icloud iphone 5s

    I don't remember my icloud account that i was entered on my iphone, but i have password. How to find your apple id that i entered to phone to unlock ?
    Now i am stay at activate screen, my imei is: 358825057543363.
    plz help me

    See this
    Apple ID: How to find your Apple ID

  • How do you use WLST to get a deployed Apps name?

    I am writing an application update script to make updating our environments quicker/easier with the following code from an ant build file:
    <wlst debug="true" failOnError="true">
    <script>
    connect('login','pwd','t3://...')
    updateApplication('${app.name}',block='true')
    </script>
    </wlst>
    However, b/c our application has a version in the manifest file, our application name looks like this:
    AppName-BuildNumber-TimeOfBuild
    Since the TimeOfBuild is always different from build to build it is impossible to hard code this value. Is there a way to get the application's name using WLST?
    connect(...)
    cd('AppDeployments')
    This shows me all applications deployed on the server, but inorder to go any farther I need the name of a specific app. I'm sure I am just overlooking an mbean somewhere, but I can't seem to find it! Any ideas??
    Thanks.
    Message was edited by:
    bftanner

    Ok, so I figured out how to get an applications name but I can't get the following script to work from an ant build file:
    <wlst debug="true" failonerror="false">
    <script>
    connect('system','weblogic','t3://...')
    apps=cmo.getAppDeployments()
    for app in apps:
    if app.getName().startswith("4X"):
    stopApplication(app,block='true')
    undeploy(app.getName(),targets='MS1,MS2',block='true')
    deploy('4X','//box/domains/applications/4X.ear',targets='MS1,MS2',stageMode='stage',block='true')
    apps=cmo.getAppDeployments()
    for app in apps:
    if app.getName().startswith("4X"):
         startApplication(app.getName(),block='true')
    </script>
    </wlst>
    When this is run I get the following error:
    BUILD FAILED
    C:\docume~1\dtanner\desktop\RELupdate.xml:134: Error executing the script snippe
    t
    connect('system','weblogic','t3://192.168.0.250:
    7001')
    apps=cmo.getAppDeployments()
    for app in apps:
    if app.getName().startswith("reporting-r
    eport"):
    stopApplication(app,block='true'
    undeploy(app,targets='MS1,MS2',b
    lock='true')
    deploy('reporting-report-server','//bfediapp3/do
    mains/applications/reporting-report-server.war',targets='MS1,MS2',stageMode='sta
    ge',block='true')
    apps=cmo.getAppDeployments()
    for app in apps:
    if app.getName().startswith("reporting-r
    eport"):
    startApplication(app,block='true
    due to:
    Traceback (innermost last):
    (no code object) at line 0
    SyntaxError: ('invalid syntax', ('<string>', 2, 33, '\t\t\t\tapps=cmo.getAppDepl
    oyments()'))
    Any Ideas??? Also, how can you keep the format i.e. tabs and spaces at the front of a line in these forums???
    Thanks.

  • How to check file is exists  in specified path in content server or not

    i m using JDevloper 11.1.1.6.0
    I want to upload file using RIDC functions,but before uploading it i have to check wheather it is already present on specified path in content server or not.
    How i check it.

    I tried to write a (simpler) version of my own code:
        public static Results CheckInToFolder(File f) {
            // create the binder
            DataBinder checkinDoc = idcClient.createBinder();
            // populate the binder with the parameters
            checkinDoc.putLocal("IdcService", "CHECKIN_UNIVERSAL");
            checkinDoc.putLocal("dDocTitle",
                                "Document checked in through RIDC at " +
                                new Date());
            checkinDoc.putLocal("dDocType", "Document");
            checkinDoc.putLocal("dDocAccount", "");
            checkinDoc.putLocal("dSecurityGroup", "Public");
            checkinDoc.putLocal("dCollectionID", "909964822906001607");
            // add a file
            // execute the request
            try {
                checkinDoc.addFile("primaryFile", f);
            } catch (IOException e) {
                myExecutable.logEvent("File" + f.getName() + " not found.");
                return null;
            ServiceResponse checkinResponse;
            try {
                checkinResponse = idcClient.sendRequest(userContext, checkinDoc);
                myExecutable.logEvent("Check-in successful. Size:" + f.length() + " bytes");
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException");
                            e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Check-in failed.");
                e.printStackTrace();
                return null;
            DataBinder checkinData;
            try {
                checkinData = checkinResponse.getResponseAsBinder();
                Results res =
                    new Results(checkinData.getLocal("dID"), checkinData.getLocal("dDocName"));
                myExecutable.logEvent("Successfully got response - dID is " +
                                      res.getDID() + ", dDocName is " +
                                      res.getDDocName());
                return res;
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException2");
                            //e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Unable to get response.");
                e.printStackTrace();
            return null;
        }What I'm getting is this:
    Mon Aug 13 14:51:29 CEST 2012 0ms: Started
    Mon Aug 13 14:51:29 CEST 2012 57ms: Connection to idc://192.168.44.129:4444 successfully established.
    Mon Aug 13 14:51:29 CEST 2012 102ms: Check-in successful. Size:702 bytes
    Mon Aug 13 14:51:29 CEST 2012 5ms: ServiceException2
    Mon Aug 13 14:51:29 CEST 2012 0ms: Finished
    This means:
    a) it does, indeed, return the exception (oracle.stellent.ridc.protocol.ServiceException)
    b) you could use this mechanism for your code
    c) it is, indeed, primaryFile.name what's being checked
    I will also take a look at the other service to perform the check prior to check-in service call.

  • How to list all calendars that are shared to a specific user?

    Hi,
    Using Exchange Management Shell/Powershell, I want to list all calendars that are shared to a specific user 'myuser'. 
    I have tried different approaches; list all calendars for all users and then figure out which ones are shared to 'myuser', list all mailboxfolders for 'myuser' with path 'calendar' and sort out the shared ones, ... No luck so far.
    Anybody?
    babu

    Hi
    If you try this command:
    Get-MailboxPermission MyUser

  • How to check out a certain mail was sent or not in program?

    Hi, all
    I'm wondering that...
    I have to make sure that whether a mail has been sent or not in my program. The smartforms of this mail has been binded with an activity in SPRO. What I have are: Title of the mail, sender name&address, recipient name&address and also the smartforms data.
    It's easy to do that by checking the log in T-code: SOST, but how can I achieve that in program?
    Are there anything standard Function Module or something work on this?
    Or do I have to look up into the table SOST or SOOS?
    I'll be appreciate for your ideas. Anyway, thanks in advance.

    Hi Minghao,
    I have found  the t-code is SBWP very helpfull or else Go to the main sap easy access screen.there you will find a icon on application toolbar called business workplace.click on it.then go to the outbox.You can find the main sent by you in the outbox.You can use SCOT to know the status of the mail.
    <b>Kindly Reward points if you found the reply helpful</b>.
    Cheers,
    CHAITANYA.

  • How to check file format in application server?

    Hi guys,
    i have an inbound zip file(which contains PDF files) in the application server .I need to check if the file is in base 64 format or in hexadecimal format.Can any one help me out with the suggestions or with probable solution.
    Regards
    Snehasish

    Thanks for your reply.i am able to get the the zip file data in xstring with following code .
    .now what should be logic to determine that the data in xstring is in base 64 or in hexadecimal format?
    data: lv_zip type xstring.
    OPEN DATASET lc_file FOR INPUT IN binary MODE.
    IF sy-subrc = 0.
    read dataset lc_file into lv_zip.
    endif.
    CLOSE DATASET lc_file.
    Regards
    Snehasish

  • How to check the checkboxes that are dynamically displayed in the browser

    Hi
    Here the requirement is ,I am dynamically diaplaying the text boxes based on the data captured from the database.Here depending upon the number characters in Database,related that much of checkboxes will display.How can i provide Javascript client event handling in this without knowing the checkbox ID'.
    Needs urgent reply,
    Regards
    Usman

    code to check all check boxes in a page.
    <body>
    <SCRIPT language=JavaScript>
    function doCheckAll()
      with (document.dam) {
        for (var i=0; i < elements.length; i++) {
            if (elements<i>.type == 'checkbox' )
               elements<i>.checked = true;
    </SCRIPT>
    <FORM  name=dam>
    <INPUT  type=checkbox value=1>
    <INPUT  type=checkbox value=2>
    <INPUT  type=checkbox value=3> <br>
    <INPUT  type=checkbox value=4>
    <INPUT  type=checkbox value=5>
    <INPUT  type=checkbox value=6> <br>
    <INPUT  type=checkbox value=7>
    <INPUT  type=checkbox value=8>
    <INPUT  type=checkbox value=9> <br>
    <INPUT onclick=doCheckAll() type=button value="Check all">
    <INPUT type=reset value="Reset">
    </FORM >
    </body>
    How you are generating check boxes? if you are generating checkboxes then you would also be generating ids for them. why cant you use them?
    Regards
    Raja

  • How can I get confirmation that email was received

    Hi everyone. I heard that it is possible to get a confirmation immediately after someone had received and open an email from you. Does anybody knows how this is done?
    Thank you very much for your inputs.

    You can do this, although it's an undocumented feature of Mail. But if your recipient's email program is not setup to send a receipt, you will get nothing. In any case, if you want to do this:
    1. Quit Mail
    2. Open Terminal (in Applications/Utilities)
    3. Enter the following text into the window, including all the quotes as is:
    *defaults write com.apple.mail UserHeaders '{"Disposition-Notification-To"="you@address";}'*
    replacing "you@address" with your actual email address, then press Enter. When finished, quit Terminal. All messages sent now will include a request for a Read Receipt.
    If you ever need or want to turn off this feature, quit Mail, open Terminal and enter this line:
    *defaults delete com.apple.mail UserHeaders*, then press Enter, then quit Terminal.
    Mulder

  • How to check a file that has been encoded

    Hello,
    A few months back I encoded a few videos after editing them. I forgot which settings I had Premiere set at, is there any way to look at the video and get the settings from there?
    Thanks

    No. At best something like GSpot might tell you which codec was used in an AVI file, but I don't think it's possible for any software to look into the file and tell you that you used Divx at 2 pass VBR, max bitrate of 6, quality level 3, etc. Those things need to be remembered or written down for consistency.

  • When I try to send an email it says that it was rejected by the server. How do I fix.

    How do I fix my email. When I try to send it comes back thar it was rejected by server.

    Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail Server>SMTP>Primary Server then turn Server ON and fill in both User Name & Password>under Outgoing Mail Server.

Maybe you are looking for