Solved

Oracle 10g AS, deployment of applications

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java bean related info 28 644
Comet channel best practices and HA 6 50
difference between member and local variables. 29 140
application cannot connect to database server for query 13 101
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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