Hi Ilya,

Yes, you must configure WAS to work with Agent Controller by specifying JVM
arguments. Since you're using JDK 1.4, you need to use piAgent.

Here is an article for configuring tomcat to work with Agent Controller:
http://geeklondon.com/blog/view/death-by-acronyms
Because the author is using Java 6, the argument he used is JPIAgent.
Anyway, you can learn from what he did.

---
Richard Y.S. HUANG


                                                                           
             Илья Ермолин                                                  
             <ermoli...@gmail.                                             
             com>                                                       To 
             Sent by:                  TPTP Tracing and Profiling Tools    
             tptp-tracing-prof         Project developer discussions       
             iling-tools-dev-b         <tptp-tracing-profiling-tools-...@e 
             [email protected]         clipse.org>                         
             g                                                          cc 
                                                                           
                                                                   Subject 
             2009-02-06 20:44          Re:                                 
                                       [tptp-tracing-profiling-tools-dev]  
                                       ARM transaction start error         
             Please respond to         with WebSphere 6.0.2.31             
             TPTP Tracing and                                              
              Profiling Tools                                              
             Project developer                                             
                discussions                                                
             <tptp-tracing-pro                                             
             filing-tools-dev@                                             
               eclipse.org>                                                
                                                                           
                                                                           




Hi, Richard

Please correct me if I wrong: I must include -Xrun parameter with according
options even if I just use ARM.

Since you're using ARM, please don't forget ARM's factories:
   1.
      
-DArm40.ArmTransactionFactory=org.eclipse.tptp.trace.arm.internal.transaction.ArmTransactionFactoryImpl

   2.
      
-DArm40.ArmTranReportFactory=org.eclipse.tptp.trace.arm.internal.tranreport.ArmReportFactoryImpl

   3.
      
-DArm40.ArmMetricFactory=org.eclipse.tptp.trace.arm.internal.metric.ArmMetricFactoryImp
I type
org.eclipse.tptp.trace.arm.internal.transaction.ArmTransactionFactoryImpl
in special field in WAS and
Add
Arm40.ArmTranReportFactory=org.eclipse.tptp.trace.arm.internal.tranreport.ArmReportFactoryImpl

Arm40.ArmMetricFactory=org.eclipse.tptp.trace.arm.internal.metric.ArmMetricFactoryImp
 to system properties of JVM using custom properties in admin console.


2009/2/6 Yun Song Huang <[email protected]>
  Hi Ilya,

  Firstly you need to make sure the Agent Controller installed and
  configured correctly on your WAS host, and the Eclipse TPTP workbench can
  connect to this Agent Controller. Suppose you have done this well.

  For JVM arguments, you can reference to
  
http://publib.boulder.ibm.com/infocenter/rtnlhelp/v6r0m0/index.jsp?topic=/org.eclipse.hyades.trace.ui.doc.user/tasks/teprofsa.htm.


  Since you're using ARM, please don't forget ARM's factories:
     1.
        
-DArm40.ArmTransactionFactory=org.eclipse.tptp.trace.arm.internal.transaction.ArmTransactionFactoryImpl

     2.
        
-DArm40.ArmTranReportFactory=org.eclipse.tptp.trace.arm.internal.tranreport.ArmReportFactoryImpl

     3.
        
-DArm40.ArmMetricFactory=org.eclipse.tptp.trace.arm.internal.metric.ArmMetricFactoryImpl

  ---
  Richard Y.S. HUANG

  Inactive hide details for Илья Ермолин ---2009-02-06 02:49:38---Hi,
  RichardИлья Ермолин ---2009-02-06 02:49:38---Hi, Richard
                                                                           
                         Илья                                              
                         Ермолин <?.                                       
                         ermoli...@g                                       
                         mail.com>                                         
                         Sent by:                                          
                         tptp-tracin                                    To 
                         g-profiling                                       
                         -tools-dev-        TPTP Tracing and Profiling     
                         boun...@ecl        Tools Project developer        
                         ipse.org           discussions <                  
                                            tptp-tracing-profiling-tools-d 
                                            [email protected]>                
                         2009-02-06                                        
                         02:46                                          cc 
                                                                           
                                                                           
                                                                   Subject 
                                                                           
                                            Re:                            
          Please respond to                 [tptp-tracing-profiling-tools- 
  TPTP Tracing and Profiling Tools          dev] ARM transaction start     
  Project developer discussions <?          error with WebSphere 6.0.2.31  
 tptp-tracing-profiling-tools-...@ec                                       
             lipse.org>                                                    
                                                                           
                                                                           
                                                                           
                                                                           



  Hi, Richard

  thanks for reply!

  I'll try to answer for your questions:
  OS: Windows XP SP 2
  JDK:
  java version "1.4.2"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
  Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142-20080515
  (SR11) (JIT enabled: jitc))
  Eclipse: v. 3.4.1
  TPTP: v. 4.5.1
  Agent Controller: down loaded just 1 week earlier:
  versions of plugins in it:
  org.eclipse.tptp.jsse
  org.eclipse.tptp.monitoring.instrumentation_4.3.100.v200806180100
  org.mx4j.jmx_3.0.3.v200802291451
  org.opengroup.arm_4.0.100.v200802290100
  org.eclipse.tptp.javaprofiler
  org.eclipse.tptp.platform.collection.framework_4.2.201.v200807310709
  org.junit_3.8.2.v20080602-1318
  org.eclipse.hyades.probekit
  org.eclipse.tptp.platform.models.hierarchy_4.5.0.v200806120100
  org.eclipse.tptp.test.tools.junit.plugin_4.4.200.v200808080100
  org.eclipse.tptp.trace.arm_4.3.100.v200805120832
  org.eclipse.hyades.execution_4.4.201.v200808111750
  org.eclipse.hyades.logging.core_4.3.200.v200804110100
  org.eclipse.hyades.test.core_4.4.2.v200809081124
  org.eclipse.hyades.test.tools.core_4.4.200.v200808111750
  org.eclipse.tptp.platform.logging.events_4.3.200.v200805310100
  org.eclipse.tptp.platform.models_4.5.1.v200807310709

  For configuring WAS to work with ARM Agent I use following manual
  
http://www.eclipse.org/tptp/monitoring/documents/tutorials/tptp_btm_setup_4.5.html

  and do a lot of research before WAS began to load normally...

  I try to Enable debug version of ARM Agent (witch store data in local
  file without RAC), and all work just fine. But I want to view ARM calls
  in GUI and not in logs...

  I do some more research of problem:
  I think that problem in new version of Agent controller. Unfortunately I
  don't know what have been changed and in what version...

  I try to reproduce sequence of steps and send debug log from RAC.

  Maybe some one could advice some old version of RAC witch work fine with
  ARM Agent...
  With regards,
  Ilya.

  5 февраля 2009 г. 11:20 пользователь Yun Song Huang <[email protected]>
  написал:.
        Ilya,

        Where did you get TPTP ARM Agent 4.5?

        Also please put here the link of manuals you followed to configure
        WAS with ARM Agent.




        Thanks.

        ---
        Richard Y.S. HUANG

<<inline: graycol.gif>>

<<inline: pic07248.gif>>

<<inline: ecblank.gif>>

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to