DX Application Performance Management

 View Only
  • 1.  hotfix 84

    Posted Feb 27, 2024 07:57 PM
      |   view attached

    Dear Community, I am trying to upgrade from 10.7 to 10.8, but first I have to install hotfix 84, it is applied correctly, but when I try to start emctrl.sh it does not raise and sends an error which I attach with the log

    Attachment(s)

    txt
    em.log.txt   308 KB 1 version


  • 2.  RE: hotfix 84

    Posted Feb 28, 2024 03:41 AM
    Edited by Zdenek Kolar Feb 28, 2024 03:41 AM

    Hello Jose,

    try to change properties in the tess-db-cfg.xml to

    <property name="hibernate.connection.password">plaintext_password</property>

    <property name="plainTextPasswords">true</property>

    and it could help to clear the OSGI cache as described here, https://knowledge.broadcom.com/external/article?articleId=100299 

    Regards 

    Zdenek




  • 3.  RE: hotfix 84

    Posted Feb 28, 2024 11:40 AM

    We tried putting a new password and the true plain text in tess-db-cfg.xml but it stays in plain text and doesnt start with the same errors. We also tried to clear the osgi cache to no avail.
    We have a postgres 9.6.2 db that is on the same server as the EM, only on a different directory. This is a standalone installation.




  • 4.  RE: hotfix 84

    Broadcom Employee
    Posted Feb 28, 2024 01:51 PM

    I also agree with clearing your OSGi cache after an update. Let us know if it clears those messages. The messages I saw in your log would point to the cache not matching the latest versions from 10.8, especially if you did an in-place upgrade vs side-by-side upgrade (upgrading from old into a new directory).

    10.8 no longer comes with PostgreSQL so you will need to provide that going forward (v13 works fine). If you need to move your existing data from the database, you can backup/export your data using pgAdmin or the backup script provided in APM's install directory.



    ------------------------------
    Hiko Davis
    Solution Engineer
    IMS Division | Broadcom
    ------------------------------



  • 5.  RE: hotfix 84

    Posted Feb 28, 2024 09:55 AM

    Hello Jose,

    please check the Java version you are using to start the EM.  

    I have a 10.8 OnPrem platform running on OpenJDK 11.0.18.. so try first to upgrade the JVM

    In the shared log, I found the following error:

    2/27/24 04:00:19.157 PM CST [INFO] [main] [com.wily.apm.model.SpringAppContext] SpringAppContext initialization, logging configured with '/home/admingpv/apm/./config/log4j.properties'
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ca.wily.jasypt.APMEncryptablePropertyPlaceholderConfigurer#0' defined in class path resource [apm-hibernate-context.xml]: Cannot resolve reference to bean 'stringEncryptor' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stringEncryptor' defined in class path resource [jasyptEncryptor.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ca.apm.crypto.jasypt.APMStringEncryptor]: Constructor threw exception; nested exception is java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available


    ------------------------------
    Harold Martin
    Senior Consultant
    ------------------------------



  • 6.  RE: hotfix 84

    Posted Feb 28, 2024 11:41 AM

    We would try the updating java thing, but after we applied the hotfix84, it updates java to 1.8.0.322 and as i know, thats the minimun java version for apm 10.8 (our goal). Is there a guide to change the java or update it after we put the hotfix?
    We have a postgres 9.6.2 db that is on the same server as the EM, only on a different directory. This is a standalone installation.