<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Ensuring One Instance of Application Running at One Time</title>
	<atom:link href="http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/</link>
	<description>never say never</description>
	<lastBuildDate>Thu, 05 Nov 2009 15:26:38 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Audi Primadhanty</title>
		<link>http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/#comment-27</link>
		<dc:creator>Audi Primadhanty</dc:creator>
		<pubDate>Mon, 12 Oct 2009 15:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://audiprimadhanty.wordpress.com/?p=15#comment-27</guid>
		<description>Sorry?</description>
		<content:encoded><![CDATA[<p>Sorry?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Audi Primadhanty</title>
		<link>http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/#comment-26</link>
		<dc:creator>Audi Primadhanty</dc:creator>
		<pubDate>Mon, 12 Oct 2009 15:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://audiprimadhanty.wordpress.com/?p=15#comment-26</guid>
		<description>I don&#039;t know your code, so obviously I cannot point out where you went wrong.
But the idea with using port listener and lock file is we don&#039;t actually lock the file. I just call the file &quot;lock file&quot;. But what the first instance should actually do is just create the file, write the port number, and close it again. Thus the second instance can read the file.
Hope this helps ;)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know your code, so obviously I cannot point out where you went wrong.<br />
But the idea with using port listener and lock file is we don&#8217;t actually lock the file. I just call the file &#8220;lock file&#8221;. But what the first instance should actually do is just create the file, write the port number, and close it again. Thus the second instance can read the file.<br />
Hope this helps <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/#comment-23</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Fri, 09 Oct 2009 11:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://audiprimadhanty.wordpress.com/?p=15#comment-23</guid>
		<description>- when</description>
		<content:encoded><![CDATA[<p>- when</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/#comment-22</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Fri, 09 Oct 2009 11:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://audiprimadhanty.wordpress.com/?p=15#comment-22</guid>
		<description>I&#039;m trying to use your method &quot;Use port listener and lock file&quot;
But when the second instance can&#039;t read the file, because it&#039;s locked by the first instance

java.io.IOException: Le processus ne peut pas accéder au fichier car un autre processus en a verrouillé une partie
	at java.io.RandomAccessFile.read(Native Method)
	at java.io.RandomAccessFile.readInt(Unknown Source)
	at org.pierre.singleinstance.PSingleInstance.(PSingleInstance.java:51)
	at org.pierre.singleinstance.Test.(Test.java:12)
	at org.pierre.singleinstance.Test.main(Test.java:34)

sorry for french ...

please answer :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to use your method &#8220;Use port listener and lock file&#8221;<br />
But when the second instance can&#8217;t read the file, because it&#8217;s locked by the first instance</p>
<p>java.io.IOException: Le processus ne peut pas accéder au fichier car un autre processus en a verrouillé une partie<br />
	at java.io.RandomAccessFile.read(Native Method)<br />
	at java.io.RandomAccessFile.readInt(Unknown Source)<br />
	at org.pierre.singleinstance.PSingleInstance.(PSingleInstance.java:51)<br />
	at org.pierre.singleinstance.Test.(Test.java:12)<br />
	at org.pierre.singleinstance.Test.main(Test.java:34)</p>
<p>sorry for french &#8230;</p>
<p>please answer <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forcing just one instance of an Application to execute at a time &#171; Akbar&#8217;s Weblog</title>
		<link>http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/#comment-6</link>
		<dc:creator>Forcing just one instance of an Application to execute at a time &#171; Akbar&#8217;s Weblog</dc:creator>
		<pubDate>Mon, 14 Jul 2008 17:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://audiprimadhanty.wordpress.com/?p=15#comment-6</guid>
		<description>[...] http://www.codeproject.com/KB/cs/CSSIApp.aspx http://www.ddj.com/windows/184416856 http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-...   If you are developing your application in Visual C++, then there is a relatively simple and [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.codeproject.com/KB/cs/CSSIApp.aspx" rel="nofollow">http://www.codeproject.com/KB/cs/CSSIApp.aspx</a> <a href="http://www.ddj.com/windows/184416856" rel="nofollow">http://www.ddj.com/windows/184416856</a> <a href="http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-.." rel="nofollow">http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-..</a>.   If you are developing your application in Visual C++, then there is a relatively simple and [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
