{"id":102,"date":"2005-10-13T15:04:00","date_gmt":"2005-10-13T19:04:00","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=102"},"modified":"2011-12-17T12:18:26","modified_gmt":"2011-12-17T16:18:26","slug":"fooling-with-uportal-notes","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2005\/10\/fooling-with-uportal-notes\/","title":{"rendered":"Fooling with uPortal Notes"},"content":{"rendered":"<p>This is just raw notes from working with Adrian at Lancaster.  Ultimately this was me getting up2.4 to work &#8211; Adrian did this with up2.5 and after a while I switched and helped him.<\/p>\n<p><!--more--><br \/>\nChanged tomcat to 8090 and 8095 ports<br \/>\nIn the uPortal_rel directory &#8211; switch to 8090<br \/>\ncsh<br \/>\nforeach i ( `grep -rl localhost:8080 *` )<br \/>\n\/bin\/rm -rf \/tmp\/x<br \/>\necho Converting 8080 to 8090 in $i<br \/>\nsed &#8216;s\/localhost:8080\/localhost:8090\/&#8217; < \"$i\" > \/tmp\/x<br \/>\ncp \/tmp\/x $i<br \/>\nend<br \/>\nvi &#8220;webpages\/stylesheets\/org\/jasig\/portal\/channels\/CContentSubscriber\/channel registry.xml&#8221;<br \/>\nmaven uPortalDeployAll<br \/>\nDid not work so wel because of the firewall at Lancaster.<br \/>\nGoing back into uPortal (2.4.3)<br \/>\nant clean compile<br \/>\nError.<br \/>\nAddes to build.properties<br \/>\nbackport.jar=${lib.path}\/backport-util-concurrent.jar<br \/>\nant compile works now :<br \/>\nant clean compile deploy db initportal<br \/>\nAlso used this to start hsql (on the mac)<br \/>\nhttp:\/\/localhost:8090\/uPortal\/render.userLayoutRootNode.uP<br \/>\nCannot start uPortal<br \/>\nSorry, but a problem is preventing the Portal from starting. The error must be corrected by system administrators. Try again later.<br \/>\nIn Portal.log<br \/>\nERROR [http-8090-Processor21] portal.RDBMUserIdentityStore.[] Sep\/23 07:01:41 &#8211; RDBMUserIdentityStore::getPortalUID()<br \/>\njava.sql.SQLException: Table not found: UP_USER in statement [SELECT USER_ID, USER_DFLT_USR_ID FROM UP_USER WHERE USER_NAME=?]<br \/>\noops &#8211; had cleaned out hsql *after* ant db &#8230;.<br \/>\nAll better with a correct DB<br \/>\nstart hsql<br \/>\nand then do<br \/>\nant clean compile deploy db initportal<br \/>\nMoved all of the ogce skins into<br \/>\n.\/webpages\/media\/org\/jasig\/portal\/layout\/AL_TabColumn\/integratedModes\/<br \/>\nAnd 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).<br \/>\ncd webpages\/stylesheets\/org\/jasig\/portal\/layout\/AL_TabColumn\/integratedModes\/<br \/>\nmv integratedModes.xsl integratedModes_old.xsl<br \/>\ncp ~\/dev\/ogce2\/extras-uPortal\/skin\/integratedModes.xsl .<br \/>\nThat looks bad before you log in :(  :( :(<br \/>\nBut once you log in and change the skin &#8211; things work.<br \/>\nHow to change the default skin???<br \/>\nChange immII to ogce-round<br \/>\nvi webpages\/stylesheets\/org\/jasig\/portal\/layout\/AL_TabColumn\/integratedModes\/integratedModes.sdf<br \/>\nvi properties\/db\/data.xml<br \/>\nvi webpages\/stylesheets\/org\/jasig\/portal\/channels\/CSkinSelector\/skinSelector.xsl<br \/>\nant clean compile deploy db initportal<br \/>\nSince initportal includes deploy and db, this should be<br \/>\nant clean compile initportal<br \/>\nAll good.<br \/>\nTry now for the portlet<br \/>\nPut war file in sakai-test.war and restart<br \/>\nSome how channel configuration does not work.<br \/>\nsakai-test.SakaiLaunch<br \/>\nTrying to put sakai-test.war into uPortal_rel-2-4-3\/lib\/portlets<br \/>\n\/Chuck<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just raw notes from working with Adrian at Lancaster. Ultimately this was me getting up2.4 to work &#8211; Adrian did this with up2.5 and after a while I switched and helped him.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":2186,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/102\/revisions\/2186"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}