Warning: Declaration of PageLinesHighlight::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/highlight/section.php on line 0

Warning: Declaration of PLheroUnit::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/hero/section.php on line 0

Warning: Declaration of PageLinesBanners::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/banners/section.php on line 0

Warning: Declaration of PageLinesCarousel::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/carousel/section.php on line 0

Warning: Declaration of PLMasthead::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/masthead/section.php on line 0

Warning: Declaration of PLNavBar::section_template($clone_id, $location = '') should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/navbar/section.php on line 0

Warning: Declaration of PageLinesQuickSlider::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/quickslider/section.php on line 0

Warning: Declaration of PageLinesQuickSlider::section_head($clone_id) should be compatible with PageLinesSection::section_head() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/quickslider/section.php on line 0

Warning: Declaration of PageLinesFeatures::section_template($clone_id) should be compatible with PageLinesSection::section_template() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/features/section.php on line 0

Warning: Declaration of PageLinesFeatures::section_head($clone_id) should be compatible with PageLinesSection::section_head() in /var/www/marcusnyberg.com/wp-content/themes/pagelines/sections/features/section.php on line 0
Marcus Nyberg | Strange errors running java7 on IPv6 wifi connection

Today I was developing at work as usual at work, however I used the wifi connection because the cabled network was not working. My first problem for the day was that Eclipse could not connect to repositories when trying to install new software. All I got was ”permission denied” errors and…

org.eclipse.equinox.p2.core.ProvisionException Unable to read repository at http://download.eclipse.org/releases/indigo/content.xml

Solution: Add ”-Djava.net.preferIPv4Stack=true” to eclipse.ini

My second problem was that I got really strange errors from my local Resin Application Server. It could not connect to my local SQl-server.

Solution: Add ”-Djava.net.preferIPv4Stack=true” to Resin jvm start arguments

My conclusion is that because our wifi network uses IPv6 then Java uses that instead of IPv4 if not clearly stated. And the applications that I was using was not ”configured” for IPv6 usage.

Share →

Kommentera

E-postadressen publiceras inte. Obligatoriska fält är märkta *