powered by Jive Software

Openfire 5222 port is not starting

Hello Everyone
Today, I have installed new openfire on ubuntu. But it is not listening on 5222 port. I have checked openfire log report. Error is below

2018.03.21 17:59:30 org.jivesoftware.openfire.spi.MINAConnectionAcceptor[socket_c2s] - Error starting: 5222
java.lang.IllegalArgumentException
at java.base/java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(ThreadPoolExecutor.java:1587)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor.(OrderedThreadPoolExecutor.java:199)
at org.apache.mina.filter.executor.ExecutorFilter.createDefaultExecutor(ExecutorFilter.java:441)
at org.apache.mina.filter.executor.ExecutorFilter.(ExecutorFilter.java:206)
at org.jivesoftware.openfire.spi.MINAConnectionAcceptor.start(MINAConnectionAcceptor.java:102)
at org.jivesoftware.openfire.spi.ConnectionListener.start(ConnectionListener.java:216)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:298)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$100(ConnectionManagerImpl.java:46)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:287)
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:1221)
at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:323)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:300)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)

My system Configuration:-1:Ubuntu 1404, Openfire 4.2

Please help me.
Thanks,
sandeep

Problem when running java 9 OF-1383

1 Like

Hello, greetings from Cuba,
we have installed Openfire 4.2.3 on Ubuntu 16.04 using the openjdk-8-jre.
the error:
2018.03.20 18:34:27 org.jivesoftware.openfire.spi.MINAConnectionAcceptor [socket_c2s] - Error starting: 5222 java.lang.IllegalArgumentException

when:
root @ jabber: ~ # netstat -ntlp | grep LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 394 / mysqld
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 167 / sshd
tcp6 0 0 ::: 7777 ::: * LISTEN 224 / java
tcp6 0 0 ::: 9090 ::: * LISTEN 224 / java
tcp6 0 0 ::: 9091 ::: * LISTEN 224 / java
tcp6 0 0 ::: 5229 ::: * LISTEN 224 / java
tcp6 0 0 ::: 80 ::: * LISTEN 421 / apache2
tcp6 0 0 ::: 5269 ::: * LISTEN 224 / java
tcp6 0 0 ::: 22 ::: * LISTEN 167 / sshd

any suggestions

Thank you

HI, This is the Java 9 version problem, after downgrade it Java 8. It’s working fine. Please mark this solved.

Hi,
all solved, we installed java-8
Thank you