Je veut profiler une jboss Web application à distance avec TPTP.
L’étape que j’ai fait pour exécuter l’application avec line de command
- Installer Agent contrôlor sur C:\tptpd
- Ajouter C:\tptpd\bin dans le PATH variable d’environnement
- Lancer SetConfig.bat pour la configuration
- Lancer ACserver pour activer le Agent contrôleur
- Lancer Sampleclient pour le test
Tout l’étape au-dessus n’a pas de prôblème, ensuit j’ai ajouté une ligne de commande à l’éxécution JVM.
- Lancer java –version pour voire le version de JRE, mon JRE est au version 1.4.2_19
- Ajoute set JAVA_OPTS=%JAVA_OPTS% -XrunpiAgent :server=enabled dans le fichier jboss\bin\run.bat
Mais il y a une erreur d’exécution comme :
Error occurred during initialisatization of VM
Could not find agent library on the library path or in the local directory:piAgent
Mercie
Partager