Solved

Oracle 10g AS, deployment of applications

Posted on 2004-10-12
6
298 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

785 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