Content Management and User Interface Customization in uPortal Seminar

How to convert uPortal-2-5-1-quick-start to DLM

The instructions for making this conversion are also in the DLM Administration Guide: http://www.ja-sig.org/wiki/display/UPC/DLM+Administration+GuideNote that in the quick start there are two ant build.xml files - one at the top level and the other in the uPortal_rel-2-5-1 directory.

Step 1.

In the quick start directory tree go to the properties directory and edit portal.properties settings as follows:

org.jasig.portal.layout.UserLayoutStoreFactory.implementation=org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore
org.jasig.portal.layout.UserLayoutManagerFactory.coreImplementation=org.jasig.portal.layout.dlm.DistributedLayoutManager 

After changing this value go to the uPortal_rel-2-5-1 directory and redeploy using, "ant deploy".

Step 2.

Modify user accounts in the database. Specifically, the UP_USER_PROFILE table contains a lookup of the structure and theme stylesheets that should be used by users.

  • Start HSQLDB by using "ant hsql" from the top directory of the quick start.
  • Next, in the demo directory under HSQLDB_1-7-2-11 start the hsql manager with the command runManager (bat or .sh file).
  • Under File>Connect choose

Type:

HSQL Database Engine Server

Driver:

org.hsqldb.jdbcDriver

Url:

jdbc:hsqldb:hsql://localhost:8887

User:

sa

Execute the SQL:

UPDATE up_user_profile SET structure_ss_id=4, theme_ss_id=3
WHERE theme_ss_id=11;

commit;

Step 3.

Start Tomcat using "ant tomcatstart" from the top level quick start directory.

You should now see the Guest page with the DLM "Welcome" channel on the first tab.