Respected Contributor.. Charlemagne Respected Contributor..
Respected Contributor..
580 views

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

0 Likes
3 Replies
Absent Member.. cbowditch Absent Member..
Absent Member..

Re: uCMDB Browser version 4.04 problem

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.

0 Likes
Respected Contributor.. Charlemagne Respected Contributor..
Respected Contributor..

Re: uCMDB Browser version 4.04 problem

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.

0 Likes
Respected Contributor.. Charlemagne Respected Contributor..
Respected Contributor..

Re: uCMDB Browser version 4.04 problem

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.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.