Sun Java System Portal Server 7.1 Configuration Guide

Working With the Windows Platform

The details provided in the Configuration guide, such as default directories and commands are specific to the Solaris platform. You can use the same commands for Solaris, Linux, and HP-UX. If you install Portal Server on the Windows platform, a .bat extension is required with all the commands.


Example 1–1 Running the psconfig command

The psconfig command is run as follows on the Solaris platform:

PortalServer-base/SUNWportal/bin/psconfig --config configuration-xml-file

When you run the psconfig command on the Windows platform, use the command as follows:

JES-installer-base/portal/bin/psconfig.bat --config configuration-xml-file

where JES-installer-base is the directory where you installed Java ES components. For example, if C:/PROGRA~1/Sun/JavaES5 is the directory where you installed Java ES components, you need to run the psconfig command as follows:

C:/PROGRA~1/Sun/JavaES5/portal/bin/psconfig.bat --config configuration-xml-file



Example 1–2 Running the psadmin commands

All the commands of Portal Server are run from the /opt/SUNWportal/bin directory. The /opt/SUNWportal is the default installation directory of Portal Server.

The command to display help on the Solaris platform is run as follows:

/opt/SUNWportal/bin psadmin --help

On the Windows platform, use the command as follows:

PortalServer_base/portal/bin psadmin.bat --help



Example 1–3 Running the common agent container admin command

The command to start common agent container on the Solaris platform is as follows:

/usr/share/bin/cacaoadm start

On the Windows platform, use the command as follows:

JES_installer_base/share/cacao_2/bin/cacaoadm.bat start


The default installation directories of Java ES Components change based on the operating system. While running a command, you need to change the directories. In the Configuration guide, the information provided is specific to the Solaris platform. If you are using Windows, Linux, or HP-UX platform, refer to the following table for the default directories.

Table 1–2 Default Directories on LINUX, HP/UX, and Windows

Product Name

LINUX / HP-UNIX

Windows

Access Manager 

/opt/sun/identity 

JES_installer_base/identity

Access Manager configuration directory 

/etc/opt/sun/identity/config 

JES_installer_base/identity/config

Access Manager data directory 

/var/opt/sun/identity 

JES_installer_base/identity/data

Application Server install directory  

/opt/sun/appserver 

JES_installer_base/appserver

Application Server instance directory 

/var/opt/sun/appserver/ 

domains/domain1 

JES_installer_base/appserver/domains/domain1

Application Server docroot 

/var/opt/sun/appserver/ 

domains/domain1/docroot 

JES_installer_base/appserver/domains/ domain1/

docroot 

WebServer install directory 

/opt/sun/webserver7 

JES_installer_base/webserver7

WebServer docroot 

/var/opt/sun/webserver7/ 

https-instancename/docs 

JES_installer_base/webserver7/

https-instancename/docs 

Directory Server product directory 

/opt/sun/ds6 

JES_installer_base/DSEE/ds6

Directory Server instance directory 

/var/opt/sun/dsins1 

JES_installer_base/DSEE/var/DSInstance

Portal Server product directory 

/opt/sun/portal 

JES_installer_base/portal

Portal Server configuration directory 

/etc/opt/sun/portal 

JES_installer_base/portal/config

Portal Server data directory 

/var/opt/sun/portal 

JES_installer_base/portal/data

Common agent container product directory 

/opt/sun/cacao 

JES_installer_base/share/cacao_2

Common agent container configuration directory 

/etc/opt/sun/cacao/instances/default 

JES_installer_base/share/cacao_2/etc/cacao/

instances/default 

Registry lib directory 

/opt/sun/srvc-registry/lib 

JES_installer_base/srvc-registry/lib

MFWK lib directory 

/opt/sun/mfwk/share/lib 

JES_installer_base/share/mfwk/lib

MFWK bin directory 

/opt/sun/mfwk/bin 

JES_installer_base/share/mfwk/lib

Derby lib directory 

/opt/sun/javadb/lib 

JES_installer_base/javadb/lib

Webnfs lib directory 

/opt/sun/webnfs 

JES_installer_base/share/webnfs

Ant Home directory 

/opt/sun 

JES_installer_base/share/ant

Ant lib directory 

/opt/sun/share/lib 

JES_installer_base/share/ant/lib

Shared lib directory 

/opt/sun/share/lib 

JES_installer_base/share/lib

Private lib directory 

/opt/sun/private/share/lib 

JES_installer_base/share/lib

Java home 

/usr/jdk/entsys-j2se 

C:/Java/JDK15~3.0_0

JDMK lib directory 

/opt/sun/jdmk/5.1/lib 

JES_installer_base/share/lib

JAX lib directory 

/opt/sun/share/lib 

JES_installer_base/share/lib

NSS lib directory 

/opt/sun/private/lib 

JES_installer_base/share/lib

JSS Jar directory 

/opt/sun/private/lshare/lib 

JES_installer_base/share/lib