On Fri, Aug 6, 2010 at 9:12 AM, Skellington <[email protected]> wrote:

> Is there a easy way to get the tomcat directory path from within
> OpenBD? I see the "server.coldfusion.rootdir" variable but nothing on
> the tomcat server?
>

That's available as a JVM property called catalina.base:

<cfset tomcatRoot = CreateObject("java",
"java.lang.System").getProperty("catalina.base") />

-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

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

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to