directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fu-Tung Cheng <futung.ch...@yahoo.com>
Subject unable to get address of epoll functions, pre-2.6 kernel
Date Wed, 28 May 2008 18:53:20 GMT
Anyone get this error before?  It prevents apache-ds from loading as the web application.

I see this in:

# uname -r
2.6.23.14-grsec

I have found that to fix it I can append:

-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider

but I'd prefer not to have to do this.  

This is on java:

$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Error stack trace

SEVERE: Exception sending context initialized event to listener instance of class org.apache.directory.samples.embed.webapp.StartStopListener
java.lang.InternalError: unable to get address of epoll functions, pre-2.6 kernel?
        at sun.nio.ch.EPollArrayWrapper.init(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<clinit>(EPollArrayWrapper.java:227)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:52)
        at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
        at java.nio.channels.Selector.open(Selector.java:209)
        at org.apache.mina.transport.socket.nio.SocketAcceptor.startupWorker(SocketAcceptor.java:172)
        at org.apache.mina.transport.socket.nio.SocketAcceptor.bind(SocketAcceptor.java:140)
        at org.apache.directory.server.jndi.ServerContextFactory.startLDAP0(ServerContextFactory.java:488)
        at org.apache.directory.server.jndi.ServerContextFactory.startLDAP(ServerContextFactory.java:413)
        at org.apache.directory.server.jndi.ServerContextFactory.afterStartup(ServerContextFactory.java:212)
        at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:239)
        at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)



      


Mime
View raw message