Fooling with uPortal Notes

This is just raw notes from working with Adrian at Lancaster. Ultimately this was me getting up2.4 to work – Adrian did this with up2.5 and after a while I switched and helped him.


Changed tomcat to 8090 and 8095 ports
In the uPortal_rel directory – switch to 8090
csh
foreach i ( `grep -rl localhost:8080 *` )
/bin/rm -rf /tmp/x
echo Converting 8080 to 8090 in $i
sed ‘s/localhost:8080/localhost:8090/’ < "$i" > /tmp/x
cp /tmp/x $i
end
vi “webpages/stylesheets/org/jasig/portal/channels/CContentSubscriber/channel registry.xml”
maven uPortalDeployAll
Did not work so wel because of the firewall at Lancaster.
Going back into uPortal (2.4.3)
ant clean compile
Error.
Addes to build.properties
backport.jar=${lib.path}/backport-util-concurrent.jar
ant compile works now :
ant clean compile deploy db initportal
Also used this to start hsql (on the mac)
http://localhost:8090/uPortal/render.userLayoutRootNode.uP
Cannot start uPortal
Sorry, but a problem is preventing the Portal from starting. The error must be corrected by system administrators. Try again later.
In Portal.log
ERROR [http-8090-Processor21] portal.RDBMUserIdentityStore.[] Sep/23 07:01:41 – RDBMUserIdentityStore::getPortalUID()
java.sql.SQLException: Table not found: UP_USER in statement [SELECT USER_ID, USER_DFLT_USR_ID FROM UP_USER WHERE USER_NAME=?]
oops – had cleaned out hsql *after* ant db ….
All better with a correct DB
start hsql
and then do
ant clean compile deploy db initportal
Moved all of the ogce skins into
./webpages/media/org/jasig/portal/layout/AL_TabColumn/integratedModes/
And restart. Can select amongst the 3 OGCE skins but missing all of the mainborder stuff. Wonder if we need to change the *other integratedModes.xsl file (the 140K one).
cd webpages/stylesheets/org/jasig/portal/layout/AL_TabColumn/integratedModes/
mv integratedModes.xsl integratedModes_old.xsl
cp ~/dev/ogce2/extras-uPortal/skin/integratedModes.xsl .
That looks bad before you log in :( :( :(
But once you log in and change the skin – things work.
How to change the default skin???
Change immII to ogce-round
vi webpages/stylesheets/org/jasig/portal/layout/AL_TabColumn/integratedModes/integratedModes.sdf
vi properties/db/data.xml
vi webpages/stylesheets/org/jasig/portal/channels/CSkinSelector/skinSelector.xsl
ant clean compile deploy db initportal
Since initportal includes deploy and db, this should be
ant clean compile initportal
All good.
Try now for the portlet
Put war file in sakai-test.war and restart
Some how channel configuration does not work.
sakai-test.SakaiLaunch
Trying to put sakai-test.war into uPortal_rel-2-4-3/lib/portlets
/Chuck