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.
Running JDK 7u2, WebLogic 12c Developer Zip, and NetBeans 7.1 on Windows 2003. The system is running in a classroom environment with restricted internet access and a proxy server. The proxy settings have a by-pass/override list which includes both localhost and 127.0.0.1. Web browsers correctly use the by-pass list. When NetBeans is left at it's default "Use System Proxy Settings" enterprise applications (tested with a basic hello world war) can not be deployed to the local WebLogic install from within NetBeans. The output includes a very long stack trace, the relevant info: Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is: java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.0 403 Forbidden'; No available router to destination] Also, the WebLogic node within the servers tab can not be expanded to show the resources and applications. Command line and Web based WebLogic administration tasks function correctly. Changing NetBean's proxy settings to "No Proxy" solves all WebLogic issues but prevents access to those sites reached by the proxy server. For example, showing the JavaDocs for JDK7 no longer works because it looks like NetBeans tries to detect the presence of the docs at the JavaDoc URL location before launching the web browser.
Should be fixed. Please verify. web-main 57d2add0b22b and 9a872a5489c6
Integrated into 'main-golden', will be available in build *201204050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/57d2add0b22b User: Petr Hejl <phejl@netbeans.org> Log: #207994 Proxy By-Pass List Ignored, Deployment to localhost prevented.
Reopening, the problem still happens in Oracle University classrooms with jdk1.7.0_17 and NB 7.3. Changing the proxy setting to make WLS deployment function breaks all internet related communication such as automatic XML schema download.
Created attachment 133291 [details] stacktrace
I have no idea how this could happen. Can you share the server startup log? Especially startup parameters? Thanks.
I don't think it is related to server startup. I figured out that I can get everything working if I set Netbeans to Manual Proxy Settings, go to More, and add localhost to the No Proxy Hosts field. Using jVisualVM I noticed that with my fully working manual config I have: http.nonProxyHosts=localhost https.nonProxyHosts=localhost system properties in my NetBeans VM. When Use System Proxy Settings is used I'm missing http.nonProxyHosts and https.nonProxyHosts system properties even though netbeans.system_http_non_proxy_hosts=localhost is there.
I've tried to fix that in web-main dbe0558c7485. Could you please test that with upcoming build number 10241 from http://bertram2.netbeans.org:8080/job/web-main/ ? Thanks.
Build 10242 seems to work. I can deploy to WLS and create XML schema constrained documents with web accessible schemas now. Thanks!
Ok, closing as fixed. Thanks for your help.
Transplanted also to javaee7 722023fd9b6d.
Verified by reporter.
So, where exactly is this issue fixed ? Is it already in release73 repository ? If so, please change SW to '73patch2-fixed', If not, please backport the fix into release73 ASAP Thanks in advance.