directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-972) Whenever I try opening a new ldap connection on Apache Directory Studio, I am getting error: The connection failed - Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
Date Wed, 29 Jan 2014 22:18:24 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885905#comment-13885905
] 

Stefan Seelmann commented on DIRSTUDIO-972:
-------------------------------------------

Just curious (and maybe also helpful for others with the same error): what fixed the problem
for you?

> Whenever I try opening a new ldap connection on Apache Directory Studio, I am getting
error: The connection failed  - Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-972
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-972
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
>         Environment: Windows 7 - 64 bit, Using Java 6
>            Reporter: Neha Arya
>            Priority: Blocker
>             Fix For: 2.0.0-M8 (2.0.0.v20130628)
>
>         Attachments: error_apache.txt
>
>
> Whenever I try connecting to any of our ldap server's on Apache directory studio, I cannot
connect, and get below error:
> The connection failed
>  - Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
> Complete error is as below:
> The connection failed
>  - Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
>   org.apache.mina.core.RuntimeIoException: Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
> 	at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:200)
> 	at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:125)
> 	at org.apache.mina.core.polling.AbstractPollingIoConnector.<init>(AbstractPollingIoConnector.java:114)
> 	at org.apache.mina.transport.socket.nio.NioSocketConnector.<init>(NioSocketConnector.java:66)
> 	at org.apache.directory.ldap.client.api.LdapNetworkConnection.connect(LdapNetworkConnection.java:504)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:228)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1175)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:257)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:168)
> 	at org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:122)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
> 	at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:182)
> 	... 11 more
> Caused by: org.apache.mina.core.RuntimeIoException: The connection failed
>  - Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
>   org.apache.mina.core.RuntimeIoException: Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
> 	at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:200)
> 	at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:125)
> 	at org.apache.mina.core.polling.AbstractPollingIoConnector.<init>(AbstractPollingIoConnector.java:114)
> 	at org.apache.mina.transport.socket.nio.NioSocketConnector.<init>(NioSocketConnector.java:66)
> 	at org.apache.directory.ldap.client.api.LdapNetworkConnection.connect(LdapNetworkConnection.java:504)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:228)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1175)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:257)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:168)
> 	at org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:122)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
> 	at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:182)
> 	... 11 more
> Caused by: org.apache.mina.core.RuntimeIoException: Failed to open a selector.
> 	at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:61)
> 	... 16 more
> Caused by: java.io.IOException: Unable to establish loopback connection
> 	at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.nio.ch.PipeImpl.<init>(Unknown Source)
> 	at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
> 	at java.nio.channels.Pipe.open(Unknown Source)
> 	at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
> 	at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
> 	at java.nio.channels.Selector.open(Unknown Source)
> 	at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:59)
> 	... 16 more
> Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
> 	at sun.nio.ch.Net.socket0(Native Method)
> 	at sun.nio.ch.Net.serverSocket(Unknown Source)
> 	at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
> 	at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
> 	at java.nio.channels.ServerSocketChannel.open(Unknown Source)
> 	... 25 more
>   Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
> 	at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:61)
> 	... 16 more
> Caused by: java.io.IOException: Unable to establish loopback connection
> 	at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.nio.ch.PipeImpl.<init>(Unknown Source)
> 	at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
> 	at java.nio.channels.Pipe.open(Unknown Source)
> 	at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
> 	at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
> 	at java.nio.channels.Selector.open(Unknown Source)
> 	at org.apache.mina.transport.socket.nio.NioProcessor.<init>(NioProcessor.java:59)
> 	... 16 more
> Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 87: socket
> 	at sun.nio.ch.Net.socket0(Native Method)
> 	at sun.nio.ch.Net.serverSocket(Unknown Source)
> 	at sun.nio.ch.ServerSocketChannelImpl.<init>(Unknown Source)
> 	at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(Unknown Source)
> 	at java.nio.channels.ServerSocketChannel.open(Unknown Source)
> 	... 25 more
>   Failed to create a new instance of org.apache.mina.transport.socket.nio.NioProcessor:null
> I cannot connect to any of my ldap servers, and it is a blocker.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message