Sun Java System Portal Server 7 Installation Guide

Sun Java System Application Server Configuration


Tip –

See example14.xml file.


XML Fragment For Solaris on SPARC and x86

<WebContainerProperties
		Host="@HOST.DOMAIN@"
		Port="@PORT@"
		Scheme="http"
		WebContainerInstallDir="/opt/SUNWappserver/appserver"
		WebContainerInstanceName="server"
		WebContainerDomainName="domain1"
		WebContainerInstanceDir="/var/opt/SUNWappserver/domains/domain1"
		WebContainerDocRoot="/var/opt/SUNWappserver/domains/domain1/docroot"
		WebContainerAdminHost="@HOST.DOMAIN@"
		WebContainerAdminPort="@ADMIN.PORT@"
		WebContainerAdminScheme="https"
		WebContainerAdminUid="admin"
		WebContainerAdminPassword="@PASSWORD@"
		WebContainerMasterPassword="@MASTER.PASSWORD@"
		WebContainerType="SJSAS81"
	/>

XML Fragment For Linux

<WebContainerProperties
		Host="@HOST.DOMAIN@"
		Port="@PORT@"
		Scheme="http"
		WebContainerInstallDir="/opt/sun/appserver"
		WebContainerInstanceName="server"
		WebContainerDomainName="domain1"
		WebContainerInstanceDir="/var/opt/sun/appserver/domains/domain1"
		WebContainerDocRoot="/var/opt/sun/appserver/domains/domain1/docroot"
		WebContainerAdminHost="@HOST.DOMAIN@"
		WebContainerAdminPort="@ADMIN.PORT@"
		WebContainerAdminScheme="https"
		WebContainerAdminUid="admin"
		WebContainerAdminPassword="@PASSWORD@"
		WebContainerMasterPassword="@MASTER.PASSWORD@"
		WebContainerType="SJSAS81"
	/>

Tokens to Replace

@HOST.DOMAIN@

The host and domain name of the machine on which portal instance is to be configured

@PORT@

Application server port

@ADMIN.PORT@

Application server administration port

@PASSWORD@

Application server administrator's password

@MASTER.PASSWORD@

Application server Master Password if specified

Values to Modify

WebContainerInstallDir

If application server is installed at a non-default location

WebContainerDomainName, WebContainerInstanceDir, WebContainerDocRoot

If deploying to a non-default application server domain

WebContainerInstanceName

Instance name within the Application Server domain. The server is the name of the first instance which is created by default at the same time the Application Server 8.1 domain is created. This can be changed to the name of any other created instance within that domain.