CLI not taking IF statements in batch mode in EAP 6.
Issue
- We are running our security hardening CLI script against standalone-ha.xml, which includes the ajp protocol.
- When we wrapped the add protocol with an if statemnt the batch failed stating, "if is not allowed while in batch mode." I thought if statements were included in batch.
Environment
- Enterprise Application Platform (EAP) 6.x
- Command Line Interface (CLI)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
