JDeveloper Not Using Proxy For Team Server Login And Oracle Developer Cloud Service (Doc ID 2298139.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle JDeveloper - Version 12.2.1.1.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Unable to connect to Team-server or Oracle Cloud Developer using JDeveloper proxy.

 

Exception stack (Team Server connection):

org.netbeans.modules.odcs.client.api.ODCSException:
com.abc.c2c.server.common.service.web.RestClientException:RestClientException
at org.netbeans.modules.odcs.client.ODCSClientImpl.getCurrentProfile(ODCSClientImpl.java:76)
:::::::::
Caused by:
com.abc.c2c.server.common.service.web.RestClientException:RestClientException
at com.abc.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:393)
:::::::::
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java: 85

 

Exception stack (Oracle Developer Cloud Service):

org.netbeans.modules.odcs.client.api.ODCSException:
com.abc.c2c.server.common.service.web.RestClientException:
RestClientException
at org.netbeans.modules.odcs.client.ODCSClientImpl.getCurrentProfile(ODCSClientImpl.java:76)
at org.netbeans.modules.odcs.api.ODCSServer.login(ODCSServer.java:203)
at org.netbeans.modules.odcs.ui.LoginPanelSupportImpl$1.run(LoginPanelSupportImpl.java:85)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Caused by: com.abc.c2c.server.common.service.web.RestClientException:
RestClientException
at com.abc.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:393)
at com.abc.c2c.server.common.service.web.ApacheHttpRestClientDelegate.getForObject(ApacheHttpRestClientDelegate.java:212)
at com.abc.c2c.server.profile.service.ProfileWebServiceClient$GetCall.doCall(ProfileWebServiceClient.java:295)
at com.abc.c2c.server.profile.service.ProfileWebServiceClient.getCurrentProfile(ProfileWebServiceClient.java:329)
at org.netbeans.modules.odcs.client.ODCSClientImpl.getCurrentProfile(ODCSClientImpl.java:72)
... 6 more
Caused by: java.net.UnknownHostException: developer.dc.oraclecloud.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:472)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:153)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
at java.lang.Thread.run(Thread.java:745)


When attempting to login using valid Oracle Developer Cloud Service (DCS) credentials, the above exception stack is seen and the connection attempt fails.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms