| justin@spicer.com.au 2004-07-20, 6:00 pm |
| To go back to the start, I have an issue with WPS 5.0.2 where when i click "Add Portlet" in the "Edit Page" screen, the screen just refreshes, and nothing happens.
I read somewhere this could be fixed by applying WPS 5.0.2.1, and this is where the trouble starts.
I use this doco to do the update, and have followed every instruction to the letter (my Portal Server is in a cluster, although it's the only one in the cluster at the moment):
http://publib.boulder.ibm.com/pvc/w...ll_cluster.html
I've applied WAS Base 5.0.2.2, as well as PME 5.0.2.2, and all the req'd efixes (inc 81248), on Solaris by the way.
The 'UpdatePortal' command works fine, the fixpack installs all the files as successfully.
When i run step 6 under "Installing the cumulative fix", the "WPSconfig.sh WP-PTF-5021...", it says BUILD FAILED on step 22, which is the update of the wps datasources. Here's the text:
----------------------------------------------
[echo] Executing WP-PTF-5021 task 22 of 33
action-set-managed-node-flag:
[echo] Is this a Managed Node ? true
action-set-wsadmin-conntype-5021:
action-update-wps-datasources-5021:
[wsadmin] WASX7209I: Connected to process "dmgr" on node DevManager using SOAP connector; The type of process is: DeploymentManager
[wsadmin] WASX7017E: Exception received while running file "/opt/WebSphere/PortalServer/config/work/was/profileWmmDataSource.jacl"; exception information: com.ibm.bsf.BSFException: error while eval'ing Jacl expression: can't read "DbSchema": no such var
iable
[wsadmin] WASX7017E: Exception received while running file "/opt/WebSphere/PortalServer/config/work/was/addDataSourceCustomProperty.jacl"; exception information: com.ibm.bsf.BSFException: error while eval'ing Jacl expression: can't read "JDBCProviderNam
e": no such variable
BUILD FAILED
file:/opt/WebSphere/PortalServer/config/includes/WP_PTF_5021.xml:494: Java returned: 105
----------------------------------------------
The crux of this is the "Can't read" DbSchema and JDBCProviderName, 'no such variable'.
I've checked my datasources, they all appear to be there, and functioning. I can connect to the database using this command:
./WPSconfig.sh validate-database-connection-wps
Which tells me that everything is ok in terms of my setupCmdLine.sh and Db2profile.
If I change the WP-PTF-5021.xml file to not fail on step 22, the WPSconfig continues to step 29, which is where it tries to connect to http://localhost:9081/wps/config. That page returns a 'cannot load servlet (portal)' type error, which bombs the script
out, as i mentioned in my earlier email.
So it's the DbSchema/JDBCProviderName variables i'm trying to track down. I have an open call with IBM regarding all this, i will post back when i have the fix.
|