I have static context defined in server.xml 
<Context path="" reloadable="true" docBase="my-module"/>
I need to specify context for this application. I tried to add my-module.xml and also ROOT.xml to conf/Catalina/localhost but that didn't solved my issue.
I'm still getting error
Unexpected exception: Name [jdbc/my-module] is not bound in this Context. Unable to find [jdbc]
my context.xml
<Context>    
<Resource 
        name="jdbc/my-module" 
        auth="Container" 
        type="javax.sql.DataSource" 
        maxActive="100" 
        maxIdle="30" 
        maxWait="10000" 
        username="AFE" 
        password="AFE" 
        driverClassName="oracle.jdbc.driver.OracleDriver" 
        url="jdbc:oracle:thin:@my-server:1537:DB" 
        defaultAutoCommit="false" />
</Context>
How can I then specify context for root application?
 
    