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.
Summary: | Proxy settings: Connection to Oracle with Netbeans 6 | ||
---|---|---|---|
Product: | platform | Reporter: | gerhardf <gerhardf> |
Component: | -- Other -- | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | abadea, albertinix, davidvc |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Error Message |
Description
gerhardf
2007-11-09 14:21:31 UTC
Can you provide a little more detail? What happens, are there any error messages? What version of the JDBC driver are you using? What version of NetBeans 6 (see the About box). Thanks. Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb) I use the JDBC -Driver which is part of the installation of Oracle XE My Connection-String is: jdbc:oracle:thin:@tdet2531.de.festo.net:1521:XE Driver: oracle.jdbc.driver.OracleDriver Created attachment 52862 [details]
Error Message
It says it is unable to establish a connection, so it looks like it is using the driver correctly, but it can't get connected to the server. Can you connect to the XE server outside of NetBeans, using the same connection parameters? Are you sure the server is running? I think i've found the problem. The database resides on another PC and I configured the proxy in the configuration settings in Netbeans. If i select no Proxy I'm able to connect to the DB. (it's not only a problem with oracle) In my opinion, the proxy settings should only affect the start-page and the download of the plugins, not the connection to a database. Unfortunately adding the DB-hostname to the list of "No Proxy Hosts" doesn`t work. Regards Gerhard Oh, yes, the proxy problem. I saw another issue come by about this. We should probably fix this, I'm leaving this open, to be fixed in a future release. ... but not by the db team probably. Jirko, yet another proxy problem, it still seems to me something's not right. I had this problem to in 6.0 RC1 with Oracle, didn't even think that the proxy would be involved when making the db connection. If I add my database host or a domain-name pattern to the No Proxy Host the connection works. Great! Hello together, i installed NB 6.0 production yesterday and imported a project from former 5.5.1. Trying to connect to Oracle DB via jdbc:thin doesn't work as long as the proxy settings are marked as 'Manual Proxy Settings' with http proxy values set. Changing it to 'Use System Proxy Settings' the DB connect works. Update center is still available. HJ moving opened issues from TM <= 6.1 to TM=Dev Hi, I'm having the same problem in NetBeans IDE 6.1 (Build 200804211638). After spending hours and hours on internet search I finally found this solution/bug. For me it works when: - I disable the proxy setting - I add the database host to the non-proxy hosts list As already mentioned it would be nice if the proxy setting would not affect the database connection or it should be added as an option to the "New Database Connection" wizard. Regards, Sören I guess it works for me in NB6.5 I realize this is an old issue, but... the problem persists, in Netbeans 7.3 and 8.0.1 (that I tested, probably in other 7.x versions, too). I have a proxy that I set up manually. In the list of "No proxy hosts" I put a list of other servers (e.g. version control) which are well recognized and understood by Netbeans (version control works). But - database connections with Oracle Thin Driver do not work. No matter if I put the database host in the "No Proxy hosts", the connection does not work. Only if the proxy is disabled does it work. P.S. one small caveat: if I disable the proxy, connect to the database and then enable the proxy - the connection continues to function. If I disconnect and try to reconnect - it won't work. Does anyone know what module handles this. I wouldnt mind looking @ the code but I am not sure what module to start with. I have been facing this issue for years and would like to get away from it. |