DX Application Performance Management

Expand all | Collapse all

Introscope Agent Files for Glassfish

  • 1.  Introscope Agent Files for Glassfish

    Posted Nov 16, 2016 11:24 AM

    Hi there

    On products download, there is no option to download Introscope Agent Files for Glassfish. Should i modify the files on "Introscope Java Agent Files for All Application Servers-No Installer r10.3.0.0" folder or modify on the "Introscope Agent Files for Apache Tomcat-No Installer r10.3.0.0" folder?

    I know i have to configure the agent with this info: Glassfish - CA Application Performance Management - 10.1 - CA Technologies Documentation 

    Glassfish and Apache Tomcat are both app servers, which folder do you recommend?

     

    Regards

    Fernando



  • 2.  Re: Introscope Agent Files for Glassfish
    Best Answer

    Posted Nov 16, 2016 11:35 AM

    Hi Fernando,

     

    I suggest you take 10 minutes to download and install APM Command Center, it will help you to build a “glassfish” configuration quite easily.

     

    Otherwise, try the “allappservers” one.

     

    Cheers,

     

    Florian.



  • 3.  Re: Introscope Agent Files for Glassfish

    Posted Nov 16, 2016 11:56 AM

    Thanks Florian

    I will try APM Command Center.

     

    Regards

    Fernando



  • 4.  Re: Introscope Agent Files for Glassfish

    Broadcom Employee
    Posted Nov 16, 2016 11:51 AM

    Dear Fernando

    Also searching in Community using search terms APM and Glassfish I see prior Community posts and Knowledge Docs. Was Florian's suggestion and prior Community posts and Knowledge Docs helpful? 

     

    Thanks

    Hal German



  • 5.  Re: Introscope Agent Files for Glassfish

    Posted Nov 16, 2016 11:55 AM

    Hal German,

    Yes it was.

    Thanks



  • 6.  Re: Introscope Agent Files for Glassfish

    Posted Nov 17, 2016 05:37 AM

    Hi Hal,

     

    I can´t install CA APM Command Center on Windows Server 2008...

    Must be windows server 2012.

     

    Need to use the files on folder...

     

    Regards,

    Fernando



  • 7.  Re: Introscope Agent Files for Glassfish

    Posted Nov 17, 2016 06:08 AM

    Hi Fernando,

     

    What was the problem that you encountered exactly on Windows 2008?

     

    Thx,

     

    Florian.



  • 8.  Re: Introscope Agent Files for Glassfish

    Posted Nov 17, 2016 06:59 AM

    Hey Florian,

     

    I run this cmd: apmccsrv.cmd install

    And gives me this error: 

    \acc-configserver-package\APMCommandCenterServer\config\apmccsrv.properties was unexpected at this time.

     

    Regards 



  • 9.  Re: Introscope Agent Files for Glassfish

    Posted Nov 17, 2016 08:48 AM

    Hi Fernando,

     

    You are using APM Command Center version 10.3, correct?

     

    Are you using a network share?

     

    Are you using a non standard shell?

     

    Did you edit anything?

     

    What directory are you running the install command from? (the absolute path )

     

    Can you send us the following:

    The output of a “cmd /v output”

    Remove the ECHO OFF line at the beginning of the apmccsrv.cmd file and send us the output as well?

     

    Thx a lot,

     

    Florian.



  • 10.  Re: Introscope Agent Files for Glassfish

    Posted Nov 17, 2016 09:28 AM

    Florian,

     

    APM Command Center version 10.3, Yes.

    Yes im using network share folder. (E:\)

    Im using the windows command line.

    I did not edit nothing.

    Im running from the network folder: E:\Software\Command Center Server 10.3 for Windows-(includes controllers for all platforms)\acc-configserver-package\APMCommandCenterServer

     

    The output of a “cmd /v output”:

     

    Removed the ECHO OFF line at the beginning of the apmccsrv.cmd file:

     

     

    Regards

    Fernando



  • 11.  Re: Introscope Agent Files for Glassfish

    Posted Nov 17, 2016 10:07 AM

    Hi Fernando,

     

    It seems that the problem is coming from the fact that there are parenthesis in the path.

     

    Can you please try the following commands

     

    move “E:\Software\Command Center Server 10.3 for Windows-(includes controllers for all platforms)\acc-configserver-package\APMCommandCenterServer” “E:\Software”

    E:\Software\APMCommandCenterServer\apmccsrv.cmd install

     

    Thx,

     

    Florian.



  • 12.  Re: Introscope Agent Files for Glassfish

    Posted Nov 18, 2016 08:11 AM

    Hi Florian,

    I removed the parenthesis.

    Now i get this:

     

    wrapper.log :

     

    2016/11/17 15:13:45 | STATUS | CA APM Command Center Configuration Server service installed.
    2016/11/17 15:13:45 | STATUS | Starting the CA APM Command Center Configuration Server service...
    2016/11/17 15:13:45 | STATUS | --> Wrapper Started as Service
    2016/11/17 15:13:45 | STATUS | Java Service Wrapper Standard Edition 64-bit 3.5.25
    2016/11/17 15:13:45 | STATUS | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
    2016/11/17 15:13:45 | STATUS | http://wrapper.tanukisoftware.com
    2016/11/17 15:13:45 | STATUS | Licensed to CA, Inc. for APM Command Center Server
    2016/11/17 15:13:45 | STATUS |
    2016/11/17 15:13:46 | WARN | The 'JAVA_HOME' environment variable was referenced but has not been defined.
    2016/11/17 15:13:46 | STATUS | Launching a JVM...
    2016/11/17 15:13:46 | STATUS | Java Command Line:
    2016/11/17 15:13:46 | STATUS | Command: "%JAVA_HOME%\bin\java" -Xmx2048m -XX:MaxPermSize=128m -Djava.library.path="lib" -classpath "lib/acc-configserver-ui.war;lib/wrapper.jar" -Dwrapper.key="_8LMetOsVMDZ7FMOpVD29R8PIbdhXdEK" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=1740 -Dwrapper.version="3.5.25-st" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.springframework.boot.loader.WarLauncher --spring.config.location=file:config/apmccsrv.properties
    2016/11/17 15:13:46 | FATAL | Unable to execute Java command. The system cannot find the file specified. (0x2)
    2016/11/17 15:13:46 | FATAL | "%JAVA_HOME%\bin\java" -Xmx2048m -XX:MaxPermSize=128m -Djava.library.path="lib" -classpath "lib/acc-configserver-ui.war;lib/wrapper.jar" -Dwrapper.key="_8LMetOsVMDZ7FMOpVD29R8PIbdhXdEK" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=1740 -Dwrapper.version="3.5.25-st" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.springframework.boot.loader.WarLauncher --spring.config.location=file:config/apmccsrv.properties
    2016/11/17 15:13:46 | ADVICE |
    2016/11/17 15:13:46 | ADVICE | --------------------------------------------------------------------
    2016/11/17 15:13:46 | ADVICE | Advice:
    2016/11/17 15:13:46 | ADVICE | Usually when the Wrapper fails to start the JVM process, it is
    2016/11/17 15:13:46 | ADVICE | because of a problem with the value of the configured Java command.
    2016/11/17 15:13:46 | ADVICE | Currently:
    2016/11/17 15:13:46 | ADVICE | wrapper.java.command=%JAVA_HOME%\bin\java
    2016/11/17 15:13:46 | ADVICE | Please make sure that the PATH or any other referenced environment
    2016/11/17 15:13:46 | ADVICE | variables are correctly defined for the current environment.
    2016/11/17 15:13:46 | ADVICE | --------------------------------------------------------------------
    2016/11/17 15:13:46 | ADVICE |
    2016/11/17 15:13:46 | FATAL | Critical error: wait for JVM process failed
    2016/11/17 15:13:48 | ERROR | The CA APM Command Center Configuration Server service was launched, but failed to start.
    2016/11/17 15:13:48 | ERROR | Please check the log file more information: E:\Software\Command Center Server 10.3 for Windows\acc-configserver-package\APMCommandCenterServer\logs\wrapper.log
    2016/11/17 15:17:28 | ERROR | Unable to install the CA APM Command Center Configuration Server service - The specified service already exists. (0x431)
    2016/11/18 13:08:44 | STATUS | CA APM Command Center Configuration Server service installed.
    2016/11/18 13:08:44 | STATUS | Starting the CA APM Command Center Configuration Server service...
    2016/11/18 13:08:44 | STATUS | --> Wrapper Started as Service
    2016/11/18 13:08:44 | STATUS | Java Service Wrapper Standard Edition 64-bit 3.5.25
    2016/11/18 13:08:44 | STATUS | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
    2016/11/18 13:08:44 | STATUS | http://wrapper.tanukisoftware.com
    2016/11/18 13:08:44 | STATUS | Licensed to CA, Inc. for APM Command Center Server
    2016/11/18 13:08:44 | STATUS |
    2016/11/18 13:08:45 | WARN | The 'JAVA_HOME' environment variable was referenced but has not been defined.
    2016/11/18 13:08:45 | STATUS | Launching a JVM...
    2016/11/18 13:08:45 | STATUS | Java Command Line:
    2016/11/18 13:08:45 | STATUS | Command: "%JAVA_HOME%\bin\java" -Xmx2048m -XX:MaxPermSize=128m -Djava.library.path="lib" -classpath "lib/acc-configserver-ui.war;lib/wrapper.jar" -Dwrapper.key="RddAKh_8Dpu1f0cz2y__xnJ1WphSitfj" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2176 -Dwrapper.version="3.5.25-st" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.springframework.boot.loader.WarLauncher --spring.config.location=file:config/apmccsrv.properties
    2016/11/18 13:08:45 | FATAL | Unable to execute Java command. The system cannot find the file specified. (0x2)
    2016/11/18 13:08:45 | FATAL | "%JAVA_HOME%\bin\java" -Xmx2048m -XX:MaxPermSize=128m -Djava.library.path="lib" -classpath "lib/acc-configserver-ui.war;lib/wrapper.jar" -Dwrapper.key="RddAKh_8Dpu1f0cz2y__xnJ1WphSitfj" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2176 -Dwrapper.version="3.5.25-st" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 -Dwrapper.lang.domain=wrapper -Dwrapper.lang.folder=../lang org.springframework.boot.loader.WarLauncher --spring.config.location=file:config/apmccsrv.properties
    2016/11/18 13:08:45 | ADVICE |
    2016/11/18 13:08:45 | ADVICE | --------------------------------------------------------------------
    2016/11/18 13:08:45 | ADVICE | Advice:
    2016/11/18 13:08:45 | ADVICE | Usually when the Wrapper fails to start the JVM process, it is
    2016/11/18 13:08:45 | ADVICE | because of a problem with the value of the configured Java command.
    2016/11/18 13:08:45 | ADVICE | Currently:
    2016/11/18 13:08:45 | ADVICE | wrapper.java.command=%JAVA_HOME%\bin\java
    2016/11/18 13:08:45 | ADVICE | Please make sure that the PATH or any other referenced environment
    2016/11/18 13:08:45 | ADVICE | variables are correctly defined for the current environment.
    2016/11/18 13:08:45 | ADVICE | --------------------------------------------------------------------
    2016/11/18 13:08:45 | ADVICE |
    2016/11/18 13:08:45 | FATAL | Critical error: wait for JVM process failed
    2016/11/18 13:08:51 | ERROR | The CA APM Command Center Configuration Server service was launched, but failed to start.
    2016/11/18 13:08:51 | ERROR | Please check the log file more information: E:\Software\Command Center Server 10.3 for Windows\acc-configserver-package\APMCommandCenterServer\logs\wrapper.log

     

     

     

    Regards

    Fernando



  • 13.  Re: Introscope Agent Files for Glassfish

    Posted Nov 18, 2016 09:15 AM

    Hi Fernando,

     

    Apparently the process fails to find the JRE.

     

    You can probably fix the problem by editing the APMCommandCenterServer\config\apmccsrv.properties file and set the following variable:

     

    set.JAVA_HOME=

     

    Regs,

     

    Florian.



  • 14.  Re: Introscope Agent Files for Glassfish

    Posted Nov 18, 2016 11:36 AM

    Ok its working!

    Thanks

    Fernando



  • 15.  Re: Introscope Agent Files for Glassfish

    Posted Nov 18, 2016 11:57 AM

    Hi Fernando,

     

    So first you login to the UI.

     

    https://yourservername:8443/

     

    User: user@example.com<mailto:user@example.com>

    The default password is: acc

     

    You’ll want to change these credentials in the config/users.xml file of the server.

     

    Then you click on “Packages->New” and select the details of your environment.

     

    Let me know if you need further help,

     

    Florian.



  • 16.  Re: Introscope Agent Files for Glassfish

    Posted Nov 18, 2016 12:41 PM

    Thanks Florian