WebSphere Extended Deployment, Version 6.0.x     Systèmes d'exploitation : AIX, HP-UX, Linux, Solaris, Windows, z/OS

Lancement d'une application client

Pourquoi et quand utiliser cette tâche

Pour tester le côté serveur, lancez l'application J2EE (Java 2 Platform Enterprise Edition) launchclient.

Entrez la commande suivante dans la fenêtre de commandes :

launchclient [REPERTOIRE_PRINCIPAL_WAS]\profiles\[PROFIL_SERVEUR_APPLICATIONS]\installedApps\Cell\
WPFKeyBasedPartitionSample.ear -CCproviderURL=corbaloc::
<hôte>:<port>


<hôte>  : Nom d'hôte où le serveur d'applications s'exécute.
<port> -  BOOTSTRAP_ADDRESS
Pour rechercher le port : dans la console d'administration, sélectionnez Serveurs > Serveurs d'applications > nom_serveur > Communications > Ports.
Ensuite, recherchez la valeur du port de BOOTSTRAP_ADDRESS.

Le résultat doit apparaître sous la forme suivante :

IBM WebSphere Application Server, Release 5.1
J2EE Application Client Tool
Copyright IBM Corp., 1997-2003
WSCL0012I: Traitement des arguments de la ligne de commande.
WSCL0013I: WSCL0013I: Initialisation de l'environnement pour clients d'applications J2EE.
WSCL0035I: Initialisation de l'environnement J2EE Application Client
WSCL0014I: Appel de la classe 
com.ibm.websphere.wpf.client.WPFKeyBasedPartitionClient
Création de partitions de PK000001 à PK000010
1er appel : PK000001->partition=PK000001,serveur=NodeA/cluster_member_1
2e appel : PK000001->partition=PK000001,serveur=NodeA/cluster_member_1
3e appel : PK000001->partition=PK000001,serveur=NodeA/cluster_member_1
1er appel : PK000002->partiton=PK000002,serveur=NodeA/cluster_member_3
2e appel : PK000002->partition=PK000002,serveur=NodeA/cluster_member_3
3e appel : PK000002->partition=PK000002,serveur=NodeA/cluster_member_3
1er appel : PK000003->partition=PK000003,serveur=NodeA/cluster_member_3
2e appel : PK000003->partition=PK000003,serveur=NodeA/cluster_member_3
3e appel : PK000003->partition=PK000003,serveur=NodeA/cluster_member_3
1er appel : PK000004->partiton=PK000004,server=NodeA/cluster_member_3
2e appel : PK000004->partition=PK000004,serveur=NodeA/cluster_member_3
3e appel : PK000004->partition=PK000004,serveur=NodeA/cluster_member_3
1er appel : PK000005->partition=PK000005,serveur=NodeA/cluster_member_1
2e appel : PK000005->partition=PK000005,serveur=NodeA/cluster_member_1
3e appel : PK000005->partition=PK000005,serveur=NodeA/cluster_member_1
1er appel : PK000006->partiton=PK000006,server=NodeA/cluster_member_1
2e appel : PK000006->partition=PK000006,serveur=NodeA/cluster_member_1
3e appel : PK000006->partition=PK000006,serveur=NodeA/cluster_member_1
1er appel : PK000007->partition=PK000007,serveur=NodeA/cluster_member_1
2e appel : PK000007->partition=PK000007,serveur=NodeA/cluster_member_1
3e appel : PK000007->partition=PK000007,serveur=NodeA/cluster_member_1
1er appel : PK000008->partition=PK000008,serveur=NodeA/cluster_member_3
2e appel : PK000008->partition=PK000008,serveur=NodeA/cluster_member_3
3e appel : PK000008->partition=PK000008,serveur=NodeA/cluster_member_3
1er appel : PK000009->partition=PK000009,serveur=NodeA/cluster_member_1
2e appel : PK000009->partition=PK000009,serveur=NodeA/cluster_member_1
3e appel : PK000009->partition=PK000009,serveur=NodeA/cluster_member_1
1e appel : PK000010->partition=PK000010,serveur=NodeA/cluster_member_3
2e appel : PK000010->partition=PK000010,serveur=NodeA/cluster_member_3
3e appel : PK000010->partition=PK000010,serveur=NodeA/cluster_member_3

Comparez les résultats à ceux de la commande wpfadmin listActive exécutée dans la section précédente. Le serveur d'applications sur lequel la demande s'est exécutée est le système où l'activation a été effectuée.

NoteColonSymbol Si un appel de méthode destiné à une partition spécifique est acheminé vers une autre partition, l'application a probablement été redéployée lors de l'installation de l'application ou avant l'utilisation de ce fichier EAR. Pour corriger l'exemple de fichier EAR, voir les instructions relatives à la commande wpfstubutil dans le guide de programmation.



Related tasks
Exécution d'opérations pour la fonction de partitionnement

Related reference
Identification et résolution des incidents liés à launchclient

Rubrique Tâche    

Conditions d'utilisation | Commentaires Dernière mise à jour le : Mar 16, 2006 10:01:30 AM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=?topic=/com.ibm.websphere.xd.doc/info/WPF51/twpflaunchclient.html

© Copyright IBM 2005, 2006. All Rights Reserved.
Ce centre de documentation s'appuie sur la technologie Eclipse. (http://www.eclipse.org)