DX Application Performance Management

  • 1.  configure weblogic for java agent

    Posted Jan 30, 2019 01:50 AM

    I had followed the steps in docops to deploy the java agent for the weblogic server but the agent is not starting

    I have inserted the following code in the startweblogic.cmd file

     set "JAVA_OPTS=%JAVA_OPTS% -javaagent:E:\APPS\CAAPM\APM\wily\Agent.jar
    -DagentProfile=E:\APPS\CAAPM\APM\wily\core\config
    \IntroscopeAgent.profile"

     

    Also pointed towards the em in introscopeagent.profile.

    please guide me where I am wrong or missing something



  • 2.  Re: configure weblogic for java agent

    Broadcom Employee
    Posted Jan 30, 2019 02:06 AM

    It seems to not needed double quote ( " ). Please delete it.

     

    e.g.

    set JAVA_OPTS=%JAVA_OPTS% -javaagent:E:\APPS\CAAPM\APM\wily\Agent.jar -DagentProfile=E:\APPS\CAAPM\APM\wily\core\config\IntroscopeAgent.profile



  • 3.  Re: configure weblogic for java agent

    Posted Jan 30, 2019 03:18 AM

    Thanks,

    but still not working



  • 4.  Re: configure weblogic for java agent

    Broadcom Employee
    Posted Jan 31, 2019 09:36 AM

    Dear Robert:

    A cmd file is a batch file. So you can turn on debug to see what the error is/where is hanging up. For the information provided, it is hard to tell if it is an ownership/permissions issue. If that does not reveal clues, please open a case.

     

    Thanks

    Hal 



  • 5.  Re: configure weblogic for java agent

    Posted Jan 30, 2019 08:22 AM

    Hi,

    when we install weblogic as a windows service startweblogic.cmd  is the file in  which we have to insert the agent parameters right?

    or there is some other file 



  • 6.  Re: configure weblogic for java agent
    Best Answer

    Broadcom Employee
    Posted Jan 30, 2019 09:03 AM

    Dear Robert:

     You didn't say what release you are using. In APM 10.7, the setup steps changed. 

     

    Oracle WebLogic - CA Application Performance Management - 10.7 - CA Technologies Documentation 

     

    Troubleshoot WebLogic to Fix WebAppSupport Failure

    WebAppSupport is implemented as an agent extension. Starting with CA Application Performance Management 10.7, no WebAppSupport configuration is normally needed on any application server. However, unpredictable classload behavior of some application servers when using certain JVMs can cause the WebAppSupport extension to fail. In this case, you must configure a startup class or custom service manually and apply a small workaround to use the legacy WebAppSupport configuration



  • 7.  Re: configure weblogic for java agent

    Posted Jan 31, 2019 05:27 AM

    yes, I am using CA APM 10.7 

    I just wanted to know that the entry of the agent parameters is to be done in startweblogic.cmd right?

     

    thanks



  • 8.  Re: configure weblogic for java agent

    Broadcom Employee
    Posted Jan 31, 2019 12:18 PM

    Hi Robert,

     

    If WLS is running as a windows service I think you might need to update a different file

    How do register your wls as a service?

    Maybe you need to update WL_HOME\common\bin\commEnv.cmd or JAVA_OPTIONS or maybe the window service itself as we do for other appsever runninig as a service, for example: https://communities.ca.com/message/242154991-re-configure-apache-tomcat-to-use-the-java-agent?commentID=242154991#comment-242154991

     

    I hope this helps,

    Sergio



  • 9.  Re: configure weblogic for java agent

    Posted Feb 11, 2019 01:22 AM

    Thanks SergioMorales

     

    I cant find the way to deploy the java agent for weblogic server when weblogic operates as a windows service.

    has anyone  done it their environment

    can you provde any document reference for that

     

    Thanks



  • 10.  Re: configure weblogic for java agent

    Posted Feb 11, 2019 09:21 AM