[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Put a file on jboss 4.0.2 with out bundling it in a jar, war

shsharma79 do-not-reply at jboss.com
Fri Jun 12 17:47:04 EDT 2009

Hi, I have multiple applications running on multiple servers. There are some system properties which are common across all these applications. I want to put all these common properties in one common file on one of the servers and then want to load these properties from all other servers using org.jboss.varia.property.SystemPropertiesService as defined at http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch10.html using URLList attribute.

I don't want to bundle this common properties file in a jar, war or ear file because I want to give sys-admins ability to modify the file without going through a build-test-deploy cycle. But I want to put this file on the jboss 4.0.2 server, so that other servers can read this file using a URL as described in the article above.

Can someone please help me out with following:

1. Is it possible to expose a static file without bundling it in a jar, war or ear file as a browsable/readable URL?

2. If yes, please tell me how i.e. where should I put the file on jboss instance? What will be the context-root or URL to access this plain text file?

Thanks in advance,

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237394#4237394

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237394

More information about the jboss-user mailing list