My Oracle Support Banner

"java.net.SocketException: Permission denied: connect" Error Received when Logging into ODI Studio after Configuring External Authentication with SSL (Doc ID 2433177.1)

Last updated on OCTOBER 28, 2019

Applies to:

Oracle Data Integrator - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

The following error stack is received when trying to log into Oracle Data Integrator (ODI) Studio after reconfiguring external authentication to utilize Secure Sockets Layer (SSL):

oracle.odi.core.security.BadCredentialsException: ODI-10199: Incorrect ODI username or password.
oracle.security.jps.JpsRuntimeException: JPS-01520: Cannot initialize identity store, cause: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect]..
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initializeLM(IdStoreLoginModule.java:604)
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initialize(IdStoreLoginModule.java:223)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   ...
Caused by: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect].
   at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:240)
   at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:348)
   at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initIdmStore(AbstractIdmIdentityStore.java:268)
   ...
Caused by: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect]
   at oracle.security.idm.providers.stdldap.TestConnectionPool.execute(LDIdentityStoreFactory.java:1027)
   at oracle.security.idm.providers.stdldap.LDIdentityStoreFactory.setupConnPool(LDIdentityStoreFactory.java:621)
   at oracle.security.idm.providers.stdldap.LDIdentityStoreFactory.setup(LDIdentityStoreFactory.java:334)
   ...
Caused by: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect]
   at com.sun.jndi.ldap.Connection.(Connection.java:216)
   at com.sun.jndi.ldap.LdapClient.(LdapClient.java:137)
   at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)
   ...
Caused by: java.net.SocketException: Permission denied: connect
   at java.net.DualStackPlainSocketImpl.connect0(Native Method)
   at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
   at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
   ...
   at oracle.odi.core.security.internal.ODIJpsHelper.translateNativeSecurityException(ODIJpsHelper.java:201)
   at oracle.odi.core.security.internal.ODIJpsHelper.createSubject(ODIJpsHelper.java:103)
   at oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:383)
   at oracle.odi.ui.docking.panes.OdiCnxFactory$2.run(OdiCnxFactory.java:256)
   at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:961)
   at java.lang.Thread.run(Thread.java:748)
Caused by: javax.security.auth.login.LoginException: oracle.security.jps.JpsRuntimeException: JPS-01520: Cannot initialize identity store, cause: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect]..
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initializeLM(IdStoreLoginModule.java:604)
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initialize(IdStoreLoginModule.java:223)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   ...
[duplicated stack]
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:82)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   ...
Caused by: oracle.security.jps.internal.jaas.module.AuthenticationException: oracle.security.jps.JpsRuntimeException: JPS-01520: Cannot initialize identity store, cause: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect]..
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initializeLM(IdStoreLoginModule.java:604)
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initialize(IdStoreLoginModule.java:223)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  ...
[duplicated stack]
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticator.authenticate(JpsUserAuthenticator.java:72)
   at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:73)
   ... 16 more
Caused by: javax.security.auth.login.LoginException: oracle.security.jps.JpsRuntimeException: JPS-01520: Cannot initialize identity store, cause: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: <IP_ADDRESS:PORT> [Root exception is java.net.SocketException: Permission denied: connect]..
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initializeLM(IdStoreLoginModule.java:604)
   at oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule.initialize(IdStoreLoginModule.java:223)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   ...
[dupliated stack]
   at javax.security.auth.login.LoginContext.invoke(LoginContext.java:856)
   at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
   at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
   ...

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.