powered by Jive Software

My openfire service can't start port 5222 or 5223

Finished processing all plugins.
Error starting 5222: null
Error starting 5223: null
Error starting 5275: null
Error starting 5276: null
Error starting 5262: null
Error starting 5263: null

I don’t remember what I change it,but my web client can’t connect the service now.
for help please.

What version of Openfire? Have you updated from an older version? What OS? What Java version? Have you updated Java version? Check the logs at /openfire/logs/all.log

My OS is windows 10 and openfire is v4.3.2. I didn’t update anything.And in all.log:
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.MINAConnectionAcceptor[socket_c2s] - Error starting: 5222
java.lang.IllegalArgumentException: null
at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(Unknown Source) ~[?:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206) ~[mina-core-2.0.7.jar:?]
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.MINAConnectionAcceptor[socket_c2s_ssl] - Error starting: 5223
java.lang.IllegalArgumentException: null
at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(Unknown Source) ~[?:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206) ~[mina-core-2.0.7.jar:?]
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s-legacyMode] - Started.
2019.04.01 15:06:27 WARN [pool-5-thread-1]: org.jivesoftware.openfire.spi.LegacyConnectionAcceptor - Configuration allows for up to 16 threads, although implementation is limited to exactly one.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.LegacyConnectionAcceptor - Error starting: 5269
java.net.BindException: Address already in use: NET_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[?:?]
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) ~[?:?]
at java.net.AbstractPlainSocketImpl.bind(Unknown Source) ~[?:?]
at java.net.PlainSocketImpl.bind(Unknown Source) ~[?:?]
at java.net.ServerSocket.bind(Unknown Source) ~[?:?]
at java.net.ServerSocket.(Unknown Source) ~[?:?]
at org.jivesoftware.openfire.net.BlockingAcceptingMode.(BlockingAcceptingMode.java:41) ~[xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.net.SocketAcceptThread.(SocketAcceptThread.java:54) ~[xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.LegacyConnectionAcceptor.start(LegacyConnectionAcceptor.java:54) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s] - Started.
2019.04.01 15:06:27 WARN [pool-5-thread-1]: org.jivesoftware.openfire.spi.LegacyConnectionAcceptor - Configuration allows for up to 16 threads, although implementation is limited to exactly one.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.LegacyConnectionAcceptor - Error starting: 5270
java.net.BindException: Address already in use: NET_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[?:?]
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) ~[?:?]
at java.net.AbstractPlainSocketImpl.bind(Unknown Source) ~[?:?]
at java.net.PlainSocketImpl.bind(Unknown Source) ~[?:?]
at java.net.ServerSocket.bind(Unknown Source) ~[?:?]
at java.net.ServerSocket.(Unknown Source) ~[?:?]
at org.jivesoftware.openfire.net.BlockingAcceptingMode.(BlockingAcceptingMode.java:41) ~[xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.net.SocketAcceptThread.(SocketAcceptThread.java:54) ~[xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.LegacyConnectionAcceptor.start(LegacyConnectionAcceptor.java:54) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s-legacyMode] - Started.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.MINAConnectionAcceptor[component] - Error starting: 5275
java.lang.IllegalArgumentException: null
at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(Unknown Source) ~[?:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206) ~[mina-core-2.0.7.jar:?]
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[component] - Started.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.MINAConnectionAcceptor[component_ssl] - Error starting: 5276
java.lang.IllegalArgumentException: null
at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(Unknown Source) ~[?:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206) ~[mina-core-2.0.7.jar:?]
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[component-legacyMode] - Started.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.MINAConnectionAcceptor[connection_manager] - Error starting: 5262
java.lang.IllegalArgumentException: null
at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(Unknown Source) ~[?:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206) ~[mina-core-2.0.7.jar:?]
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Started.
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.spi.MINAConnectionAcceptor[connection_manager_ssl] - Error starting: 5263
java.lang.IllegalArgumentException: null
at java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(Unknown Source) ~[?:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441) ~[mina-core-2.0.7.jar:?]
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206) ~[mina-core-2.0.7.jar:?]
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:314) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-legacyMode] - Started.
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance
2019.04.01 15:06:27 INFO [pool-5-thread-1]: org.jivesoftware.openfire.http.HttpSessionManager - Starting instance
2019.04.01 15:06:27 ERROR [pool-5-thread-1]: org.jivesoftware.openfire.http.HttpBindManager - Error starting HTTP bind service
org.eclipse.jetty.util.MultiException: Multiple exceptions
at org.eclipse.jetty.util.MultiException.ifExceptionThrow(MultiException.java:124) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.Server.doStart(Server.java:406) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:241) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:326) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Suppressed: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Unknown Source) ~[?:?]
at sun.nio.ch.Net.bind(Unknown Source) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) ~[?:?]
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.Server.doStart(Server.java:395) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:241) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:326) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Suppressed: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Unknown Source) ~[?:?]
at sun.nio.ch.Net.bind(Unknown Source) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) ~[?:?]
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.Server.doStart(Server.java:395) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:241) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:326) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:303) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1234) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1227) [xmppserver-4.3.2.jar:4.3.2]
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:401) [xmppserver-4.3.2.jar:4.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Unknown Source) ~[?:?]
at sun.nio.ch.Net.bind(Unknown Source) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) ~[?:?]
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.Server.doStart(Server.java:395) ~[jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
… 14 more

How do you run Openfire? Is it running as a service or do you run it manually with a launcher (yellow bulb icon)? Do you use Openfire with a bundled Java (jre folder inside the installation folder) or do you install Java on your Windows 10 yourself? If the latter, what version is installed?

Are you still able to login to Admin Console? If so, what Java is shown there on the first page?

Although you said you haven’t changed anything, but some other app could have updated on your system and blocked these ports for some reason. You can try exiting all other apps and then restarting Openfire and see if that changes anything.

I used java 8 when I learn JavaSE.In the admin page, jvm version is 10.0.1. Should I change it?But I don’t see jre folder in the openfire folder.

In the admin page, jvm version is 10.0.1

Openfire does not currently work with Java 9 or higher. You’ll need to re-configure so it runs with Java 8.

Greg

2 Likes

If you don’t have this folder, then you are using Openfire without Java included. So Java is installed on your Windows 10 separately and probably it has updated itself recently. So i suggest uninstalling Java 10, install latest Java 8 (say 8u201 https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) and then go to Java settings in Control Panel and disable automatic updates.

Alternatively you can download the Openfire installer with Java included, install it somewhere and take jre folder from it, put it in your installation. Then you can uninstall Java from your Windows 10 PC completely and Openfire will use that jre folder instead. In future i also suggest using Openfire installer with bundled Java when you are doing updates.

Thank you very much.My client is connecting right now.Your help is very useful for me.thanks.