DBA Tips Archive for Oracle


Deploying Applications

by Jeff Hunter, Sr. Database Administrator


You can deploy a J2EE Web application to the OC4J Web server using either the -deploy option with the admin.jar command line tool or by manually adding the appropriate elements to the OC4J XML configuration files. The following document explains how to deploy an application to the OC4J server using both methods.

For the purpose of this document, I will provide all examples using a fictitious application called my_app.

Before performing the actual "deployment" steps to OC4J, you will need to perform the following actions:

Deploying Application Using admin.jar -deploy

You can make use of the admin.jar command-line utility to deploy the my_app application. The following two commands can be used to deploy the J2EE application as well as the Web application. Using this method allows for remote deployment.

Deploying Application by Manually Adding XML Elements

In order to register the my_app applciation, you will need to add the J2EE application in the server.xml file and its Web application in the http-web-site.xml file.

Copyright (c) 1998-2018 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Friday, 01-Nov-2002 00:00:00 EST
Page Count: 10620