JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Deploying Oracle Java CAPS Projects     Java CAPS Documentation
search filter icon
search icon

Document Information

1.  Deploying Java CAPS Projects

Creating a Deployment Profile

To create a Deployment Profile

Naming the Application File

To specify the filename of the EAR file in the NetBeans IDE

To specify the filename of the EAR file from the command line (Windows)

To specify the filename of the EAR file from the command line (AIX/LinuxSolaris)

Automapping

Mapping Variables

Version Control

Creating Snapshots

Retrieving Snapshots

Building an Application File

Building an Application File From the Command Line

To Set up Your System to Use commandline codegen

Windows Platform Procedures

To Build an Application File Based on a Property File Only (Windows)

To Build an Application File Using Command Line Parameters Only (Windows)

To Build an Application File Based on Both a Property File and Command Line Parameters (Windows)

UNIX Platform Procedures

To Build an Application File based on a Property File Only (AIX/Linux/Solaris)

To Build an Application File Using Command Line Parameters Only (AIX/Linux/Solaris)

To Build an Application File Based on Both a Property File and Command Line Parameters (AIX/Linux/Solaris)

Deploying Application Files from the NetBeans IDE

To Deploy an Application File from the NetBeans IDE

Deploying Application Files from Enterprise Manager

Adding the Application Server Domain to Enterprise Manager

To Add the Application Server Domain to Enterprise Manager

Deploying the Application File

To Deploy the Application File

Deploying Application Files from the Admin Console

To Deploy an Application File from the Admin Console

Deploying Application Files from the Command Line

Deploying from the asadmin Utility

Deploying from the asant Utility

Index

Deploying Application Files from Enterprise Manager

You can deploy a Java CAPS Repository-based project to GlassFish Application Server by using Enterprise Manager.

You can access Enterprise Manager with any of the following browsers:

These instructions assume that you have built an application file. See Building an Application File.


Note - If you deploy by using Enterprise Manager, then you cannot specify the server instance. Therefore, if the domain has multiple server instances, the application is deployed to all of the instances.


Adding the Application Server Domain to Enterprise Manager

In order to manage a GlassFish Application Server domain in Enterprise Manager, you must first add the domain.

To Add the Application Server Domain to Enterprise Manager

  1. Ensure that the application server is running.
  2. In the Explorer panel of Enterprise Manager, click the Java EE node.

    The Manage Servers tab appears.

  3. Enter the connection information.
    Field
    Description
    Server Type
    The type of application server. Set this field to Sun Java System Application Server Domain (9.1).
    Host Name
    The fully qualified host name (for example, myhost.company.com) or IP address of the computer on which the application server is running.
    HTTP Administration Port
    The port number of the Domain Administration Server.
    User Name
    The user name required to access the domain.
    Password
    The password required to access the domain.
  4. Click Connect to Server.

    The application server domain is added to the Current Application Server List table.


    image:Screen capture of the Current Application Server List table with the added server.

Deploying the Application File

Once you have added the GlassFish Application Server domain to Enterprise Manager, you can deploy the application file.

To Deploy the Application File

  1. Ensure that the application server is running.
  2. In the Details panel of Enterprise Manager, click the Deploy Applications tab.
  3. Click Browse and select the application file.
  4. Select the Deploy and Enable check boxes next to any appropriate server.

    There might be more than one server running.

  5. Click Deploy.

    The Results area indicates the status of the deployment.