Hi. Having a strange situation where Openfire won't accept -1 for the admin console port. I was just upgrading openfire and I compiled fresh from GIT. Used to work, now it doesn't. I've tried "0" and leaving the property out but in those cases it defaults to 9091 and active. My OS is x86_64 GNU/Linux
(upgraded from svn20130916 aka 3.8.2)
This is the message I get:
Openfire 3.10.0 Alpha [Jul 30, 2014 11:10:42 AM]
Warning: admin console not started due to configuration settings.
Here's what's in my config:
<adminConsole>
<!-- Disable either port by setting the value to -1 -->
<port>-1</port>
<securePort>43210</securePort>
I also get this in the error log:
2014.07.30 12:10:42 org.jivesoftware.openfire.container.AdminConsolePlugin -
java.lang.NullPointerException
at org.eclipse.jetty.server.HttpConfiguration.<init>(HttpConfiguration.java:77)
at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:168)
at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:239)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :481)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1072)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
I looked in AdminConsolePlugin.java and don't see how it's possible.
Thanks,
Sean