Sun GlassFish Mobility Platform 1.1 Developer's Guide for Enterprise Connectors

ProcedureTo Deploy an Enterprise Connector

  1. Log in to the Enterprise Server Administration Console.

    1. In a browser, type the Administration Console URL (usually http://localhost:4848/).

    2. Type the administrator username and password (usually admin and adminpass).

    3. Click the Login button.

  2. In the navigation tree, expand the Applications node.

  3. Under the Applications node, select the Web Applications node.

    The Web Applications page opens.

  4. (Optional) If you plan to deploy the MusicDB JAX-RS Enterprise Connector, select musicdb-ws and click the Undeploy button.

  5. Click the Deploy button.

    The Deploy Enterprise Applications/Modules page opens.

  6. On the Deploy Enterprise Applications/Modules page, verify that Packaged File to be Uploaded to the Server is selected, then click Browse.

  7. In the file chooser, navigate to the location of the WAR file and click Open.

    The WAR file is normally in the directory NetBeansProjects/project-name/target. On a Windows system, the NetBeansProjects directory is under My Documents.

    The new musicdb-ws project is in the directory sgmp-client-1_1_01-fcs-b02/samples/secure-musicdb/src/connector/jaxrs/musicdb-ws-3.1.39/target.

  8. If necessary, change the Application Name and Context Root by removing the version part of the WAR file name.

  9. Click OK.

    The deployed Enterprise Connector appears in the Web Applications table.

Next Steps

Next, use the Enterprise Server Administration Console to configure the Enterprise Connector.