Sun Java System Portal Server 7 Installation Guide

Required Configuration

This section describes the overall Portal Server, header/footer, shared components, and the Access Manager elements in the configuration file. See example2.xml file.

For Solaris on SPARC and x86

<?xml version = "1.0" encoding = "UTF-8"?>
<PortalServerConfiguration xmlns:xsi=
 "http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation=
 "file:///opt/SUNWportal/lib/psconfig.xsd" SchemaVersion="1.0">
		<Configure ConfigurationHostName=
      "@HOST.DOMAIN@" SystemUser="root" SystemGroup="other" Validate="true">
			<SharedComponents
				JavaHome="/usr/jdk/entsys-j2se"
				CacaoProdDir="/opt/SUNWcacao"
				CacaoConfigDir="/etc/opt/SUNWcacao"
				SharedLibDir="/usr/share/lib"
				PrivateLibDir="/usr/share/lib"
				JDMKLibDir="/opt/SUNWjdmk/5.1/lib"
				NSSLibDir="/usr/lib/mps/secv1"
				JSSJarDir="/usr/share/lib/mps/secv1"
				WebNFSLibDir="/opt/SUNWebnfs"
				DerbyLibDir="/usr/share/lib/Derby"
				AntLibDir="/usr/sfw/lib/ant"
				AntHomeDir="/usr/sfw"
         RegistryLibDir="/opt/SUNWsoar/lib"
			/>
			<AccessManager>
				<InstallationDirectory
					ProdDir="/opt/SUNWam"
					DataDir="/var/opt/SUNWam"
					ConfigDir="/etc/opt/SUNWam/config"
					ConfigFile="AMConfig.properties"
				/>
				<UserCredentials
					AdministratorUID="amadmin"
					AdministratorUserPassword="@AMADMIN.PASSWORD@"
					LDAPUserId="amldapuser"
					LDAPUserIdPassword="@AMLDAPUSER.PASSWORD@"
					DirectoryManagerDn="cn=Directory Manager"
				DirectoryManagerPassword="@DIRMGR.PASSWORD@"/>
			</AccessManager>
			<PortalConfiguration>
				<InstallationDirectory
					ProdDir="/opt/SUNWportal"
					DataDir="/var/opt/SUNWportal"
				ConfigDir="/etc/opt/SUNWportal"/>
				<ComponentsToConfigure>
					.
					.
					.
				</ComponentsToConfigure>
				.
				.
				.
			</PortalConfiguration>
			.
			.
			.
		</Configure>
</PortalServerConfiguration>

For Linux

<?xml version = "1.0" encoding = "UTF-8"?>
<PortalServerConfiguration xmlns:xsi=
 "http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation=
 "file:///opt/sun/portal/lib/psconfig.xsd" SchemaVersion="1.0">
		<Configure  ConfigurationHostName=
      "@HOST.DOMAIN@" SystemUser="root" SystemGroup="other" Validate="true">
			<SharedComponents
				JavaHome="/usr/jdk/entsys-j2se"
				CacaoProdDir="/opt/sun/cacao"
				CacaoConfigDir="/etc/opt/sun/cacao"
				SharedLibDir="/opt/sun/share/lib"
				PrivateLibDir="/opt/sun/private/share/lib"
				JDMKLibDir="/opt/sun/jdmk/5.1/lib"
				NSSLibDir="/opt/sun/private/lib"
				JSSJarDir="/opt/sun/private/share/lib"
				WebNFSLibDir="/opt/sun/webnfs"
				DerbyLibDir="/opt/sun/share/lib/Derby"
				AntHomeDir="/opt/sun/share"
				AntLibDir="/opt/sun/share/lib"
         RegistryLibDir="/opt/sun/SUNWsoar/lib"
			/>
			<AccessManager>
				<InstallationDirectory
					ProdDir="/opt/sun/identity"
					DataDir="/var/opt/sun/identity"
					ConfigDir="/etc/opt/sun/identity/config"
					ConfigFile="AMConfig.properties"
				/>
				<UserCredentials
					AdministratorUID="amadmin"
					AdministratorUserPassword="@AMADMIN.PASSWORD@"
					LDAPUserId="amldapuser"
					LDAPUserIdPassword="@AMLDAPUSER.PASSWORD@"
					DirectoryManagerDn="cn=Directory Manager"
				DirectoryManagerPassword="@DIRMGR.PASSWORD@"/>
			</AccessManager>
			<PortalConfiguration>
				<InstallationDirectory
					ProdDir="/opt/sun/portal"
					DataDir="/var/opt/sun/portal"
				ConfigDir="/etc/opt/sun/portal"/>
				<ComponentsToConfigure>
					.
					.
					.
				</ComponentsToConfigure>
				.
				.
				.
			</PortalConfiguration>
			.
			.
			.
		</Configure>
</PortalServerConfiguration>

Tokens to Replace

@HOST.DOMAIN@

The host and domain name of the machine on which configuration is occurring.

@AMADMIN.PASSWORD@

Administrator's password for the Access Manager instance with which Portal is to be configured.

@AMLDAPUSER.PASSWORD@

Internal LDAP User password for the Access Manager instance with which Portal is to be configured.

@DIRMGR.PASSWORD@

Administrator's password of the Directory Server with which Portal is to be configured.

Values to Modify

PortalServerConfiguration xsi:noNamespaceSchemaLocation

If portal is installed in a non-default location, then this location needs to be changed accordingly.

SharedComponents JCIFSLibDir

JCIFS is an optional 3rd party component that is required only by the Netfile component. Install the JCIFS package and specify the lib location here.

SharedComponents JChardet

JChardet is an optional 3rd party component that is required only by the Netfile component. Install the JChardet package and specify the lib location here.

AccessManager InstallationDirectory ProdDir, DataDir, ConfigDir

Specify the installation location of Access Manager software here if it was not installed in the default location.

PortalConfiguration InstallationDirectory ProdDir, DataDir, ConfigDir

Specify the installation location of Portal Server software here if it was not installed in the default location.