Configuring valve attibutes moved from context.xml to jboss-web.xml in AS7. The page:https://community.jboss.org/wiki/JBossAS7SecurityDomainModel#Deploying_Custom_Tomcat_Authenticators_in_AS7 contains an example.
Hello Everybody,
I am also having same problem while accessing files from physical directory
<Context docBase="physicaldiecotry" path="/example" reloadable="true"/>
I just simply created directory with name "physicaldiecotry.war" inside /{JOBSS_HOME}/standalone\deployments ditectory.
then I just added the following tags inside standalone.xml under server tag
<deployments>
<deployment name="physicaldiecotry.war" runtime-name="physicaldiecotry.war">
<fs-archive path="deployments\physicaldiecotry.war\Uploads" relative-to="jboss.server.base.dir"/>
</deployment>
</deployments>
Just restart your server. Then you can access your files from server running as separate context in JBOSS AS-7
you can access all your resources inside physical diecotry as
http://<yourhost>:8080/physicaldiecotry/<subdirectory>/filename.ext.
Hope this will works for you all. Thank you.