Top.Mail.Ru
February 26th, 2007 - Java developers — LiveJournal
? ?

Java developers

February 26th, 2007
Image

04:01 pm - Imagemkb_technologie - Tomcat vs. JBoss

I've got a web app that requires a few local configuration values to operate (database server, username, etc.) I don't want to put them in the WAR file's WEB-INF/web.xml for fear that they will get destroyed any time the app is redeployed. For Tomcat, I figure I can put them in $CATALINA_HOME/conf/Catalina/localhost/<app>.xml (at least according to this doc)

I tried something similar in JBoss, but it isn't working. I put the <app>.xml in (jboss root)/server/default/deploy/jbossweb-tomcat55.sar/conf/Catalina/localhost mostly because I can't seem to find any documentation on this either on JBoss's site or in any of the JBoss books I can find around the office. Any ideas?
Powered by LiveJournal.com
Image