You are on page 1of 30

Directory Structure / File Placement Requirements

Describe the directory structure and file placement requirements. At a minimum, provide details
on, or a directory tree of, the location of the files to be used during lab practices (including
solution / catch-up scripts, and demo files, if any). Also, specify the Oracle product home path(s)
-- for example in UNIX, /u01/app/oracle/product/11.2.0/dbhome_1. The below directions assume
the SOA system is is installed on the D: drive - just change the drive letter to C: for t he C: drive,
etc.
The files in italics are downloaded from otn.oracle.com and may be placed in any folder. In a n
umber of the following steps it is assumed they were downloaded to the D:\stage folder.

Name of
Install Location (where file should go)
file / product Filename

Comments

Oracle
Express
Universal
(XE
Database)

D:\oraclexe

RCU

ofm_rcu_win_11.1.1.5.0_disk1_1of1.zip

WebLogic
Server

D:\Oracle\fmw\11.1.1.5\wlserver_10.3

SOA Suite

D:\Oracle\fmw\11.1.1.5\Oracle_SOA1
ofm_soa_generic_11.1.1.5.0_disk1_1of2.zip
ofm_soa_generic_11.1.1.5.0_disk1_2of2.zip

JDK 1.6.64
bit

D:\jdk_16025x64
jdk-6u25-windows-x64.exe

JDK 1.6 32
bit

D:\jdk_16025
jdk-6u25-windows-i586.exe

JDeveloper

D:\Oracle\JDev11115\jdeveloper
jdevstudio11115install.jar

lab files

D:\labs

JXplorer

D:\stage\Downloads or anyother folder
jxplorer-3.2.1-windows-installer.exe

Used to initialize LDAP
server

XMail

D:\stage\Downloads or anyother folder
xmail-1.27.win32bin.zip

If do email notification

OracleXEUniv_10g2.exe

wls1035_generic.jar

Middleware Home is
D:\Oracle\fmw\11.1.1.5

Needed for install of
JXplorer

1

Setup Instructions
Install the Sun JDK Software
This section provides the steps to install the Sun 32-bit JDK and Sun 64-bit JDK on to the
Windows system.

Assumptions
You are using Windows 7 Pro 64x Edition.

Tasks - Update 25, 26 can be used. Other versions will have to be tested.
1. Run the Sun JDK installer using jdk-6u25-windows-i586.exe and install the 32-bit
JDK into the D:\jdk_16025 folder. Needed for install of Jxplorer.
2. Run the Sun JDK installer using jdk-6u25-windows-x64.exe and install the 64-bit
JDK into the D:\jdk_16025x64 folder.

Set Window Environment Variables
This section describes how to set the JAVA_HOME, and JDEV_USER_DIR environment variables
that are needed for applications that are installed in the classroom environment.

Assumptions
The Sun 32-bit and 64-bit JDKs are installed in the D:\jdk_16025 and
D:\jdk_16025x64 folders.

Tasks
Set the JAVA_HOME and JDEV_USER_DIR user environment variables by performing the
following steps:
1.
2.
3.
4.
5.
6.
7.
8.
9.

On the Windows Desktop, right-click the My Computer icon and select Properties.
In the System Properties window, click the Advanced System Settings link.
On the Advanced tabbed page, click Environment Variables.
To create the JAVA_HOME environment variable, in the Environment Variables dialog
box, under the "User variables for Administrator" section, click New.
In the New User Variable dialog box, in “Variable name” enter JAVA_HOME, and in
“Variable value” enter: D:\jdk_16025x64, and click OK.
To create the JDEV_USER_DIR environment variable, in the Environment Variables
dialog box, under the "User variables for Administrator" section, click New.
In the New User Variable dialog box, in “Variable name” enter JDEV_USER_DIR, and in
“Variable value” enter: D:\labs, and click OK.
In the Environment Variables dialog box, click OK.
In the System Properties window, click OK.

2

Install Oracle Database 10g XE Universal Edition
This section provides the steps to install the Oracle Database 10g Express (XE) Universal
Edition, and configure the processes to the correct value.

Assumptions
You have downloaded the OracleXEUniv.exe (OracleXEUniv_10g2.exe) software from
OTN.

Tasks
1. Double-click the OracleXEUniv.exe file and perform the instructions in the following steps:
a) On the Welcome page, click Next.
b) On the License Agreement page, select “I accept the terms in the license
agreement” option, and click Next.
c) On the Choose Database Destination page, accept the default, or click Browse to
change the destination as desired, and click Next.
d) On the Specify Database Passwords page, enter oracle in the password and
confirm password fields, and click Next.
e) On the Summary page, click Install, and wait for installation to complete.
f) On the Finish page, click Finish.
Note: The default database home page is displayed in the Web browser. Close the
Web browser page.
2. Start the SQL*Plus command line tool by selecting the following menu: Start > All Programs
> Oracle Database 10g Express Edition > Run SQL Command Line.
3. Run the file D:\stage\xe_params.bat, OR in the SQL command window enter the
following commands:
SQL> connect sys/password as sysdba
Connected.
SQL> ALTER USER hr IDENTIFIED BY hr ACCOUNT UNLOCK;
SQL> ALTER USER xdb IDENTIFIED BY xdb ACCOUNT UNLOCK;
SQL>
SQL> ALTER SYSTEM SET sessions=200 scope=spfile;
SQL> ALTER SYSTEM SET processes=300 scope=spfile;
SQL> shutdown immediate
SQL> startup
SQL> exit

Note: Close the SQL*Plus command window.

3

bat using Windows Explorer After the Repository Creation Utility (RCU) application starts.zip file to the D:\temp folder.bat from the Windows command line. In Windows Explorer.30.bat 2.1. Double click rcu. as revealed by a series of exceptions in the SOA Server log at startup. The RCU install was corrupt or incomplete on test machine 10. To run the RCU utility start it by one of the two methods below: 1.5. From a DOS window enter the following commands: D:\> cd D:\temp\rcuHome\bin D:\> rcu.1.150.zip file and select WinZip > Extract to here Note: The unzip operation creates the rcuHome sub folder. Select the Create option.bat. 2.5.zip file and select WinZip > Extract to here Note: The unzip operation creates the rcuHome sub folder.0_disk1_1of1. • Dropping the tables from rcu.131. Copy the ofm_rcu_win_11. 4 .1. Refer to the Quick Start Guide pages 12-19 for exact sequence I completed.1. I corrected the problem by: • Stopping the SOA Server.1. rather than the silent install script noted below.0_disk1_1of1.Assumptions Tasks 1.Run the Oracle Repository Creation Utility 1. use the following table of instructions to install the SOA Schemas: Step Window a Welcome b Create Action Click Next.4. • Executing the command set RCU_JDBC_TRIM_BLOCKS=TRUE • Running the rcu.1. right-click D:\temp\ofm_rcu_win_11. In Windows Explorer. and click Next.0_disk1_1of1. right-click D:\temp\ofm_rcu_win_11.

Verify that the operation completed OK. When tablespace Creation Utility creation is complete. Repository Creation Utility RCU performs another prerequisites check. Click Next. Creation Utility Click OK Repository This dialog box displays while creating the tablespaces. Note: Production systems should be using a supported Oracle Database version. select the “SOA and BPM Infrastructure” check box. and enter the password fields as follows: Schema Password: welcome1 Passwords Confirm Password: welcome1 Click Next.Repository Database c Connection Details Hostname: localhost Port: 1521 Service Name: XE Username: sys Password: oracle Role: SYSDBA Click Next. Select Note: When you select the specified entry. Checking Prerequisites Accept the default “Use same passwords for all schemas” selection option. the rows of the component table Components are expanded and other dependencies are also selected. and click Next. the following warning dialog box displays: Repository d Creation Utility For the classroom environment. because the classroom machine uses Oracle Database 10g XE. you can click Ignore. click OK 5 . and click OK. Checking Prerequisites Accept the default “Create a new Prefix” option and the value DEV in the associated field. Map Accept the supplied settings for the default and temporary tablespace Tablespaces selections for each schema owner. and therefore you would not see this warning dialog box. and click OK. RCU performs some prerequisites checks and during this time. e f g h h j k Repository Creation Utility Verify that all prerequisite checks have passed. A dialog box prompts to confirm if you want to create the tablespaces that do Repository not already exist. The SOAINFRA schema is used for both SOA and BPM components. In the Component table.

if open Install Oracle WebLogic Service 10.5 Click Next. See Install the Sun JDK Software.5 perform the following steps: 1.jar 3. cd to the folder containing wls1035_generic. 2. and click Create. To do this we assume that the JAVA_HOME user environment variable references the D:\jdk_16025x64 folder where the 64-bit JDK is installed. Deselect the I wish to receive security updates via My Oracle Support check box. 3.5 and create the Middleware home folder. Assumptions You must use the generic installer and perform a 64-bit installation.jar and enter the following commands: PATH=%JAVA_HOME%\bin. Optionally.1. Note: The installer may not deselect the check box and persist in asking the same question each time in different screens. Note: The “Repository Creation Utility – Create” dialog box displays showing creation progress. and the dialog box is closed.a minute or two. Wait for the jar file to extract itself . close the Command Prompt window . Open a command prompt window on the Windows Desktop. and click Close. Ensure you work though the 6 .%PATH% java -D64 -jar wls1035_generic. Tasks To Install Oracle WebLogic Server 10.3. click Yes.5 This section provides the steps to install the Oracle WebLogic Server 10.3.3. Verify that each of the component schemas indicates a success status. and when the Are you sure? confirmation prompt window is displayed.1. It takes about two minutes to create the schemas.Creating Tablespaces l Summary Completion m Summary Review the information. Step Window a Welcome b c Choose Middleware Home Directory Register for Security Updates Action Click Next. When the installation screen is displayed perform instructions in the following steps. Select the option: Create a new Middleware Home and enter: D:\Oracle\fmw\11.

5. Installation The installation starts.zip and select WinZip > Extract to here.6 Click Next. The checkbox still may not be deselected after several tries. Then Click Next. and click Done. Click Next. Disk2. Disk4 and Disk5 sub folders. d e f g h Installation Complete i Deselect the Run Quickstart check box. and click Next.5. Accept the default selection of the “All Users Start Menu folder Choose (recommended)” option.0_disk1_2of2.1.1.1. In the installation wizard.5\coherence_3.   Right-click D:\temp\ofm_soa_generic_11.zip and select WinZip > Extract to here. Shortcut Location NOTE: This dialog may not show! Click Next.6. ensure the Sun JDK 1.0_disk1_1of2.1. enter the values shown in the following table: 7 . Note: This creates the Disk1. Type Click Next. Accept the default WebLogic Server Product Installation Directory of: D:\Oracle\fmw\11. Install Oracle SOA Suite 11g Assumptions Tasks 1. 2.1. On Window Explorer window. Open a command window and enter the following commands:   D:\> cd d:\temp\Disk1 D:\> setup –jreLoc D:\jdk_16025x64 3.subsequent prompts and always choose to not receive security updates for the course installation.3 Choose Product Install And note that the Coherence directory is: Directories D:\Oracle\fmw\11. Wait for the Installation complete page to be Summary displayed.1. Disk3.1.1. Right-click D:\temp\ofm_soa_generic_11. In the Local JDK field.0_25 JDK Selection (D:\jdk_16025x64) check box is selected.5\wlserver_10. Choose Install Accept the default type of Typical.

5 Accept the default Oracle Home Directory: Oracle_SOA1 d Installation Location (Note: the last character is the digit “one”) Click Next.5\Oracle_SOA1\soa\thirdparty\edifecs folder. f Installation Summary Review the summary information. right-click XEngine_win. Close the command window that contains the setup command.5\Oracle_SOA1\common\bin D:\> config.1. Optionally. and select the following check boxes (accepting additional prerequisites that are automatically selected): 8 .1. h Installation Complete Click Finish. browse for and locate the D:\Oracle\fmw\11.1. Step a b Double click config. g Installation Progress Wait for installation progress to complete. e Application Server Accept the default “WebLogic Server” option and click Next. and click Install. Install the edifecs engine   Using Windows Explorer.zip and select WinZip > Extract to here.cmd using Windows Explorer in the above folder Window Action Accept the default “Create a new WebLogic domain” option (or Welcome select the option) and click Next. Wait for the checks to be completed. Select Domain Source Accept or select the default option “Generate a domain automatically configured to support the following products:”. Oracle Middleware Home: D:\Oracle\fmw\11. Create a WebLogic Server Domain for SOA.1. EM.cmd 2.1. In Windows Explorer. Click Next.Step Window Action a Welcome Click Next. c Prerequisite Checks Click Next. click Save to create an installation response file. and BAM components.1. To run the domain config utility start it by one of the two methods below: 1. 5. From a DOS window enter the following commands: D:\> cd D:\Oracle\fmw\11. 4. b Install Software Updates Select “Skip Software Updates” option and click Next.

Click Next.11. Configuration Click Next. it is not used for the administration purposes and practices in the Oracle SOA Suite 11g: Administration course. Make sure all connections are successful.5 [Oracle_SOA1] Click Next. by ensuring the Status column has a green tick icon for each data source.0 [oracle_common] * Oracle Business Activity Monitoring .1. and enter: DBMS/Service: XE Host Name: localhost Configure JDBC Component Schema Schema Password: welcome1 (originally said to use soa?) Click Next.1.11. (Nothing checked) Configuration Review the settings and click Create. Schema Note: You can scroll the information section to ensure all connection tests were successful).0 [Oracle_SOA1] * Oracle Enterprise manager .1. Select Optional Accept the default settings. Creating Domain Click Done. 7. Accept the default WebLogic Domain Startup Mode Development Mode option.1.Step c d e f g h i j Window Action * Oracle SOA Suite .1. Therefore. Accept the default User name: weblogic Configure In User password and Confirm user password fields enter: Administrator User welcome1 Name and Password Click Next. Select ALL component schema options.6_025 entry. Install JDeveloper This section provides the steps to install and configure Oracle JDeveloper and the Integrated WebLogic Server.1.11. 9 . Click Next. A test of all component schemas is performed automatically.cmd. If you used the command window method. and click Next. accept the Available JDKs option and Mode and JDK select the Sun SDK 1. Specify Domain Name Domain name: soa_domain and Location Accept defaults for other fields. and that the Connection Test Component result log show success information. Note: The Integrated WebLogic Server is an instance of WebLogic Server that is installed with JDeveloper for developer purpose. close the command window used to execute the config. Summary Wait for the domain creation to complete. even though the JDeveloper installer creates and configures the Integrated WebLogic Server. Configure Server Start In the JDK Selection area.

exe Note: If the Open File – Security Warning window is displayed. and click Next. Verify the following directory settings: JDeveloper and ADF: D:\Oracle\JDev11115\jdeveloper WebLogic Service: D:\Oracle\JDev11115\wlserver_10. Click JDK Selection Next.3 Confirm Product Installation (Original: D:\Oracle\fmw\jdev11\jdeveloper Directories WebLogic Service: D:\Oracle\fmw\jdev11\wlserver_10.%PATH% Install JDev using one of the following two methods: D:\stage\Downloads> java –jar jdevstudio11115install. 10 .jar D:\stage\Downloads> jdevstudio11115install. 2. 4. Choose Shortcut Accept (the default) or select All Users Start Menu folder Location (recommended) option. Installation Complete Deselect the Run QuickStart option and click Done.Assumptions Tasks      1. Exit and close the command window. Choose Install Type Accept (the default) or select the Complete option. Use the following instructions to complete the installation: Step Window a Welcome b c d e f g h i Action Click Next. Wait for it to complete. Open a new Command Prompt window. 3. and click Next. Installation Progress The installation begins. Accept the default derived from the JAVA_HOME setting. enter the following commands: D:\WINNT\System32> cd \stage\Downloads D:\WINNT\System32> PATH D:\jdk_16022\bin. The Oracle Installer splash screen is displayed while the installation files are extracted to the disk for installation to start. and click Next. click Run.3) Click Next. In the Command Prompt window. Installation Summary Review the installation summary information. Select the Create new Middleware Home option Choose Middleware Set Middleware Home Directory: D:\Oracle\JDev11115 (original: D:\Oracle\fmw\jdev11) Home Directory Click Next.

and click the X (close) icon in the window title bar to close the window.5. double-click the JDeveloper Studio 11. On the Windows Desktop.1. Note: When JDeveloper is started the Oracle Usage Tracking dialog box is displayed. Select Help > Check for Updates. In the Check for Updates wizard. verify that a JDeveloper Studio 11.0. b. On the Windows Desktop. select all entries and click OK. On the Windows Taskbar. b.Optional 11 . 4. click Yes.1.1. Click Open. In the JDeveloper window. To create a JDeveloper Desktop icon. complete the following steps: Step Window a Welcome b Source Action Click Source. 3.1. d. Migrate User Settings Click No.zip Click Next.1. In the Select Role dialog box.zip. right-click JDeveloper Studio 11. In the Configure File Type Associations dialog box. (Optional) Repeat using: bpm-jdev-extension. perform the following steps: a. c. To update the SOA Plug-in and BPM components in JDeveloper. and click OK.0 icon on the Windows Desktop. and select Send to > Desktop (create shortcut).1. b. In the Tip of the Day window. Select Install from Local File.0 icon has been created. perform the following steps: a.1. Select File > Exit to close JDeveloper. deselect the Show tips at startup check box (in the window status bar at the bottom of the Tips of the Day window). click Start > All Programs > Oracle Fusion Middleware 1.5. Install JXplorer LDAP Browser . Confirm Exit When prompted to restart now. to download Oracle Fusion Middleware design-time extensions (the Composite Editor and the BPM Design time editor).0.5.Create JDeveloper Icon and Install SOA and BPM Extensions Assumptions Tasks 1. c Updates d e f g License Agreements Summary Click Finish. In the Oracle Usage Tracking dialog box deselect the Allow automated usage reporting to Oracle check box. accept or select the “Default Role” option.5. deselect the Always prompt for role selection on startup check box. 2. and click OK.1. perform the following steps: a. Browse to the folder containing: soa-jdev-extension.

cmd and select Send to --> Desktop (create shortcut) 2.exe in the PATH):     D:\> cd D:\stage\Downloads or cd to the folder where the JXplorer file is located. accept the default In a new Program Group option with name JXplorer. e. click Next.%PATH% D:\> JXv3.This section provides the steps to install and configure JXplorer LDAP Browser that the students need to use in practices to configure the users and email address information in the Oracle WebLogic Server Embedded LDAP Server for use by Oracle SOA Suite Worklist application. On the Installing page wait until installation is complete. On the Choose Install Folder page. On the Pre-Installation Summary page. d.depending on the version of JXplorer: a. click Install.Step 3 below 3.2_install_windows. The 32-bit JDK is installed in the D:\jdk_16022 folder. Create Utility Files 1. select the Create Icons for All Users option. accept the default value D:\Program Files and click Next. On the Choose Shortcut Folder page.exe executable from the JXplorer Web site and placed it in D:\stage\Downloads or another folder of your choosing. 2. D:\> PATH D:\jdk_16025\bin. The students perform the configuration tasks during course practices provided installation of this software is successful. Assumptions This section assumes you have downloaded the jxplorer-3. In the JXplorer installer window. Create an additional desktop icon to start the Managed Servers as follows: 12 . perform the following steps: 1.exe Follow the setup steps in the JXplorer installer window .1. click Done. Create a desktop icon to start the WebLogic Admin Server as follows: cd D:\Oracle\fmw\11.1. b. Open a new command prompt window. f. Tasks To install JXplorer Software. and click Next.2.1-windowsinstaller. On the Introduction page. On the Install Complete page.5\user_projects\domains\soa_domain Right click startWebLogic. Execute the following commands to install JXplorer (which requires a 32-bit java. perform the following steps . (x86)\JXplorer c.

\AdminServer\security\boot.cd d:\Oracle\fmw\11.cmd two times.1..cmd and the other startManagedWebLogicBAM.Optional 13 .cmd enter the following line: set SERVER_NAME=soa_server1 after the line: @REM Set SERVER_NAME to the name of the server you wish to start up. In startManagedWebLogicBAM.cmd file and select Send to --> Desktop (create shortcut) 4.1.properties security type security\boot.1. For the above files right click startManagedWebLogicSOA.cmd enter the following line: set SERVER_NAME=bam_server1 after the line: @REM Set SERVER_NAME to the name of the server you wish to start up.1.cmd file and select Send to --> Desktop (create shortcut) For the above files right click startManagedWebLogicBAM.properties file for the soa_domain servers by executing the following commands in a command window:  cd D:\Oracle\fmw\11. Create a boot.cmd In startManagedWebLogicSOA.properties # Generated by Configuration Wizard on Sun Jun 28 22:57:48 MDT 2009 username={AES}cOmA/Ivjga3o6AWw1Iimq1L5Du0c5gCwUuVWg67AOXg= password={AES}VVhOREZ0KNMBiHJOW7P595upOa66Y2D6UoYhblpZc6A=  exit Configure the Host Name Alias .5\user_projects\domains\soa_domain\serv ers\soa_server1 md security copy .4\user_projects\domains\soa_domain\bin Copy/Paste the file startManagedWebLogic. Rename one copy startManagedWebLogicSOA.

close the command window. 2. At the D:\. Assumptions The hosts file in D:\Windows\System32\drivers\etc folder has an entry for soa11g. 14 . type ping soa11g. Install and Configure IE 7. In the Window Explorer window. 3. Tasks 1.com host name alias for the local machine IP address to enable the local XMail Server to be used by SOA Suite components by a common name. add the host name soa11g. In the Window Explorer window. navigate to the D:\Windows\System32\drivers\etc folder. 4.com as a host name alias for the local machine IP address. 7. After verifying the ping is successful. The hostname alias is needed to enable the local XMail Server to be used by SOA Suite components.example. 5.com as the first host name alias in the line for the physical IP address assigned to the current computer. open a Command Prompt window. you create the soa11g. To verify that the host name alias is active. InWordpad.x Assumptions Tasks Configure Internet Explorer Proxies and Host Names These steps are required to ensure that Internet Explorer treats the *.com domain as a local host name and does not use the OU proxy servers to resolve matching host names.In this section. and then File > Exit. right-click the hosts file and select Open > Wordpad. In Wordpad.example.com. Assumptions  You can modify the hosts file in D:\WINNT\System32\drivers\etc folder.example. 8. select File > Save.example. Open Windows Explorer. 6.example.

5. In the Run dialog box. In the Internet Properties dialog box. Install XMail D:\stage\Downloads> cd D:\stage\Downloads\xmail_setup_winx64 D:\stage\Downloads\xmail_setup_winx64> Xmail_setup. On the Internet Properties Connections tabbed page.com.reg and click OK. click the Connections tab.zip Note: The unzip command creates a sub-directory called xmail_setup_winx64 in the current directory. 1. To lock the IE browser settings. In the Registry Editor confirmation dialog box. In the Run dialog box.example. in the Exceptions section. In the Registry Editor dialog box. on the Windows Taskbar 1. click OK Install and Configure XMail Server . enter: ieunlock. click OK. 2. enter: ielock.Optional This section provides the steps to install and configure XMail Server and email accounts for use by Oracle SOA Suite 11g notification services. Click Start > Run. 3. 4. On the Windows Desktop. Note: Ensure the wildcard domain name entered is the first entry and that the semicolon is appended to it. Lock the IE Browser 1. click Yes. 2. and click OK. click Yes. on the Windows Taskbar click Start > Run.example.reg and click OK. 4. 2. In the Proxy Settings dialog box. In the Registry Editor confirmation dialog box. In the Local Area Network (LAN) Settings dialog box. 3. Unlock the IE browser. click OK. click LAN Settings. D:\> cd D:\stage\Downloads D:\stage\Downloads> unzip xmail_setup_winx64. at the start of the Do not use proxy server for addresses beginning with:// section insert: *.zip. Add “*.bat Note: The script displays information similar to the following text: 15 . 5. Expand the file xmail_setup_win. On the Internet Properties Connections tabbed page. as shown. right-click the Internet Explorer icon and select Properties. 4. Assumptions Tasks 1.com” as an entry in the No proxy list. In the Registry Editor dialog box. before the remaining text in the exclusions list. 1. 3. click Advanced. 2. 2.Tasks 1.

tab file Creating Xmail server.Optional This section provides the steps to install and configure Thunderbird 3. Starting XMail Server service The XMail Server service was started successfully. D:\> net stop xmail Install and Configure Mozilla Thunderbird . remove the setup files in the xmail_setup_win directory and close the command window.0.tab file Mail server: EDDDR28P1. 4. 3. D:\> net start xmail 5.com Creating XMail User accounts Creating user: weblogic Creating user: workflow. XMAil Server service started. Start the XMail server.us.4 or higher email client and three email accounts that are likely to be used during the course practices.tab file Creating Xmail smtpreplay.action Creating user: workflow.tab file Creating Xmail aliasdomain. After generating the XMail server entries. Stop the xmail server.notify Creating user: user1 Creating user: user2 Creating user: sking Creating user: jcooper Creating user: wfaulk Creating user: jstein Creating user: istone Creating user: mtwain Creating user: jlondon Creating user: cdickens Creating user: ltolstoy Creating user: fkafka Creating user: szweig Creating user: mmitch Creating user: jausten Creating user: achrist Creating user: rsteven Creating user: cdoyle Creating user: wshake Creating user: sfitzger Installing XMail Server as a service XMail Server installed.oracle.Creating Xmail domains. 16 .

Click Continue. To create the first Thunderbird client email accounts. perform the following steps: Step Window Action 17 . Wait until Thunderbird locates the following settings: Incoming: soa11g.Assumptions  XMail Server must has been installed.0. In Windows Explorer. and is urnning so that the client side email POP accounts can be created after installing Thunderbird. double-click the Mozilla Thunderbird desktop icon. 3.example. 2. Thunderbird client software has been downloaded to the D:\stage\Downloads folder. and perform the following steps Step Window a Welcome b c d e Action Click Next. and perform the following steps: Step Window a Import Wizard b Mail Account Setup c Mail Account Setup d Mail Account Setup Action In the Import Settings and Mail Folders page.com SMTP 25 Click Create Account. Click Create Account.example. With Mozilla Thunderbird running. Installing Wait for Thunderbird to complete. Thunderbird starts automatically detecting the mail account server information based on the host name used after the @ symbol in he supplied email address. Accept the default settings. Completing the Mozilla Setup Deselect the Launch Mozilla Thunderbird now check box Wizard and click Finish.exe file.example. On the Warning page select the I understand the risks check box.com POP 110 Outgoing: soa11g. select the Don’t import anything option. Your Name: demoadmin Email Address: demoadmin@soa11g. and click Next. and double-click the Thunderbird Setup 3. to create a new account for the user sking.  Tasks 1. Setup type Click Next. configured with server email accounts. Note: Thunderbird is started and you are prompted for the first mail account details.4. Summary Click Install.com Password: welcome1 Accept the Remember password check box as selected. change to the D:\stage\Downloads folder.

On the Warning page select the I understand the risks check box. and Server (SMTP) Settings click Edit.example. deselect the Use SMTP Server name and password check box. and click Server (SMTP) Settings Edit. Click Create Account. (Do this steps and the next one for jstein as well!) In the Security and Authentications section. Select the only entry demoadmin – soa11g. and click OK.example. and click OK. Click Continue.com (default).com POP 110 Outgoing: soa11g. Click Outgoing Server (SMTP) entry.com.example. Account Settings > Outgoing Select the only entry sking – soa11g. 4.com.example. Account Settings > Outgoing Select the only entry jcooper – soa11g. 5. 18 . Thunderbird starts automatically detecting the mail account server information.com Password: welcome1 Accept the Remember password check box as selected.com SMTP 25 Click Create Account. and click OK. deselect the Use SMTP Server name and password check box. 6. Account Settings Click OK. change the settings so that a user name and password are not required (no authentication needed) when sending email. Repeat step 3 to create a new mail account for James Cooper jcooper@soa11g.example. Turn Off STMP Authentication for Email Accounts In the Mozilla Thunderbird window for each SMTP Server account. deselect the Use SMTP Server name and password check box. and click Edit. by performing the following steps: Step Window a Mozilla Thunderbird b Account Settings Account Settings > Outgoing c Server (SMTP) Settings d e f g h i Action Click Tools > Accounts Settings. In the Security and Authentications section. Wait until Thunderbird locates the following settings: Incoming: soa11g.com.com. Repeat step 3 to create a new mail account for John Steinbeck jstein@soa11g.Step a Window Mozilla Thunderbird b Mail Account Setup c Mail Account Setup d Mail Account Setup Action Click File > New > Mail Account.example.example. In the Security and Authentications section. Your Name: Steve King Email Address: sking@soa11g. NOT SURE IF WE NEED TO COMPLETE STEP 17f IN PREVIOUS VERSION OF SETUP DOC.example.

Unzip the zip file containing the labs for the course.D:\Program Files (x86)\QuickTime\QTSystem\QTJava.sql @soademo_data.. 4.7.sql 7. Configure the Oracle Database Assumptions Tasks Create and initialize the SOADEMO schema in the Oracle Database 10g XE server by performing the following steps: 1. Set the CLASSPATH variable to: CLASSPATH=.. resource to soademo identified by soademo. enter the following commands: SQL> connect sys/oracle as sysdba Connected. Execute the following two sql files to create the appropriate tables and initialize the tables: @soademo_create. On the Windows Start menu.0\server\BIN\sqlplus soademo/soademo@XE 6.2. 2. Change to the folder that contains the SQL files for the soademo setup: <. On the Run SQL Command Line window. SQL> grant connect. 19 .. Start sqlplus via the following command line after opening a command window: D:\oraclexe\app\oracle\product\10. Exit the command window: exit Configure the Oracle WebLogic Admin Server Resources Assumptions NOTE: Be aware that installing iTunes creates a System environmental variable CLASSPATH with the value similar to: CLASSPATH=. This causes a failure in the startup of any of the WebLogic servers.zip. Grant succeeded.>\labs\files\sql 5. Exit Thunderbird. click Start > All Programs > Oracle Database 10g Express Edition > Run SQL Command Line. SQL> exit 3.

Close the Enterprise Manager Administration window. 2. 7. On the Summary of JDBC Data Sources page. expand the SOA tree node.Tasks 1. in the Domain Structure section expand the Services tree. On the Web Logic Admin home page. Configure WebLogic Server JDBC Connection to the Oracle Database 1. and right-click on the soa-infra (soa_server1) node in the navigation tree and select SOA Administration > Common Properties 5. Had to go the the <. Select Generic Data Source. 4. Probably due to side effects of NOTE above. In a Web browser enter the following URL: http://localhost:7001/console. On the Web Logic Administration Login page. Minimize the window (if desired). accept the default settings and click Continue. 3. to save the properties. 2. under the Farm_soa_domain navigation section. click Apply.>\domains\soadomain\bin and manually execute startManagedWeblogic. Start the SOA Server by double-clicking the Start SOA Server desktop icon. and click Login. The server has started when you see a line of text similar to the following in the command window: INFO: FabricProviderServlet. 5. Start a Web Browser window and enter the URL http://localhost:7001/em Login with the username: weblogic and password: welcome1. The server has started when you see a line of text similar to the following in the command window: <Jun 28. enter: 20 . Start the WebLogic Admin Server by double-clicking the Start WebLogic Server desktop icon. Minimize the window (if desired). and select the Capture Composite Instance State option. On the SOA Infrastructure Common Properties page. select Development as the Audit Level value. click Yes. 6.stateChanged SOA Platform is running and accepting requests 3. 4. On the Create New JDBC Data Source page. 4. 2009 11:16:38 PM MDT> <Notice> <WebLogicServer> <BEA000360> <Server started in RUNNING mode> 2.. and welcome1 for the password. Modify SOA Infrastructure Common Properties in the Enterprise Manager Administration interface. click New. and click Data Sources. 3. On the Confirmation window.cmd soa_server1. On the EM home page. On the Accessibility Preferences window. Wait for the server to be running. Wait for the server to be running. enter weblogic for the user name.. by performing the following steps: 1. 6.

On the Settings for DbAdapter page.1.ConnectionFactory option. 21 . 1. Then click Next.resource.Control tab page. On the Save Deployment Plan Assistant page. j. select the soa_server1 option as the target server.ConnectionFactory Properties tab page.ConnectionFactory entry. On the Settings for DbAdapter page. click Next. confirm the addition of the new JDBC resource. b.cci. replace the Path field with : D:\Oracle\fmw\1.5\Oracle_SOA1\soa\PlanDB. d. click the Configuration tab. and click Next. f.xml. Configure the WebLogic Service DBAdapter Connection Factory a. and confirm that you have successfully connected to the target database. 2. the Outbound Connection Pools sub tab should already be selected (if not click it).resources. On the Settings for DbAdapter page. On the Create a New JDBC Data Source Select Targets page. enter:  Database Name: XE Host Name: localhost Port: 1521 Database User Name: soademo Password: soademo Confirm Password: soademo Click Next. i. Click Next. click Deployments. k. and enter the text jdbc/soademo and press [ENTER]. g. 2. On the Create a New JDBC Data Source Connection Properties page. enter the JNDI Name: eis/DB/soademo. and click Finish. 1. Name: soademoDS JNDI Name: jdbc/soademo Click Next. click the DbAdapter link. In the Summary of Deployments .resource. click Test Configuration. and click the eis/DB/soademo link. and click Finish. observe the messages and click the Configuration tab. On the Create a New JDBC Data Source Transaction Options page. click the Outbound Connection Pools tab. c. On the Settings for javax. On the Web Logic Admin home page. h. On the Outbound Connection Pool Configurtation Table tab page. select the javax. in the Domain Structure section. On the next Create a New Outbound Connection page.cci. 3. for the Outbound Connection Properties table click in the Property Value cell for the row entry called xaDataSourceName. On the Settings for DbAdapter Configuration tab page. e. and expand the javax. click New. On the Summary of JDBC Data Sources page. 5.cci. and click OK. On the Create a New JDBC Data Source Test Database Connection page. 3. On the Create a New Outbound Connection page.1.

ConnectionFactory Properties page. c. To configure the demoFulfillment JMS queue perform the following steps: a. for the resource type select the Connection Factory option. On the Create a New JMS System Module Resource page. 6. On the Settings for javax. and click Next. 2. On the Settings for SOAJMSModules Configuration page. click Save. under the Summary of Resources table. On the Settings for javax. Confirm the changes have been applied. click New.resource. d. m. select the Redeploy this application using the following deployment files option and click Finish. On the Create a New JMS System Module Resource page. On the Update Application Assistant page. On the response page. On the JMS Modules page. n. On the next Create a New JMS System Module Resource page:   Select SOASubDeployment from the Subdeployment drop down box Select the SOAJMSServer option under Targets for the JMS Server section. Select the check box next to the DdAdapter entry. o. click the Deployments link. expand Services > Messaging and click JMS Modules.cci.cci. in the Summary of Resources table. e. and click Update.l. confirm the new JMS Queue resource is created successfully. On the Settings for SOAJMSModule page. enter:  Name: demoFulfillmentQueue JNDI name: jms/demoFulfillmentQueue Click Next 1. b. On the Create a New JMS System Module Resource page.ConnectionFactory Properties tab page. On Domain Structure window section. On the Create a New JMS System Module Resource page. click New. confirm the changes are applied. and click Finish 1. click the SOAJMSModule link. On the Domain Structure window. and click Next. Configure WebLogic Server JMS Resources If you are not already logged into the WebLogic Administration Server Console Web page. in the Connection Factory Properties section. To configure the demoCF JMS connection factory perform the following steps: 1.resource. enter: 22 . in the JMS Destination Properties section. p. 3. q. open the URL http://localhost:7001/console**</span> to start the console and login using username weblogic and password welcome1. select the Queue (resource type) option.

adapter. Name: demoCF JNDI Name: jms/demoCF Click Next 1.tip.jms. On the Summary of Deployments Control tab page. and click Next. at the top confirm the messages indicate the changes have been activated. and that you need to restart the JmsAdapter to reflect the new plan. To create a JMS connection pool and associate it to the connection factory perform the following steps: 1. in Domain Structure section. On the Settings for JmsAdapter page. On the Create a New Outbound Connection page. in the Outbound Connection Pool Configuration table. 6. 2. and click Finish. select the path and enter PlanJMS.xm l. On the Summary of Deployments Control tab page. and click the eis/demo/Queue link: 3. click Deployments. select oracle.tip. 5. Confirm that the connection factory is successfully added. On the Settings for JmsAdapter Configuration tab page. 7. To associate the connection pools with the connection factory in new JMS Adapter configuration plan perform the following steps: 1.IjmsConnectionFactory Properties tab page.1. 8. click the Configuration tab.adapter. On the Settings for JmsAdapter Configuration > Outbound Connection Pools page click New. On the Oracle WebLogic Server Console home page. On the Create a New Outbound Connection page. 4. click OK. click in the Property Value cells to enter the following Property Name value: ConnectionFactoryLocation: jms/demoCF 23 . in the table heading click Next.jms. 2.IjmsConnectionFactory option in the Outbound Connections groups table.jms. 3.xml as the plan name.adapter.1. expand the oracle.5\Oracle_SOA1\soa\connectors\PlanJMS. in JNDI Name enter eis/demo/Queue. (For example: D:\Oracle\fmw\11.IjmsConnectionFactory entry. 9. On the Create a New JMS System Module Resource page. to locate the JMSAdapter entry. click the Outbound Connection Pools tab. in the Outbound Connection Properties table.) 10. and click Finish. On the Settings for JmsAdapter page. click the Configuration tab 2.tip. On the Settings for oracle. click the JmsAdapter link (not the checkbox). confirm that the soa_server1 is the selected target. On the Save Deployment Plan Assistant page. On the Settings for JmsAdapter Configuration > Outbound Connection Pools tab page. On the Settings for JmsAdapter page.

2. 4. click Deployments. 2. Tasks Configure the LDAP Server Admin Password 1. On the Oracle WebLogic Server Administration Console. On the Settings for soa_domain Security tab page. On the Settings for oracle. On the Update Application Assistant page. the LDIF files used in later steps must be edited to replace the domain name with the correct one. click Save. enter the URL http://localhost:7001/console. click the Log Out link. and click Update. 24 . To redeploy the JMS adapter with the newly configured resources. and click Finish. On the Settings for soa_domain Security > Embedded LDAP tab page. 1. On the Summary of Deployments page. click the Embedded LDAP tab.) 2.IjmsConnectionFactory Properties tab page. 2. On the Oracle WebLogic Administrator Server console in the Domain Structure panel. On the Settings for soa_domain page.jms. 3. Configure the Oracle WebLogic Embedded LDAP Server . On the Summary of Deployments page. select the Redeploy this application using the following deployment files option. and login with the username weblogic and password welcome1. perform the following steps: 1. 3. When the messages response is displayed. On the Domain Structure window. change the values for the following fields as shown:  Credentials: welcome1 Confirm Credentials: welcome1 Click Save. When the messages are displayed confirm the changes were successful. 1.tip.Optional Assumptions If not already logged into the WebLogic Console in your Web browser.Note: Ensure that you press [ENTER] after entering the connection factory location text value! Do not use the TAB key. When the messages response is displayed confirm the changes are activated and updated successfully.adapter. in the Deployments table select the checkbox next to JmsAdapter. click the Security tab. confirm that Deployments was updated. (If the domain is not named soa_domain. 4. click the soa_domain link. 5. in the Deployments table click Next.

by pressing Ctrl+C in the WebLogic Admin Server window. Backup the SOA adapters. In the following <. The server has started when you see a line of text similar to the following in the command window: INFO: FabricProviderServlet. On the Open LDAP/DSML Connection window. 2.prop file using the following commands in a command window:   D:\> cd <... by pressing Ctrl+C in the SOA Server window.>\seed_ldap.zip file or the seed_ldap folder.> refers to the path to the seed_ldp . Shutdown the WebLogic Admin Server. Wait for the Terminate batch job [Y/N]? prompt..Stop Oracle WebLogic Server and SOA Server 1.stateChanged SOA Platform is running and accepting requests Configure the LDAP Server with the Seeded Users and Groups Start JXPlorer and connect to the SOA Server using the following steps: 1.bat will need to be updated before using this .>\seed_ldap folder. Start the SOA Server by double-clicking the Start SOA Server desktop icon. select File > Connect 3. Unzip the <. enter the fields: 25 ... 4.zip file! Start Oracle WebLogic Server and SOA Server 1.prop file and copy a new adapters. Wait for the server to be running. The server has started when you see a line of text similar to the following in the command window: <Jun 28. 2009 11:16:38 PM MDT> <Notice> <WebLogicServer> <BEA000360> <Server started in RUNNING mode> 1. On the Windows desktop. Minimize the window (if desired).zip file to the <. and press Y and [ENTER] and the window is closed.. Wait for the server to be running. and press Y and [ENTER] and the window is closed.. On the JXplorer window. 3. Shutdown the SOA Server. Wait for the Terminate batch job [Y/N]? prompt.bat NOTE TO INSTALLER: The copy_props. click Start > All Programs > JXplorer > JXplorer 2.>\seed_ldap D:\> copy_props. Minimize the window (if desired).. Start the WebLogic Admin Server by double-clicking the Start WebLogic Server desktop icon.

verify the new groups have been added. expand soa_domain > myrealm > people and click the weblogic entry. On the Windows desktop double-click the Cygwin icon 2. 1. 4. 2. To import the users and groups into the LDAP server perform the following steps in JXPlorer: 1. To import the new People from an LDIF file On the Jxplorer window. select File > Exit to exit JXplorer The following test (strikeout) was not needed as the test below succeeded. On the JXplorer window. On the left navigation panel. Run the seed-demo-policy.ldif file and click OK.>\seed_ldap folder press [Enter]. in the HTML View on the right hand window panel. execute the following commands: 26 . click the LDIF > Import File menu 2. On the left navigator panel. On the Open window.ldif file.ldif and click Open. with the soa_ldap_server template selected click OK two times.ldif file. On the Open window. click LDIF > Import File from the menu and proceed as for importing the People. 2. and click OK. On the Replace/Create Template window. On the Open LDAP/DSML Connection window. On the Open window. on the JXplorer window. under files select People. 3. On the JXplorer window..com Click Submit. To import the Groups. verify that a set of additional users have appear in the people sub-tree. Host: localhost Port: 7001 Protocol: LDAP v3 In the Security section use: Level: User + Password User DN: cn=Admin Password: welcome1 Click Save 1. in the Selection field navigate to the <. select the Groups.example. enter the following field value:  Email Address: weblogic@soa11g. For the weblogic person entry. enter the value soa_ldap_server. 4.sh script in the Cygwin command window to set some policies 1. In the Cygwin command window.. 3.

or the error is inconsequential. On the Fusion Middleware Control login page.Optional Assumptions Tasks Configure the SOA Server Environment Ensure the WebLogic Admin Server and SOA (managed) Server instances are running. and right-click soa-infra and select SOA Administration > Workflow Notification Properties. On the Farm home page. in the Farm navigator menu on the left expand the SOA folder. enter weblogic and welcome1 as the user name and password. This will not become obvious until the last lab of the course has been built and tested.sh (examine and modify variables before o o o running script) …wait for the processing to complete… $ exit NOTE TO CAS: This wrapper script call WLSMbeanGrantSOAAppRole. <-------------------------> Continue here <-------------------------> Configure the SOA Server Environment . Then you can logout the Worklist application. Open a Web browser window and enter the following URL: http://localhost:8001/integration/worklistapp 2. See this screenshot . 27 . At the login page. enter username jstein and password welcome1. and close the Worklist application Web browser window. and enter the Enterprise Manager Fusion Middleware Control URL: http://localhost:7001/em 2.py. Click Login. To enable Email notifications to work in the SOA Server for Human Tasks and BPEL Email notification you need to perform the following steps 1. respectively. Open a Web browser. Test LDAP Server configuration by performing a User Login 1. If you successfully login then the configuration is successful. NOTE TO CAS: In spite of problem noted above.$ cd d:/stage/seed_ldap o $ sh seed-demo-policy. 3. which throws an exception. this test executes successfully. Not sure if that means the test is invalid.

click the Configure Driver (pencil) icon in the row for the User Messaging Email Driver (Driver Type). On the usermessagingdriver-email page. verify you get a confirmation that the changes have been applied. On the usermessagingserver page.example. 2.com IncomingUserIDs: demoadmin 1.reply@yourdomain.example.com IncomingMailServer: soa11g.com Email: Actionable Address demoadmin@soa11g. 3. under Associated Drivers in the Local tabbed page. On the SOA Infrastructure > Workflow Notification Properties page. Scroll down in the Driver-Specific Configuration section as needed to set the following Driver-Specific Configuration field values.com IncomingMailServerPort 110 IncomingMailIDs: demoadmin@soa11g. 28 . after which you click the Apply button.com (accept the default here) 1.example.com Email: Reply To Address no. On the User Messaging Email Driver page. and click the Go to the Messaging Driver page link. verify you receive the confirmation that changes have been applied. set and enter following values:  Notification Mode: ALL Email: From Address demoadmin@soa11g. Click Apply.4. by pressing Ctrl+C in the SOA Server window.  MailAccessProtocol: POP3 OutgoingMailServer: soa11g. On the Enterprise Manager 11g Fusion Middleware Control console. you need to modify several settings in the DriverSpecific Configuration section of the page. Stop Oracle WebLogic Server and SOA Server 1. For IncomingUserPasswords: set:  Type of Password: Indirect Password. On the Confirmation window. 4.example. Shutdown the SOA Server. 1.com OutgoingMailServerPort: 25 OutgoingDefaultFromAddr: demoadmin@soa11g. click the Log Out link.example. and close the Web browser page. On the SOA Infrastructure > Workflow Notification Properties page. Create New User Indirect Username/Key: demoadmin Password:welcome1 (This will be displayed as asterisks when entered) Click Apply 1. click Yes.example.

and press Y and [ENTER] and the window is closed.com. NOTE TO CAS: Did not test next step.example. 29 . using the email account for the user sking@soa11g. Exit from the commend line SQL*Plus or close the Web browser window. If you get a meaningful result. Connect as user SOADEMO password SOADEMO. click the Get new mail icon and verify that receive the message from sking@soa11g. and JDeveloper 11g should be started.com (password welcome1).This includes. Wait for the Terminate batch job [Y/N]? prompt.com (password welcome1). and the Inbox of jcooper. Wait for the Terminate batch job [Y/N]? prompt. Using Outlook Express. Testing the Oracle JDeveloper 11g 1.    user and passwords for any installed Oracle products descriptions of any new desktop shortcuts locations of course files for labs. <List all steps necessary to verify that the course module is installed and configured correctly. With the jcooper@soa11g. and execute the SQL statement:  SELECT sysdate FROM dual. Shutdown the WebLogic Admin Server. but is not limited to  account and passwords for the operating system You can reference the appropriate Requirements section(s) above. and empty the trash for both accounts). send an email to jcooper@soa11g.example. by pressing Ctrl+C in the WebLogic Admin Server window. showing the current date.example. Start JDeveloper by double-clicking the desktop icon. Setup Verification Testing the Oracle Database 10g Express Edition 1. 3. then the database is operational. Run the SQL Command line or access the home page using http://localhost:8080. 2. and press Y and [ENTER] and the window is closed. Testing XMail 1. setup and catch up scripts You can reference the Directory Structure / File Placement Requirements section above.2. Delete the email messages from both accounts (in the Sent folders of sking.example. Select File > Exit to close JDeveloper 11g. 4.com account.

 any general technical information that could be useful in verifying the course environment.  any known product bugs and/or workarounds any installed patches or rpms You can reference the appropriate Requirements section(s) above.> 30 .