DX Application Performance Management

 View Only
Expand all | Collapse all

.jar file disappears from /deploy/ directory

  • 1.  .jar file disappears from /deploy/ directory

    Posted Mar 31, 2017 08:23 PM

    I am dropping a ManagementModule.jar or .xml in Intrsocpe###/deploy/ directory and the file disappears in a few seconds.

    Tried to find the file with name command and I can't find it anywhere on the MOM box.

    Any idea?



  • 2.  Re: .jar file disappears from /deploy/ directory

    Broadcom Employee
    Posted Mar 31, 2017 08:50 PM

    The file disappears after it is successfully deployed to the ./config/modules directory.

     

    This is by design.



  • 3.  Re: .jar file disappears from /deploy/ directory

    Posted Mar 31, 2017 09:43 PM

    It is not going in ./config/modules

    Even, if I run a global search, I can't find this .jar.



  • 4.  Re: .jar file disappears from /deploy/ directory

    Posted Mar 31, 2017 09:49 PM

    To add, if I drop .jar in /modules/ directory and restart MOM, it errors out as "the Supportability is already in use"



  • 5.  Re: .jar file disappears from /deploy/ directory
    Best Answer

    Broadcom Employee
    Posted Mar 31, 2017 10:58 PM

    You cannot hotdeploy a module that already exists. You need to either stop the EM and overwrite the existing one, or delete the existing while the EM is running before attempting the hotdeploy.



  • 6.  Re: .jar file disappears from /deploy/ directory

    Posted Mar 31, 2017 11:50 PM

    I am not trying to overwrite an existing .jar.

    ok,

          I think that I am missing very basic here.

          What are the steps to modify an existing .jar and rename it to use for another ManagementModule alerts?



  • 7.  Re: .jar file disappears from /deploy/ directory

    Broadcom Employee
    Posted Mar 31, 2017 11:59 PM

    You do not modify MM jar files directly. You should use the Management Module Editor in the Java workstation to make edits, copy elements, or make a copy of an entire module.



  • 8.  Re: .jar file disappears from /deploy/ directory

    Posted Apr 01, 2017 12:56 AM

    Yes, I didn't directly edit .jar

    i copied one, edited managementmodule.xml, saved it as a different .jar and placed it in /deploy/ directory.

    is there a knowledge base which can guide me.

    this conversation is becoming lengthy and confusing.



  • 9.  Re: .jar file disappears from /deploy/ directory

    Broadcom Employee
    Posted Apr 01, 2017 01:03 AM

    We don't support you editing the XML. We don't support customized settings such as this.

     

    You need to use the MM Editor make your edits and saves.



  • 10.  Re: .jar file disappears from /deploy/ directory

    Posted Apr 06, 2017 10:17 AM

    vijayb123

    You can go here:

     

    Create and Work With Management Modules - CA Application Performance Management - 10.1 - CA Technologies Documentation 

     

    This will tell you everything you need to know about working with. As Hiko_Davis mentioned above, DO NOT edit MM .jar in XML, rather do it in MM Editior which can be access via Java Workstation (for all APM versions) or WebView (for v10.x).


    Please reach out to me directly if you have further questions or need help with MM.

     

    Cheers,

    Manish



  • 11.  Re: .jar file disappears from /deploy/ directory

    Broadcom Employee
    Posted Apr 06, 2017 10:21 AM

    Hi Vijay:

         This is in response to thread getting too long

         Generally if I see new questions arise, I branch to a new topic to ease readability. If something is very lengthy, it may also be a good case candidate. But I agree that long community (or email threads) can take time to understand

        Thanks

    Hal Gernan



  • 12.  Re: .jar file disappears from /deploy/ directory

    Broadcom Employee
    Posted Apr 03, 2017 08:18 AM

    Hi Vijay:

        I am going to mark this as answered since Hiko has responded to the key questions. You may ask followup questions as needed.

     

    Thanks

    Hal German