Deploying the application to Oracle Application Server

Release 9.3 E-mail This Topic Printable Version Give Us Feedback

The deployment procedures below are for using Sun Java System Application Server 8.2. The procedures for using different versions of the Sun Java System may vary.

In Manager, locate the existing Web application on the Applications page.

  1. Check the box next to the Web application you want to deploy to Tomcat and hit the 'Export' button.
  2. In the File Download dialog that appears, click the Save button.
  3. In the 'Save as type:' section, choose All Files.
  4. The default file name extension will be .zip. Change this to .war and save it to the file system. Click the 'Close' button when Save is complete. (For example: /usr/home/temp/myapp.war)
  5. Place the .war file in the <oracle_home>/j2ee/home/applications directory
  6. Start the Oracle Application Server and login to the Oracle Enterprise Manager at http://localhost:8888/em
  7. Go to the applications tab and click Deploy
  8. Choose "Archive is already present..." and type the location and name of the .war file(For example: <oracle_home>/oas/j2ee/home/applications/parcels.war)
  9. Verify that "Automatically create a new deployment plan" is selected
  10. Click Next to get to Step 2 of 3
  11. Enter the name of the application
  12. Verify the Context Root field has the correct name and click Next to get to Step 3 of 3
  13. On the Step 3 of 3 page of the "Deploy: Deployment Settings" page, click on the pencil symbol under the Go To Task column for Map Security Roles
  14. Click on the pencil symbol in the Map Role field. NOTE: Setting up roles is optional. You can continue to step 17 if you do not wish to secure your application.
  15. Type the name of the user or group you want to add and click Add. You may repeat this steps for all users and groups you want to add.
  16. Click Continue
  17. Click OK to close the Map Security Roles window
  18. Click Deploy
  19. Logout of the Enterprise Manager and restart OAS for the changes to take effect.
To deploy an ArcGIS Manager generated EAR file through Oracle Application Server Control, perform the following steps:
  1. Open your browser and enter the following URL: http://hostname.domain:7777/em
  2. Click the home link in the Cluster Topology page.
  3. Enter oc4jadmin in the User Name field and enter the password you configured your Oracle application server with in the Password field. Click Login.
  4. The OC4J home component page opens. You should be able to see status/performance metrics for this Oc4J instance.
  5. Now, use the applications page link to view and manage your J2EE applications (deployed to the Oc4J container). Click the Applications page link to display the applications for the home instance.
  6. Click deploy to launch the deploy application wizard.
  7. On the deploy, select archive page and browse to select the manager generated ear file from the files directory as the EAR file to deploy. Click Next.
  8. Configure Application Attributes if needed and give the application a name (type the same in Application Name field). Click Next.
  9. Now Click Deploy on the Deploy: Deployment Settings page.
  10. The GIS EJB Application should have successfully deployed. Click Return on the Confirmation page. Application Server control should return you back to the application property page of the Oc4J home instance.
  11. Note that your deployed EJB application shows up in the list.