<INICIO_WAS>\launchclient <INICIO_WAS>\profiles\[PERFIL_SERVIDOR_APLIC]\installedApps\Cell\
WPFKeyBasedPartitionSample.ear -CCproviderURL=corbaloc::localhost:9813
-addPartition PKMyNewOne
IBM WebSphere Application Server, Release 5.1 J2EE Application Client Tool Copyright IBM Corp., 1997-2003 WSCL0012I: Procesando argumentos de línea de mandatos. WSCL0013I: Inicializando J2EE Application Client Environment. WSCL0035I: La inicialización de J2EE Application Client Environment ha finalizado. WSCL0014I: Invocando la clase de Cliente de aplicaciones com.ibm.websphere.wpf.client.WPFKeyBasedPartitionClient Adding partition PKMyNewOne Partitions added. Since there is a delay when a partition activates, to run the client against the newly added partition, run launchClient again without the -addPartition optionLa aplicación debe estar programada para ofrecer esta función. Esta no es una característica que wpfadmin ofrece en general. Los programadores pueden consultar la aplicación de ejemplo para dar soporte a la adición y eliminación dinámica de particiones.
El aviso anterior indica que es posible que la adición y activación de particiones en la vista de tiempo de ejecución no se produzcan inmediatamente (generalmente serán muy rápidas). Por lo tanto, el mandato siguiente puede no reflejarlo inmediatamente en una configuración de clúster grande.
wsadmin -lang jython -f wpfadmin.pty listActive
WASX7209I: Conexión con el proceso "Gestor de despliegue" en el nodo CellManager mediante el conector SOAP; el tipo de proceso es: DeploymentManager WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PKMyNewOne: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000010: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000009: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000008: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000007: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000006: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000005: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000004: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000003: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000002: servidor Cell\NodeA\cluster_member_3 WPFC0050I: Aplicación WPFKeyBasedPartitionSample, partición PK000001: servidor Cell\NodeA\cluster_member_3En la salida de mandato, ahora existe la partición PKMyNewOne. En este punto, la partición puede recibir transacciones si ejecuta el cliente de demostración sin parámetros.