IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  How to increase RegistryRepository JVM memory (Xms and Xmx)

    Posted Wed October 11, 2017 09:12 AM

    Hi community,

    I’m looking to increase these two parameters “java -Xmx -Xms” on the Crr (CentraSiteRegistryRepository).

    I’ve been looking into the product configuration files and I’ve discovered the next.

    These java parameters are mentioned on these files:

    /CSHOME/bin/centrasite_setenv.sh
    /CSHOME/bin/cfg/CentraSiteConfiguration.sh
    /CSHOME/bin/cfg/CentraSiteConfiguration.xml

    I’ve made the change in all these files (-Xmx from 256 to 512). Next I’ve stopped the RR, executed centrasite_setenv.sh, and initiated the RegistryRepository, but does changes makes no effect. They stay on -Xmx=256.

    Does anyone know about this?

    Thank you so much in advance.


    #API-Management
    #CentraSite
    #webMethods


  • 2.  RE: How to increase RegistryRepository JVM memory (Xms and Xmx)

    Posted Wed October 11, 2017 10:01 PM

    use the inoadmin command (in CentraSite/bin) to set the property “X-Tension Java Options”

    C:\SoftwareAG910\CentraSite\bin>centrasite_setenv.cmd
    C:\SoftwareAG910\CentraSite\bin>inoadmin setproperty CentraSite "X-Tension Java Options" "@-Xms512M@-Xmx512M@-Djavax.net.ssl.trustStore=C:\SoftwareAG910\CentraSite/files/certs/sttrust.p12@-Djavax.net.ssl.trustStoreType=PKCS12@-Djavax.net.ssl.trustStorePassword=cscert@-Djavax.net.ssl.keyStore=C:\Softwa
    reAG910\CentraSite/files/certs/stcert.p12@-Djavax.net.ssl.keyStoreType=PKCS12@-Djavax.net.ssl.keyStorePassword=cscert" restart
    INODST1781: Start of CentraSite server parameter modification on Windows
    INODSI2271: Set parameter for server 'CentraSite'
    INODSI1634: Successful completion
    
    C:\SoftwareAG910\CentraSite\bin>inoadmin getproperty CentraSite "X-Tension Java Options" all
    <?xml version="1.0" encoding="UTF-8"?>
    <ServerProperty Timestamp="2017-10-11 20:24:09">
    <Server>CentraSite</Server>
    <Property>
    <Name>X-Tension Java Options</Name>
    <Description>Database specific JVM options can be entered here.</Description>
    <Value Type="string">
    <Default> -Xms256M -Xmx256M</Default>
    <Configured>@-Xms512M@-Xmx512M@-Djavax.net.ssl.trustStore=C:\SoftwareAG910\CentraSite/files/certs/sttrust.p12@-Djavax.net.ssl.trustStoreType=PKCS12@-Djavax.net.ssl.trustStorePassword=cscert@-Djavax.net.ssl.keyStore=C:\SoftwareAG910\CentraSite/files/certs/stcert.p12@-Djavax.net.ssl.keyStoreType=PKCS12@-Dj
    avax.net.ssl.keyStorePassword=cscert</Configured>
    <Current>@-Xms512M@-Xmx512M@-Djavax.net.ssl.trustStore=C:\SoftwareAG910\CentraSite/files/certs/sttrust.p12@-Djavax.net.ssl.trustStoreType=PKCS12@-Djavax.net.ssl.trustStorePassword=cscert@-Djavax.net.ssl.keyStore=C:\SoftwareAG910\CentraSite/files/certs/stcert.p12@-Djavax.net.ssl.keyStoreType=PKCS12@-Djava
    x.net.ssl.keyStorePassword=cscert</Current>
    </Value>
    </Property>
    </ServerProperty>

    Note the “@” in the value will be replaced with spaces when the value is applied at restart.

    You can use “restart” instead of “norestart” when applying it and CentraSite will be restarted immediately. If norestart is used, the setting change will take place when the CSRR is next restarted.


    #API-Management
    #webMethods
    #CentraSite


  • 3.  RE: How to increase RegistryRepository JVM memory (Xms and Xmx)

    Posted Mon October 16, 2017 06:19 AM

    Thank you so much Douglas.

    It works perfectly.

    Greetings!!


    #webMethods
    #CentraSite
    #API-Management