

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
We have deployed ALM Octane 12.60 CP8. We want to use Enterprise edition with ALM sharing license option. I am getting error for ALM sharing license
I have created integration user in ALM. I have created dedicated ALM project for integration purpose only. I have created the parameter in the ALM and allocated the number of licenses in ALM to that project. One of the error from the logs shows that the license quota is too low: 0
I have updated the octane.yml file and updated the almSharing settings and restarted the ALM Octane
Below is the error details from Wrapper log
2019/01/07 16:42:11 | ERROR: Failed to retrieve license from ALM. Look in octane logs for more details. com.hp.mqm.infra.common.exceptionhandling.InvalidConfigurationException: Class cast error while trying to read section almSharing
2019/01/07 16:42:12 | ERROR: Failed to retrieve license from ALM. Look in octane logs for more details. com.hp.mqm.infra.common.exceptionhandling.InvalidConfigurationException: Class cast error while trying to read section almSharing
2019/01/07 16:42:12 |
2019/01/07 16:42:12 | ############################################################
2019/01/07 16:42:12 | ############################################################
2019/01/07 16:42:12 | ## LICENSE ISSUE ##
2019/01/07 16:42:12 | ############################################################
2019/01/07 16:42:12 | ############################################################
2019/01/07 16:42:12 | ##
2019/01/07 16:42:12 | ## License quota is too low: 0
2019/01/07 16:42:12 | ## Users can not work with application.
2019/01/07 16:42:12 | ##
2019/01/07 16:42:12 | ## To fix:
2019/01/07 16:42:12 | ##
2019/01/07 16:42:12 | ## 1. Load new license in site page.
2019/01/07 16:42:12 | ## -OR-
2019/01/07 16:42:12 | ## 2. Fix license of shared-ALM.
2019/01/07 16:42:12 | ##
2019/01/07 16:42:12 | ############################################################
2019/01/07 16:42:12 | ############################################################
2019/01/07 16:42:20 | Server is ready! (Boot time 64 seconds)
2019/01/07 16:43:54 | Jan 07, 2019 4:43:54 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
2019/01/07 16:43:54 | INFO: Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
2019/01/07 16:43:54 | Jan 07, 2019 4:43:54 PM org.springframework.jdbc.support.SQLErrorCodesFactory <init>
2019/01/07 16:43:54 | INFO: SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana]
2019/01/07 16:45:47 | Attempting to load ESAPI.properties via file I/O.
2019/01/07 16:45:47 | Attempting to load ESAPI.properties as resource file via file I/O.
2019/01/07 16:45:47 | Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\octane\server\ESAPI.properties
2019/01/07 16:45:47 | Not found in SystemResource Directory/resourceDirectory: .esapi\ESAPI.properties
2019/01/07 16:45:47 | Not found in 'user.home' (C:\windows\system32\config\systemprofile) directory: C:\windows\system32\config\systemprofile\esapi\ESAPI.properties
2019/01/07 16:45:47 | Loading ESAPI.properties via file I/O failed. Exception was: java.io.FileNotFoundException
2019/01/07 16:45:47 | Attempting to load ESAPI.properties via the classpath.
2019/01/07 16:45:47 | SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from 'esapi/' using current thread context class loader!
2019/01/07 16:45:47 | Attempting to load validation.properties via file I/O.
2019/01/07 16:45:47 | Attempting to load validation.properties as resource file via file I/O.
2019/01/07 16:45:47 | Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\octane\server\validation.properties
2019/01/07 16:45:47 | Not found in SystemResource Directory/resourceDirectory: .esapi\validation.properties
2019/01/07 16:45:47 | Not found in 'user.home' (C:\windows\system32\config\systemprofile) directory: C:\windows\system32\config\systemprofile\esapi\validation.properties
2019/01/07 16:45:47 | Loading validation.properties via file I/O failed.
2019/01/07 16:45:47 | Attempting to load validation.properties via the classpath.
2019/01/07 16:45:47 | SUCCESSFULLY LOADED validation.properties via the CLASSPATH from 'esapi/' using current thread context class loader!
2019/01/07 16:45:54 | ERROR: Failed to retrieve license from ALM. Look in octane logs for more details. com.hp.mqm.infra.common.exceptionhandling.InvalidConfigurationException: Class cast error while trying to read section almSharing
2019/01/07 16:46:06 | ERROR: Failed to retrieve license from ALM. Look in octane logs for more details. com.hp.mqm.infra.common.exceptionhandling.InvalidConfigurationException: Class cast error while trying to read section almSharing
2019/01/07 16:46:16 | 2019-01-07 16:46:16.442:WARN:oejs.DoSFilter:Scheduler-303181036: Unknkown context for rate tracker RateTracker/xx.xx.x.xxx/1
2019/01/07 16:46:46 | 2019-01-07 16:46:45.968:WARN:oejs.DoSFilter:Scheduler-303181036: Unknkown context for rate tracker RateTracker/xxx.xxx.xx.xx/1
2019/01/07 16:52:13 | ERROR: Failed to retrieve license from ALM. Look in octane logs for more details. com.hp.mqm.infra.common.exceptionhandling.InvalidConfigurationException: Class cast error while trying to read section almSharing
Below are the error details from octane..log
2019-01-08 09:47:06 ERROR | Failed to retrieve license from ALM
com.hp.mqm.infra.common.exceptionhandling.InvalidConfigurationException: Class cast error while trying to read section almSharing
at com.hp.mqm.infra.common.YmlUtil.getYmlSection(YmlUtil.java:124) ~[mqm-infra-common-api-xx.xx.xx.xx.jar:?]
at com.hp.mqm.license.strategy.almsharing.AlmSharingLicenseConsumptionStrategy.readLicenseConfigFromOctaneYml(AlmSharingLicenseConsumptionStrategy.java:308) ~[mqm-license-management-impl-xx.xx.xx.xx.jar:?]
at com.hp.mqm.license.strategy.almsharing.AlmSharingLicenseConsumptionStrategy.retrieveLicenseFromAlm(AlmSharingLicenseConsumptionStrategy.java:115) [mqm-license-management-impl-xx.xx.xx.xx.jar:?]
at com.hp.mqm.license.strategy.almsharing.AlmLicenseSyncWorker.perform(AlmLicenseSyncWorker.java:58) [mqm-license-management-impl-xx.xx.xx.xx.jar:?]
at com.hp.mqm.platform.queue.WorkerWrapper.perform(WorkerWrapper.java:127) [mqm-infra-services-impl-xx.xx.xx.xx.jar:?]
at com.hp.mqm.platform.queue.WorkerWrapper.run(WorkerWrapper.java:73) [mqm-infra-services-impl-xx.xx.xx.xx.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at com.hp.mqm.infra.common.YmlUtil.getYmlSection(YmlUtil.java:122) ~[mqm-infra-common-api-xx.xx.xx.xx.jar:?]
... 8 more
2019-01-08 09:53:21 WARN | [xxxx.xxx.xxx]:5701 [Octane] [3.9.1] Wrong bind request from [xxxx.xxx.xxx]:5701! This node is not the requested endpoint: [xxxx.xxx.xxx]:5702
2019-01-08 09:54:48 WARN | [xxxx.xxx.xxx]:5701 [Octane] [3.9.1] Terminating forcefully...
2019-01-08 09:54:49 WARN | An attempt to load the parameter 'SERVER_ROLE_EXPERIMENT_EXPERIMENT' from the cache has failed. The system will fallback to getting it directly from the db.
com.hazelcast.core.HazelcastInstanceNotActiveException: State: SHUT_DOWN Operation: class com.hazelcast.map.impl.operation.GetOperation
at com.hazelcast.spi.impl.operationservice.impl.Invocation.engineActive(Invocation.java:490) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvoke(Invocation.java:523) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke0(Invocation.java:513) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke(Invocation.java:207) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.spi.impl.operationservice.impl.InvocationBuilderImpl.invoke(InvocationBuilderImpl.java:60) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.map.impl.proxy.MapProxySupport.invokeOperation(MapProxySupport.java:416) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.map.impl.proxy.MapProxySupport.getInternal(MapProxySupport.java:339) ~[hazelcast-3.9.1.jar:3.9.1]
at com.hazelcast.map.impl.proxy.NearCachedMapProxyImpl.getInternal(NearCachedMapProxyImpl.java:114) ~[hazelcast-3.9.1.jar:3.9.1]
Below is config details from octane.yml
heapSize: 8192
cluster:
isCluster: true
nodes: server1.xxx.xxx,server2.xxx.xxx
license:
trialEdition: ENTERPRISE
mode: almSharing
almSharing: #Connection details to ALM for shared model license
url:http://ALMServer.xxxx.xxx:8080/qcbin
almIntegrationUser:ALMuser
almIntegrationPassword:*****
In ALM, we are using LDAP as authentication.
Kindly advise
Thanks
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
If you use ALM 12.53, you should apply a hotfix avaible in KM03064147

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Can you please send us ZIP with content of 'log' and 'conf' folder?
Please also send us the integration user definition in ALM - especially it's name and it's project.
Regards,
Ziv Birer (Octane R&D)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Ziv_Birer,
How do i send the data securely\privately to you?
is there a ftp folder or email address where i can send the data?
Thanks


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Many thanks
We are using ALM 12.53.
As per the microfocus community software group portal,
"Verify that ALM is of supported version. Currently 12.21 and 12.55 are supported. Version 12.53 is supported with [LabelStart][LabelEnd]. Any other version - need to upgrade ALM first before license sharing"
What is [LabelStart][LabelEnd]?
I have tested cURL. I have verified ALM url and credentials and works properly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
About ALM version - did you apply the needed ALM patch for license sharing?
https://softwaresupport.softwaregrp.com/doc/KM02930624
Regards,
Ziv

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
If you use ALM 12.53, you should apply a hotfix avaible in KM03064147