Adding file to Application deployment content after client deployment

Hi,
I have been testing deploying Visio 2013 via Application deployment and am having troubles with running an uninstall.
After deploying the software successfully to my test client, I needed to make a change to the uninstall process & have added an new file that is now used during an uninstall.
When running the uninstall on my test client, I can see the correct commandline being used; however it fails because the additional file has not been downloaded to the CCMCache folder on the client.
I have run an 'update content' for the distribution type, cleared the clients cache & re-run the uninstall from Software Center. The client redownloads the source files, however it is still missing the new file that it needs.
Checking on the distribution points, I can see the new file referenced in the SCCMContentLib folder.
I tried removing previous revisions from the Application via the console & now when running the uninstall on the client it fails immediately without downloading the source files. Checking AppEnforce.log, it looks like the uninstall is referencing the
old revision of the Application Deployment still (which didn't contain the additional file, and no longer exists in the revision history).
Can anyone point me in the right direction to get this resolved?
And also, what is the correct procedure for updating/adding files to an already deployed application?
Thanks in advance!

If you're confident that the DP contains the new file, try deleting the deployment and re-doing it (not the deployment type - just the deployment to your test collection).
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson

Similar Messages

  • Download text file from application server to client server.

    Hi all,
    I am facing a format issue while downloading text file from application server to the client machine.
    The issue is that, say I have 6 to 10 lines in my text file in application server. but when i store it on the hard drive,
    it shoes all the data in a single line. Where as i need to download data in same format as in application server.
    Awaiting for your responses.
    Regards,
    Jose

    Hi,
    If we want to upload file data from the application server to the internal table, there is no function module or class static method which we can use, we must wirte the code by ourselves.
    1. For the file data which has no seperator between field columns.
    PARAMETERS p_file  TYPE dxfile-filename.
    START-OF-SELECTION.
    OPEN DATASET p_file IN TEXT MODE ENCODING DEFAULT FOR INPUT.
      DO.
        READ DATASET p_file INTO gds_data.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        APPEND gds_data TO gdt_data.
      ENDDO.
    CLOSE DATASET p_file.2. For the file data which has tab separator between field columns.
    DATA: gds_field_split type gts_data.
    FIELD-SYMBOLS: <fs_field> TYPE gts_data.
    PARAMETERS p_file  TYPE dxfile-filename.
    START-OF-SELECTION.
    OPEN DATASET prf_file IN TEXT MODE ENCODING DEFAULT FOR INPUT.
      DO.
        READ DATASET p_file INTO gds_field.
        SPLIT gds_field  AT cl_abap_char_utilities=>horizontal_tab
             INTO TABLE gdt_field_split.
       LOOP AT gdt_field_split  into gds_field_split.
           gdf_index = gdf_index + 1.
           ASSIGN COMPONENT gdf_index OF STRUCTURE
                 gds_data to <fs_field>.
          IF sy-subrc = 0.
              <fs_field> = gds_field_split.
          ENDIF.
       ENDLOOP.
        APPEND gds_data TO gdt_data.
      ENDDO.
    CLOSE DATASET p_file.
    Thanks & regards,
    ShreeMohan

  • How to delete file from application server(Unix)

    Hi All,
    Using the below code downloading a file from application server(Unix) to client machine. I want to delete the file from application server once it is downloaded to client
    We work on Forms 11.1.1.4.0 and Oracle DB 10g. Client machine are Windows 7.
    BEGIN
      IF webutil_file_transfer.AS_to_Client
      (clientFile => Name_In('global.g_file_name')
      ,serverFile => ls_AppServer_Loc)THEN
      message('Data exported Successfully');
      ELSE
       message('File download from Application Server failed');
      END IF;
    EXCEPTION
      WHEN OTHERS THEN
      message('File download failed: '||SUBSTR(sqlerrm,1,200));
      END;
    I have search for solution on OTN. Few suggested to use HOST.
    Can any one help me how to use Host() built_in to delete the file.
    Thanks,
    Maddy

    Can any one help me how to use Host() built_in to delete the file.
    Host('/bin/rm <complete file path>');

  • Delete file on application server (Froms9iAS)

    How can I delete file on application server (Froms9iAS) from client machine (file such as *.txt,*dbf). I try use old win_api_utility (from Forms6i) but it doesn't work.

    Check out Webutil.
    More on it in the Forms page.

  • 2012R2 Application installation steps after deploying OS from Task sequence is slow after applying hotfix 2910552

    We are currently using CM2012r2 for Endpoint protection, and in trying to save licensing costs, I have been given the task of doing imaging and application deployment through CM as well... everything started off well... noticed that imaging took a lot longer
    than I remembered when I used CM2007 at my previous employer. Found we needed hotfix 2910522 and what took an hour to download now only takes 5 minutes (yay!) Then started other strange issues.  Mostly the fact that in the task sequence, the install application
    blocks (we have 3 with 4-8 apps each) suddenly got really slow to execute. (boo!)  The application blocks eventually finish, but take about 5 hours and only the last block actually installs.    For example: 7zip takes 15 minutes to "install"
    but since it isn't in the last block, it doesn't in fact install on the system.
    so here is what I know so far:
    Updated the boot image after applying the hotfix
    Added the hotfix to the Windows and configmgr setup step command line to install the patch
    Verified that all applications install correctly outside of the task sequence.
    Created a new task sequence just in case the hotfix messed something up.
    here is what I've noticed:
    Only happens on workstations that have been imaged previously by CM (even if I remove the machine from AD and CM)
    New machines image just dandy
    not hardware specific (tested on 5 different laptop models and 3 desktop models)
    workstations that have the issue, when finished, only installed the applications from the last block (4 apps) and none from the previous 2 blocks (16 applications)
    If imaged new (not previously known) it installs the client correctly and it checks in, ones with the issue are in internet only mode and don't see the PKI cert for the machine, and will not check in.
    Things I've checked, double checked, verified, and done:
    All applications have the box for "allow this application to be installed from the Install Application task sequence action..."
    applications are on all distribution points
    Distribution points are healthy
    One MP/DP was complaining about how it couldn't access a SMS folder.  uninstalled the roles, let it sit over the weekend, reinstalled this morning
    Verified that the servers were on 10Gb full and were not throwing error on the line
    Antivirus scanning was not scanning the store (used the built in template for scep)
    Next steps that I am going to try:
    create a new task sequence and split up install application blocks to only have single applications in them
    recreate the boot wim for the media
     Thanks in advance

    So this issue of yours is in B&C -task sequence? You're using capture CD for capturing, why? Why not automate the build entirely.
    I'd suggest you add this:
    http://support.microsoft.com/kb/2775511/en-us to your BUILD image (either online of offline, in the WinPE -phase), it fixes many WMI related problems.
    After you've done your golden .wim, deploy it to your clients.
    We don't do a build and capture because certain applications require handling on our part. Management has said it needs to be a certain way, therefore this is how we have to build it.  (mostly settings, and views that can't be controlled through registry,
    Group Policy, etc.)  There are users that if they have to click on an accept button or it isn't the right color, or they want a different icon in their lab, then they go to the top and it comes back down to us, and our lives become miserable.
    We create the image in audit mode, capture it using boot media, and sequence in things that are updated constantly (flash, shockwave, java, etc.) through the task sequence.
    in relation to that KB, why would it work on new machines but not ones that have been touched before?

  • WS not created in application server control after deployment

    Hi,
    I just tried to deploy fulfillmentESB project(SOADemo Projects) from Jdev to Oracle App server control. But there was no webservice created in Oracle application server control under webservices link....plz help me...
    Actually the steps which i had followed to deploy that fulfillment project are:
    * right-click fulfillmentESB
    * select Register with ESB, Integration connection
    after which the fulfillment webservice can be seen in ESB control as well as application server control. But i could not able to see webservice created in application server control.
    Also i tried deploying the fulfillmentESB using EAR file - no use
    So kindly give me some steps to solve this issue...
    -Indhu

    Here is an example of the two steps required to deploy a Web Service application, using the ant task for the 10.1.3.x release.
    <project name="CalculatePrice" default="all" basedir="." xmlns:o="antlib:oracle">
      <property file="build.properties"/>
      <property name="deployeruri"        value="deployer:oc4j:${oc4j.host}:${oc4j.admin.port}"/>
    <!--
      <property name="deployeruri" value="deployer:oc4j:opmn://${oc4j.host}:${oc4j.opmn.port}/home" />
    -->
      <property name="bindweb.website" value="default-web-site"/>
      <property name="app.name" value="sdots"/>
      <target name="deploy">
        < o :deploy file="${basedir}/dist/${app.name}.ear"
                  deploymentname="${app.name}" deployeruri="${deployeruri}"
                  userid="${oc4j.admin.user}" password="${oc4j.admin.password}"/>
        < o :bindWebApp deploymentname="${app.name}" deployeruri="${deployeruri}"
                      userid="${oc4j.admin.user}" password="${oc4j.admin.password}"
                      webmodule="webservice-web" websitename="${bindweb.website}"
                      contextroot="/sdots"/>
      </target>Not sure if this applies to your specific scenario.
    ps. cross posting on the different OTN forums is generally not a good idea as you get threads out of sync. In this specific case, you are running into an issue with a specific ESB demo, and the ESB-SOA forum is definitly a better palce to get specific help.
    WS not created in application server control after deployment
    ps2. I guess you should got it by now, as I am not the first one to make this comment.
    Webservice not created in oracle application server after deployment
    ps3. We still don't have details about the versions you are using and the specific about THE SOADemo Projects - provide the information someone else would need in the forum that best correspond to your issue; the SOA one in this case ;-)

  • WS not found in application server control after deployment

    Hi,
    I just tried to deploy fulfillmentESB project(SOADemo Projects) from Jdev to Oracle App server control. But there was no webservice created in Oracle application server control under webservices link....plz help me...
    Actually the steps which i had followed to deploy that fulfillment project are:
    * right-click fulfillmentESB
    * select Register with ESB, Integration connection
    after which the fulfillment webservice can be seen in ESB control as well as application server control. But i could not able to see webservice created in application server control.
    Also i tried deploying the fulfillmentESB using EAR file - no use
    So kindly give me some steps to solve this issue...
    -Indhu

    Here is an example of the two steps required to deploy a Web Service application, using the ant task for the 10.1.3.x release.
    <project name="CalculatePrice" default="all" basedir="." xmlns:o="antlib:oracle">
      <property file="build.properties"/>
      <property name="deployeruri"        value="deployer:oc4j:${oc4j.host}:${oc4j.admin.port}"/>
    <!--
      <property name="deployeruri" value="deployer:oc4j:opmn://${oc4j.host}:${oc4j.opmn.port}/home" />
    -->
      <property name="bindweb.website" value="default-web-site"/>
      <property name="app.name" value="sdots"/>
      <target name="deploy">
        < o :deploy file="${basedir}/dist/${app.name}.ear"
                  deploymentname="${app.name}" deployeruri="${deployeruri}"
                  userid="${oc4j.admin.user}" password="${oc4j.admin.password}"/>
        < o :bindWebApp deploymentname="${app.name}" deployeruri="${deployeruri}"
                      userid="${oc4j.admin.user}" password="${oc4j.admin.password}"
                      webmodule="webservice-web" websitename="${bindweb.website}"
                      contextroot="/sdots"/>
      </target>Not sure if this applies to your specific scenario.
    ps. cross posting on the different OTN forums is generally not a good idea as you get threads out of sync. In this specific case, you are running into an issue with a specific ESB demo, and the ESB-SOA forum is definitly a better palce to get specific help.
    WS not created in application server control after deployment
    ps2. I guess you should got it by now, as I am not the first one to make this comment.
    Webservice not created in oracle application server after deployment
    ps3. We still don't have details about the versions you are using and the specific about THE SOADemo Projects - provide the information someone else would need in the forum that best correspond to your issue; the SOA one in this case ;-)

  • Application Deployment - Client 0% Downloading

    Hi all
    I'm currently testing SCCM 2012 and i'm stuck with the Application Deployment.
    When i define in Application Management --> Applications a MSI file for deployment, the client want to install it but stays forever wit the status "Downloading (0% complete).
    SCCM tells me that the application was successfully distributed to my DP. I can also create, distribute and install packages with the old 2007 way. That works pretty good and fast. But not the new "applications" way.
    Do i miss something? What for roles are needed for the new way of application deployment? Is "Application Catalog Web Service Point" and/or "Application Catalog Website Point" needed? We do not have a user centric model in our IT. We are still using the
    device centric model.
    Thanks for any hints
    JBAB

    I'm having the same issue. Stuck at 0%.
    The package is setup for "Run with administrative rights" and "Allow users to interact with this program."
    But here is a twist, if the user installing it is a local admin, the download works and it installs beautifully. If they are not, it gets stuck at 0%.
    I stumbled accross some articles prior about WebDav on the ISS portion of the server needing to allow file extentions which may be blocked. And if the blocked ones are in the package they may need to be allowed in the WebDav settings. - I
    did some experimenting on this but I stopped at checking for each and every file extention in a package and/or allowing them all. I don't want to mess with the ISS settings if I don't have to. My couple of stabs at it didn't work. Although this was the most
    promissing.
    As well, it works fine for some packages and not for others. Office products work fine (go figure), Oracle clients and Crystal Reports it fails/gets stuck as above.
    I don't think its a BITS issue either as we don't use it for client installs etc. We have good bandwidth, so we didn't turn it on.
    I also checked my boundaries. No issues there. Subnets used are included, and no typos.
    As a side issue, which may be related, I found one of my packages (PowerOLAP) also failed when not a local admin (with either admin or non-admin in SCCM enviroment settings) because the install spooled up additional process, which quietly failed or did not
    start. I thought all processes started by the SCCM installer would run in an elavated fashion. Guess not.
    Any other ideas out there?
    Virtual Samurai - MCP, CCNA

  • How to download a file from Application Sever to Client Workstation?

    Hi All,
    I know how to move a file from client workstation to Application server.
    How to download that uploaded file from Application file (AL11)  directory to local desktop?
    Regards,
    Arun.M.D

    Hi Arun,
    Goto AL11 - > click on the directory path and select your file  -open the file - > click on menu item List - >save/send -> file
    -> select the type of file.
    Or you can write a small abap code using DATASETS. If you require I will post the code.
    Hope it helps you.
    Regards,
    Rajani.

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • Error while Creating Prestage Content File for Application in SCCM 2012

    Hi All,
    I am using SCCM 2012 SP1 on Win 2K8 SP R2 box. Database is SQL 2008 R2 SP1 CU6. I have trying to create Prestaged content for Applications for extracting pkgx files on DP's. I am getting the below error message for random applications(not for all applications
    but for random applications).
    Content that will be included into the prestaged content file (1):
    Citrix Receiver 13.3.0.55
    Export all dependencies: 'Yes'
    Selected distribution points: 'MPSERVER.GS.WORLD.PRESS.COM'
    Prestaged content file: 'G:\pkgxfiles\Application\Citrix Receiver 13.3.0.55.pkgx'
     Error: Distribution is currently in progress for selected packages: HM0000D9. Please wait and try again
    But if I see this application is successfully distributed to 2 of the distributions points long ago. If I reupdate the Distribution point and then again try to create prestaged content for this application then pkgx file for that application is getting
    created.
    Why this is happening and how can I resolve this?
    Thanks & Regards Uttam

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Web application deployment failure when Mozilla Rhino 15R2 included in war file

    Hi Guys
    I'm currently attempting to deploy a web application under weblogic 6.1.
    The application makes use of Mozilla Rhino15R2, packaged in the file js.jar.
    With js.jar contained in the WEB-INF\lib directory in the war file, the
    application fails to install, the weblogic.log file has the following entry.
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101053> <[HTTP winnt2] Loading web app: SWIFTAccessControl>
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101059> <[winnt2] Loading SWIFTAccessControl from WAR file:
    I:\bea\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\wl_comp53845.
    war>
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101031>
    <[WebAppServletContext(6025277,SWIFTAccessControl,/SWIFTAccessControl)]
    extracting classfiles to
    I:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_wa
    r_winnt2_winnt2_SWIFTAccessControl:>
    ####<22-Oct-00 09:53:53 BST> <Debug> <HTTP> <winnt2> <winnt2> <main>
    <system> <> <101158> <Exception thrown while loading SWIFTAccessControl:
    java.lang.IllegalArgumentException: Prefix string too short>
    java.lang.IllegalArgumentException: Prefix string too short
    ####<22-Oct-00 09:53:54 BST> <Error> <J2EE> <winnt2> <winnt2> <main>
    <system> <> <160001> <Error deploying application SWIFTAccessControl: Could
    not load SWIFTAccessControl>
    If I rebuild the war file, excluding js.jar weblogic successfull deploys the
    application and I can access the application. Question has anyone come
    across a similar problem and does any one know of a solution. I'd be most
    grateful for any help on this one.
    Regards
    Tony

    Check this thread...
    Spring's JSF DelegatingVariableResolver cause InvocationTargetException

  • Need a pipe delimiter after every field in the file on application server

    Hi ,
    i have to transport data in internal table to a file on application server.
    I have done this successfully. But the problem is i have to put a pipe
    delimiter after every field in the file on application server.
    Could yoe plz help in  this issue.
    Thanks & Regards
    Suresh kumar D

    Hi Should,
              I think the below code should solve your problem as i also had  a similar type of requirement and this was the code i had used in my program.
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: L_FLINE TYPE STRING.
    Open file for output
      M_CHECK_SELSCR_FNMS O1 O.
      LOOP AT I_TARGET.
    Write records to file
        DO.
          ASSIGN COMPONENT SY-INDEX OF STRUCTURE I_TARGET TO <FS>.
          IF SY-SUBRC EQ 0.
            IF SY-INDEX EQ 1.
              MOVE <FS> TO L_FLINE.
            ELSEIF <FS> NE C_PIPE.
              CONCATENATE L_FLINE C_PIPE <FS> INTO L_FLINE.
            ELSE.
              CONCATENATE L_FLINE <FS> INTO L_FLINE.
            ENDIF.
          ELSE.
            TRANSFER L_FLINE TO W_SRVR_NM_O_O1.
            EXIT.
          ENDIF.
        ENDDO.
      ENDLOOP.
    Close file
      CLOSE DATASET W_SRVR_NM_O_O1.
      IF SY-SUBRC EQ 0.
        MESSAGE S208(00) WITH TEXT-M02.
      ENDIF.
    Regards
    Sikha

  • I recently upgraded from Leopard to Snow Leopard and I noticed that I have more capacity available on the Macintosh HD. I checked my files and applications and they are still on my computer. Can capacity on the HD change after an OS upgrade?

    I recently upgraded from Leopard to Snow Leopard on my MacBook and I noticed that I have more capacity on the Macintosh HD than before the upgrade. I checked my files and applications and they are still on my computer and nothing appears to be missing. Before the upgrade I had around 111 GB capacity with around 10.50 GB available on the Mac HD but now after the upgrade I have 119 GB capacity and 20.92 GB available. Can capacity on the HD change after an OS upgrade?

    No, but the upgrade removed unneeded PowerPC code and changed the way free space is determined.
    (72071)

  • How to get the file content after uploading file

    Hello everyone!
    I have a question. Anyone can provide an example code by jsp that getting the uploaded file content after user uploading a file?
    Your help is highly appreciated!!!

    My experience is you need to do it twice: first read it to a StringBuffer and readline. Then write the file to server. See the code below
    MultipartParser parser = new MultipartParser(request, 10000000);
    Part part = null;
    FilePart filePart = null;
    File uploadDir = new File("/Uploads/");
    if (!uploadDir.exists()) {
    uploadDir.mkdir();
    while(true){
         part = parser.readNextPart();
         if(part == null)
              break;
         if(part instanceof FilePart){
              filePart = (FilePart)part;
              filename = filePart.getFilePath();
              //You can do one of the following option. Here is read line to a buffer and display to screen
    //if (filename != null) {
              //Do not store the file to server machine.
    //long size = filePart.writeTo(uploadDir);
    // System.out.println("The number of bytes written is "+size);
              reader = new BufferedReader(new InputStreamReader(filePart.getInputStream()));          
              String newline=reader.readLine();
              if(newline!=null)     {     
              reconcileContent.append("<table border=\"1\"><tr><th>Destination ID</th><th>File ID</th><th>Rept Date</th><th>As of Date</th><th

Maybe you are looking for