<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mikwat code &#187; oracle</title>
	<atom:link href="http://code.mikwat.com/archives/category/oracle/feed" rel="self" type="application/rss+xml" />
	<link>http://code.mikwat.com</link>
	<description>A coder's daily explorations through PHP, Java, CSS, JavaScript, Linux, OS X, Apache, Tomcat, and everything else.</description>
	<lastBuildDate>Wed, 20 Feb 2008 22:14:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oracle ADF Cache Files</title>
		<link>http://code.mikwat.com/archives/13</link>
		<comments>http://code.mikwat.com/archives/13#comments</comments>
		<pubDate>Thu, 05 Apr 2007 20:26:23 +0000</pubDate>
		<dc:creator>mikwat</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://code.mikwat.com/archives/13</guid>
		<description><![CDATA[Problem: I have a web application running under Tomcat using the Oracle ADF framework.  When the application is installed as a service under Windows, it outputs cache files in mass to \WINDOWS\system32\  Needless to say, this doesn&#8217;t make the system administrators happy.
 Solution Under Linux:  This problem is avoided by starting the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> I have a web application running under <a href="/archives/category/tomcat">Tomcat</a> using the <a href="/archives/category/oracle">Oracle</a> ADF framework.  When the application is installed as a service under Windows, it outputs cache files in mass to \WINDOWS\system32\  Needless to say, this doesn&#8217;t make the system administrators happy.</p>
<p><strong> Solution Under <a href="/archives/category/linux">Linux</a>:</strong>  This problem is avoided by starting the application with a working directory of &lt;application.root&gt;\temp  Then, these ADF cache files get dumped there.  The following snip-it does the trick:</p>
<p><code>pushd "$CATALINA_BASE"/temp &gt; /dev/null<br />
exec "$EXECUTABLE" start "$@"<br />
popd &gt; /dev/null<br />
</code></p>
<p>CATALINA_BASE: &lt;application.root&gt;</p>
<p>EXECUTABLE: &lt;tomcat.home&gt;/bin/catalina.sh</p>
<p><strong> Solution Under Windows:</strong>  Unknown at this point, please provide feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.mikwat.com/archives/13/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
