uCMDB Browser version 4.04 problem

I am trying to complete the installation of the uCMDB Browser version 4.04. However, I am getting the following errors in the <install dir>/logs/ucmdb_browser.log:

2015-12-22 17:24:04,288  ERROR  [pool-1-thread-1] SuperIntegrationUserFile - Fail to create file [/gisti/tomcat8/distribution/conf/credentials.bin]
java.io.IOException: Permission denied

2015-12-22 17:24:04,289  ERROR  [pool-1-thread-1] EncryptionKeyFile - failed to find file :encryption.bin"
2015-12-22 17:24:04,290  ERROR  [pool-1-thread-1] PersistenceFilesUtils - Fail to read file [/gisti/tomcat8/distribution/conf/encryption.bin]
java.io.FileNotFoundException: /gisti/tomcat8/distribution/conf/encryption.bin (No such file or directory)

 

The files actually exist, but not in this directory and shouldn't exist in this directory neither. This is the $CATALINA_HOME/conf directory and we are having a Tomcat configuration with multiples instances. So, the right path should be $CATALINA_BASE/conf

Is there a configuration parameter we can set to indicate where these files should be seeked for to the ucmdb-browser? $CATALINA_HOME/conf looks like a fallback value for me.

TIA

  • It sounds like you might have used the wrong UCMDB Browser distribution for your implementation.  There should be several ZIP files in the download, each meant for a different UCMDB Browser implementation environment.  Since your error messages are referencing Tomcat 8, I'll assume you are implementing a standalone UCMDB Browser.  However the missing file references sound like you may have used the archive that's expecting to be deployed embedded under UCMDB or Configuration Manager.

    Check the Release Notes to make sure you are using the correct archive for your environment.

  • Thanks, I will check that. In fact, I am inheriting an incomplete installation from my buddy worker. I don't know exactly what he did. I will restart the installation from the beginning. I assumed he picked the right zip file since it is not his first install.

  • After checking and testing, it seems I was having the right zip file and the problem is still there. I downloaded the file labeled: UCMDB Browser without Tomcat from the following page: https://hpln.hpe.com/node/9462/contentfiles under the submenu: All versions --> 4.04

    It seems the location of these files is hardcoded and refer to the $CATALINA_HOME. Here are the entries in the ucmdb_browser.log file:

    2015-12-23 13:41:43,173  INFO   [localhost-startStop-1] AppConfigListener - Log4j system initialized from /gisti/tomcat8/browser1/webapps/ucmdb-browser/WEB-INF/classes/conf/log4j.properties
    2015-12-23 13:41:43,184  DEBUG  [localhost-startStop-1] UcmdbConnectionManager - checking system variable: ucmdb.home = null
    2015-12-23 13:41:43,184  DEBUG  [localhost-startStop-1] UcmdbConnectionManager - checking system variable: cnc.home = null
    2015-12-23 13:41:43,184  DEBUG  [localhost-startStop-1] AppConfigListener - Running mode: STANDALONE
    2015-12-23 13:41:43,240  DEBUG  [localhost-startStop-1] CustomersRetrieverInitializerBean - in post construct of CustomersRetriverInitializerBean
    2015-12-23 13:41:43,248  DEBUG  [localhost-startStop-1] UcmdbConnectionManager - checking system variable: ucmdb.home = null
    2015-12-23 13:41:43,249  DEBUG  [pool-1-thread-1] CustomersRetrieverInitializerBean - Retrieve all customers for the connections defined in the config file - START
    2015-12-23 13:41:43,283  DEBUG  [pool-1-thread-1] CustomersRetrieverInitializerBean - End process connections/customers/states for: Server-1
    2015-12-23 13:41:43,311  DEBUG  [pool-1-thread-1] CustomersRetrieverInitializerBean - Start check is 'customer_states' is enabled for: Server-1
    2015-12-23 13:41:43,315  DEBUG  [pool-1-thread-1] UcmdbConnectionManager - checking system variable: ucmdb.home = null
    2015-12-23 13:41:43,315  DEBUG  [pool-1-thread-1] UcmdbConnectionManager - checking system variable: cnc.home = null
    2015-12-23 13:41:43,322  INFO   [localhost-startStop-1] AppConfigListener - initializing LWSSO from file [/gisti/tomcat7/ucmdb-browser/conf/ucmdb_browser_lwsso_config.xml].
    2015-12-23 13:41:43,383  DEBUG  [pool-1-thread-1] UcmdbConnectionManager - checking system variable: ucmdb.home = null
    2015-12-23 13:41:43,514  ERROR  [pool-1-thread-1] SuperIntegrationUserFile - Fail to create file [/gisti/tomcat8/distribution/conf/credentials.bin]
    java.io.IOException: Permission denied

     

    The other possibility I can think of, is the ucmdb.home system variable should point to the ucmdb-browser install directory.