Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If one or more of your attribute sources are other databases, you need to configure the datasource details. This is done in uportal-war/src/main/resources/properties/contexts/datasourceContext.xml, by default as a direct connection to the database. This is great for builds but at runtime you probably want to use a JNDI datasource, which explains how to use a direct connection at build time and JNDI at runtime.

Step 4. Configure Groups

...

Code Block
ant clean deploy-ear  
  • Then, manually import the individual data files that have been updated. These are any files you changed under uportal-war/src/main/data, and you can do the imports using 'ant data-import'. See Import Export Data Migration Tools for instructions on this ant task.

Warning
DISCLAIMER: If you don't mind having your uportal database reinitialize where your database tables are dropped and recreated, the quickest way to deploy the above changes is to run 'ant initportal' command. This deploys the ear and updates the database as required. However, it's always recommended to use the deploy-ear command if you have customizations already configured. 

 

Step 8. Restart Tomcat

 

...

Code Block
$TOMCAT_HOME/bin/shutdown.sh
$TOMCAT_HOME/bin/startup.sh
Info
iconfalse
titleAdditional References
 

...