Solved

Deployment of application into OC4J 1.0.2.2.1 running inside Oracle9iAS 1.0.2.2.2

Posted on 2004-04-25
3
873 Views
Last Modified: 2013-12-01
Hello,

I have finished coding a servlet and jsp application, which my client has forced me to develop on OC4J 1.0.2.2.1 I did the development on OC4J 1.0.2.2.1 Standalone; deployment will be into his machine running OC4J 1.0.2.2.1 inside Oracle Oracle9iAS 1.0.2.2.2.  

My plan is to ship him the .war file, and have him manually make the necessary changes to the configuration files (data-sources.xml. application.xml, and default-web-site.xml).  

Now I know that in OC4J 9.0.4 inside Oracle9iAS 9.0.4, your're supposed to make changes to the configuration files only through Enterprise Manager or through the DCMCTL utility.  Otherwise, you risk corrupting the infrastructure repository in which the configuration parameters are stored.  If you do make manual changes to the configuration files, you are supposed to execute dcmctl -update Config -ct oc4j afterwards, to avoid corrupting the infrastructure repository.  -- You can make manual changes to the configuration files only in the Standalone version.

If I understand correctly, however, OC4J 1.0.2.2.1 inside Oracle9iAs 1.0.2.2.2 is not nearly as tightly integrated with Oracle9iAS 1.0.2.2.2.  So the OC4J-1.0.2.2.1-inside-Oracle9iAs-10.2.2.2 configuration parameters are not stored in the infrastructure repository.  So it's possible to make manual changes to data-sources.xml and the other configuration files without worrying about possible corruption to the infrastructure repository or anything else.  So my client can (or I can, if he ever gives me access to his box) make the changes to the configuration files and deploy the application into his part-of-Oracle9iAS-10.2.2.2-OC4J exactly the same way I deploy to my Standalone OC4J.

Is my understanding correct, or am I way off base?

Cliff Wirt
0
Comment
Question by:CliffWirt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Assisted Solution

by:rogerperkins
rogerperkins earned 20 total points
ID: 10925357
You can corrupt your Infrastructure any time you use dcmctl commands and the EMWebsite at the same time, if you are not going to use the EMWebsite, it is best to disable the EMWebsite service, I'm not sure if they got that corruption problem resolved in 10g but I would just assume they didn't.  Also I think there is a dcmctl command to backup your configuration before you run -update Config.
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 20 total points
ID: 10962243
0
 
LVL 9

Accepted Solution

by:
vzilka earned 460 total points
ID: 10973098
You are totally correct. In 1.0.2.2.1(2) there is no dcmctl or emctl for you to use. In fact, the OC4J installation in that version came as a seperate zip file to install. Don't worry, your client can update his config files freely.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question