DX Application Performance Management

Expand all | Collapse all

Monitoring Powercurve Process server using a wrapper

Jump to Best Answer
  • 1.  Monitoring Powercurve Process server using a wrapper

    Posted 05-13-2015 02:41 AM

    Trying to Monitor an application that is run with the following settings :

    An installer.bat file is then which installs a service ..

     

    wrapper.conf:

     

    # include the core configuration

    include=wrapper.core.conf

    # additional properties

    wrapper.java.additional.4=-XX:PermSize=128M

    wrapper.java.additional.5=-XX:MaxPermSize=256M

    wrapper.java.additional.6=-XX:+UseConcMarkSweepGC

    wrapper.java.additional.7=-XX:+CMSClassUnloadingEnabled

    wrapper.java.additional.8=-Dmail.mime.encodefilename=true

    wrapper.java.additional.9=-Djetty.home="conf/jetty"

    wrapper.java.additional.10=-Djava.library.path=dbdrivers

    wrapper.java.additional.11=-Dorg.grlea.logBridge.LogBridgeFactory=com.experian.eda.component.workflow.runtime.engine.common.logging.Slf4jLogBridgeFactory

    wrapper.java.additional.12=-Dlogback.configurationFile=conf/logback.xml

    wrapper.java.additional.13=-Dcom.sun.management.jmxremote.port=1200

    wrapper.java.additional.14=-Dcom.sun.management.jmxremote.authenticate=false

    wrapper.java.additional.15=-Dcom.sun.management.jmxremote.ssl=false

    wrapper.java.additional.16=-Dsun.lang.ClassLoader.allowArraySyntax=true

    wrapper.java.additional.17=-Ddbdrivers=dbdrivers

    wrapper.java.additional.18=-Djavax.net.ssl.trustStore="E:\\Experian\\PCE_CON_Solution\\key\\security\\truststore-pceasppte"

    wrapper.java.additional.19=-Djavax.net.ssl.trustStorePassword=XXXXXXX

    wrapper.java.additional.20=-Xms10240M

    wrapper.java.additional.21=-XX:NewSize=5120M

    wrapper.java.additional.22=-XX:SurvivorRatio=4

    wrapper.java.additional.23=-XX:+UseCompressedOops

    wrapper.java.additional.24=-XX:+UseFastAccessorMethods

    wrapper.java.additional.25=-XX:+UseStringCache

    wrapper.java.additional.26=-Dcom.iplanet.am.naming.map.site.to.server=servername/sso=servername/sso


    With the config like this (above) the service starts but when i add my entries (below) then uninstall and re-install the service then the service does not start - unfortunately there are no logs populated giving me an idea whats wrong with my entries which are :


    wrapper.java.additional.27=-javaagent:E:\apm\Agent.jar

    wrapper.java.additional.28=-Dcom.wily.introscope.agentProfile=E:\apm\core\bps_config\IntroscopeAgent.profile

    wrapper.java.additional.29=-Dcom.wily.introscope.agent.agentName=BPS

     

    I have tried encapsulating the file names eg "E:\apm\Agent.jar" i have also tried \\ in the file names and also -javaagent=E:\apm\Agent.jar



  • 2.  Re: Monitoring Powercurve Process server using a wrapper
    Best Answer

    Posted 05-13-2015 03:01 AM

    You do not need to enable remote JMX if you're using APM. You can remove 13-15.

     

    Use backlash (*nix format) instead of forward slash (Windows format) when defining directories. Otherwise, you will need to escape each backslash.



  • 3.  Re: Monitoring Powercurve Process server using a wrapper

    Posted 05-13-2015 06:40 PM

    The EM_HOME\bin\EMService.conf file for running a Windows EM as a service also has a good example of running a java application via a wrapper service. In the main it uses a '/' for directory level separator.

    wrapper.logfile would need to be set to generate a log file

    The Tanuki Software Java Service Wrapper site is also a useful resource (http://wrapper.tanukisoftware.com/doc/english/properties.html)



  • 4.  Re: Monitoring Powercurve Process server using a wrapper

    Posted 05-13-2015 11:31 PM

    Thanks for your assistance - i haven't had access to this box today so have been unable to try any changes so far - will report back when i have.