This content has been marked as final.
Show 1 reply
-
1. Re: Mapping context URLs to file system
treespace May 22, 2004 10:17 PM (in response to srdjank)To clarify you want to use a context that exists outside of your JBoss configuration's deploy folder? If that assumption is correct you can expand the search path of the JBoss deployer with URLs in your jboss-service.xml -- search for the string Deployment Scanning.
Say you had a war file in c:\foo called bar.war. That would be picked up if you added c:\foo to the deployment scanner URL list.
deploy/, file:///c:/foo
Double check the syntax of file: URLs but I think that is correct. If the war is in an ear you can map it as usual in the application.xml file.
<web-uri>bar.war</web-uri>
<context-root>/bar</context-root>