oracle fusion middleware 11g java programming setup

7
Oracle University Technical Setup Document Oracle Fusion Middleware 11g : Java Programming Global Course Code: D53983!1" Last Modified: 19#Dec#$""8  Author: %ate &ea' Copyright © 2008, Oracle Corporation. All rights reserved.

Upload: ksknrindian

Post on 04-Jun-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 1/7

Oracle UniversityTechnical Setup Document 

Oracle Fusion Middleware 11g : Java Programming

Global Course Code: D53983!1"

Last Modified: 19#Dec#$""8

 Author: %ate &ea'

Copyright © 2008, Oracle Corporation. All rights reserved.

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 2/7

Overview

Introduction

Thank you for choosing Oracle University. This docuent contains course specific inforation only. !tdoes not descri"e the steps to install and replicate the technical environent for #hich this course #asdesigned. $efore proceeding, you ay find it helpful to print this docuent for ease of reference.

Configurations

This course re%uires a desktop &C for each student #ith all the re%uired soft#are installed on each &C. Ashared server is not re%uired. The follo#ing soft#are is re%uired'

• Oracle (ata"ase )* +0g +0.2 do#nload here-

• Oracle (eveloper ++ g  ++.+.+.0.0 #ith (/

• 1icrosoft !nternet *plorer 3.

• 4in5ip

• 4ordpad or 6otepad

&lease "e sure to thoroughly test your configuration and discuss this in detail #ith your Oracle University7epresentative.

Software Licenses & Support

&lease note the follo#ing as it relates to soft#are licenses and support'

• Oracle University does not provide product soft#are or licenses for onsite training events.

This docuent assues possession of all applica"le Oracle soft#are and associated licenses.

• !t is not possi"le to provide a coplete and thorough installation guide in this docuent,

though effort is ade to include iportant directions to follo# #hen perforing theinstallation. Custoers #ith product installation issues should open a 9ervice 7e%uest 97-#ith Oracle 4orld 4ide 9upport for resolution.

• 9oft#are installation docuents can "e found at'

http'::###.oracle.co:technology:docuentation:inde.htl

What You Need to Proceed

+. This setup docuent2. The files contained in D53!3"C##setup$%ip. !f you are issing all or part of these files, please

contact your Oracle University 7epresentative;. 7e%uired Oracle soft#are'

Nae Part 'Oracle (ata"ase +0g *press *dition +0.2- do#nloadNae Part '

Oracle (eveloper ++g

Copyright © 2008, Oracle Corporation. All rights reserved.2

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 3/7

PC C(ient Wor)station* Setup Instructions

+ardware ,e-uireents for C(ient Wor)station

,ecoended hardware re-uireents used in our configuration' If you are not using the same platform (system and operating system) as described in this table, pleaseconsult the installation guide for your specific platform.

*ach student student group- re%uires a desktop that eets the follo#ing re%uireents'

Operating 9yste4indo#s )& 9&2or 4indo#s 2000 9&<

C&U 2 =>5

1eory 2 =$

>ard (isk 9pace +? =$

@ideo+02<38 resolution, 2? color,30>5 refresh

1onitor +3 +02< 38 resolution at 301>5

C(7O1 < C(7O1 9C9! or *!(*

*thernet + "its +0 $ase T t#isted pair  

$ro#ser !* 3.0 or Birefo 2.0-

$ro#ser &lugin 6one

Wor)station Setup Instructions

Insta(( and configure the Orac(e ./ Data0ase #1g 2#1$4

+. (ou"leclick OracleXEUniv.exe to run the universal installer.

2. !n the Oracle (ata"ase +0g *press *dition !nstall 4i5ard #elcoe #indo#, click 6et.;. icense Agreeent' 9elect D! accept and click 6et.

Copyright © 2008, Oracle Corporation. All rights reserved.;

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 4/7

<. Choose (estination ocation' Accept the default location and click 6et. !f you do install to anondefault location, ensure that the directory path has no spaces.-

?. !f you are propted for a port nu"er, then specify one.The follo#ing port nu"ers are the default values'+?2+' Oracle data"ase listener 20;0' Oracle 9ervices for 1icrosoft Transaction 9erver 8080' >TT& port for the Oracle (ata"ase )* graphical user interface

!f these port nu"ers are not currently used, then the installation uses the autoatically#ithout propting you. !f they are in use, then you #ill "e propted to enter an availa"le portnu"er.

. 9pecify (ata"ase &ass#ords' Use the pass#ord oracle for the SYS and SYSTEM data"ase

accounts and click 6et.3. 9uary' Click !nstall.8. 4hen the installation is coplete, in the !nstall9hield 4i5ard Coplete #indo#, select Daunch

the (ata"ase hoepage and click Binish.E. 9et the data"ase to use less eory'

a. og in to the data"ase hoe page as sys:oracle. ". Click Adinistration F 1eory.c. Click Configure 9=A under Tasks at right side of #indo#.-d. *nter an 9=A Target of 200 and click Apply Changes.e. After the essage D9=A target updated appears, click &rogra =lo"al Area.f. *nter an Aggregate &=A Target of 30 and click Apply Changes.g. After the essage D&=A aggregate target updated appears, click ogout.h. Close the "ro#ser #indo#.

Insta(( Orac(e Deve(oper ##g and an Instance of Orac(e We0Logic Server

+. (ou"leclick jdevstudio11110.exe.

2. At the 4elcoe page of the Oracle !nstaller, click 6et.;. Choose 1iddle#are >oe (irectory page' Use C:\Oracle\Middleware  if you do choose a

different directory, ensure that the path does not contain spaces.-Note* This creates t#o su"directories'\jdeveloer , #hich is the (ev hoe directory, and

\wlserver!10." , #hich is the 49 hoe directory.

<. Choose !nstall Type page' 9elect the Coplete option.?. Confir &roduct !nstallation (irectories page' Click 6et.. Choose 9hortcut ocation page' Choose the DAll Users 9tart 1enu Bolder option.3. !nstallation 9uary page' Click 6et to start the installation.8. 4hen the installation is coplete, select the 7un Guickstart check "o and click (one.E. !n the Guick9tart dialog "o, select DConfigure doains for Oracle A(B.+0. At the 4elcoe page of the Oracle 4e"ogic Configuration 4i5ard, select the option to create a

ne# 4e"ogic doain and click 6et.++. 9elect (oain 9ource' 9elect the option D=enerate a doain configured autoatically to support

the follo#ing products and select the Application (evelopent Brae#ork check "o. Click 6et.

+2. Configure Adinistrator Usernae and &ass#ord' *nter we#lo$ic for "oth usernae and

 pass#ord, and then click 6et.+;. Configure 9erver 9tart 1ode and (/' Accept the defaults and click 6et.

+<. Custoi5e *nvironent and 9ervices 9ettings' Accept the defaults and click 6et.+?. Create 4e"ogic (oain' Bor a doain nae, enter %&'(S!do%ain . Accept the default

locations and click Create.+. Creating (oain' 4hen the progress indicator reaches +00H and the essage says, D(oain

Created 9uccessfullyI, select the 9tart Adin 9erver check "o and click (one.+3. A coand #indo# opens. 4hen it displays the essage'

 )*otice+ )'e#(o$icServer+ ),E-000"/0+ )Server started in U***2%ode+, take note of the port nu"er #here the server startedJ you #ill use this in testing. The

 port is sho#n in the coand #indo# #ithin the essage'D(efault is no# listening on +23.0.0.+'<port>.

Copyright © 2008, Oracle Corporation. All rights reserved.<

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 5/7

+8. 1inii5e the coand #indo#, "ut do not close it.+E. Create a desktop shortcut #ith the nae (eveloper for the 

C:\Oracle\Middleware\jdeveloer.exe eecuta"le.

Non6Orac(e software*

1icrosoft !nternet *plorer 3.0 9&+

Insta(( the La0 and Deo fi(es

+. Create a directory naed C:\la#s.$ The file 34"56"2C11setu.7i contains 3 5ip files'

• a" files are located in a file called D53983GC11labs.zip .

Un5ip this file into the C:\la#s directory.

• (eo files are located in a file called D53983GC11demos.zip.

Note* !f you donKt #ant the deos on the student achines, install the only on theinstructor &C.

Un5ip this file into a C:\de%os  directory.

The (?;E8;=C++L(eo=uide.doc descri"es each of the deos.

• 9chea creation scripts are located in a file called D53983GC11scripts.zip. Un5ip

this file into another teporary directory, such as C:\te%\courseSetu\ , so thatyou can use these scripts in the net step' !nstall the data"ase schea. Un5ipping createsa \scrits  su"directory.

Insta(( the data0ase schea

Caution: For security reasons, it is not advisable to installthe course schema into a production database. You mayneed the assistance of your DBA to access an account withthe privilege to create a user.

1. If you did not already do so in the previous step, unip the

D!"#$"%&11scripts.ip file to a temporary directory, such asC:\te%\courseSetu\ . 'his creates a \scrits subdirectory.

(. From the \scrits subdirectory, invo)e *+-lus and log on as SYSTEM oras another DBA-level user. You may need to ask your DBA to giveyou an account or to run the scripts for you. You must run thescripts from the \scrits subdirectory so that scripts in its subdirectory canbe located. For e/ample, assuming the default directory structure, thecommand to run *+-lus from the 0 database would be2

C:\oraclexe\a\oracle\roduct\10.8.0\server\,*\s9llus

". In the *+-lus window, run the createOE.s9l  script from the directory

where you unzipped it. For example:

S(;(US+Start createOE.s9l

3.   After control is returned to the createOE.s9l  script, the list of thecreated ob4ects is displayed along with any potential invalid ob4ects. 5unningthese scripts should ta)e less than a minute. You may rerun the createOE.s9l

script to drop and re6create the ob4ects.

Note: 'his script creates only a single user named oe.

Instructor 7achine

Copyright © 2008, Oracle Corporation. All rights reserved.?

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 6/7

The instructor achines should "e configured in the sae anner as the student &C #orkstations.>o#ever, if you donKt #ant the deos on the student achines, install the only on the instructor &C.

Software 8est Instructions #$ 8est connection to the Orac(e data0ase

• Open 9GM&lus if necessary

• Connect to the data"ase

• !ssue the follo#ing coand'

SQL> SELECT * from CUSTOMERS;

• The %uery should return ro#s fro the CU9TO1*79 ta"le successfully.

• *nter exit to %uit 9GM&lus

$ 8est connection to the Orac(e We0Logic server*

!n a "ro#ser, enter the U7' http'::localhost'<port>:console, #here <port> is the port nu"er #here

the 49 server started.

After the console application deploys, enter the usernae and pass#ord "oth are we#lo$ic- in the

4elcoe dialog "o and click og !n.

4hen the Oracle 4e"ogic 9erver Adinistration Console displays, ensure that it is connected toy49Ldoain, then click og Out.

Close the "ro#ser #indo#.

.

Copyright © 2008, Oracle Corporation. All rights reserved.

8/13/2019 Oracle Fusion Middleware 11g Java Programming Setup

http://slidepdf.com/reader/full/oracle-fusion-middleware-11g-java-programming-setup 7/7

C(ean 9p

Server C(ean69p

 6ot re%uired.

Wor)station C(ean69p

+. Use the 9ervices tool in the 4indo#s Control &anel to stop all the Oracle 9ervices. 

2. Bro the 9tart enu, select ;ro$ra%s < Oracle =usion Middleware <Uninstall Oracle Middleware.

;. (elete the C:\Oracle\Middleware directory if it #as not deleted "y the installer.

<. (elete the (eveloper desktop icon.

4e hope your Oracle University training eperience #as a positive oneI Bor inforation on additionaltraining services please visit us at >tt:??education.oracle.co%. 4e look for#ard to serving

you again in the future.

Copyright © 2008, Oracle Corporation. All rights reserved.3