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.
I found a bug-like behavior of NetBeans 7.2 BETA in Win 7 64-bit. 1. Start NetBeans with system proxy setting with ignore list "localhost" (in IE9) and "java.net.useSystemProxies=true" in JDK jre/lib/net.properties. 2. Set NetBeans setting as "Use system proxy settings" in option panel. 3. Start "Oracle WebLogic Server" from Services tab. Correctly started. 4. Run some application from Project tab. 5. No response, or T3 socket error occurred with 400 bad proxy error for deploying application. 6. If proxy setting changed to "no proxy" (in IE9), and re-run NetBeans and WebLogic, and re-run application, works fine. It seems that the application running process skip the proxy ignore list.
Hi, I must say I don't understand, what exactly happens after step 4? What appears in the output tab? Does the IDE open a new browser tab? If it does, what is the URL it opens? And what exactly the browser says? When you say "T3 socket error occurred with 400 bad proxy error", where exaclty does this error appear? It would be useful if you can send additional relevant information (log files, output text, screenshots etc.) Thanks.
Thank you for your quick reply. I rechecked in my PC and this trace found. (There's no proxy error found.) At the same time, I can connect with original WebLogic scripts (including T3 connection) from Windows Commnad Prompt. Thanks. - "Use System Proxy Settings" in option pane. - System proxy setting with ignore list "localhost" (in IE9) - "java.net.useSystemProxies=true" in JDK jre/lib/net.properties file. javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:137) at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86) at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446) at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:464) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:319) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.access$200(WLDeploymentManager.java:109) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager$1.call(WLDeploymentManager.java:278) at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:82) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.executeAction(WLDeploymentManager.java:270) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getTargets(WLDeploymentManager.java:550) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:553) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:511) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._retrieveTarget(ServerInstance.java:1820) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDebugger(ServerInstance.java:968) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isSuspended(ServerInstance.java:1017) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1340) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1204) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1082) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:548) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:186) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:211) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:164) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:134) ... 27 more Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is: java.net.SocketException: Malformed reply from SOCKS server; No available router to destination] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40) at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:767) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366) at weblogic.jndi.Environment.getContext(Environment.java:315) at weblogic.jndi.Environment.getContext(Environment.java:285) at weblogic.jndi.Environment.createInitialContext(Environment.java:208) at weblogic.jndi.Environment.getInitialContext(Environment.java:192) at weblogic.jndi.Environment.getInitialContext(Environment.java:170) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139) ... 29 more Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is: java.net.SocketException: Malformed reply from SOCKS server; No available router to destination at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216) at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165) at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340) ... 37 more Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is: java.net.SocketException: Malformed reply from SOCKS server; No available router to destination at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321) at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260) at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316) at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205) ... 43 more javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:137) at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86) at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446) at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:464) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:319) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.access$200(WLDeploymentManager.java:109) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager$1.call(WLDeploymentManager.java:278) at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:82) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.executeAction(WLDeploymentManager.java:270) at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getTargets(WLDeploymentManager.java:550) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:553) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:511) at org.netbeans.modules.j2ee.deployment.impl.ServerString.getTargets(ServerString.java:117) at org.netbeans.modules.j2ee.deployment.impl.ServerString.toTargets(ServerString.java:155) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:552) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:186) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:211) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:164) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:134) ... 23 more Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is: java.net.SocketException: Malformed reply from SOCKS server; No available router to destination] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40) at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:767) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366) at weblogic.jndi.Environment.getContext(Environment.java:315) at weblogic.jndi.Environment.getContext(Environment.java:285) at weblogic.jndi.Environment.createInitialContext(Environment.java:208) at weblogic.jndi.Environment.getInitialContext(Environment.java:192) at weblogic.jndi.Environment.getInitialContext(Environment.java:170) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139) ... 25 more Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is: java.net.SocketException: Malformed reply from SOCKS server; No available router to destination at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216) at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165) at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340) ... 33 more Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is: java.net.SocketException: Malformed reply from SOCKS server; No available router to destination at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321) at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260) at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316) at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205) ... 39 more The module has not been deployed. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:211) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Ok, reassigning to the WebLogic area, and cc'ing Jiri as the owner of the proxy settings area. My first thought is that the proxy settings in IDE apply to the http protocol, but in this case it's the t3 protocol. Could that be the cause?
Thank you, I'm trying this issue with some configurations, and found the workaround pattern. 1. Proxy settings in NetBeans changed from "Use System Proxy Settings" to "Manual Proxy Settings". 2. Set the proxy settins of "localhost, 127.0.0.1" from [More] button, with "No Proxy Hosts" area. 3. Restart NetBeans and start WebLogic from [Servers] tab. 4. Run the application and works fine. It seems there are some problems in the relation of system (IE) proxy setting. Thanks.
Good to know there is workaround -> priority P3.
The same behaviour reproduced on Ubuntu.
Possibly related: http://netbeans.org/bugzilla/show_bug.cgi?id=207994
Please could you test with NetBeans 7.2 (not beta) or later? This seems to be duplicate of issue #207994.
Awaiting response from reporter.