redeploy websphere

 5 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
Roger French
Veteran Member
Posts: 549
Veteran Member
    Can someone confirm or deny or otherwise make a comment? If I want to make any changes to existing portal code, for example to fix a problem with an RSS .htm file, after I make the change, I've got to go through the entire websphere redeployment steps. Is this correct? The change I've got to make is to fix a problem with a Lawson-delivered displayexec for RSS inbaskets. This is for LSF9. -Rog
    John Henley
    Posts: 3353
      Are you referring to the XML version of RSS (i.e. "SIP"?) What file are you changing, and where are you making the modification? If you're making it "inside the EAR", then NO, you wouldn't redeploy the EAR, since you'd lose your change.
      Thanks for using the LawsonGuru.com forums!
      John
      Roger French
      Veteran Member
      Posts: 549
      Veteran Member
        No , this is the HTML version of RSS inbasket. The file I changed is : recsum.htm It's the delivered one but it's buggy. (Yes, I know, ... I'm trying to get the latest and greatest from support but even they are having trouble locating it....go figure) So if I make the change in the folder \htmlinbasket\inbasket\execs in that file called recsum.htm, do I need to redeploy?????
        mondrar
        Advanced Member
        Posts: 35
        Advanced Member

          We have made some custom modifications to the recsum.htm, and yes if you make any changes to the recsum.htm, you will need to redeploy the bpm.ear.

          To create a new bpm.ear that incudes the recsum.htm:

          • $ cd /lawson/CTPInstall
          • $ cp $GENDIR/assembly/components/ear/bpm.ear .
          • $ jar –xvf bpm.ear
          • $ cp $LAWDIR/bpm/execs/*.htm .
          • $ perl $GENDIR/bin/addExecsToArchive.pl {enter *.htm file here}

          If you do not redeploy, your modifications will not show in the approval inbasket, and remember, everytime you do a portal upgrade, and a new set of .ear files are delivered, you will have to add the rucsum.htm to the new bpm.ear. Good luck..

          jojo.serquina
          Veteran Member
          Posts: 63
          Veteran Member
            IF what mondrar's solution is not for you, and you're in a windows environment... try this solution:

            make sure you CREATE A COPY/BACKUP of the current recsum.htm

            then copy your latest recsum.htm to the following directory...

            C:\IBM\WebSphere\AppServer\profiles\lsfprodapp\installedApps\lawappCell01\lsfprod-BPM.ear\bpm.war\htmlinbasket\inbasket\execs

            "lsfprodapp" could be named different for you.
            "lsfprod-BPM-ear" could be named different too

            If that doesn't work, then "properly" redeploy bpm.ear AFTER including recsum.htm to the file.

            1. Login to LID
            2. Copy both the latest bpm.ear, bpm.war, and recsum.htm to a new folder.
            3. run the following: Perl %GENDIR%/bin/addExecsToArchive.pl recsum.htm
            5. Redeploy bpm.ear, browsing to the folder where the new bpm.ear is.

            Roger French
            Veteran Member
            Posts: 549
            Veteran Member

              I ended up changing it in the exec folder in the BPM.ear/war. Yes I know that's probably not the 'correct' way to do it, but it seems to work.

              -R