SPEC Seal of Reviewal SPECjAppServer®2004 Result
Copyright © 2004 Standard Performance Evaluation Corporation
Oracle Application Server 10g Release 10.1.3.2 - Java Edition on HP-UX rx3600 Cluster
6,812.79 SPECjAppServer2004 JOPS@Standard
Submitter:
Oracle Corporation
SPEC license # 73 Test date:
Nov-2006
Software Products
Oracle Application Server 10g Release 10.1.3.2 - Java Edition
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 32 bit
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 64 bit
Oracle JDBC Driver 10.2.0.2 (Thin)
Oracle Database 10g Enterprise Edition Release 10.2.0.2 with patch 5339853
Software Configurations
J2EE Application Servers
Emulator SW Config
Database SW Config
Driver SW Config Primary
Hardware Systems
J2EE AppServer HW
Database Server HW
Primary Load Driver and Satellites #1-#5 HW
Satellite #6-#7 HW
Emulator HW

System Configuration Diagram

Benchmark
Modifications
Configuration
Bill of Materials
Other Info
General Notes
Full Disclosure Archive

SUT Configuration
J2EE Server Nodes: 11   DB Server Nodes: 1
J2EE Server CPUs: 44 cores, 22 chips, 2 cores/chip   DB Server CPUs: 64 cores, 32 chips
J2EE Instances: 22   DB Instances: 1
Other SUT Components:
   HP ProCurve 2848 Switch (2)

Benchmark Settings
Dealer Injection Rate: 4,100   Ramp Up Time: 900 seconds
# of Dealer Agents: 96   Ramp Down Time: 300 seconds
# of Manufacturing Agents: 30   Steady State Time: 3,600 seconds
DB Load Injection Rate: 5,000   Trigger Time: 1,750 seconds

Detailed Results
Dealer Transaction Mix Count Tx. Mix
Purchase 3,683,291 25.00%
Manage 3,682,943 25.00%
Browse 7,365,836 50.00%
Total # Dealer Transactions 14,732,070
Total # Manufacturing Transactions 9,793,965
Response Times Average Maximum 90th% Reqd
Purchase 0.46 22.60 1.00 2.00
Manage 0.41 23.06 1.00 2.00
Browse 0.72 22.96 1.60 2.00
Manufacturing 1.67 14.38 2.50 5.00
Reproducibility Run (SPECjAppServer2004 JOPS) 6,821.53

Oracle Application Server 10g Release 10.1.3.2 - Java Edition
Vendor: Oracle Corporation Availability: Mar-2007
CTS Version: 1.4 Date Passed CTS: Jan -2006
OS Name: HP-UX 11i version 2 9/06 patch
EJB Protocol: ORMI

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 32 bit
Vendor: HP Availability: Mar-2006
OS Name: HP-UX 11i version 2 9/06 patch

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 64 bit
Vendor: HP Availability: Mar-2006
OS Name: HP-UX 11i version 2 9/06 patch

Oracle JDBC Driver 10.2.0.2 (Thin)
Vendor: Oracle Corporation Availability: Jun-2006
OS Name: HP-UX 11i version 2 9/06 patch

Oracle Database 10g Enterprise Edition Release 10.2.0.2 with patch 5339853
Vendor: Oracle Corporation Availability: Jun-2006
OS Name: HP-UX 11i version 2 6/06 patch

J2EE Application Servers
J2EE Product: Oracle Application Server 10g Release 10.1.3.2 - Java Edition
JVM Product: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 32 bit
JDBC Product: Oracle JDBC Driver 10.2.0.2 (Thin)
Hardware: J2EE AppServer HW
# of Instances: 22
Interfaces:
Web Interface for the Dealer Domain
Web Interface for the Supplier Domain
EJB Interface for the Dealer Domain
EJB Interface for the Manufacturing Domain
EJB Interface for the Supplier Domain
Notes / Tuning Information
-XX:+AggressiveHeap -Xmx3500m -Xms3500m -Xmn1400m -XX:CICompilerCount=1
-Xoptgc -Xverbosegc:file=stdout -XX:+ForceMmapReserved
-XX:PermSize=48m -XX:SurvivorRatio=14
-XX:-UseHighResolutionTimer -XX:SchedulerPriorityRange=SCHED_RTPRIO
-XX:TLABSize=32k -XX:-UseFastAccessorMethods -XX:+UseSpinning
-XX:-ExtraPollBeforeRead
-Doracle.dms.sensors=none -Dsun.net.inetaddr.ttl=0
-Dnetworkaddress.cache.ttl=0
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.DevPollSelectorProvider
-Doc4j.jms.implementation=oc4j.j2ee.jms

Emulator SW Config
JVM Product: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 64 bit
Web Product: Oracle Application Server 10g Release 10.1.3.2 - Java Edition
Hardware: Emulator HW
# of Instances: 1
Notes / Tuning Information
-d64 -Xmx1600m -Xms1600m -Xoptgc -Xverbosegc:file=stdout
-XX:+ForceMmapReserved -XX:PermSize=64m -XX:SurvivorRatio=14
-XX:-UseHighResolutionTimer -Doracle.dms.sensors=none
-Dsun.net.inetaddr.ttl=0 -Dnetworkaddress.cache.ttl=0
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.DevPollSelectorProvider

Database SW Config
DB Product: Oracle Database 10g Enterprise Edition Release 10.2.0.2 with patch 5339853
Hardware: Database Server HW
# of Instances: 1
Notes / Tuning Information
Oracle tuning in init.ora:
aq_tm_processes=0
compatible=10.1.0.0.0
cursor_space_for_time = TRUE
db_4k_cache_size = 10G
db_8k_cache_size = 10G
db_keep_cache_size = 3G
db_block_checking = FALSE
db_block_checksum = FALSE
db_block_size = 2048
db_cache_advice = OFF
db_cache_size = 21G
db_file_multiblock_read_count = 128
db_files = 256
dml_locks = 6000
fast_start_mttr_target = 0
hpux_sched_noage=178
java_pool_size=250M
lock_sga=true
log_buffer=268435456
log_checkpoint_interval=0
log_checkpoint_timeout=0
log_checkpoints_to_alert=TRUE
open_cursors = 3000
parallel_max_servers = 100
pga_aggregate_target = 0
processes = 5000
query_rewrite_enabled=FALSE
replication_dependency_tracking=FALSE
sessions = 3000
session_cached_cursors = 2000
shared_pool_size = 4096M
sort_area_size=52428800
statistics_level=typical
timed_statistics=false
transactions = 5000
transactions_per_rollback_segment = 1
undo_management               = AUTO
undo_retention                = 500
undo_tablespace               = undo_ts
_array_update_vector_read_enabled=true
_collect_undo_stats=FALSE
_cursor_cache_frame_bind_memory=TRUE
_db_block_hash_latches=262144
_db_cache_pre_warm=FALSE
_db_writer_flush_imu=FALSE
_enable_NUMA_optimization=FALSE
_imu_pools=500
_in_memory_undo=true
_smm_advice_enabled=FALSE
_two_pass=FALSE
_undo_autotune=FALSE

log writer put into realtime class with /usr/bin/rtprio 127 -PID
and put in its own processor set with /usr/sbin/psrset -b

Driver SW Config Primary
JVM Product: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03) 32 bit
Hardware: Primary Load Driver and Satellites #1-#5 HW
# of Instances: 1
Notes / Tuning Information
-server -Xms1500M -Xmx1500M -Xmn500M -Xss256K -XX:+DisableExplicitGC
-XX:+ForceMmapReserved -XX:PermSize=64m -XX:SurvivorRatio=20
-XX:-UseHighResolutionTimer -XX:SchedulerPriorityRange=SCHED_RTPRIO
-Dsun.net.inetaddr.ttl=0 -Dnetworkaddress.cache.ttl=0
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.DevPollSelectorProvider

J2EE AppServer HW (SUT hardware)
Hardware Vendor: HP OS Vendor: HP
Model Name: HP rx3600 OS Name: HP-UX 11i version 2 9/06 patch
Processor: Dual-core Intel Itanium 2 Filesystem: vxfs
MHz: 1600 Disks: see notes
# of CPUs: 4 cores, 2 chips, 2 cores/chip Network Interface: (2) Dual Port 1000BaseT Ethernet
Memory (MB): 16353 Other Hardware: (1) Dual-port 4Gbps Fibre Channel Adapter
L1 Cache: 16KB(I)+16KB(D) # of Systems: 11
L2 Cache: 1024KB(I)+256KB(D) H/W Available: Sep-2006
Other Cache: 9216KB (L3 Cache) OS Available: Sep-2006
Notes / Tuning Information
Kernel Tunable Entries:

tunable STRMSGSZ 65535
tunable cmc_plat_poll 15
tunable create_fastlinks 1
tunable dbc_max_pct 8
tunable dbc_min_pct 8
tunable default_disk_ir 1
tunable fs_async 1
tunable hfs_max_ra_blocks 20
tunable hfs_max_revra_blocks 20
tunable hfs_ra_per_disk 256
tunable hfs_revra_per_disk 256
tunable max_async_ports 768
tunable max_thread_proc 8192
tunable maxdsiz 4294963200
tunable maxfiles 32768
tunable maxfiles_lim 32768
tunable maxssiz 12582912
tunable maxtsiz 1073741824
tunable maxuprc 3277
tunable maxvgs 80
tunable msgmap 5122
tunable msgmax 32768
tunable msgmnb 65536
tunable msgseg 20480
tunable msgssz 128
tunable msgtql 5120
tunable nfile 150000
tunable ninode 150000
tunable nkthread 20000
tunable nproc 5000
tunable npty 200
tunable nstrpty 200
tunable nswapdev 25
tunable o_sync_is_o_dsync 1
tunable physical_io_buffers 1280
tunable scsi_max_qdepth 8
tunable semmni 4096
tunable semmns 8192
tunable semmnu 4092
tunable semume 512
tunable shmmax 4200000000
tunable shmmni 520
tunable shmseg 512
tunable swapmem_on 1
tunable swchunk 8192
tunable tcphashsz 32768
tunable vps_ceiling 64

Network Tuning:
ndd -set /dev/tcp tcp_conn_request_max 15000

Kernel Tuning (permanently set once)
adb -w -o /stand/vmunix /dev/kmem
enable_tops?W 2
enable_tops/W 2
$q

Disk Configuration:
3x 36GB 10K RPM SAS
Modular SAN Array 1000 for server and JMS logging

Database Server HW (SUT hardware)
Hardware Vendor: HP OS Vendor: HP
Model Name: Superdome OS Name: HP-UX 11i version 2 6/06 patch
Processor: Dual-core Intel Itanium 2 Filesystem: vxfs
MHz: 1600 Disks: 4x36Gb 15K RPM U320
# of CPUs: 64 cores, 32 chips, 2 cores/chip Network Interface: (8) Dual Port 1000BaseT Ethernet
Memory (MB): 523767 Other Hardware: (7) MSA1000 SAN Storage with 14x73GB 15K U320 SCSI
L1 Cache: 16KB(I)+16KB(D) # of Systems: 1
L2 Cache: 1024KB(I)+256KB(D) H/W Available: Sep-2006
Other Cache: 12MB (L3 Cache) OS Available: Jun-2006
Notes / Tuning Information
Kernel tunable entries:

tunable STRMSGSZ 65535
tunable cmc_plat_poll 15
tunable create_fastlinks 1
tunable dbc_max_pct 8
tunable dbc_min_pct 8
tunable default_disk_ir 1
tunable hfs_revra_per_disk 256
tunable max_async_ports 768
tunable max_thread_proc 2048
tunable maxfiles 32768
tunable maxfiles_lim 32768
tunable maxssiz 401604608

Primary Load Driver and Satellites #1-#5 HW (non-SUT hardware)
Hardware Vendor: HP OS Vendor: HP
Model Name: rx7620 OS Name: HP-UX 11i version 2 5/05 patch
Processor: Intel Itanium 2 Filesystem: vxfs
MHz: 1600 Disks: 1x73Gb 15K RPM U320
# of CPUs: 8 cores, 8 chips, 1 core/chip Network Interface: (8) Dual Port 1000BaseT Ethernet
Memory (MB): 131031 Other Hardware: null
L1 Cache: 16KB(I)+16KB(D) # of Systems: 6
L2 Cache: 256KB H/W Available: May-2005
Other Cache: 6144KB (L3 Cache) OS Available: May-2005
Notes / Tuning Information
Kernel tunables entries

tunable STRMSGSZ 65535
tunable cmc_plat_poll 15
tunable create_fastlinks 1
tunable dbc_max_pct 8
tunable dbc_min_pct 8
tunable default_disk_ir 1
tunable fs_async 1
tunable hfs_max_ra_blocks 20
tunable hfs_max_revra_blocks 20
tunable hfs_ra_per_disk 256
tunable hfs_revra_per_disk 256
tunable max_async_ports 768
tunable max_thread_proc 8192
tunable maxdsiz 4294963200
tunable maxfiles 32768
tunable maxfiles_lim 32768
tunable maxssiz 401604608
tunable maxtsiz 1073741824
tunable maxuprc 3277
tunable maxvgs 80
tunable msgmap 5122
tunable msgmax 32768
tunable msgmnb 65536
tunable msgseg 20480
tunable msgssz 128
tunable msgtql 5120
tunable nfile 150000
tunable ninode 150000
tunable nkthread 65536
tunable nproc 5000
tunable npty 200
tunable nstrpty 200
tunable nswapdev 25
tunable o_sync_is_o_dsync 1

Satellite #6-#7 HW (non-SUT hardware)
Hardware Vendor: HP OS Vendor: HP
Model Name: rx8620 OS Name: HP-UX 11i version 2 5/05 patch
Processor: Intel Itanium 2 Filesystem: vxfs
MHz: 1600 Disks: 2x73Gb 15K RPM U320
# of CPUs: 16 cores, 16 chips, 1 core/chip Network Interface: (8) Dual Port 1000BaseT Ethernet
Memory (MB): 262062 Other Hardware: null
L1 Cache: 16KB(I)+16KB(D) # of Systems: 1
L2 Cache: 256KB H/W Available: May-2005
Other Cache: 6144KB (L3 Cache) OS Available: May-2005
Notes / Tuning Information
Kernel tunables entries

tunable STRMSGSZ 65535
tunable cmc_plat_poll 15
tunable create_fastlinks 1
tunable dbc_max_pct 8
tunable dbc_min_pct 8
tunable default_disk_ir 1
tunable fs_async 1
tunable hfs_max_ra_blocks 20
tunable hfs_max_revra_blocks 20
tunable hfs_ra_per_disk 256
tunable hfs_revra_per_disk 256
tunable max_async_ports 768
tunable max_thread_proc 8192
tunable maxdsiz 4294963200
tunable maxfiles 32768
tunable maxfiles_lim 32768
tunable maxssiz 401604608
tunable maxtsiz 1073741824
tunable maxuprc 3277
tunable maxvgs 80
tunable msgmap 5122
tunable msgmax 32768
tunable msgmnb 65536
tunable msgseg 20480
tunable msgssz 128
tunable msgtql 5120
tunable nfile 150000
tunable ninode 150000
tunable nkthread 65536
tunable nproc 5000
tunable npty 200
tunable nstrpty 200
tunable nswapdev 25
tunable o_sync_is_o_dsync 1
tunable physical_io_buffers 1280
tunable scsi_max_qdepth 8
tunable semmni 4096
tunable semmns 8192
tunable semmnu 4092
tunable semume 512
tunable shmmax 4200000000
tunable shmmni 520
tunable shmseg 512
tunable swapmem_on 1
tunable swchunk 8192
tunable tcphashsz 32768
tunable vps_ceiling 64

Network Tuning:
ndd -set /dev/tcp tcp_conn_request_max 15000

Kernel Tuning (permanently set once)
adb -w -o /stand/vmunix /dev/kmem
enable_tops?W 2
enable_tops/W 2
$q

System was divided into 2 partitions, each of 8 cores
and 128G Memory

Emulator HW (non-SUT hardware)
Hardware Vendor: HP OS Vendor: HP
Model Name: rx4640 OS Name: HP-UX 11i version 2 5/05 patch
Processor: Intel Itanium 2 Filesystem: vxfs
MHz: 1600 Disks: 1x73Gb 15K RPM U320
# of CPUs: 4 cores, 4 chips, 1 core/chip Network Interface: (8) Dual Port 1000BaseT Ethernet
Memory (MB): 59379 Other Hardware: null
L1 Cache: 16KB(I)+16KB(D) # of Systems: 1
L2 Cache: 256KB H/W Available: Nov-2004
Other Cache: 9216KB (L3 Cache) OS Available: May-2005
Notes / Tuning Information
Kernel tunables entries

tunable STRMSGSZ 65535
tunable cmc_plat_poll 15
tunable create_fastlinks 1
tunable dbc_max_pct 8
tunable dbc_min_pct 8
tunable default_disk_ir 1
tunable fs_async 1
tunable hfs_max_ra_blocks 20
tunable hfs_max_revra_blocks 20
tunable hfs_ra_per_disk 256
tunable hfs_revra_per_disk 256
tunable max_async_ports 768
tunable max_thread_proc 65536
tunable maxdsiz 4294963200
tunable maxfiles 32768
tunable maxfiles_lim 32768
tunable maxssiz 401604608
tunable maxtsiz 1073741824
tunable maxuprc 3277
tunable maxvgs 80
tunable msgmap 5122
tunable msgmax 32768
tunable msgmnb 65536
tunable msgseg 20480
tunable msgssz 128
tunable msgtql 5120
tunable nfile 150000
tunable ninode 150000
tunable nkthread 131072
tunable nproc 8192
tunable npty 200
tunable nstrpty 200
tunable nswapdev 25
tunable o_sync_is_o_dsync 1
tunable physical_io_buffers 1280
tunable scsi_max_qdepth 8
tunable semmni 4096
tunable semmns 8192
tunable semmnu 4092
tunable semume 512
tunable shmmax 2000000000
tunable shmmni 520
tunable shmseg 512
tunable swapmem_on 1
tunable swchunk 8192
tunable tcphashsz 32768
tunable vps_ceiling 64

Network Tuning:
Used default ndd parms

Kernel Tuning (permanently set once)
adb -w -o /stand/vmunix /dev/kmem
enable_tops?W 2
enable_tops/W 2
$q

Benchmark Modifications
Schema Modifications:
  Tablespace sizes were increased to support the Injection rate.
  Scripts to create the DB are included in the FDA.
  Table and index initrans were modified.
  The M_INVENTORY, M_WORKORDER, M_PARTS, O_ORDERLINE tables were
  horizontally partitioned.
  Automatic segment space management was used for all tablespaces.
  System managed undo was used.
  Table locks were disabled during the run using disable_lock.sql
Load Program Modifications:
  The load program was not modified.

Benchmark Configuration Information
Isolation Requirement Info:
  The following Beans were deployed in READ_COMMITTED mode as per the
  benchmark requirement:
  Mfg      - AssemblyEnt, BomEnt, ComponentEnt, LargeOrderEnt, PartEnt
  Orders   - ItemEnt
  Supplier - SupplierCompEnt, SupplierEnt
  
  All other beans were deployed using pessimistic locking mode such that all
  selects including finders are issued with a FOR UPDATE clause in select
  statement:
  Corp     - CustomerEnt, CustomerInventoryEnt
  Mfg      - InventoryEnt, WorkOrderEnt
  Orders   - OrderEnt, OrderLineEnt
  Supplier - POEnt, POLineEnt, SComponentEnt
  Util     - SequenceEnt
  
  The ItemEnt bean was cached for 20 minute intervals by setting:
  read-only to true, and
  time-to-live to 1200000 (ms)
  in orders-toplink-ejb-jar.xml deployment descriptor.
Durability Requirement Info:
  To ensure database durability, RAID 1 (mirroring) was used for the
  database Redo logs. Data was laid out on RAID 0 and redolog files
  were sized to avoid log rollover for the duration of the run.
  
  The application server was using mirrored disks to
  provide durability for server logs and JMS persistence filestore.
Storage Requirement Info:
  An 80 minute run at an injection rate of 4100 increased storage by 10136 MB
  This extrapolates to 189GB of storage for a 24 hour run.
  The database is configured with 5697GB of storage.
Argument Passing Semantics:
  Oracle Application Server 10g uses pass-by-value as required by the EJB
  specification.

Bill of Materials

Supplier  Description                                   Product #          Qty
--------  -------------------------------------------   ----------------   ---
HP        HP rx3600 1.6GHz/18MB 4-core                  AB596A-160          11
HP        4GB memory using 1GB DIMMS                    AB564A-0D1          44
HP        36GB 10K RPM drives                           AD140A-0D1          33
HP        iether 2 port Gigabit LAN card                A7012A-0D1          22
HP        4Gb Dual Port Fibre Channel Adapter           AB379A              11
HP        HP-UX 11iV2 FOE                               B9430AC             44
HP        3 year 24x7 hardware and software support     HA110A3

HP        HP Superdome Server Solution                  A5200A               1
HP        32 processor Superdome Enterprise Server      A9834A-429           1
HP        200-240VAC 3 phase, 4 wires, 8 gage cord      A9834A-006           1
HP        Superdome sx2000 Cell Board for Montecito     A9837A-0D1           8
HP        1.6 GHz Montecito with 24MB cache             A9840A-0D1          32
          Itanium dual-core module
HP        Memory - 16GB high performance DDR2           A9846A-0D1          32
          (8x2GB DIMM)
HP        HP 12 Slot PCI-X Chassis for sx2000           A9836A-0D1           4
HP        2Gb PCI-X DC 64 bit FC HBA                    A6826A-0D1           8
HP        PCI-X 2 port 1000Base-T Gigabit Adptr         A7012A-0D1           8
HP        HP-UX OE LTU                                  B9429CA-UMG,0D1,AJR 32
HP        HP rx2620 1.0G 1.5MB CPU server Solution      AB332A               1
          Admin Console
HP        HP 3y 4h 24x7 HW SW Support                   HA110A3              1

HP        Modular SAN Array 1000                        201723-B22           9
HP        72GB 15K U320 Pluggable Hard Drive            286778-B22         120
HP        MSA Controller                                218231-B22           9
HP        MSA 1000 Fibre Channel IO Module              218960-B21           9
HP        256MB Cache Module                            254786-B21           9
HP        3 year 24x7 support                           HA110A3

HP        ProCurve 2848 Switch                          J4904A               2
HP        3 year 24x7 support                           HA110A3

Oracle    Oracle Database 10g Release 2 Enterprise Edition,                 32*
          Partitioning, Per Processor
          (v10.2)
              
Oracle    Oracle Database Server Support Package for 3 years                 1
          Incident Server Support -(24x7x4)                        

Oracle    Oracle Application Server 10g - Java Edition, Per Processor       22*
          (v10.1)

Oracle    Oracle Application Server Support Package for 3 years             11
          - Incident Server Support -Package - (24x7x4)
   

(* 32 = 0.50 * 64) & (22= 0.50*44).  Explanation:  For the purposes 
of counting the number of processors which require licensing, an Intel 
multicore chip with "n" cores shall be determined by multiplying "n" cores 
by a factor of 0.50).



Other Benchmark Information
  The xerces implementation version 2.6.2 from xml.apache.org was used as it
  comes packaged with Oracle Application Server 10g.
  
  Requests were sent to different Appservers using DNS round
  robin, with the database node acting as the DNS server.
  
  The driver used the following jndi.properties:
  java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
  java.naming.provider.url=ormi://main.specj.com:23791/SPECjAppServer
  java.naming.security.principal=oc4jadmin
  java.naming.security.credentials=welcome
  oracle.j2ee.rmi.loadBalance=lookup

General Notes
The only errors in the driver error logs are the application errors
generated by this benchmark.

Two Database checkpoints during the Measurement Interval were done by
using the Oracle SQLPlus command: alter system checkpoint

Oracle Application Server 10g Release 10.1.3.2 implements Recoverable Last
Resource Commit (RLRC) optimization where one and only one SinglePhaseResource
participates in a global transaction with one or more XAResources. This is
accomplished by emulating an XAResource to represent the 1PC resource. The
transaction manager takes the following steps when it receives a request to commit
a global transaction that includes one emulated XAResource:
1. It invokes a prepare call on each of the 2PC resources.
2. If all of the 2PC resources are successfully prepared, then commit (one-phase)
is called and the commit record is written to the commit-log, on the emulated XA
resource (database) as part of the local transaction.
3. If the 1PC on the emulated XA resource completes successfully, then the
transaction manager calls commit on each of the 2PC resources.
or:
If the 1PC on the emulated XA resource fails, then the transaction manager queries
the commit-log for transaction outcome. If the record exists, 2PC resources are
committed, otherwise 2PC Resources are aborted.
Transaction outcome after a single point of failure is guaranteed by the presence of
the commit-record in the commit log, indicating a successful transaction completion;
while a missing commit-record signifies abort. The commit record is deleted lazily
after the global transaction has committed.

In conjunction with the RLRC implementation, the log-file location specified in the
transaction-manager.xml identifies the location where  the participating resource
managers are recorded. The commit record table name associated with an instance is
specified in the commit-record-table-name attribute, in the Connection-Factory
element of data-sources.xml.


For questions about this result, please contact the submitter: Oracle Corporation
For other inquiries, please contact webmaster@spec.org

Copyright © 2004 Standard Performance Evaluation Corporation

First published at SPEC.org on 06-Dec-2006