"Revenons a nos moutons..."
There is a bug in BPM 7.5.1.
It is looking as (in SystemOut.log):
It means that some snapshot does not exist.
1. Check it:
They killed Kenny! (IBM, I mean:) What to do?
2. Let's search this text string in the <profile folder>.
We found three files (not logs) with '3360e049-5350-4d8c-8f7f-b5043046186b', for example:
cd /ibm/bpm75/profiles/ProcessServer01/installedApps/PSCell/IBM_BPM_Portal_BPMAPS.AppTarget.ear/portal.war/jsp/css>
cat coach_designer_systoolkit.css
@import url("/teamworks/webasset/2064.3360e049-5350-4d8c-8f7f-b5043046186b/toolkit/TWSYS/W/coach_designer_base.css");
/* Leapfrog Coach skin override. */
@import url("/teamworks/webasset/2064.3360e049-5350-4d8c-8f7f-b5043046186b/toolkit/TWSYS/W/skin1.css");
3. Try to open our hyperlink, for example:
What to be proved...
4. Let's continue. In one ffdc file we found these strings:
It means that the hyperlink:
https://bpm-dev-ps-www1:443/teamworks/webasset/2064.e705fca0-1d30-4d53-ad80-4995d8486cd0/toolkit/TWSYS/W/coach_designer.css
can be open...
What is this snapshot?
ON SN.PROJECT_ID = PR.PROJECT_ID
WHERE SN.SNAPSHOT_ID = 'e705fca0-1d30-4d53-ad80-4995d8486cd0';
NAME ACRONYM
4. Try to open:
BINGO!
5. There is a very simple solution.
Step 1. Run /<WAS_HOME_FOLDER>/BPM/Lombardi/tools/portal-app/redeployPortal.sh
Process Portal PA will be unpacked in this folder.
Step 2. Change IDs from 3360e049-5350-4d8c-8f7f-b5043046186b to 30564a93-8ad4-485b-b356-b0d2c6f95b75 in three files - coach_designer_systoolkit.css, coach_designer_base_systoolkit.css, skin1_systoolkit.css (I use mc in Linux for this. F4 - Edit File, F4 - Replace).
Step 3. Run redeployPortal.sh one more time. Portal will be packed and deployed.
Step 4. Repeat the step 2 for three files in TWSYS toolkit - coach_designer.css, coach_designer_base.css, skin1.css. Check your Process Applications - they must linked to correct files.
Step 5. Restart WAS and forget about this issue...
There is a bug in BPM 7.5.1.
It is looking as (in SystemOut.log):
[3/7/13 15:14:50:193 MSK] 0000003d servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet AssetDownload in application IBM_BPM_Teamworks_BPMAPS.AppTarget. Exception created : com.lombardisoftware.core.TeamWorksRuntimeException: com.lombardisoftware.client.delegate.BusinessDelegateException: Snapshot.3360e049-5350-4d8c-8f7f-b5043046186b
Caused by: com.lombardisoftware.client.persistence.common.ObjectNotFoundException: Snapshot.3360e049-5350-4d8c-8f7f-b5043046186bIt means that some snapshot does not exist.
1. Check it:
SELECT PR.NAME, SN.ACRONYM
FROM LSW_SNAPSHOT SN INNER JOIN LSW_PROJECT PR
ON SN.PROJECT_ID = PR.PROJECT_ID
WHERE SN.SNAPSHOT_ID = '3360e049-5350-4d8c-8f7f-b5043046186b';
NAME ACRONYM
---------------------------------------------------------------- ----------------------------------------------------------------
They killed Kenny! (IBM, I mean:) What to do?
2. Let's search this text string in the <profile folder>.
We found three files (not logs) with '3360e049-5350-4d8c-8f7f-b5043046186b', for example:
cd /ibm/bpm75/profiles/ProcessServer01/installedApps/PSCell/IBM_BPM_Portal_BPMAPS.AppTarget.ear/portal.war/jsp/css>
cat coach_designer_systoolkit.css
@import url("/teamworks/webasset/2064.3360e049-5350-4d8c-8f7f-b5043046186b/toolkit/TWSYS/W/coach_designer_base.css");
/* Leapfrog Coach skin override. */
@import url("/teamworks/webasset/2064.3360e049-5350-4d8c-8f7f-b5043046186b/toolkit/TWSYS/W/skin1.css");
3. Try to open our hyperlink, for example:
https://bpm-tst-ps-www1/teamworks/webasset/2064.3360e049-5350-4d8c-8f7f-b5043046186b/toolkit/TWSYS/W/coach_designer.css
What to be proved...
4. Let's continue. In one ffdc file we found these strings:
com.ibm.ws.webcontainer.servlet.CacheServletWrapper::cacheKeyStr:bpm-dev-ps-www1:443/teamworks/webasset/2064.e705fca0-1d30-4d53-ad80-4995d8486cd0/toolkit/TWSYS/W/coach_designer.css
com.ibm.ws.webcontainer.servlet.CacheServletWrapper::isValid:trueIt means that the hyperlink:
https://bpm-dev-ps-www1:443/teamworks/webasset/2064.e705fca0-1d30-4d53-ad80-4995d8486cd0/toolkit/TWSYS/W/coach_designer.css
can be open...
What is this snapshot?
SELECT PR.NAME, SN.ACRONYM
FROM LSW_SNAPSHOT SN INNER JOIN LSW_PROJECT PRON SN.PROJECT_ID = PR.PROJECT_ID
WHERE SN.SNAPSHOT_ID = 'e705fca0-1d30-4d53-ad80-4995d8486cd0';
NAME ACRONYM
---------------------------------------------------------------- ----------------------------------------------------------------
reports 3.2.17
Oh, it is one of snapshots of one of my process applications. But I cannot use this id in the others servers (the snapshot exists only there).
But, possible, I can use some standard PA. What is it? Surely, Process Portal!!!
SELECT SN.SNAPSHOT_ID
Oh, it is one of snapshots of one of my process applications. But I cannot use this id in the others servers (the snapshot exists only there).
But, possible, I can use some standard PA. What is it? Surely, Process Portal!!!
SELECT SN.SNAPSHOT_ID
FROM LSW_SNAPSHOT SN INNER JOIN LSW_PROJECT PR
ON SN.PROJECT_ID = PR.PROJECT_ID
WHERE SN.ACRONYM = '7.5.1.1'
AND PR.SHORT_NAME = 'TWP'
SNAPSHOT_ID
------------------------------------
30564a93-8ad4-485b-b356-b0d2c6f95b75
4. Try to open:
https://bpm-tst-ps-www1/teamworks/webasset/2064.30564a93-8ad4-485b-b356-b0d2c6f95b75/toolkit/TWSYS/W/coach_designer.css
BINGO!
5. There is a very simple solution.
Step 1. Run /<WAS_HOME_FOLDER>/BPM/Lombardi/tools/portal-app/redeployPortal.sh
Process Portal PA will be unpacked in this folder.
Step 2. Change IDs from 3360e049-5350-4d8c-8f7f-b5043046186b to 30564a93-8ad4-485b-b356-b0d2c6f95b75 in three files - coach_designer_systoolkit.css, coach_designer_base_systoolkit.css, skin1_systoolkit.css (I use mc in Linux for this. F4 - Edit File, F4 - Replace).
Step 3. Run redeployPortal.sh one more time. Portal will be packed and deployed.
Step 4. Repeat the step 2 for three files in TWSYS toolkit - coach_designer.css, coach_designer_base.css, skin1.css. Check your Process Applications - they must linked to correct files.
Step 5. Restart WAS and forget about this issue...
Hi Vladlen,
ReplyDeleteDid i need to apply this on both Process Server and Process Center servers?
PD: Really nice blog, you already helped me a lot, thanks!!
Hi,
DeleteSurely you need do this on Process Center. And then install the corrected snapshot to Process server.
Good luck!
Hi,
Deletethanks for the reply, can you please tell me how can i replace those files in the TWSYS toolkit? Process Designer doesn´t let me edit them.
Regards.
You have to change TWSYS flag called IS_IMMUTABLE as false (you will be able to edit TWSYS).
ReplyDeleteBe careful. This is on your own risk.
I mean the flag in the table LSW_PROJECT
ReplyDeleteThanks a lot! i'll try it.
ReplyDelete