DX Application Performance Management

  • 1.  APM Agent configuration for Informatica Data Quality

    Posted Oct 01, 2014 09:21 AM

    The client is using IDQ tool. Informatica Data Quality (IDQ) tool is tomcat
    based. They want to configure the APM agent for this.

    They are using the startup script is: infaservice.sh [ startup | shutdown ]
    PFA.

    We configured the APM agent parameter on infaservice.sh

    INFA_JAVA_OPTS="-Xmx512m ${INFA_JAVA_OPTS} -XX:GCTimeRatio=9
    -XX:MaxPermSize=128m -javaagent:/inet/apps/wily9/Agent.jar
    -Dcom.wily.introscope.agentProfile=/inet/apps/wily9/core/config/IntroscopeAgen
    t.tomcat.profile -Dcom.wily.autoprobe.logSizeInKB=10000
    -Dcom.wily.introscope.agent.agentName=IDQ Tool"

    But it is showing the error on catalina.out and the application don't start.

    Error

    Exception in thread "main" java.lang.NoClassDefFoundError: Tool
    Caused by: java.lang.ClassNotFoundException: Tool
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    Could not find the main class: Tool.  Program will exit.

    We request you to kindly advise for configuration and where should we
    configure?



  • 2.  Re: APM Agent configuration for Informatica Data Quality

    Broadcom Employee
    Posted Oct 01, 2014 10:10 AM
    The agent name has a space which is not accepted. Use an underscore instead.



  • 3.  Re: APM Agent configuration for Informatica Data Quality
    Best Answer

    Posted Oct 01, 2014 11:32 AM

    To clarify, this is because you're applying the agent name as a JVM startup parameter, which are space delimited; therefore, by including a space, you've instructed the JVM to launch the Tool class and ignore all remaining parameters. If you instead specify the agent name in the IntroscopeAgent.tomcat.profile, you should be able to include a space. Or, like Haruhiko suggests, you can use an underscore instead.



  • 4.  Re: APM Agent configuration for Informatica Data Quality

    Posted Oct 01, 2014 02:02 PM

    Jack is correct, however agent name can definitely have a space whether you specify in the profile or via commandline property.

    Can you try enclosing the property value in quotes for e.g -Dcom.wily.introscope.agent.agentName="IDQ Tool"


    Regards,

    Kulbir



  • 5.  Re: APM Agent configuration for Informatica Data Quality

    Broadcom Employee
    Posted Oct 01, 2014 03:13 PM

    In Xavier's case, use single quotes since you're using double quotes for the entire string for INFA_JAVA_OPTS.