JBoss ON CLI method ProxyFactory.getResource fails for StorageService: Could not create custom interface
Environment
- Red Hat JBoss Operations Network (JBoss ON) 3.3 Update 11 and earlier
- JBoss ON CLI
- Invoke
ProxyFactory.getResourcepassing it the resource id of aStorageServiceresource
Issue
- ProxyFactory.getResource(10028) where 10028 is id of Storage Service StorageService fails with
java.lang.IllegalStateException: Could not create custom interface for resource with id 10028
Resolution
This issue has been resolved in JBoss ON 3.3 Update 12 and later.
Root Cause
StorageService included a configuration element that was not compatible with the assumed PropertyDefinitionSimple type. This resulted in the proxy factory that builds the requested StorageService resource object to fail when add its configuration properties.
This issue was identified in This content is not included.Red Hat Bug 1654644.
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.