Scenario:
Commands are not being executed.
Where is the .ebextensions supposed to go in a Java application?
.ebextensions should be placed in the root of WAR.
The WAR structure looks like the following:
web_app.war
|
|_.ebextensions
| |_ 01run.config
| |_ 02do.config
|
|_META-INF
|
|_WEB-INF
|_ classes
|_ lib
|_ web.xml
Refer to the official AWS docs for further information.