SavedSearchManager fails with NameNotFoundException in JBoss ON CLI
Environment
- Red Hat JBoss Operations Network (JBoss ON) 3.3 Update 11 and earlier
- JBoss ON CLI script that invokes a method from
SavedSearchManager
Issue
-
SavedSearchManagerthrows error:javax.naming.NameNotFoundException: [Warning] rhq/rhq-server/SavedSearchManagerBean!org.rhq.enterprise.server.search.SavedSearchManagerRemote -- service jboss.naming.context.java.global.rhq.rhq-server."SavedSearchManagerBean!org.rhq.enterprise.server.search.SavedSearchManagerRemote" -
server.logcontains the following error:ERROR [org.rhq.enterprise.server.remote.RemoteSafeInvocationHandler] (http-192.168.1.1:7080-2) Failed to invoke remote request: javax.naming.NameNotFoundException: rhq/rhq-server/SavedSearchManagerBean!org.rhq.enterprise.server.search.SavedSearchManagerRemote -- service jboss.naming.context.java.global.rhq.rhq-server."SavedSearchManagerBean!org.rhq.enterprise.server.search.SavedSearchManagerRemote"
Resolution
This issue has been address in JBoss ON 3.3 Update 12 and later.
Root Cause
The SavedSearchManager interface and object factory was not exposed in the JBoss ON CLI.
This issue was reported in This content is not included.Red Hat Bug 1654277.
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.