-
- Extract Foundation Pack Demo under <AIA_HOME>.
- If not already done so, set environment variables:
- For Linux (bash shell)
source <AIA_HOME>/aia_instances/<aia_instance>/bin/aiaenv.sh</aia_instance>
- For Windows
Navigate to aiaenv.bat located in <AIA_HOME>\aia_instances\<aia_instance>\bin
Run aiaenv.bat
- You may have to assign higher memory values in your JVM parameter
settings for demo to deploy if you have not set the maximum possible
value already. Use the following three steps as guidance to configure
JVM parameters:
- Navigate to <Middleware home>\user_projects\domains\<domain_name>\bin
- Update the following parameter in the setSOADomainEnv.sh (for Linux) and setSOADomainEnv.cmd (for Windows) file:
- USER_MEM_ARGS="-Xms2048m -Xmx2048m -XX:PermSize=256m -
XX:MaxPermSize=512m -XX:AppendRatio=3 -XX:NewSize=1228m -XX:MaxNewSize=1228m
-XX:SurvivorRatio=10"
Note: These are recommended values while using Sun
JVM. Actual values that you set depend on your system configurations.
When running on dedicated hosts, you can set the JVM heap size as high
as possible. Higher value results in better performance. However this
number is constrained by the operating system's addressable memory
space.
- Restart SOA server
- Run the deployment script:
At the command line prompt, run the following command for your platform:
- For Linux:
cd $AIA_HOME/samples/AIADemo/config
ant -f deployDemo.xml
- For Windows:
cd %AIA_HOME%\samples\AIADemo\config
ant –f deployDemo.xml
- Perform post deployment steps:
Steps 4a and 4b are relevant only if you are going to run the B2B flows within the demo.
- Create writeable directories:
- Navigate to <Middleware Home> \user_projects\domains\soa_domain\
- Create a folder called AIA_B2B
- Navigate to AIA_B2B and create a folder called channels.
- Navigate to channels and create a folder called GlobalChips and a folder called Acme
- Under each of these folders create two folders: in and out. (Both directories must be writeable.)
- Enable Listening Channels
- Open B2B Server console at http://<server>:<port>/b2b and login
- Navigate to Administration, Listening Channel and for each listening channel listed on the page.
- Click Listening Channel row.
- Click Channel Attributes sub-tab
- Select Enable Channel.
- Click Save.
- Set JTA Timeout:
- Open WLS console and login.
- Navigate to Services - JTA
- Increase Timeout Seconds to 120.
- Click Save.
- Verify Demo Deployment.
- Check the installation log file, <AIA_HOME>\aia_instances\<INSTANCE>\logs\AIADemoInstall.log
- Access the following URL: http:<server-name>:<port>/ StoreFrontModule/faces/home
- Select some items and add them to the cart. Total value should be less than $2000
- Select the Checkout link
- Log in with username: ngreenbe password: welcome1
- Click Submit Order
- Open Enterprise Manager SOA console and verify that multiple SOA composites were launched and that they all ran successfully.
- Back in the StoreFront application, click Exit and Continue Shopping
- Click Registration
- On the registration screen, provide the mandatory information and
also first name and last name.(jsmith, Jill, Smith, jsmith@example.com,
(415)111-2222, Female, Single, Electronics and Games)
- Click Next (4 times) and click Register as a Customer
- Verify in the Enterprise manager SOA console that 5 additional SOA composites were instantiated and executed successfully.
Upgrading the Foundation Pack Demo
If Foundation Pack Demo 11g Release 1 (11.1.1.2.0/11.1.1.4.0) is
installed, perform the following task to upgrade to Foundation Pack
Demo 11g Release 1 (11.1.1.5.0):
- Source aiaenv.sh from <AIA_HOME>/aia_instances/<aia_instance>/bin.
- Browse to the <AIA_HOME>/Infrastructure/Install/AID folder.
- Execute the following script:
ant -f AIAInstallDriver.xml -
DDeploymentPlan=$AIA_HOME/AIAFPUpdates/Update_AIAFP11115/config/Update_DemoInstall
DP.xml -DPropertiesFile=$AIA_INSTANCE/config/AIAInstallProperties.xml
|
0 comments:
Post a Comment