The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable) in JBoss EAP
Issue
- We are getting the command is not available when trying invoke CLI commands with jboss-cli on JBoss EAP 7 / 6 such as:
deploy /path/to/my-app.ear
The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).
[domain@127.0.0.1:9999 /] module add --name=com.oracle.jdbc --resources=/path/to/ojdbc6.jar --dependencies=javax.api,javax.transaction.api
The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable).
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.