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.
related to issue 74321 - only 95% of requested functionality there was implemented - if IDE defines "http.nonProxyHosts" property it is not passed to appserver - blocker for users behind the proxy with IP from DHCP server.
Workaround: use the JVMs node in the runtime tab to set up the server parameters. Not a P1.
Ludo, I don't agree with P3 priority for this bug because it's a high usability bug. Users that are behind FW can't use ws client in App server due this bug. I'm pretty sure they don't find how to setup JVM optons in runtime tab. I'm changing priority to P2.
Where in the Nb ui do you define the nonproxyhosts? If it is in the command line, it is *more* complex that the JVM node of the AS plugin. Let me know, and if needed, I'll file the corresponding P2 nb bug :-)
Ludo, the patch for this issue is attached. You are right, user can't specify noHostProxy through UI, only command line switch might be used.
Created attachment 30280 [details] patch
well there's no UI for it (AFAIK it's planned for next release), but now IDE sets this property to some default value - see $NB_CVS/core/src/org/netbeans/core/IDESettings.java, method getDefaultNonProxyHosts.
It just broken the pod demo.
Today, the JAX-WS presentation failed because of missing http:nonProxyHosts. Ludo, please, set-up this property. I asked few times to set up all proxy settings not just proxyHost and proxyPort. Tomcat plugin works properly. Just apply the patch Lukas sent in this issue. It's really important for web services. I don't want to increase priority (as, in fact, there is a workaround) but for us it's P1.
Plugin now propagates "http.nonProxyHosts" property to Application server's jvm-options
This doesn't work for me. My proxy JVMOptions are set to : -Dhttp.proxyHost=webcache.czech.sun.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts="localhost|127.0.0.1|d-eprg05-75-230" and this doesn't work. I've created simple (X4) web service in EJB module, deployed the module and tried to Test it (Test WS action). (I am behind a proxy) Instead of tester page I get this error : error: Server returned HTTP response code: 500 for URL: http://d-eprg05-75-230:8080/X4Service/X4/__container$publishing$subctx/META-INF/wsdl/X4Service_schema1.xsd What's worse this also halts the server !!! Moreover, I tried to switch off the "Use IDE Proxy Settings" and set it up manually. This is not possible. Any proxy setting is lost after server restart. This is very bad.
I tried to change line 171 in HttpProxyUpdater : < nonHosts = "\"" + nonHosts + "\""; // NOI18N > nonHosts = nonHosts; // NOI18N Then I got these settings : -Dhttp.proxyHost=webcache.czech.sun.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|127.0.0.1|d-eprg05-75-230 and it works. Seems that quotation marks cause the problems.
issue for stoped server: https://glassfish.dev.java.net/issues/show_bug.cgi?id=649 issue for the format of nonProxyHosts property: https://glassfish.dev.java.net/issues/show_bug.cgi?id=650
http nonProxyHosts setting of format -Dhttp.nonProxyHosts="localhost|127.0.0.1|porky|129.145.133.230" (with quotes) and -Dhttp.nonProxyHosts=localhost|127.0.0.1|porky|129.145.133.230 (without quotes) works on Windows. From jungi's comments, in the glassfish bug reports, his environment is Linux. Quotes might be causing issues in glassfish on Linux and possibly Solaris. Will investigate and update bugs files against glassfish. Meanwhile, the plugin can set the nonProxyHosts without quotes as that seems to work in all environments.
Updated the plugin to set proxy value without quotes since this seems to work on all platforms. jungi, mkuchtiak, Please can you confirm the OS on which you saw this issue.
Yes, now it works on my (Linux) machine. Thank You Nitya.
v.