Solved

Oracle 10g AS, deployment of applications

Posted on 2004-10-12
6
289 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
sm_arasu, did u suceed in ur deployments, am i going to see some points ? ;) :)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now