This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224680

Summary: Option to disable "JavaFX-Feature-Proxy"
Product: javafx Reporter: ceklock
Component: DeploymentAssignee: Petr Somol <psomol>
Status: RESOLVED FIXED    
Severity: normal CC: ceklock, neigor
Priority: P3    
Version: 7.2.1   
Hardware: All   
OS: All   
URL: http://javafx-jira.kenai.com/browse/RT-24517
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 204758    

Description ceklock 2013-01-10 07:17:57 UTC
Please include an option on NetBeans to disable "JavaFX-Feature-Proxy". 

My standalone application takes many seconds to start because of proxy detection, but I don't need any proxy detection. 

When I am running the application from NetBeans it starts normally, but when I run it outside NetBeans, from a jar file, it takes many seconds to start. Can someone tell me why that happens?




====================================================================

One way to disable proxy setup by the embedded JavaFX launcher is to pass "-Djavafx.autoproxy.disable=true" on the command line. This is good for troubleshooting (proxy detection may cause significant startup time increases if network is misconfigured) but not really user friendly.

Now proxy setup will be disabled if manifest of main application jar has "JavaFX-Feature-Proxy" entry with value "None".
Comment 1 Stepan Zebra 2013-01-10 11:32:58 UTC
Attaching link to JIRA issue. Probably a patch candidate.
Comment 2 ceklock 2013-02-02 21:08:09 UTC
Reported JavaFX issue:

http://javafx-jira.kenai.com/browse/RT-28116
Comment 3 Petr Somol 2013-03-14 13:09:56 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/c27272a570b0

A "Disable proxy detection" checkbox has been added to Deployment panel under Project Properties.
Comment 4 Quality Engineering 2013-03-16 01:50:20 UTC
Integrated into 'main-golden', will be available in build *201303152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c27272a570b0
User: Petr Somol <psomol@netbeans.org>
Log: #224680 - Option to disable JavaFX-Feature-Proxy