Solved

Oracle 10g AS, deployment of applications

Posted on 2004-10-12
6
305 Views
Last Modified: 2013-12-01
Hi,

I am new to this Oracle 10gAS environment, could somebody please guide me how to deploy the applications(J2EE,three-tier) that is successfully running in Apache 4.1.X.

1. In which home should I deploy the applications (Currently I have two homes Oracle-Infrastructure  & Oracle-BusinessIntelligence).

2. While testing the example JSP/Servlets, server spitting JSP source code to client. How could I eliminate.

3. What is exact difference between Oracle Infrastructure and Business Intelligence.


0
Comment
Question by:sm_arasu
[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
6 Comments
 
LVL 13

Accepted Solution

by:
petmagdy earned 125 total points
ID: 12301217
Dear Sir,

First of all you application should be assembled to be a .war or .ear file, if ur Oracle enterprise manager is working (u can check that if u go to url http://{server-fqdn}:1810/ ) go to the Business intellegence instance and select on of the OC4j instances like OC4J_Portal and visually deploy ur war or ear application.

Or u can use command line admin tool dcmctl, go to businessintelligence home on (dcm/bin) and run a command like:

command prompt> dcmctl deployApplication  –file /path_to_ur_ear_file/YourApplication.ear –a YourApplicationApp –co OC4J_Portal

if deployed successfully ur application will be in the list if u run:

dcmctl listApplications –co OC4J_Portal

Good luck
0
 

Author Comment

by:sm_arasu
ID: 12305368
hey petmagdy,

Thanks for ur comments man. I am able to load a sample application as per ur guidance.

But in the current development environment, we want our three applications to be deployed in exploded directory structure than .ear file.

And we want these applications to be deployed in different OC4J instances in same/one island.

Is it possible to do thru Oracle Enterprise Manager's Admin console. OR  do we need to edit server.xml file in ..\j2ee\home\config\   directory.

Regards,
Mohan
0
 
LVL 13

Expert Comment

by:petmagdy
ID: 12305731
Hi Mohan...

First of do u really need to install Oraclce 10g AS Enterprise? do u need the portal or the business intellegence in ur application?

If you don't need all of this heavy staff just install the standalone version of OC4J it is much easier and strait forward, in the EE edition u can't play in server.xml dirrectly because the configuration is syncronized with correspondent configuration saved in the infrastructure database but u can do this in the standalone. In case of standalone OC4J for exploded directoy installation simply do the following in ..\j2ee\home\config\   directory:
1- in server.xml but this line:
      <application name="myAppName" path="c:\path to ur app" auto-start="true" />

2- in http-web-site.xml but this line:

      <web-app application="myAppName" name="your web app sub directort name" root="/webapp" />

then from command line at j2ee\home run:
command prompt> java -jar oc4j.jar

then in the browser try:
http://fqdn:888/webapp




0
 
LVL 13

Expert Comment

by:petmagdy
ID: 12379873
sm_arasu, did u suceed in ur deployments, am i going to see some points ? ;) :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

697 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