<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>pvaneynd</title>
  <link>https://pvaneynd.dreamwidth.org/</link>
  <description>pvaneynd - Dreamwidth Studios</description>
  <lastBuildDate>Wed, 09 Dec 2009 08:30:47 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>pvaneynd</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/7693145/447974</url>
    <title>pvaneynd</title>
    <link>https://pvaneynd.dreamwidth.org/</link>
    <width>76</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://pvaneynd.dreamwidth.org/132852.html</guid>
  <pubDate>Wed, 09 Dec 2009 08:30:47 GMT</pubDate>
  <title>java studdenly started failing</title>
  <link>https://pvaneynd.dreamwidth.org/132852.html</link>
  <description>Yesterday webex started failing for me. I did not change anything related to java recently so I was a little perplexed.&lt;br /&gt;&lt;br /&gt;Checking it turns out that even the standard &lt;a href=&quot;http://java.com/en/download/help/testvm.xml&quot;&gt;test your java&lt;/a&gt; page failed. strace revealed the nice error:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;&lt;pre&gt;$ grep ffff /tmp/TRA
6938  connect(22, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, &quot;::ffff:72.5.124.95&quot;, &amp;sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28 &amp;lt;unfinished ...&amp;gt;
6938  connect(22, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, &quot;::ffff:72.5.124.95&quot;, &amp;sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)&lt;/pre&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Notice that I don&apos;t have IPv6 connectivity!&lt;br /&gt;&lt;br /&gt;Googling it turns out that you can disable IPv6 in java by modifying to &lt;tt&gt;~/.java/deployment/deployment.properties&lt;/tt&gt; the line:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;deployment.javaws.jre.0.args=-Djava.net.preferIPv4Stack\=true&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;and all is now well. Until I need to access an IPv6 device with java of course :-(.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=pvaneynd&amp;ditemid=132852&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://pvaneynd.dreamwidth.org/132852.html</comments>
  <category>life</category>
  <category>debian</category>
  <category>java</category>
  <category>ipv6</category>
  <lj:mood>frustrated</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
</channel>
</rss>
