PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 2/26/2008 10:01 PM by  Roger French
redeploy websphere
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Roger French
Private
Private
Veteran Member
(1304 points)
Veteran Member
Posts:542


Send Message:

--
2/11/2008 2:27 PM
    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
    Private
    Private
    Senior Member
    (9899 points)
    Senior Member
    Posts:3317


    Send Message:

    --
    2/11/2008 6:22 PM
    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
    Private
    Private
    Veteran Member
    (1304 points)
    Veteran Member
    Posts:542


    Send Message:

    --
    2/11/2008 7:04 PM
    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
    Private
    Private
    Advanced Member
    (85 points)
    Advanced Member
    Posts:35


    Send Message:

    --
    2/18/2008 3:36 AM

    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
    (163 points)
    Veteran Member
    Posts:63


    Send Message:

    --
    2/22/2008 8:29 PM
    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
    Private
    Private
    Veteran Member
    (1304 points)
    Veteran Member
    Posts:542


    Send Message:

    --
    2/26/2008 10:01 PM

    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

    You are not authorized to post a reply.