Sun Java System Portal Server 7 Installation Guide

Sun Java System Web Server Configuration


Tip –

See example1.xml, examples 3 to 9, and example13.xml files.


XML Fragment For Solaris on SPARC and x86

<WebContainerProperties
		Host="@HOST.DOMAIN@"
		Port="@PORT@"
		Scheme="http"
		WebContainerInstallDir="/opt/SUNWwbsvr"
		WebContainerInstanceName="@INSTANCENAME@"
		WebContainerInstanceDir="/opt/SUNWwbsvr/https-@INSTANCENAME@"
		WebContainerDocRoot="/opt/SUNWwbsvr/docs"
		WebContainerAdminHost=""
		WebContainerAdminPort="@ADMIN.PORT@"
		WebContainerAdminScheme="http"
		WebContainerAdminUid="admin"
		WebContainerAdminPassword="@PASSWORD@"
		WebContainerCertificateDBPassword=""
		WebContainerType="SJSWS6"
	/>

For Linux

<WebContainerProperties
		Host="@HOST.DOMAIN@"
		Port="@PORT@"
		Scheme="http"
		WebContainerInstallDir="/opt/sun/webserver"
		WebContainerInstanceName="@INSTANCENAME@"
		WebContainerInstanceDir="/opt/sun/webserver/https-@INSTANCENAME@"
		WebContainerDocRoot="/opt/sun/webserver/docs"
		WebContainerAdminHost=""
		WebContainerAdminPort="@ADMIN.PORT@"
		WebContainerAdminScheme="http"
		WebContainerAdminUid="admin"
		WebContainerAdminPassword="@PASSWORD@"
		WebContainerCertificateDBPassword=""
		WebContainerType="SJSWS6"
	/>

Tokens to Replace

@HOST.DOMAIN@

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

@PORT@

Web server port

@INSTANCENAME@

Web server instance name

@ADMIN.PORT@

Web server administration port

@PASSWORD@

Web server administrator's password

Values to Modify

WebContainerInstallDir, WebContainerInstanceDir, WebContainerDocRoot

If the web server is installed in a non-default location.

WebContainerAdminScheme, WebContainerCertificateDBPassword

If web server is installed in secure mode (https).