If you run into 'Permission denied' exceptions trying to connecting to Weblogic, and you are using JDeveloper and JDK1.7, add the flag 'AddVMOption -Djava.net.preferIPv4Stack=true' in jdev.conf.
The issue stems from the fact that JDK1.7 implements IPv6, and the prefered method by default for any connection is IPv6.
If you want to set it system wide, export the _JAVA_OPTIONS flag in .bashrc or .bash_profile:
_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false
Tuesday, August 14, 2012
Subscribe to:
Posts (Atom)