Service Virtualization

 View Only
  • 1.  Java Agent supports Tomcat application server

    Posted Apr 06, 2020 05:27 AM
    Is java agent of application insight supports Tomcat application server??

    ------------------------------
    Thanks,
    Soumya
    ------------------------------


  • 2.  RE: Java Agent supports Tomcat application server

    Posted Apr 07, 2020 02:33 AM
    Hi Soumya,

    I suggest, try using the wildfly configuration and check. It may work for tomcat as well.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: Java Agent supports Tomcat application server

    Posted Apr 08, 2020 10:23 PM
    Hi Vaibhav,

    Thanks for yous reply. Can you help me to resolve below errors.

    We have an application running in the local machine. CA DevTest is running in remote server. Now I am trying to configure the application to connect to Devtest through which I want to install a application insight agent.

    When I make the config changes in the app file and run it , I get the below error message. Could you please let me know how do I establish a connection b/w CA Devtest to install agent (present in remote desktop) for an application which is in local.

    There is no rules.properties and rules.xml file. No custom rules loaded.

    No custom rules loaded from C:\sv123\agent\rules.xml

    [DevTest AGENT:A][WARN][2528][1][main][Tue Apr 07 14:14:22 IST 2020] Could not establish connection to Agent broker at tcp://X.X.X.X:2009?daemon=true

    2020-04-07 14:14:28.166  INFO 2528 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$ce2d63c2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

    ====================================================================

    When ever  configuring a same application on server,  where devtest is running I am getting below error
    [DevTest AGENT:A][ERROR][1504][1][main][04/08 09:51:00 (298)] methodExit: org.springframework.boot.loader.jar.JarURLConnection.getInputStream
    java.lang.NullPointerException


    Thanks,
    Soumya





    ------------------------------
    Soumya
    ------------------------------



  • 4.  RE: Java Agent supports Tomcat application server

    Broadcom Employee
    Posted Apr 09, 2020 12:20 AM
    HI Soumya
             PLease make sure the 'DevTest Broker' service is up and running.

    --
    regards
    Sankar Natarajan





  • 5.  RE: Java Agent supports Tomcat application server

    Posted Apr 09, 2020 01:05 AM
    It is up and running

    ------------------------------
    Soumya
    ------------------------------



  • 6.  RE: Java Agent supports Tomcat application server
    Best Answer

    Posted Apr 09, 2020 01:04 AM
    Hi Soumya,

    Please make sure following points are considered:
    1. Broker is up and running and visible in portal
    2. Necessary connectivity is available between application and devtest server (firewall rules, ports etc.)
    3. Necessary jar files are copied at application end (such as \WEB-INF\lib folder)
    4. JAVA_TOOL_OPTIONS=<agent_parameters_string>  property is configured within startup.bat/sh 

    Thanks.


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------