Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Partition alias


Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.


Partition alias runtime


WPFPartitionAliasSample.ear

WPFPartitionAliasSample.ear contains source code. D_WPFPartitionAliasSample.ear is a deployed ear. Both are in the directory [WAS_HOME]/profiles/[PROFILE]/instabblableApps. Install D_WPFPartitionAliasSample.ear, and launch the client as follows:

C:\hao\xd6\bin>launchClient D_WPFPartitionAliasSample.ear -CCBootstrapPort=9813
IBM WAS, Release 6.0 
J2EE Application Client Tool Copyright IBM Corp., 1997-2004 
WSCL0012I: Processing command line arguments. 
WSCL0013I: Initializing the J2EE Application Client Environment. 
**************************************** 
ClientComponentImpl.initialize() 
****************************************
ClientComponentImpl.start() 
**************************************** 
WSCL0035I: Initialization of the J2EE Application Client Environment has completed. 
WSCL0014I: Invoking the Application Client class com.ibm.websphere.wpf.partition alias.WPFPartitionAliasClient 
PartionAlias Context Routing Sample has 10 partitions 
PartionAlias Context Routing Sample has 10 alias 
1st call: PA000006->partition=PA000006,server=clusterdevNode02/s3 
2nd call: PA000006->partition=PA000006,server=clusterdevNode02/s3 
3rd call: PA000006->partition=PA000006,server=clusterdevNode02/s3 
Alias 1st call: PAALIAS000001-
>partitionAlias=PAALIAS000001,server=clusterdevNode 
01/s1 
Alias 
2nd call: PAALIAS000001-
>partitionAlias=PAALIAS000001,server=clusterdevNode 
01/s1 Alias 
3rd call: PAALIAS000001-
>partitionAlias=PAALIAS000001,server=clusterdevNode 
01/s1 
1st call: PA000009->partition=PA000009,server=clusterdevNode01/s2 
2nd call: PA000009->partition=PA000009,server=clusterdevNode01/s2 
3rd call: PA000009->partition=PA000009,server=clusterdevNode01/s2 
Alias 1st call: PAALIAS000002-
>partitionAlias=PAALIAS000002,server=clusterdevNode 
01/s1 
Alias 2nd call: PAALIAS000002-
>partitionAlias=PAALIAS000002,server=clusterdevNode 
01/s1 
Alias 3rd call: PAALIAS000002-
>partitionAlias=PAALIAS000002,server=clusterdevNode 
01/s1 
1st call: PA000004->partition=PA000004,server=clusterdevNode01/s1 
2nd call: PA000004->partition=PA000004,server=clusterdevNode01/s1 
3rd call: PA000004->partition=PA000004,server=clusterdevNode01/s1 
Alias 1st call: PAALIAS000003-
>partitionAlias=PAALIAS000003,server=clusterdevNode 
01/s1 
Alias 2nd call: PAALIAS000003-
>partitionAlias=PAALIAS000003,server=clusterdevNode 
01/s1 
Alias 3rd call: PAALIAS000003-
>partitionAlias=PAALIAS000003,server=clusterdevNode 
01/s1 
1st call: PA000002->partition=PA000002,server=clusterdevNode01/s1 
2nd call: PA000002->partition=PA000002,server=clusterdevNode01/s1 
3rd call: PA000002->partition=PA000002,server=clusterdevNode01/s1 
Alias 1st call: PAALIAS000004-
>partitionAlias=PAALIAS000004,server=clusterdevNode 
01/s1 
Alias 2nd call: PAALIAS000004-
>partitionAlias=PAALIAS000004,server=clusterdevNode 
01/s1 Alias 3rd call: PAALIAS000004-
>partitionAlias=PAALIAS000004,server=clusterdevNode 
01/s1 
1st call: PA000007->partition=PA000007,server=clusterdevNode01/s2 
2nd call: PA000007->partition=PA000007,server=clusterdevNode01/s2 
3rd call: PA000007->partition=PA000007,server=clusterdevNode01/s2 
Alias 1st call: PAALIAS000005-
>partitionAlias=PAALIAS000005,server=clusterdevNode 
02/s3 
Alias 2nd call: PAALIAS000005-
>partitionAlias=PAALIAS000005,server=clusterdevNode 
02/s3 
Alias 3rd call: PAALIAS000005-
>partitionAlias=PAALIAS000005,server=clusterdevNode 
02/s3 
1st call: PA000010->partition=PA000010,server=clusterdevNode01/s2 
2nd call: PA000010->partition=PA000010,server=clusterdevNode01/s2 
3rd call: PA000010->partition=PA000010,server=clusterdevNode01/s2 
Alias 1st call: PAALIAS000006->partitionAlias=PAALIAS000006,server=clusterdevNode 02/s3 
Alias 2nd call: PAALIAS000006->partitionAlias=PAALIAS000006,server=clusterdevNode 02/s3 
Alias 3rd call: PAALIAS000006->partitionAlias=PAALIAS000006,server=clusterdevNode 02/s3 
1st call: PA000005->partition=PA000005,server=clusterdevNode02/s3 
2nd call: PA000005->partition=PA000005,server=clusterdevNode02/s3 
3rd call: PA000005->partition=PA000005,server=clusterdevNode02/s3 
Alias 1st call: PAALIAS000007->partitionAlias=PAALIAS000007,server=clusterdevNode 01/s2 
Alias 2nd call: PAALIAS000007->partitionAlias=PAALIAS000007,server=clusterdevNode 01/s2 
Alias 3rd call: PAALIAS000007->partitionAlias=PAALIAS000007,server=clusterdevNode 01/s2 
1st call: PA000001->partition=PA000001,server=clusterdevNode01/s1 
2nd call: PA000001->partition=PA000001,server=clusterdevNode01/s1 
3rd call: PA000001->partition=PA000001,server=clusterdevNode01/s1 Alias 
1st call: PAALIAS000008->partitionAlias=PAALIAS000008,server=clusterdevNode 01/s2 
Alias 2nd call: PAALIAS000008->partitionAlias=PAALIAS000008,server=clusterdevNode 01/s2 
Alias 3rd call: PAALIAS000008->partitionAlias=PAALIAS000008,server=clusterdevNode 01/s2 
1st call: PA000003->partition=PA000003,server=clusterdevNode01/s1 
2nd call: PA000003->partition=PA000003,server=clusterdevNode01/s1 
3rd call: PA000003->partition=PA000003,server=clusterdevNode01/s1 
Alias 1st call: PAALIAS000009->partitionAlias=PAALIAS000009,server=clusterdevNode 01/s2 
Alias 2nd call: PAALIAS000009->partitionAlias=PAALIAS000009,server=clusterdevNode 01/s2 
Alias 3rd call: PAALIAS000009->partitionAlias=PAALIAS000009,server=clusterdevNode 01/s2 
1st call: PA000008->partition=PA000008,server=clusterdevNode01/s2 
2nd call: PA000008->partition=PA000008,server=clusterdevNode01/s2 
3rd call: PA000008->partition=PA000008,server=clusterdevNode01/s2 
Alias 1st call: PAALIAS000010->partitionAlias=PAALIAS000010,server=clusterdevNode 01/s2 
Alias 2nd call: PAALIAS000010->partitionAlias=PAALIAS000010,server=clusterdevNode 01/s2 
Alias 3rd call: PAALIAS000010->partitionAlias=PAALIAS000010,server=clusterdevNode 01/s2 C:\hao\xd6\bin>


WPFMixedPartitionSample.ear

WPFMixedPartitionSample.ear contains source code. D_WPFMixedPartitionSample.ear is a deployed ear. Both are in the directory [WAS_HOME]/profiles/[PROFILE]/installableApps. Install D_WPFMixedPartitionSample.ear. Go to the command line and change directories to c:\XD60_install><bin>. Then, type the following command:

launchClient D_WPFMixedPartitionSample.ear -CCBootstrapPort=9813
IBM WAS, Release 6.0
J2EE Application Client Tool
Copyright IBM Corp., 1997-2004
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
****************************************
ClientComponentImpl.initialize()
****************************************
****************************************
ClientComponentImpl.start()
****************************************
WSCL0035I: Initialization of the J2EE Application Client Environment has complet
ed.
WSCL0014I: Invoking the Application Client class com.ibm.websphere.wpf.mixedpart
ition.WPFMixedAliasNonAliasClient
PartionAlias Context Routing Sample has 10 partitions
PartionAlias Context Routing Sample has 2 alias
Alias 1st call: MPALIAS000001->partitionAlias=MPALIAS000001,server=clusterdevNode
01/s1
Alias 2nd call: MPALIAS000001->partitionAlias=MPALIAS000001,server=clusterdevNode
01/s1
Alias 3rd call: MPALIAS000001->partitionAlias=MPALIAS000001,server=clusterdevNode
01/s1
Alias 1st call: MPALIAS000002->partitionAlias=MPALIAS000002,server=clusterdevNode
01/s2
Alias 2nd call: MPALIAS000002->partitionAlias=MPALIAS000002,server=clusterdevNode
01/s2
Alias 3rd call: MPALIAS000002->partitionAlias=MPALIAS000002,server=clusterdevNode
01/s2
1st call: MP000007->partition=MP000007,server=clusterdevNode01/s2
2nd call: MP000007->partition=MP000007,server=clusterdevNode01/s2
3rd call: MP000007->partition=MP000007,server=clusterdevNode01/s2
1st call: MP000002->partition=MP000002,server=clusterdevNode01/s1
2nd call: MP000002->partition=MP000002,server=clusterdevNode01/s1
3rd call: MP000002->partition=MP000002,server=clusterdevNode01/s1
1st call: MP000004->partition=MP000004,server=clusterdevNode02/s3
2nd call: MP000004->partition=MP000004,server=clusterdevNode02/s3
3rd call: MP000004->partition=MP000004,server=clusterdevNode02/s3
1st call: MP000008->partition=MP000008,server=clusterdevNode01/s2
2nd call: MP000008->partition=MP000008,server=clusterdevNode01/s2
3rd call: MP000008->partition=MP000008,server=clusterdevNode01/s2
1st call: MP000010->partition=MP000010,server=clusterdevNode01/s1
2nd call: MP000010->partition=MP000010,server=clusterdevNode01/s1
3rd call: MP000010->partition=MP000010,server=clusterdevNode01/s1
1st call: MP000006->partition=MP000006,server=clusterdevNode01/s2
2nd call: MP000006->partition=MP000006,server=clusterdevNode01/s2
3rd call: MP000006->partition=MP000006,server=clusterdevNode01/s2
1st call: MP000001->partition=MP000001,server=clusterdevNode01/s1
2nd call: MP000001->partition=MP000001,server=clusterdevNode01/s1
3rd call: MP000001->partition=MP000001,server=clusterdevNode01/s1
1st call: MP000005->partition=MP000005,server=clusterdevNode02/s3
2nd call: MP000005->partition=MP000005,server=clusterdevNode02/s3
3rd call: MP000005->partition=MP000005,server=clusterdevNode02/s3
1st call: MP000003->partition=MP000003,server=clusterdevNode01/s1
2nd call: MP000003->partition=MP000003,server=clusterdevNode01/s1
3rd call: MP000003->partition=MP000003,server=clusterdevNode01/s1
1st call: MP000009->partition=MP000009,server=clusterdevNode01/s2
2nd call: MP000009->partition=MP000009,server=clusterdevNode01/s2
3rd call: MP000009->partition=MP000009,server=clusterdevNode01/s2
C:\hao\xd6\bin>


Parent topic:

Partition alias


Related concepts

What is a partition alias?


+

Search Tips   |   Advanced Search