?
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
Medium Priority
?
878 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 80 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 80 total points
ID: 10962243
0
 
LVL 9

Accepted Solution

by:
vzilka earned 1840 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

719 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