powered by Jive Software

An exception occurred while trying to make available the admin console via HTTPS

when i run openfire in eclipse the first time ,the exception appears ,what should i do to solve this exception

ERROR 2016-12-14 17:34:47 AdminConsolePlugin:189 - An exception occurred while trying to make available the admin console via HTTPS.

java.lang.NullPointerException

at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:141)

at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:241)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :407)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor .java:292)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n 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)

INFO 2016-12-14 17:34:48 CacheFactory:355 - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses

INFO 2016-12-14 17:34:48 CacheFactory:355 - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits

INFO 2016-12-14 17:34:48 AdminConsolePlugin:365 - Admin console listening at http://wangqixu-bj:9090

Admin console listening at http://wangqixu-bj:9090

Successfully loaded plugin ‘admin’.

INFO 2016-12-14 17:34:48 PluginManager:464 - Successfully loaded plugin ‘admin’.

the second time

INFO 2016-12-14 18:12:56 CacheFactory:355 - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Items

INFO 2016-12-14 18:12:56 PubSubModule:494 - 发布-订阅域:pubsub.10.10.152.60

INFO 2016-12-14 18:12:56 MultiUserChatServiceImpl:1285 - 多用户聊天域:conference.10.10.152.60

INFO 2016-12-14 18:12:57 XMPPServer:466 - Openfire 4.1.0 Alpha [2016-12-14 18:12:57]

Openfire 4.1.0 Alpha [2016-12-14 18:12:57]

WARN 2016-12-14 18:12:58 SANCertificateIdentityMapping:169 - Unable to parse a byte array (of length 30) as a subjectAltName ‘otherName’. It is ignored.

java.lang.ClassCastException: org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1String

at org.jivesoftware.util.cert.SANCertificateIdentityMapping.parseOtherNameXmppAddr (SANCertificateIdentityMapping.java:213)

at org.jivesoftware.util.cert.SANCertificateIdentityMapping.parseOtherName(SANCert ificateIdentityMapping.java:160)

at org.jivesoftware.util.cert.SANCertificateIdentityMapping.mapIdentity(SANCertifi cateIdentityMapping.java:75)

at org.jivesoftware.util.CertificateManager.getServerIdentities(CertificateManager .java:334)

at org.jivesoftware.openfire.keystore.IdentityStore.containsDomainCertificate(Iden tityStore.java:364)

at org.jivesoftware.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:150)

at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:241)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :407)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor .java:292)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n 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)

INFO 2016-12-14 18:12:59 EncryptionArtifactFactory:186 - Creating new SslContextFactory instance

INFO 2016-12-14 18:13:00 CacheFactory:355 - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses

INFO 2016-12-14 18:13:00 CacheFactory:355 - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits

INFO 2016-12-14 18:13:00 AdminConsolePlugin:365 - 管理平台开始监听:

http://10.10.152.60:9090

https://10.10.152.60:9091

管理平台开始监听:

http://10.10.152.60:9090

https://10.10.152.60:9091

Successfully loaded plugin ‘admin’.

INFO 2016-12-14 18:13:00 PluginManager:464 - Successfully loaded plugin ‘admin’.

INFO 2016-12-14 18:13:00 ConnectionListener[socket_c2s]:218 - Started.

INFO 2016-12-14 18:13:00 ConnectionListener[socket_c2s-legacyMode]:218 - Started.

WARN 2016-12-14 18:13:00 LegacyConnectionAcceptor:49 - Configuration allows for up to 16 threads, although implementation is limited to exactly one.

INFO 2016-12-14 18:13:00 ConnectionListener[socket_s2s]:218 - Started.

INFO 2016-12-14 18:13:00 ConnectionListener[component]:218 - Started.

INFO 2016-12-14 18:13:00 ConnectionListener[component-legacyMode]:218 - Started.

INFO 2016-12-14 18:13:01 ConnectionListener[connection_manager]:218 - Started.

INFO 2016-12-14 18:13:01 ConnectionListener[connection_manager-legacyMode]:218 - Started.

WARN 2016-12-14 18:13:01 SANCertificateIdentityMapping:169 - Unable to parse a byte array (of length 30) as a subjectAltName ‘otherName’. It is ignored.

java.lang.ClassCastException: org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1String

at org.jivesoftware.util.cert.SANCertificateIdentityMapping.parseOtherNameXmppAddr (SANCertificateIdentityMapping.java:213)

at org.jivesoftware.util.cert.SANCertificateIdentityMapping.parseOtherName(SANCert ificateIdentityMapping.java:160)

at org.jivesoftware.util.cert.SANCertificateIdentityMapping.mapIdentity(SANCertifi cateIdentityMapping.java:75)

at org.jivesoftware.util.CertificateManager.getServerIdentities(CertificateManager .java:334)

at org.jivesoftware.openfire.keystore.IdentityStore.containsDomainCertificate(Iden tityStore.java:364)

at org.jivesoftware.openfire.http.HttpBindManager.createSSLConnector(HttpBindManag er.java:242)

at org.jivesoftware.openfire.http.HttpBindManager.configureHttpBindServer(HttpBind Manager.java:513)

at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:188)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionMa nagerImpl.java:315)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$1(ConnectionManagerI mpl.java:276)

at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(Connecti onManagerImpl.java:292)

at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginMa nager.java:1042)

at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor .java:323)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n 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)

INFO 2016-12-14 18:13:01 EncryptionArtifactFactory:186 - Creating new SslContextFactory instance

INFO 2016-12-14 18:13:01 HttpBindManager:553 - Installed response compression filter

INFO 2016-12-14 18:13:01 HttpSessionManager:107 - Starting instance

INFO 2016-12-14 18:13:01 HttpBindManager:192 - HTTP bind service started

Thank you in advance