The Sun Java System App Server Plug-In provides a number of specific component types and provides easy access to functions for working with Sun Java System App Server applications. This chapter describes the following information:
Use the Sun Java System App Server Common Tasks page as a starting point to create and manage Application Server instances and clusters.
The provisioning system allows you to provision and manage applications.
The Sun Java System App Server plug-in provides both plans and component procedures as tools for you to perform tasks. By using plans, you link directly to the functionality you desire. Using component procedures, you have a greater number of tasks that you can perform.
This section describes the requirements for using the Sun Java System App Server Plug-In.
The owner of the web server instance should be the same user that installs Sun Java System App Server. Otherwise, the load balancer files will not be installed or created properly.
To configure topologies involving clusters spanning multiple machines, ensure that the user who owns the distributions (Master Server and Remote Agents) and the user who runs the Master Server and Remote Agents are the same.
Creating a Sun Java System App Server environment within the provisioning system is similar to the process of creating the environment without the provisioning system.
Import the Application Server plug-in.
Set the Application Server session variables.
Prepare all hosts.
Create an Application Server Domain Administration Server.
(Optional) Create an Application Server cluster.
Create server instances as a part of the cluster or domain.
(Optional) Create additional resources used by the applications.
(Optional) Configure the JMS server.
Capture application files (EARs and WARs).
Deploy applications to target instances or clusters.
This section describes how to prepare your Sun N1 Service Provisioning System installation to take advantage of the features provided by Sun Java System App Server Plug-In.
The following are component procedures for Sun Java System App Server 8.1 Install Management:
Installs Sun Java System App Server on the target host and marks the component installed in the Sun N1 Service Provisioning System database.
Same as markOnly; marks the component uninstalled in the Sun N1 Service Provisioning System database.
Uninstalls Sun Java System App Server from the target host and marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Select the AppServer 8.1 icon under the Common Tasks section of the left control panel.
Click the SJSAS 8.1 Install Management: Install or Uninstall link.
Click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the Install component that you plan to deploy.
The Install component installs the Sun Java System App Server on a Remote Agent. After you have installed the Install component on a Remote Agent, you do not have to reinstall that component again.
When you run the plan to install a new domain or server instance, the provisioning system checks to see if an Install component exists in the installPath directory. If the Install component is already installed, the provisioning system does not reinstall the Install component.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
Required. The location where the Sun Java System App Server software will be installed.
Required. The location of the Sun Java System App Server package installer.
Typically this is an NFS-mounted directory containing the extracted Sun Java System App Server installer. For example (assuming the sourceImage binary was downloaded into the /net/mymachine/nfs directory), if the value of sourceImage is /net/mymachine/nfs/sjsappserver8.1, you would do the following before installing the Sun Java System App Server software:
# mkdir /net/mymachine/nfs/sjsappserver8.1
# cd /net/mymachine/nfs/sjsappserver8.1
# unzip ../sjsas_ee-8_1_01_2005Q1-solaris-sparc.bin
Upon unzipping the binary, you will find a file called setup. Use chmod 755 setup to turn on executable permissions on the file. Executable permissions need to be enabled as well to the other files in the <sourceImage>/package/jre/bin/java directory.
Required. A unique ID to associate domains, clusters, node agents, and Application Server instances with an Install component. If installing on multiple hosts, set installId to :[target:sys.hostName].
The user name of the administrator of the domain or cluster.
Typically this will be picked up from the session variables.
The password for the administrator login of the domain or cluster.
Typically this will be picked up from the session variables.
If you are using a web server load balancer with the domain or cluster, enter the type of web server here. Valid entries are Sun ONE Web Server or Apache HTTP Server.
The web server must already be installed on the target host.
Location of the web server, used when installing the load balancer plug-in. For Sun ONE Web Server, enter the instance directory. For Apache HTTP Server, enter the install directory.
The directory where the load balancer configuration file, loadbalancer.xml will be located.
Only set this variable if the load balancing plug-in is already installed on the web server gateway host.
If set to true, the administrator's password will be encrypted. The default is false.
The port on which the Application Server domain administration server listens. The default is 4849. The port is used to create the default domain, domain1.
The port on which deployed web applications run. The default is 8090. The port is used to create the default domain, domain1.
The port on which secure HTTP (HTTPS) applications are run. The default is 1043. The port is used to create the default domain, domain1.
If true, a domain containing Application Server sample applications will be installed on the instance. The default is false.
If true, the administrator's password will be written to a file. The default is false.
The location of temporary files used during installation.
We recommend that you do not change this variable.
The password for the keystore certificate. The default value is changeit.
The directory location where the default domain, domain1, will be created.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Install the Application Server software on the Remote Agent.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
The Domain Administration Server manages Application Server domains. It must be installed before you can create individual clusters and/or managed server instances. When you install a Domain Administration Server, you create an initial domain and an administration server that controls that domain.
To create an Application Server domain, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains click Manage.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the Domain Administration Server you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate a Domain Administration Server with an install image.
The name of the domain you wish to create.
The user name of the administrator of the domain or cluster.
The password for the administrator login of the domain or cluster.
The name of the host on which the Domain Administration Server will be installed.
The HTTP port range prefix. For example, a value of 100 means the HTTP port range begin with 10000. The default value is 100.
The HTTP listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 00. If portRangePrefix is set to 100, the HTTP listener port is 10000.
The HTTPS listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 05. If portRangePrefix is set to 100, the HTTPS listener port is 10005.
The default port number for the Domain Administration Server.
The Internet Inter-Orb Protrocol (IIOP) listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 10. If portRangePrefix is set to 100, the IIOP listener port is 10010.
The SSL-enabled Internet Inter-Orb Protrocol (IIOP) listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 15. If portRangePrefix is set to 100, the secure IIOP listener port is 10015.
The SSL-enabled Internet Inter-Orb Protrocol (IIOP) listener port for mutual authorization, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 20. If portRangePrefix is set to 100, the mutual authorization secure IIOP listener port is 10020.
The port on which the Java Messaging Service (JMS) connector listens. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 25. If portRangePrefix is set to 100, the JMS connector port is 10025.
The location where the Application Server is installed.
The password used for the keystore certificate. The default value is changeit.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Install the Domain Administration Server and the domain on the Remote Agent.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
You can run multiple Application Server instances in each domain.
Before you create an Application Server instance, you must do the following:
Create the domain on which the server instance will run.
For information on creating a domain, see Creating the Sun Java System App Server Domain Infrastructure
The Domain Administration Server must be running.
To manually start a Domain Administration Server, see How to Start a Domain Administration Server
You must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 Managed Server Instances click Manage.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the managed server instance you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate an Application Server instance with an Install Component.
The domain name in which this server instance will be located
The name of the server.
The HTTP port range prefix. For example, a value of 100 means the HTTP port range begin with 10000. The default value is 100.
The HTTP listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 00. If portRangePrefix is set to 100, the HTTP listener port is 10000.
The HTTPS listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 05. If portRangePrefix is set to 100, the HTTPS listener port is 10005.
The Internet Inter-Orb Protocol (IIOP) listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 10. If portRangePrefix is set to 100, the IIOP listener port is 10010.
The SSL-enabled Internet Inter-Orb Protocol (IIOP) listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 15. If portRangePrefix is set to 100, the secure IIOP listener port is 10015.
The SSL-enabled Internet Inter-Orb Protocol (IIOP) listener port for mutual authorization, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 20. If portRangePrefix is set to 100, the mutual authorization secure IIOP listener port is 10020.
This variable is not in use.
The name of the cluster to which this server instance belongs. If no cluster is specified the server instance is a standalone server. By default no cluster is specified.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Install the server instance on the Remote Agent.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
A cluster is a collection of zero or more server instances with the following properties:
All instances in the cluster reference the same configuration.
All instances in the cluster have the same set of deployed applications (for example, J2EE application EAR, web module WAR, or ejb jar file).
All instances in the cluster have the same set off resources, resulting in the same JNDI namespace.
The server instances that constitute a cluster can run on the same machine, or can be located on different machines. Each cluster member in a cluster must run the same version of Application Server.
A cluster provides:
Increase application availability with the server's failover capabilities.
Increase throughput by scaling applications across multiple servers.
Before you create a cluster, you must create a Domain Administration Server.
To create a cluster, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 clusters click Manage.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the cluster you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate a Cluster with an Install Component.
The domain name in which this cluster will be located
The name of the cluster.
The HTTP port range prefix. For example, a value of 100 means the HTTP port range begin with 10000. The default value is 100.
The HTTP listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 00. If portRangePrefix is set to 100, the HTTP listener port is 10000.
The HTTPS listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 05. If portRangePrefix is set to 100, the HTTPS listener port is 10005.
The Internet Inter-Orb Protocol (IIOP) listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 10. If portRangePrefix is set to 100, the IIOP listener port is 10010.
The SSL-enabled Internet Inter-Orb Protocol (IIOP) listener port, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 15. If portRangePrefix is set to 100, the secure IIOP listener port is 10015.
The SSL-enabled Internet Inter-Orb Protocol (IIOP) listener port for mutual authorization, used with portRangePrefix. The valid range is 1–65553. For port numbers 1–1024, superuser permissions are required. The default is portRangePrefix plus 20. If portRangePrefix is set to 100, the mutual authorization secure IIOP listener port is 10020.
This variable is not in use.
If true, applications deployed to this cluster will be load balanced. The default is false.
If true, applications responding to HTTPS requests will be load balanced. This variable has no effect if httpLoadBalancer is false. The default is false.
If true, the load balancer will route cookies. This variable has no effect if httpLoadBalancer is false. The default is false.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Install the cluster on the Remote Agent.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
Click the AppServer 8.1 link under the Common Tasks section of the left control panel.
Click the SJSAS 8.1 Install Management: Install or Uninstall link.
Click the Run action next to uninstall: uninstallAppServer.
This section describes how to maintain Sun Java System App Server managed server instances and clusters.
The following are component procedures for Sun Java System App Server 8.1 Domain Management:
Creates a domain on the target host and marks the component installed in the Sun N1 Service Provisioning System database.
Same as markOnly; marks the component and also the dependant components as uninstalled in the Sun N1 Service Provisioning System database.
Deletes the domain from the target host and marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Starts the domain and the dependant components.
Stops the domain and the dependant components.
Verifies that the domain is running.
Starts the domain admin server.
Stops the domain admin server.
Lists all domains.
By removing an Application Server domain through the provisioning system, you automatically perform the following tasks:
Uninstall the Domain Administration Server.
Uninstall all Managed Servers components in the domain.
Uninstall all cluster components in the domain.
Remove application components and applications.
To remove an Application Server domain, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to run the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains click Manage.
Under Component Procedures click the Run action next to uninstall: default.
Under Current Installations, select the domains that you would like to remove.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
Starting a complete domain starts the domain's Domain Administration Server if it is not currently running, all clusters in the domain, and all managed server instances in the domain.
To start an Application Server domain, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to run the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains, click Manage.
Under Component Procedures, click the Run action next to startCompleteDomain.
Under Current Installations, select the domain that you would like to start.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
Stopping a completed domain stops all running clusters and all running managed server instances for a particular domain.
To stop an Application Server domain, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to run the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains click Manage.
Under Component Procedures click the Run action next to stopCompleteDomain.
Under Current Installations, select the domain that you would like to stop.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To start an Application Server Domain Administration Server, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to run the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains click Manage.
Under Component Procedures click the Run action next to startDomainServer.
Under Current Installations, select the domains that you would like to start.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To stop an Application Server Domain Administration Server, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to run the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains click Manage.
Under Component Procedures click the Run action next to stopDomainServer.
Under Current Installations, select the domains that you would like to stop.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
You can verify that a Domain Administration Server is running on a particular installation.
To verify a Domain Administration Server is running, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to run the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 domains click Manage.
Under Component Procedures, click the Run action next to verifyDomainServerRunning.
Under Current Installations, select the domains that you would like to verify.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
The following are component procedures for Sun Java System App Server 8.1 Cluster Management:
Creates a cluster on the target host and marks the component as installed in the Sun N1 Service Provisioning System database.
Marks the component as installed in the Sun N1 Service Provisioning System database. This procedure does not create any dependency on other components.
Similar to markOnly; marks the component and also dependant components as uninstalled in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database. This procedure does not mark the dependant components as uninstalled in the Sun N1 Service Provisioning System database.
Deletes the cluster from the target host. Marks the component as uninstalled, removes the component, and removes dependant components in the Sun N1 Service Provisioning System database.
Starts the cluster. The cluster must contain one or more Managed Server components.
Stops the cluster.
Verifies that the cluster is running.
When you remove a cluster, all managed server instances associated with that cluster are also removed.
To remove a cluster, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 clusters click Manage.
Under Component Procedures, click the Run action next to uninstall: default.
Under Current Installations, select the clusters that you would like to remove.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To start a cluster, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
A cluster is not a running instance, so when you start the cluster, you are actually starting the managed server instances associated with the cluster.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 clusters click Manage.
Under Component Procedures, click the Run action next to start.
Under Current Installations, select the clusters that you would like to start.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To stop a cluster, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 clusters click Manage.
Under Component Procedures, click the Run action next to stop.
Under Current Installations, select the clusters that you would like to stop.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To verify a cluster, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 clusters click Manage.
Under Component Procedures, click the Run action next to verifyClusterRunning.
Under Current Installations, select the clusters that you would like to verify.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
The following are component procedures for Sun Java System App Server 8.1 Managed Server Instance Management:
Creates a server instance on the target host, marks this component as installed in the Sun N1 Service Provisioning System database and creates the dependency.
Marks the component as installed in the Sun N1 Service Provisioning System database and does not create any dependency.
Marks the component and dependent components as uninstalled in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database. This procedure does not mark the dependant components as uninstalled in the Sun N1 Service Provisioning System database.
Deletes the server instance from the target host. Marks the component as uninstalled, removes the component, and removes dependant components in the Sun N1 Service Provisioning System database.
Starts the server instances.
Stops the server instances.
Verifies that the server is running.
To remove a server instance you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 Managed Server Instances click Manage.
Under Component Procedures, click the Run action next to uninstall: default.
Under Current Installations, select the server instances that you would like to remove.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To start a server instance, you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 Managed Server Instances click Manage.
Under Component Procedures, click the Run action next to start.
Under Current Installations, select the server instances that you would like to start.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To stop a server instance you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 Managed Server Instances click Manage.
Under Component Procedures, click the Run action next to stop.
Under Current Installations, select the server instances that you would like to stop.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
To verify a server instance is running you must belong to a user group that has the Run Component Procedures permission on the folder that contains the component. You must also have the Allow on Host Set permission for the host set on which you plan to deploy the component.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS 8.1 AppServer infrastructure->SJSAS 8.1 Managed Server Instances click Manage.
Under Component Procedures, click the Run action next to verifyServerRunning.
Under Current Installations, select the server instance that you would like to verify.
Click the Run Selected Installations button.
Click the Run Plan (Includes Preflight) button.
This section describes how to manage Sun Java System App Server applications.
The Sun Java System App Server Plug-In supports two types of application deployments:
Enterprise Applications (EARs)
Web Applications (WARs)
Managing the Application is a two step process involving:
1. Capturing the Application in to the Sun N1 Service Provisioning System Master Server.
2. Installing and Uninstalling the Application.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS Application Tasks->Enterprise Applications (EARs) click Create New.
Enter a component directory for this component. The com/sun/sjsas81 namespace is not valid.
Enter a label for this component.
Enter a description for this component.
Enter the host where the EAR file is located.
To select the host from a list, click Select From List.
Navigate to the location of the EAR.
Select the EAR and click Open Highlighted Item.
Click Check In Selected Item.
Confirm the information on the check-in page, then click Continue to Check-in.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS Application Tasks->Web Applications (WARs) click Create New.
Enter a component directory for this component. The com/sun/sjsas81 namespace is not valid.
Enter a label for this component.
Enter a description for this component.
Enter the host where the WAR file is located.
To select the host from a list, click Select From List.
Navigate to the location of the WAR.
Select the WAR and click Open Highlighted Item.
Click Check In Selected Item.
Confirm the information on the check-in page, then click Continue to Check-in.
The following are component procedures for the Sun Java System App Server EAR Management:
Deploys the EAR to the target host and marks the component installed in the Sun N1 Service Provisioning System database.
Marks the component installed in the Sun N1 Service Provisioning System database.
Undeploys the EAR from the target host and marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS Application Tasks->Enterprise Applications (EARs) click View All.
Click the name of the EAR you want to install.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the EAR you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate the EAR with an Install component.
The domain name in which this EAR will be installed
The cluster name or server instance where the EAR will be deployed.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS Application Tasks->Enterprise Applications (EARs) click View All.
Click the name of the EAR you want to uninstall.
Under Component Procedures click the Run action next to uninstall: default.
Select the installation from which you want the EAR removed.
Click the Run Selected Installations button.
Click the Run Plan (includes preflight) button.
The following are component procedures for the Sun Java System App Server WAR Management:
Deploys the WAR to the target host and marks the component installed in the Sun N1 Service Provisioning System database.
Marks the component installed in the Sun N1 Service Provisioning System database.
Undeploys the WAR from the target host and marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS Application Tasks->Web Applications (WARs) click View All.
Click the name of the WAR you want to install.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the WAR you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate the WAR with an Install component.
The domain name in which this WAR will be installed
The cluster name or server instance where the WAR will be deployed.
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Deselect the Target Host Set checkbox.
Under Plan Variables set the context root of the web application.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS Application Tasks->Web Applications (WARs) click View All.
Click the name of the WAR you want to uninstall.
Under Component Procedures click the Run action next to uninstall: default.
Select the installation from which you want the WAR removed.
Click the Run Selected Installations button.
Click the Run Plan (includes preflight) button.
This section describes how to manage Sun Java System App Server resources: JMS resources, JDBC resources, and thread pools.
The following are component procedures for Sun Java System App Server 8.1 JMS Resource Management:
Marks the component as installed in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Creates a JMS Resource on the target host.
Deletes a JMS Resource from the target host.
Lists JMS Resources.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JMS Resource click Manage JMS Resources.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the JMS Resource you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate the JMS Resource with an Install component.
The domain name in which this JMS Resource will be located
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JMS Resource click Manage JMS Resources.
Under Component Procedures click the Run action next to createJMSResource.
Select the installation on which you want to create the JMS resource.
Under Plan Variables:
Select the resource type. It can be one of:
Topic
Queue
ConnectionFactory
TopicConnectionFactory
QueueConnectionFactory
Enter the JNDI name for the resource.
Enter the target cluster or server name where the resource will be created.
(Optional) Enter a description of the resource.
Enter any JMS properties, separated by colons (:).
Valid property names are:
ClientId
AddressList
MessageServiceAddressList
UserName
Password
ReconnectEnabled
ReconnectAttempts
ReconnectInterval
AddressListBehavior
AddressListIterations
Click Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JMS Resource click Manage JMS Resources.
Under Component Procedures click the Run action next to deleteJMSResource.
Select the installation on which you want to delete the JMS resource.
Under Plan Variables:
Click the Run Plan (includes preflight) button.
The following are component procedures for Sun Java System App Server 8.1 JDBC Resource and Connection Pool Management:
Marks the component as installed in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Creates a JDBC Resource on the target host.
Deletes a JDBC Resource from the target host.
Lists JDBC Resources.
Creates a JDBC connection pool on the target host.
Deletes a JDBC connection pool from the target host.
Lists JDBC connection pools.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the JDBC Resource you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate the JDBC Resource with an Install component.
The domain name in which this JDBC Resource will be located
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
A JDBC Connection Pool must be created before creating a JDBC Resource.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to createJDBCResource.
Select the installation on which you want to create the JDBC resource.
Under Plan Variables:
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to deleteJDBCResource.
Select the installation on which you want to delete the JDBC resource.
Under Plan Variables:
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to listJDBCResources.
Select the installation on which you want to list the JDBC resources.
Under Plan Variables enter the target cluster or server instance name on which you want to list the JDBC Resources.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to createJDBCConnectionPool.
Select the installation on which you want to create the connection pool.
Under Plan Variables:
Set the name of the Connection Pool.
(Optional) Enter a description of the connection pool.
Enter the JDBC data source resource manager for your connection pool.
Enter the interface the data source class implements.
Valid entries are:
DataSource
ConnectionPoolDataSource
XADataSource
Enter the minimum number of connections created by the pool.
Enter the maximum number of connections maintained by the pool.
Enter the number of connections to be removed when the time out timer expires.
Enter the maximum number of seconds a connection can be idle in the pool.
Enter the transaction isolation level for the connection pool.
Valid entries are:
read-uncommitted
read-committed
repeatable-read
serializable
If the entry is blank, the default isolation level of the JDBC driver is used.
Specify whether the connections should be validated before being allocated to an application. Valid entries are true or false.
Enter any attribute name/value pairs for the JDBC driver.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to deleteJDBCConnectionPool.
Select the installation on which you want to delete the JDBC Connection Pools.
Under Plan Variables:
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 JDBC Resource click Manage JDBC Resources.
Under Component Procedures click the Run action next to listJDBCConnectionPools.
Select the installation on which you want to list the JDBC Connection Pools.
Click the Run Plan (includes preflight) button.
The following are component procedures for Sun Java System App Server 8.1 Thread Pool Management:
Marks the component as installed in the Sun N1 Service Provisioning System database.
Marks the component as uninstalled in the Sun N1 Service Provisioning System database.
Creates a Thread Pool Resource on the target host.
Deletes a Thread Pool Resource from the target host.
Lists Thread Pool Resources.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 Threadpool Resource click Manage Threadpool Resources.
Under Component Procedures click the Run action next to install: default.
In the Plan Parameters area, select the variable settings for the Thread Pool Resource you want to install.
If the variable settings have been established for this component, select the appropriate settings from the menu.
If the settings are not available from the menu, click Select From List.
The Select Variable Settings From List window displays.
To create a new set of variable settings, select Create Set.
The following list provides commonly-updated variables for the Install component.
Required. A name for the new variable set you create.
A unique ID to associate the thread pool resource with an Install component.
The domain name in which this thread pool resource will be located
To use variable components from another component, click Import Set.
For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.
Select the target host.
Deselect the Target Host Set checkbox.
If you want to run a detailed check (preflight) before installing, select Perform Detailed Preflight.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 Threadpool Resource click Manage Threadpool Resources.
Under Component Procedures click the Run action next to createThreadpool.
Select the installation on which you want to create the thread pool.
Under Plan Variables:
Enter the thread pool ID.
Enter the maximum number of threads in the thread pool servicing requests.
Enter the minimum number of threads in the thread pool servicing requests.
Enter the idle time out value, in seconds, after which idle threads will be returned to the pool.
Enter the total number of work queues serviced by the thread pool.
Enter the cluster or server instance name on which the thread pool will be created.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 Threadpool Resource click Manage Threadpool Resources.
Under Component Procedures click the Run action next to deleteThreadpool.
Select the installation on which you want to delete the thread pool.
Click the Run Plan (includes preflight) button.
From the Common Tasks section in the browser interface, click AppServer 8.1.
Under SJSAS AppServer Resources->SJSAS 8.1 Threadpool Resource click Manage Threadpool Resources.
Under Component Procedures click the Run action next to listThreadpools.
Select the installation on which you want to list the thread pools.
Under Plan Variables enter the target cluster or server instance name on which you want to list the thread pools.
Click the Run Plan (includes preflight) button.
This section describes common problem you might encounter while using the Sun Java System Application Server Plug-In 3.0.
If you encounter an error when running a task, double check that you didn't make these common mistakes.
When you create a variable set used by a plan, it is easy to enter the wrong variable value. For example, you might incorrectly enter a cluster name instead of a domain name.
When entering ports in a variable set, check to make sure the ports are available on the target host.
The com.sun.sjsas81 namespace is invalid for user-supplied applications. When you enter a component directory for an application, make sure you change the namespace, as com.sun.sjsas81 is selected by default.
If you encounter errors when trying to install plug-in components, make sure the sourceImage variable points to a directory containing a valid install image of Sun Java System App Server.
The user should make sure he uninstalls/deletes even the hidden components before deleting a plug-in. More details on plug-in deletion can be found in a ReadMe.txt file after importing the plug-in.