enigment wrote:
Thing is, the CF code I posted works without the admin password
(whether that's a good design or not).

And that impacts the application you're building?

So I guess that leaves me reading the config file. What's the most
robust way to locate it, given all possible configuration options on
all platforms?

Regardless of how it's deployed the value will be an init-param in web.xml:
<init-param>
  <param-name>BLUEDRAGON_XML</param-name>
  <param-value>/WEB-INF/bluedragon/bluedragon.xml</param-value>
</init-param>

Unless the common class deployment on Tomcat works differently, you should be able to grab it from /WEB-INF/bluedragon/bluedragon.xml on both the WAR deployment and the Ready2Run deployment.
--
Matthew Woodward
[email protected]
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to