Solved

Oracle 10g AS, deployment of applications

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
questions about oracle weblogic cluster 4 179
Can I clean log of  running tomcat 7 server ? 3 125
DOWNLOADING Java SE6 or later 3 141
starOut java challenge 95 182
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…
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 teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

895 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

14 Experts available now in Live!

Get 1:1 Help Now