Sun Java Enterprise System 5 Installation Reference for UNIX

Chapter 2 Default Installation Directories and Ports

This chapter lists the installation directories and port numbers that the Sun JavaTM Enterprise System (Java ES) installer uses by default.

This chapter contains the following sections:

Default Installation Directories

The Java ES installer automatically installs product components in default directories unless you specify otherwise. In most cases, you can specify a custom location to override a default location when you are specifying configuration values during or after installation. Use the default installation directory when installing product components, if possible. If you specify an alternative installation directory, you are responsible for consistently pointing components to that installation directory during configuration.


Note –

The installation directories for the following components cannot be changed: HADB, Java DB, Message Queue, Monitoring Console, Sun Cluster components.


The following table lists the default installation directories for the Java ES product components.

Table 2–1 Default Installation Directories for Product Components

Label and State File Parameter 

Default Directory 

Comment 

Access Manager

CMN_IS_INSTALLDIR

Solaris OS: /opt/SUNWam

Linux and HP-UX: /opt/sun/identity

 

Application Server 

CMN_AS_INSTALLDIR

Solaris OS: /opt/SUNWappserver/appserver

Linux and HP-UX: /opt/sun/appserver

Contains Application Server utilities, executables, and libraries. 

Application Server Domains 

CMN_AS_DOMAINDIR

Solaris OS: /var/opt/SUNWappserver/domains

Linux and HP-UX: 

/var/opt/sun/appserver/domains

Default area under which administrative domains are created. 

Directory Preparation Tool 

CMN_DSSETUP_INSTALLDIR

Solaris OS: /opt/SUNWcomds

Linux: /opt/sun/comms/dssetup

Directory Preparation Tool is not supported on HP-UX. 

Directory Server Core 

DSEE_BASE

Solaris OS: /opt/SUNWdsee/ds6

Linux and HP-UX: /opt/sun/ds6

Separately located subcomponents of Directory Server EE include Directory Server Core, Directory Service Control Center, and Directory Proxy Server. 

Directory Service Control Center

DSEE_BASE

Solaris OS: /opt/SUNWdsee/dscc6

Linux and HP-UX: /opt/sun/dscc6

Directory Proxy Server 

DSEE_BASE

Solaris OS: /opt/SUNWdsee/dps6

Linux and HP-UX: /opt/sun/dps6

Directory Server Instance Directory 

DSEE_INSTANCE_DIR

Solaris OS: /var/opt/SUNWdsee/dsins1

Linux and HP-UX: /var/opt/sun/dsins1

 

HADB 

CMN_HADB_INSTALLDIR

You cannot change the installation directory, so there is no field in the installer or parameter in the state file. 

Solaris OS: /opt/SUNWhadb

Linux and HP-UX: /opt/SUNWhadb

HADB install locations are not relocatable in Java ES installation. 

Solaris OS: /var/opt/SUNWhadb

Linux and HP-UX: /var/opt/SUNWhadb

HADB Repository Data and Log location. 

Solaris OS: /etc/opt/SUNWhadb

Linux and HP-UX: /etc/opt/SUNWhadb

HADB Management Agent Config File 

Solaris OS and Linux: /etc/init.d/ma-initd

HADB Management Agent Startup Script 

Java DB 

JAVADB_BASDIR

You cannot change the installation directory, so there is no field in the installer or parameter in the state file. 

Solaris: /opt/SUNWjavadb

Linux and HP-UX: /opt/sun/javadb

 

Message Queue 

You cannot change the installation directory, so there is no field in the installer or parameter in the state file. 

Not applicable 

Solaris OS: 

/usr/bin

/usr/share/lib

/usr/share/lib/imq

/etc/imq

/var/imq

/usr/share/javadoc/imq

/usr/demo/imq

/opt/SUNWimq

Linux and HP-UX: 

/opt/sun/mq

/etc/opt/sun/mq

/var/opt/sun/mq

Monitoring Console 

CMN_MC_INSTALLDIR

You cannot change the installation directory so there is no field in the installer or parameter in the state file. 

Solaris OS: /opt/SUNWjesmc

Linux and HP-UX: /opt/sun/jesmc

 

Portal Server 

CMN_PS_INSTALLDIR

Solaris OS: /opt/SUNWportal

Linux and HP-UX: /opt/sun/portal

 

Portal Server Secure Remote Access 

CMN_SRA_INSTALLDIR

Solaris OS: /opt/SUNWportal

Linux and HP-UX: /opt/sun/portal

Portal Server Secure Remote Access Core must be installed in the same directory as Portal Server. 

Service Registry 

CMN_REG_SERVER_ROOT

Solaris OS: /opt/SUNWsrvc-registry

Linux and HP-UX: /opt/sun/srvc-registry

 

Sun Cluster 

You cannot change the installation directory, so there is no field in the installer or parameter in the state file.  

Not applicable 

Sun Cluster components are only supported on Solaris OS. 

Sun Cluster software is installed in the following locations on Solaris OS: 

/

/usr/opt

/usr/cluster

Web Proxy Server 

CMN_WPS_INSTALLDIR

Solaris OS: /opt/SUNWproxy

Linux and HP-UX: /opt/sun/webproxyserver

 

Web Server Directory 

CMN_WS_INSTALLDIR

Solaris OS: /opt/SUNWwbsvr7

Linux and HP-UX: /opt/sun/webserver7

 

Web Server Instance Directory 

CMN_WS_INSTANCEDIR

Solaris OS: /var/opt/SUNWwbsvr7

Linux and HP-UX: /var/opt/sun/webserver7

 

Default Port Numbers

When the Java ES installer requests a port number, the installer performs a runtime check on the ports in use and displays an appropriate default value. If the default port number is being used by another component or by another instance of the same product component, the installer presents an alternative value.

The following table lists the default Java ES product component port numbers and the purpose of each port.


Note –

Portal Server is not listed in this table because it uses the port numbering of the web container into which it is deployed.


Table 2–2 Default Port Numbers

Product Component 

Port 

Purpose 

Access Manager 

58946 

UNIX authentication helper 

58943 

Secure ID authentication helper (Solaris SPARC only) 

Application Server 

8080 

Standard instance HTTP port 

3700 

Standard IIOP port 

4849 

Administration Server HTTPS port 

7676 

Standard Message Queue port 

8686 

JMX port 

8181 

Standard instance HTTPS port 

Common agent container 

11162 

JMX port (TCP) 

11161 

SNMP Adaptor port (UDP) 

11162 

SNMP Adaptor port for traps (UDP) 

11163 

Commandstream Adaptor port (TCP) 

11164 

RMI Connector port (TCP) 

Common agent container for Sun Cluster and Sun Cluster Geographic Edition 

10162 

JMX port (TCP) 

10161 

SNMP Adaptor port (UDP) 

10162 

SNMP Adaptor port for traps (UDP) 

10163 

Commandstream Adaptor port (TCP) 

10164 

RMI Connector port (TCP) 

Directory Proxy Server 

389 

Standard LDAP listener 

636 

LDAPS over SSL 

Directory Server 

389 

Standard LDAP listener 

636 

LDAPS over SSL 

Directory Server Control Center 

6789 

Sun Java Web Console listener 

HADB 

1862 

Management Agent Port (JMX) 

15200 

Default Portbase 

Java DB 

1527 

Also for Apache Derby 

Message Queue 

80 

Standard HTTP port 

7676 

Port Mapper 

7674 

HTTPS Tunneling Servlet Port 

7675 

HTTP Tunneling Servlet Port 

Monitoring Console 

6789 

Accessed through Sun Java Web Console 

8765 

Job Factories port for Master Agent Web Services Adaptor 

11161 

SNMP port for Monitoring Framework 

11164 

RMI port for Monitoring Framework 

54320 

Multicast port for Monitoring Framework discovery protocol 

Portal Server Secure Remote Access 

8080 

Standard HTTP Port 

443 

HTTP over SSL 

10443 

Rewriter Proxy port 

10555 

Netlet Proxy port 

Service Registry 

6480 

HTTP port 

6443 

HTTPS port 

6484 

Message Queue Port 

6485 

IIOP port 

6486 

IIOP SSL port 

6487 

IIOP Mutual Authentication port 

6488 

JMX port 

6489 

Application Server domain administration port 

Sun Cluster Software 

23 

Use Telnet port 23 for Sun Fire 15000 system controller 

161 

Simple Network Management Protocol (SNMP) agent communication port 

3000 

SunPlex Installer port 

5000–5010 

Console access port (Add 5000 to the physical port number.) 

6789 

SunPlex Manager accessed through Sun Java Web Console 

8059–8062 

Cluster private interconnect 

Web Proxy Server 

8888 

Administration Port 

8080 

Proxy Instance Port 

Web Server 

8800 

Admin HTTP port 

8989 

Admin SSL port. For Admin Server, SSL port is required, HTTP port is optional. 

80 

Instance HTTP port