java.net.useSystemProxies

  3 posts   Feedicon  
Replies: 2 - Last Post: June 08, 2011 11:52
by: JurekM
showing 1 - 3 of 3
 
Posted: May 11, 2011 06:50 by dprutean
I use bsaf for a database application. Because of the property java.net.useSystemProxies=true set in Application, I have only problems connecting to different databases. I tried to set java.net.useSystemProxies=false in Application extended method startup(), but this also does not cover all situations. In Java 1.6 there are situations when the false value is also wrong. Letting this untouched would be the best. I tried also to clear the property value and didn't help.

Is it possible to add a flag or property, so I can ask bsaf 'don't touch this property'? Also overriding one method should be fine.
 
Posted: May 11, 2011 07:56 by etf
Thanks for your interest!

There were a lot of debates around java.net.useSystemProxies property. Can you give more details as for changes in Java 1.6? You can also create a jira ticket to track this issue.

Regards.
 
Posted: June 08, 2011 11:52 by JurekM
Try to use System.setProperty("java.net.useSystemProxies", "false") in method initialize(String[] arg) in your Application. It works for me in SAF 1.0.3 and JDK 1.6
Replies: 2 - Last Post: June 08, 2011 11:52
by: JurekM
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close