Has anyone ever tried serving static content (images etc.) in jBoss ver 4.0.3 sp1?
I am running a default configuration of jBoss listening on port 8080.
I have set up my server.xml under jboss-4.0.3SP1\server\default\deploy\jbossweb-tomcat55.sar to contain the element under Host as follows:
<!-- Add Static image Files-->
<..-Context path="/output" appBase=""
To show the tags on this page, I have had to add .. and - (it was being transalated into XML and was not visible)
jBoss keeps on returning the following error:
14:08:25,437 ERROR [StandardContext] Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\jboss-4.0.3SP1\server\default\.\output does not exist or is not a readable directory
I do not understand why path ?/output? is tied to the directory where jBoss is installed and why it is not being treated as a virtual path as follows: http://localhost:8080/output
I would appreciate any pointers in getting this to work