org.jivesoftware.openfire.IQRouter:436

服务器连接过程中遇到数据读取错误,导致一系列异常,包括客户端会话为空、Socket通道取消异常等,最终导致连接断开。

2012-08-09 11:04:04 Login(rcs0072971)Thread-749929 ERROR [org.jivesoftware.openfire.IQRouter:436] ClientSession is null,StreamID is 86802038

==================

2012-08-09 11:05:47 Out Connection Reader (4) ERROR [com.pica.gateway.connmng.OutConnectionProcessor:289] Error when read data from SocketChannel
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69)
at java.nio.channels.SelectionKey.isConnectable(SelectionKey.java:318)
at com.pica.gateway.connmng.OutConnectionProcessor.readMessage(OutConnectionProcessor.java:261)
at com.pica.gateway.connmng.OutConnectionProcessor.access$2(OutConnectionProcessor.java:236)
at com.pica.gateway.connmng.OutConnectionProcessor$1.run(OutConnectionProcessor.java:95)
2012-08-09 11:05:47 Out Connection Reader (4) ERROR [com.pica.gateway.connmng.OutConnectionProcessor:298] Selector exception
java.lang.NullPointerException
at com.pica.gateway.connmng.OutConnectionProcessor.readMessage(OutConnectionProcessor.java:290)
at com.pica.gateway.connmng.OutConnectionProcessor.access$2(OutConnectionProcessor.java:236)
at com.pica.gateway.connmng.OutConnectionProcessor$1.run(OutConnectionProcessor.java:95)
2012-08-09 11:06:15 google transport (420) ERROR [com.pica.gateway.connmng.OutConnectionProcessor:187] unregisterSocket
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:64)
at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:175)
at java.nio.channels.SelectableChannel.register(SelectableChannel.java:254)
at com.pica.gateway.connmng.OutConnectionProcessor.unregisterSocket(OutConnectionProcessor.java:177)
at com.pica.gateway.connmng.OutConnectionManager.releaseSocket(OutConnectionManager.java:313)
at org.jivesoftware.smack.NioXMPPConnection.shutdown(NioXMPPConnection.java:463)
at org.jivesoftware.smack.NioXMPPConnection.disconnect(NioXMPPConnection.java:479)
at org.jivesoftware.smack.Connection.disconnect(Connection.java:459)
at com.pica.gateway.protocols.nxmpp.NioXMPPSession.cleanUp(NioXMPPSession.java:377)
at com.pica.gateway.protocols.nxmpp.NioXMPPSession.logOut(NioXMPPSession.java:325)
at com.pica.gateway.protocols.nxmpp.NioXMPPTransport.registrationLoggedOut(NioXMPPTransport.java:195)
at com.pica.gateway.BaseTransport.handleIQRegister(BaseTransport.java:1167)
at com.pica.gateway.BaseTransport.processPacket(BaseTransport.java:716)
at com.pica.gateway.BaseTransport.processPacketInThread(BaseTransport.java:278)
at com.pica.gateway.BaseTransport.access$0(BaseTransport.java:242)
at com.pica.gateway.BaseTransport$2.run(BaseTransport.java:234)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# # 删除名为 restapi-openfire-plugin-assembly 的残留目录 [root@yfw openfire]# rm -rf restapi-openfire-plugin-assembly [root@yfw openfire]# [root@yfw openfire]# # 再次确认是否还有任何 restapi 相关内容 [root@yfw openfire]# ls -la | grep -i restapi -rw-r--r-- 1 root root 15366925 Oct 2 19:06 restAPI.jar [root@yfw openfire]# # 删除根目录下的 restAPI.jar(不是在 plugins/ 下) [root@yfw openfire]# rm -f /opt/openfire/restAPI.jar [root@yfw openfire]# [root@yfw openfire]# # 再次确认是否还有任何 restapi 相关内容 [root@yfw openfire]# ls -la /opt/openfire | grep -i restapi [root@yfw openfire]# # 进入 plugins 目录 [root@yfw openfire]# cd /opt/openfire/plugins [root@yfw plugins]# [root@yfw plugins]# # 查看是否有残留 [root@yfw plugins]# ls -la | grep -i restapi -rw-r--r-- 1 root root 13769741 Oct 3 01:25 restAPI-openfire-plugin-assembly.jar [root@yfw plugins]# # 删除错误命名的 JAR 文件 [root@yfw plugins]# rm -f /opt/openfire/plugins/restAPI-openfire-plugin-assembly.jar [root@yfw plugins]# [root@yfw plugins]# # 再次检查是否还有任何 restapi 相关内容(不区分大小写) [root@yfw plugins]# ls -la /opt/openfire/plugins | grep -i restapi [root@yfw plugins]# # 回到你的项目目录 [root@yfw plugins]# cd ~/openfire-plugins/restapi-plugin [root@yfw restapi-plugin]# [root@yfw restapi-plugin]# # 清理旧构建 + 重新打包 [root@yfw restapi-plugin]# mvn clean package [INFO] Scanning for projects... [INFO] [INFO] ------------< com.example.openfire.plugins:restapi-plugin >------------- [INFO] Building REST API Plugin 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ restapi-plugin --- [INFO] Deleting /root/openfire-plugins/restapi-plugin/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ restapi-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ restapi-plugin --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 1 source file with javac [debug target 11] to target/classes [WARNING] system modules path not set in conjunction with -source 11 [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ restapi-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/openfire-plugins/restapi-plugin/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ restapi-plugin --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ restapi-plugin --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ restapi-plugin --- [INFO] Building jar: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar [INFO] [INFO] --- maven-assembly-plugin:3.6.0:single (default) @ restapi-plugin --- [WARNING] Artifact: com.example.openfire.plugins:restapi-plugin:jar:1.0.0-SNAPSHOT references the same file as the assembly destination file. Moving it to a temporary location for inclusion. [INFO] Building jar: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar [WARNING] Configuration option 'appendAssemblyId' is set to false. Instead of attaching the assembly file: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar, it will become the file for main project artifact. NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic! [WARNING] Replacing pre-existing project main-artifact file: /root/openfire-plugins/restapi-plugin/target/archive-tmp/restapi-plugin-assembly.jar with assembly file: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.841 s [INFO] Finished at: 2025-10-03T02:27:13+08:00 [INFO] ------------------------------------------------------------------------ [root@yfw restapi-plugin]# [root@yfw restapi-plugin]# # 将生成的 JAR 复制到 Openfire 插件目录,命名为标准名称 [root@yfw restapi-plugin]# cp target/restapi-plugin-assembly.jar /opt/openfire/plugins/restapi-plugin.jar [root@yfw restapi-plugin]# # 启动服务 [root@yfw restapi-plugin]# systemctl start openfire [root@yfw restapi-plugin]# [root@yfw restapi-plugin]# # 实时查看日志 [root@yfw restapi-plugin]# tail -f /opt/openfire/logs/openfire.log 2025.10.03 02:22:51.138 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Stopped. 2025.10.03 02:22:51.138 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.NettyConnectionAcceptor[connection_manager] - Closing channel [id: 0x6f26cf11, L:/0:0:0:0:0:0:0:0:5262] 2025.10.03 02:22:51.154 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Stopped. 2025.10.03 02:22:51.154 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.NettyConnectionAcceptor[connection_manager_ssl] - Closing channel [id: 0xcdd66d4e, L:/0:0:0:0:0:0:0:0:5263] 2025.10.03 02:22:51.165 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Stopped. 2025.10.03 02:22:51.167 INFO [shutdown-thread-0]: org.jivesoftware.openfire.http.HttpSessionManager - Stopping instance 2025.10.03 02:22:51.180 INFO [shutdown-thread-0]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service stopped 2025.10.03 02:22:51.198 INFO [shutdown-thread-0]: org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider - Flushing write cache to database 2025.10.03 02:22:51.200 INFO [shutdown-thread-0]: org.jivesoftware.openfire.OfflineMessageStore - Offline message cleaning - Stop old timer if started 2025.10.03 02:22:51.211 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Openfire stopped 2025.10.03 02:27:47.786 INFO [main]: org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode) 2025.10.03 02:27:48.444 INFO [main]: org.jivesoftware.util.cache.ConsistencyMonitor - Applying configuration for cache consistency check. Enabled: false 2025.10.03 02:27:48.482 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache 2025.10.03 02:27:48.484 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache 2025.10.03 02:27:48.485 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache 2025.10.03 02:27:48.485 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache 2025.10.03 02:27:48.485 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions 2025.10.03 02:27:48.493 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster 2025.10.03 02:27:48.495 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for RosterItems 2025.10.03 02:27:48.521 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Result Listeners 2025.10.03 02:27:48.525 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service 2025.10.03 02:27:48.530 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size 2025.10.03 02:27:48.533 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard 2025.10.03 02:27:48.641 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists 2025.10.03 02:27:48.642 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache 2025.10.03 02:27:48.780 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache 2025.10.03 02:27:48.780 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache 2025.10.03 02:27:48.785 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User 2025.10.03 02:27:48.785 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence 2025.10.03 02:27:48.805 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components Sessions 2025.10.03 02:27:48.806 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Connection Managers Sessions 2025.10.03 02:27:48.806 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Incoming Server Session Info Cache 2025.10.03 02:27:48.806 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Sessions by Hostname 2025.10.03 02:27:48.806 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Client Session Info Cache 2025.10.03 02:27:48.808 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Directed Presences 2025.10.03 02:27:48.810 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for PEPServiceManager 2025.10.03 02:27:48.812 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer 2025.10.03 02:27:48.815 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubPersistenceProviderManager - Loading PubSub persistence provider: class org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider. 2025.10.03 02:27:48.817 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Published Items 2025.10.03 02:27:48.818 INFO [main]: org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider - Loading PubSub persistence provider to delegate to: class org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider. 2025.10.03 02:27:48.822 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Default Node Configurations 2025.10.03 02:27:48.851 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Features 2025.10.03 02:27:48.858 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Items 2025.10.03 02:27:48.859 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components 2025.10.03 02:27:49.127 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities 2025.10.03 02:27:49.127 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities Users 2025.10.03 02:27:49.173 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group (Shared) Metadata Cache 2025.10.03 02:27:49.175 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group 2025.10.03 02:27:49.175 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group Metadata Cache 2025.10.03 02:27:49.201 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubModule - 发布–订阅域:pubsub.localhost 2025.10.03 02:27:49.211 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service Pings Sent 2025.10.03 02:27:49.213 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC History 2025.10.03 02:27:49.215 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Rooms 2025.10.03 02:27:49.218 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Room Statistics 2025.10.03 02:27:49.222 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Rooms 2025.10.03 02:27:49.222 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Room Statistics 2025.10.03 02:27:49.235 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.10.03 02:27:49.240 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:conference.localhost 2025.10.03 02:27:49.259 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.10.03 02:27:49.260 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:lobby.localhost 2025.10.03 02:27:49.289 INFO [main]: org.jivesoftware.openfire.XMPPServer - Openfire 4.9.2 [2025年10月3日 上午2:27:49] 2025.10.03 02:27:49.671 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for DNS Records 2025.10.03 02:27:49.836 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for LDAP UserDN 2025.10.03 02:27:49.853 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'ANONYMOUS' SASL mechanism. 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'CRAM-MD5' SASL mechanism. 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'DIGEST-MD5' SASL mechanism. 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'EXTERNAL' SASL mechanism. 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'GSSAPI' SASL mechanism. 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'JIVE-SHAREDSECRET' SASL mechanism. 2025.10.03 02:27:50.773 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PLAIN' SASL mechanism. 2025.10.03 02:27:50.774 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'SCRAM-SHA-1' SASL mechanism. 2025.10.03 02:27:50.843 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Server Configurations 2025.10.03 02:27:51.044 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses 2025.10.03 02:27:51.044 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits 2025.10.03 02:27:51.085 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.AdminConsolePlugin - 管理控制台正在侦听: http://0.0.0.0:9090 https://0.0.0.0:9091 2025.10.03 02:27:51.088 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'admin'. 2025.10.03 02:27:51.177 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'clientcontrol-2.1.10'. 2025.10.03 02:27:51.216 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'justmarried-1.3.0'. 2025.10.03 02:27:51.244 INFO [PluginMonitorExec-3]: org.igniterealtime.openfire.plugin.mucextinfo.MucExtInfoPlugin - Replacing original IQ Disco Info handlers for all MUC services with proxies. 2025.10.03 02:27:51.258 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'mucextinfo-1.0.0'. 2025.10.03 02:27:51.757 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - start pade server localhost:7443 2025.10.03 02:27:51.759 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for URL Source Content 2025.10.03 02:27:51.780 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PADE' SASL mechanism. 2025.10.03 02:27:51.780 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Create recordings folder 2025.10.03 02:27:51.785 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Starting Openfire Meetings 2025.10.03 02:27:51.792 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Room Properties 2025.10.03 02:27:51.881 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - Successfully initialized Jitsi Videobridge. /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-4.el8_5.x86_64/bin/java -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dconfig.file=/opt/openfire/bin/../plugins/pade/classes/jvb/application.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/opt/openfire/bin/../plugins/pade/classes/jvb -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=config -Djava.util.logging.config.file=./logging.properties -Djdk.tls.ephemeralDHKeySize=2048 -cp ./jitsi-videobridge-2.1-SNAPSHOT.jar:./jitsi-videobridge-2.1-SNAPSHOT-jar-with-dependencies.jar org.jitsi.videobridge.MainKt --apis=rest 2025.10.03 02:27:51.900 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Initializing Jitsi Focus Component (jicofo)... 2025.10.03 02:27:51.936 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - allowed external component access 2025.10.03 02:27:51.981 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Successfully initialized Jitsi Focus Component (jicofo). /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-4.el8_5.x86_64/bin/java -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dconfig.file=/opt/openfire/bin/../plugins/pade/classes/jicofo/application.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/opt/openfire/bin/../plugins/pade/classes/jicofo -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=config -Djava.util.logging.config.file=./logging.properties -Djdk.tls.ephemeralDHKeySize=2048 -cp ./jicofo-1.1-SNAPSHOT.jar:./jicofo-1.1-SNAPSHOT-jar-with-dependencies.jar org.jitsi.jicofo.Main --host=localhost --port=5275 --domain=localhost --secret=ElaQPVPKh05Zy4pb3Rgrvmm5XFoXVadRneWHyRqr --user_domain=localhost --user_name=focus --user_password=yra84zlHMIbfpL8CQpJDYDz5ODmtQXPpoRVds1WN 2025.10.03 02:27:52.005 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - Initialized public web socket for /colibri-ws web socket 2025.10.03 02:27:57.504 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize IQ handler 2025.10.03 02:27:57.742 INFO [PluginMonitorExec-3]: org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 2025.10.03 02:27:57.792 INFO [PluginMonitorExec-3]: org.quartz.simpl.SimpleThreadPool - Job execution threads will use class loader of thread: PluginMonitorExec-3 2025.10.03 02:27:57.815 INFO [PluginMonitorExec-3]: org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2025.10.03 02:27:57.815 INFO [PluginMonitorExec-3]: org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created. 2025.10.03 02:27:57.817 INFO [PluginMonitorExec-3]: org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 2025.10.03 02:27:57.819 INFO [PluginMonitorExec-3]: org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 2025.10.03 02:27:57.819 INFO [PluginMonitorExec-3]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2025.10.03 02:27:57.819 INFO [PluginMonitorExec-3]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2 2025.10.03 02:27:57.819 INFO [PluginMonitorExec-3]: org.quartz.core.QuartzScheduler - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2025.10.03 02:27:57.820 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Creating webauthn RelyingParty 2025.10.03 02:27:57.838 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pade-1.8.4'. 2025.10.03 02:27:57.873 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'presence-1.7.4'. 2025.10.03 02:27:57.912 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.users 2025.10.03 02:27:57.912 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.messages 2025.10.03 02:27:57.936 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pushnotification-1.0.1'. 2025.10.03 02:27:57.942 ERROR [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'restapi-plugin': java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:582) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] 2025.10.03 02:27:58.006 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'search-1.7.5'. 2025.10.03 02:27:58.116 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'usercreation-1.4.1'. 2025.10.03 02:27:58.171 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userimportexport-2.8.0'. 2025.10.03 02:27:58.316 ERROR [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginServlet - An unexpected problem occurred while attempting to register servlets for plugin 'org.jivesoftware.openfire.plugin.UserServicePlugin@254478e0'. java.lang.ExceptionInInitializerError: null at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:315) ~[?:?] at com.sun.proxy.$Proxy24.<clinit>(Unknown Source) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1022) ~[?:?] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1008) ~[?:?] at com.sun.jersey.server.impl.application.WebApplicationImpl$26.run(WebApplicationImpl.java:1626) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at com.sun.jersey.server.impl.application.WebApplicationImpl.createProxy(WebApplicationImpl.java:1623) ~[?:?] at com.sun.jersey.server.impl.application.WebApplicationImpl.<init>(WebApplicationImpl.java:335) ~[?:?] at com.sun.jersey.server.impl.container.WebApplicationProviderImpl.createWebApplication(WebApplicationProviderImpl.java:55) ~[?:?] at com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:66) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:412) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:327) ~[?:?] at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:603) ~[?:?] at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:577) ~[?:?] at javax.servlet.GenericServlet.init(GenericServlet.java:180) ~[jetty-servlet-api-4.0.6.jar:?] at org.jivesoftware.openfire.plugin.JerseyWrapper.init(JerseyWrapper.java:83) ~[?:?] at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:192) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:631) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122) ~[?:?] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91) ~[?:?] at javax.ws.rs.core.EntityTag.<clinit>(EntityTag.java:35) ~[?:?] ... 31 more Caused by: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:476) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:315) ~[?:?] at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62) ~[?:?] at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155) ~[?:?] at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105) ~[?:?] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91) ~[?:?] at javax.ws.rs.core.EntityTag.<clinit>(EntityTag.java:35) ~[?:?] ... 31 more 2025.10.03 02:27:58.339 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userservice-2.1.3'. 2025.10.03 02:27:58.384 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userstatus-1.3.0'. 2025.10.03 02:27:58.422 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.10.03 02:27:58.436 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'jabberbrowsing-1.0.1'. 2025.10.03 02:27:58.579 INFO [PluginMonitorExec-5]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Extended Service Discovery 2025.10.03 02:27:58.633 INFO [PluginMonitorExec-5]: org.jivesoftware.openfire.fastpath.FastpathPlugin - start webchat 2025.10.03 02:27:58.658 INFO [PluginMonitorExec-5]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'fastpath-4.5.1'. 2025.10.03 02:27:58.698 INFO [PluginMonitorExec-4]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'contentfilter-1.9.0'. 2025.10.03 02:27:58.699 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.10.03 02:27:58.824 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started. 2025.10.03 02:27:58.827 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s-directTLS] - Started. 2025.10.03 02:27:58.837 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s] - Started. 2025.10.03 02:27:58.841 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s-directTLS] - Started. 2025.10.03 02:27:58.844 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component] - Started. 2025.10.03 02:27:58.856 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Started. 2025.10.03 02:27:58.862 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Started. 2025.10.03 02:27:58.866 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Started. 2025.10.03 02:27:58.870 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.10.03 02:27:58.876 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpSessionManager - Starting instance 2025.10.03 02:27:59.039 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service started 2025.10.03 02:27:59.825 INFO [socket_c2s-thread-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Locked Out Accounts 2025.10.03 02:28:00.212 INFO [socket_c2s-thread-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Sequences 2025.10.03 02:28:19.053 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'restapi-plugin': java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:582) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] 2025.10.03 02:28:39.079 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'restapi-plugin': java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:582) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]
10-04
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# # 1. 停止服务 [root@yfw openfire]# systemctl stop openfire [root@yfw openfire]# [root@yfw openfire]# # 2. 删除旧插件 [root@yfw openfire]# rm -rf /opt/openfire/plugins/hello-plugin [root@yfw openfire]# [root@yfw openfire]# # 3. 重建目录 [root@yfw openfire]# mkdir -p /opt/openfire/plugins/hello-plugin/{classes,lib,web} [root@yfw openfire]# [root@yfw openfire]# # 4. 写入 plugin.xml [root@yfw openfire]# cat > /opt/openfire/plugins/hello-plugin/classes/plugin.xml << 'EOF' > <?xml version="1.0" encoding="UTF-8"?> > <plugin> > <className>org.jivesoftware.openfire.plugin.RestApiPlugin</className> > <name>Hello Plugin</name> > <description>A minimal working plugin</description> > <version>1.0.0</version> > <author>Admin</author> > <minServerVersion>4.0.0</minServerVersion> > <maxServerVersion>5.0.0</maxServerVersion> > </plugin> > EOF [root@yfw openfire]# [root@yfw openfire]# # 5. ✅ 使用新打包的 jar(路径根据实际情况调整) [root@yfw openfire]# cp /root/openfire-plugin-build/restapi.jar /opt/openfire/plugins/hello-plugin/lib/ [root@yfw openfire]# [root@yfw openfire]# # 6. 权限 [root@yfw openfire]# chown -R openfire:openfire /opt/openfire/plugins/hello-plugin [root@yfw openfire]# [root@yfw openfire]# # 7. 验证 jar 内部路径是否正确 [root@yfw openfire]# echo "=== JAR 内部结构 ===" === JAR 内部结构 === [root@yfw openfire]# jar tf /opt/openfire/plugins/hello-plugin/lib/restapi.jar | grep RestApiPlugin RestApiPlugin.class [root@yfw openfire]# [root@yfw openfire]# # 应该输出: [root@yfw openfire]# # org/jivesoftware/openfire/plugin/RestApiPlugin.class [root@yfw openfire]# [root@yfw openfire]# systemctl start openfire [root@yfw openfire]# sleep 30 [root@yfw openfire]# [root@yfw openfire]# grep -i "hello-plugin\|pluginmonitor\|restapi\|loaded plugin\|found new plugin" /opt/openfire/logs/openfire.log | tail -100 2025.05.17 22:04:35.528 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 mucextinfo 的数据库架构。正在尝试安装… 2025.05.17 22:04:35.566 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 22:04:35.572 INFO [PluginMonitorExec-2]: org.igniterealtime.openfire.plugin.mucextinfo.MucExtInfoPlugin - Replacing original IQ Disco Info handlers for all MUC services with proxies. 2025.05.17 22:04:35.579 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'mucextinfo-1.0.0'. 2025.05.17 22:04:35.580 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:04:45.096 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'nodejs': at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] 2025.05.17 22:05:18.936 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.users 2025.05.17 22:05:18.936 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.messages 2025.05.17 22:05:18.938 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 pushnotification 的数据库架构。正在尝试安装… 2025.05.17 22:05:18.983 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 22:05:18.994 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pushnotification-1.0.1'. 2025.05.17 22:05:19.003 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:06:10.835 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userimportexport-2.7.1'. 2025.05.17 22:06:10.838 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:06:19.088 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'usercreation-1.4.1'. 2025.05.17 22:06:19.090 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:06:43.160 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'jabberbrowsing-1.0.1'. 2025.05.17 22:06:43.163 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:07:28.588 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'nodejs' was removed from the file system. 2025.05.17 22:07:28.601 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'NodeJs' 2025.05.17 22:07:28.602 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/nodejs/lib/nodejs-0.1.1.jar 2025.05.17 22:07:30.696 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'nodejs'. 2025.05.17 22:11:14.780 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'presence-1.7.3'. 2025.05.17 22:11:14.783 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:11:40.365 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - start pade server localhost:7443 2025.05.17 22:11:40.367 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for URL Source Content 2025.05.17 22:11:40.378 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PADE' SASL mechanism. 2025.05.17 22:11:40.378 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Create recordings folder 2025.05.17 22:11:40.379 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Starting Openfire Meetings 2025.05.17 22:11:40.384 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Room Properties 2025.05.17 22:11:40.393 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - No pre-existing 'jvb' user detected. Generating one. 2025.05.17 22:11:40.495 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - Successfully initialized Jitsi Videobridge. 2025.05.17 22:11:40.510 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - No pre-existing 'focus' user detected. Generating one. 2025.05.17 22:11:40.566 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - Adding 'focus' user as a sysadmin to the 'conference' MUC service. 2025.05.17 22:11:40.572 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Initializing Jitsi Focus Component (jicofo)... 2025.05.17 22:11:40.673 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Successfully initialized Jitsi Focus Component (jicofo). 2025.05.17 22:11:40.680 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - Initialized public web socket for /colibri-ws web socket 2025.05.17 22:11:44.017 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize IQ handler 2025.05.17 22:11:46.516 INFO [PluginMonitorExec-2]: org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 2025.05.17 22:11:46.518 INFO [PluginMonitorExec-2]: org.quartz.simpl.SimpleThreadPool - Job execution threads will use class loader of thread: PluginMonitorExec-2 2025.05.17 22:11:46.531 INFO [PluginMonitorExec-2]: org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2025.05.17 22:11:46.531 INFO [PluginMonitorExec-2]: org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created. 2025.05.17 22:11:46.532 INFO [PluginMonitorExec-2]: org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.core.QuartzScheduler - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2025.05.17 22:11:46.535 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.MultiUserChatManager - A database exception occurred while trying to load the ID for MUC service 'lobby' from the database. at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] 2025.05.17 22:11:46.535 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.MultiUserChatManager - Creating MUC service 'lobby' 2025.05.17 22:11:46.535 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Rooms 2025.05.17 22:11:46.564 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Room Statistics 2025.05.17 22:11:46.625 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.05.17 22:11:46.625 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:lobby.localhost 2025.05.17 22:11:46.637 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Creating webauthn RelyingParty 2025.05.17 22:11:46.697 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pade-1.8.4'. 2025.05.17 22:11:46.701 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:30:01.079 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'clientcontrol-2.1.9'. 2025.05.17 22:30:01.081 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 23:29:36.241 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'contentfilter-1.8.2'. 2025.05.17 23:29:36.242 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 23:34:21.140 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 monitoring 的数据库架构。正在尝试安装… 2025.05.17 23:34:21.255 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 23:34:22.425 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[CONVERSATION] - Unable to find a Lucene index in MMapDirectory@/opt/openfire/monitoring/search lockFactory=org.apache.lucene.store.NativeFSLockFactory@1c5950cc. rebuilding. 2025.05.17 23:34:22.471 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[CONVERSATION] - Lucene index has never been modified. Removing and rebuilding. 2025.05.17 23:34:22.490 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MUCSEARCH] - Unable to find a Lucene index in MMapDirectory@/opt/openfire/monitoring/mucsearch lockFactory=org.apache.lucene.store.NativeFSLockFactory@1c5950cc. rebuilding. 2025.05.17 23:34:22.491 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MUCSEARCH] - Lucene index has never been modified. Removing and rebuilding. 2025.05.17 23:34:22.501 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MESSAGE] - Unable to find a Lucene index in MMapDirectory@/opt/openfire/monitoring/msgsearch lockFactory=org.apache.lucene.store.NativeFSLockFactory@1c5950cc. rebuilding. 2025.05.17 23:34:22.501 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MESSAGE] - Lucene index has never been modified. Removing and rebuilding. 2025.05.17 23:34:22.570 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'monitoring-2.6.1'. 2025.05.17 23:34:22.572 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.18 09:49:00.440 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'xmppweb' was removed from the file system. 2025.05.18 09:49:00.471 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'xmppweb' 2025.05.18 09:49:00.472 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/json-20231013.jar 2025.05.18 09:49:00.473 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/xmppweb-0.10.3.1.jar 2025.05.18 09:49:02.612 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'xmppweb'. 2025.05.18 09:49:25.325 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.05.18 09:49:25.327 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.18 20:26:42.223 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'candy-0.0.0'. 2025.05.18 20:26:42.228 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.18 20:39:20.427 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'xmppweb' was removed from the file system. 2025.05.18 20:39:20.480 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'xmppweb' 2025.05.18 20:39:20.480 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/json-20231013.jar 2025.05.18 20:39:20.481 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/xmppweb-0.10.3.1.jar 2025.05.18 20:39:22.613 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'xmppweb'. 2025.05.18 20:39:27.493 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'candy' was removed from the file system. 2025.05.18 20:39:27.505 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'Candy' 2025.05.18 20:39:27.505 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/candy/lib/json-20231013.jar 2025.05.18 20:39:27.505 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/candy/lib/candy-2.2.0-release-5.jar 2025.05.18 20:39:29.656 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'candy'. 2025.05.18 20:41:12.712 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'websocket' was removed from the file system. 2025.05.18 20:41:12.713 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'Openfire WebSocket' 2025.05.18 20:41:12.714 WARN [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - No plugin loader found for 'websocket'. 2025.05.18 20:41:47.652 WARN [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Ignoring plugin 'websocket': compatible with server versions up to but excluding 4.2.0. Current server version is 4.9.2. 2025.05.18 20:52:43.808 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.05.18 20:52:43.810 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. Binary file /opt/openfire/logs/openfire.log matches [root@yfw openfire]#
10-04
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# [root@yfw ~]# cd /opt/openfire -bash: [root@yfw: command not found [root@yfw openfire]# [root@yfw openfire]# cd ~/openfire-plugin-build eaning - Stop old timer if started 2025.10.03 04-bash: [root@yfw: command not found [root@yfw openfire]# [root@yfw openfire-plugin-build]# rm -rf src/RestApiPlugin.java :31:49.980 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServe-bash: [root@yfw: command not found [root@yfw openfire]# [root@yfw openfire-plugin-build]# mkdir -p src r - Openfire stopped 2025.10.03 04:31:51.473 IN-bash: [root@yfw: command not found [root@yfw openfire]# [root@yfw openfire-plugin-build]# cat > src/RestApiPlugin.java << 'EOF' > > public class RestApiPlugin implements org.jivesoftware.openfire.container.Plugin { > > > > static { > > System.out.println("[PLUGIN-DEBUG] 💡 静态块执行:RestApiPlugin 类已被 JVM 加载!"); Plugin.class"));em.out.println("[PLUGIN-DEBUG] 📦 类资源位置: " + RestApiPlugin.class.getResource("RestApiP > > } > > > > public RestApiPlugin() { > > System.out.println("[PLUGIN-DEBUG] 🆕 构造函数执行:RestApiPlugin 实例已创建"); > > } > > > > @Override > > public void initializePlugin(org.jivesoftware.openfire.container.PluginManager manager, java.io.File pluginDirectory) { ePath()); System.out.println("[PLUGIN-DEBUG] 🎉 插件初始化成功!插件目录: " + pluginDirectory.getAbsolute > > } > > > > @Override > > public void destroyPlugin() { org.ji> > System.out.println("[PLUGIN-DEBUG] 🔌 插件已销毁"); > > } > > } > > EOF > [root@yfw openfire-plugin-build]# # 编译 > [root@yfw openfire-plugin-build]# /usr/lib/jvm/java-11-openjdk/bin/javac \ > > -source 11 -target 11 \ > > -cp "/opt/openfire/lib/xmppserver-4.9.2.jar" \ > > -d classes \ > > src/RestApiPlugin.java > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 打包 > [root@yfw openfire-plugin-build]# jar cf restapi.jar -C classes . > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 清除旧插件和缓存 > [root@yfw openfire-plugin-build]# rm -rf /opt/openfire/plugins/restapi > [root@yfw openfire-plugin-build]# rm -rf /opt/openfire/work/plugins/restapi* > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 部署 > [root@yfw openfire-plugin-build]# mkdir -p /opt/openfire/plugins/restapi > [root@yfw openfire-plugin-build]# cp restapi.jar /opt/openfire/plugins/restapi/ > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 写入 plugin.xml(确保没问题) > [root@yfw openfire-plugin-build]# cat > /opt/openfire/plugins/restapi/plugin.xml << 'EOF' > > <?xml version="1.0" encoding="UTF-8"?> > > <plugin> > > <className>RestApiPlugin</className> > > <name>REST API Plugin</name> > > <description>Simple REST API Plugin with Debug Logs</description> > > <author>Admin</author> > > <version>1.0.0</version> > > <date>2025-10-03</date> > > <minServerVersion>4.0.0</minServerVersion> > > </plugin> > > EOF > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 权限 > [root@yfw openfire-plugin-build]# chown -R openfire:openfire /opt/openfire/plugins/restapi > [root@yfw openfire-plugin-build]# chmod -R 755 /opt/openfire/plugins/restapi > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 重启 > [root@yfw openfire-plugin-build]# systemctl restart openfire > [root@yfw openfire-plugin-build]# > [root@yfw openfire-plugin-build]# # 查看日志 > [root@yfw openfire-plugin-build]# tail -f /opt/openfire/logs/openfire.log > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:31:49.782 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Shutting down plugins ... > 2025.10.03 04:31:49.782 INFO [Thread-2]: org.jivesoftware.openfire.container.PluginManager - Shutting down. Unloading all loaded plugins... tLocalCacheStrategy] for Components Sessions 2025.10.03 04:31:52.353 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Connection Managers Sessions 20> 2025.10.03 04:31:49.789 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Shutting down 54 modus ... > 2025.10.03 04:31:49.962 INFO [shutdown-thread-0]: org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider - Flushing write cache to database > 2025.10.03 04:31:49.966 INFO [shutdown-thread-0]: org.jivesoftware.openfire.OfflineMessageStore - Offline message cleaning - Stop old timer if started > 2025.10.03 04:31:49.980 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Openfire stopped > 2025.10.03 04:31:51.473 INFO [main]: org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode) > 2025.10.03 04:31:52.088 INFO [main]: org.jivesoftware.util.cache.ConsistencyMonitor - Applying configuration for cache consistency check. Enabled: false > 2025.10.03 04:31:52.110 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache > 2025.10.03 04:31:52.112 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache > 2025.10.03 04:31:52.113 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache > 2025.10.03 04:31:52.113 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache > 2025.10.03 04:31:52.114 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions > 2025.10.03 04:31:52.118 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster > 2025.10.03 04:31:52.121 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for RosterItems .03 04:31:52.381 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocal> 2025.10.03 04:31:52.139 INFO [main]: org.jivesoftware.util.cache.CacheFactory - software.util.cache.DefaultLocalCacheStrategy] for Routing Result Listeners > 2025.10.03 04:31:52.142 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service > 2025.10.03 04:31:52.147 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size > 2025.10.03 04:31:52.150 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard > 2025.10.03 04:31:52.254 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists > 2025.10.03 04:31:52.258 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache > 2025.10.03 04:31:52.334 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache > 2025.10.03 04:31:52.335 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache > 2025.10.03 04:31:52.339 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User > 2025.10.03 04:31:52.339 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence > 2025.10.03 04:31:52.352 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components Sessions > 2025.10.03 04:31:52.353 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Connection Managers Sessions > 2025.10.03 04:31:52.353 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Incoming Server Session Info Cache 0.03 04:31:52.723 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.Default> 2025.10.03 04:31:52.353 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Creasoftware.util.cache.DefaultLocalCacheStrategy] for Sessions by Hostname > 2025.10.03 04:31:52.353 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Client Session Info Cache > 2025.10.03 04:31:52.355 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Directed Presences > 2025.10.03 04:31:52.356 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for PEPServiceManager > 2025.10.03 04:31:52.358 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer > 2025.10.03 04:31:52.361 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubPersistenceProviderManager - Loading PubSub persistence provider: class org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider. > 2025.10.03 04:31:52.363 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Published Items > 2025.10.03 04:31:52.364 INFO [main]: org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider - Loading PubSub persistence provider to delegate to: class org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider. > 2025.10.03 04:31:52.368 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Default Node Configurations > 2025.10.03 04:31:52.381 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Features > 2025.10.03 04:31:52.386 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Items > 2025.10.03 04:31:52.386 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components > 2025.10.03 04:31:52.612 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities LDAP UserDN 2025.10.03 04:31:53.526 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'ANONYMOUS' SASL mechanism. 2> 2025.10.03 04:31:52.612 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cace [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities Users > 2025.10.03 04:31:52.662 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group (Shared) Metadata Cache > 2025.10.03 04:31:52.666 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group > 2025.10.03 04:31:52.667 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group Metadata Cache > 2025.10.03 04:31:52.700 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubModule - 发布–订阅域:pubsub.localhost > 2025.10.03 04:31:52.711 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service Pings Sent > 2025.10.03 04:31:52.713 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC History > 2025.10.03 04:31:52.717 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Rooms > 2025.10.03 04:31:52.717 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Room Statistics > 2025.10.03 04:31:52.723 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Rooms > 2025.10.03 04:31:52.723 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Room Statistics > 2025.10.03 04:31:52.733 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M > 2025.10.03 04:31:52.738 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用 户聊天域:conference.localhost > 2025.10.03 04:31:52.757 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M > 2025.10.03 04:31:52.759 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用 户聊天域:lobby.localhost > 2025.10.03 04:31:52.792 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:31:52.797 INFO [main]: org.jivesoftware.openfire.XMPPServer - Openfire 4.9.2 [2025年10月3日 上午4:31:52] > 2025.10.03 04:31:52.794 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:31:52.998 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for LDAP UserDN > 2025.10.03 04:31:53.526 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'ANONYMOUS' SASL mechanism. > 2025.10.03 04:31:53.526 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'CRAM-MD5' SASL mechanism. > 2025.10.03 04:31:53.526 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'DIGEST-MD5' SASL mechanism. > 2025.10.03 04:31:53.526 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'EXTERNAL' SASL mechanism. > 2025.10.03 04:31:53.527 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'GSSAPI' SASL mechanism. > 2025.10.03 04:31:53.527 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'JIVE-SHAREDSECRET' SASL mechanism. > 2025.10.03 04:31:53.527 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PLAIN' SASL mechanism. > 2025.10.03 04:31:53.527 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'SCRAM-SHA-1' SASL mechanism. > 2025.10.03 04:31:53.568 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Server Configurations > 2025.10.03 04:32:12.807 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:32:12.808 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:32:32.810 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:32:32.810 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:32:52.811 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:32:52.811 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] onitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.Exec> at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:33:12.813 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:33:12.813 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:33:32.814 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:33:32.814 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:33:52.816 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:33:52.816 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > 2025.10.03 04:34:12.817 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. > 2025.10.03 04:34:12.817 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: > java.lang.NullPointerException: null > at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] > at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] > at java.lang.Thread.run(Thread.java:829) [?:?] > > [root@yfw ~]# cd /opt/openfire [root@yfw openfire]# cd ~/openfire-plugin-build [root@yfw openfire-plugin-build]# rm -f src/RestApiPlugin.java [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# echo -e 'public class RestApiPlugin implements org.jivesoftware.openfire.container.Plugin {\n' \ > ' static {\n' \ > ' System.out.println("[PLUGIN-DEBUG] 💡 静态块执行:RestApiPlugin 类已被 JVM 加载!");\n' \ tApiPlugin.class"));\n' \t.println("[PLUGIN-DEBUG] 📦 类资源位置: " + RestApiPlugin.class.getResource("Rest > ' }\n' \ > '\n' \ > ' public RestApiPlugin() {\n' \ > ' System.out.println("[PLUGIN-DEBUG] 🆕 构造函数执行:RestApiPlugin 实例已创建");\n' \ > ' }\n' \ > '\n' \ > ' @Override\n' \ > ' public void initializePlugin(org.jivesoftware.openfire.container.PluginManager manager, java.io.File pluginDirectory) {\n' \ olutePath());\n' \stem.out.println("[PLUGIN-DEBUG] 🎉 插件初始化成功!插件目录: " + pluginDirectory.getAbso > ' }\n' \ > '\n' \ > ' @Override\n' \ > ' public void destroyPlugin() {\n' \ > ' System.out.println("[PLUGIN-DEBUG] 🔌 插件已销毁");\n' \ > ' }\n' \ > '}' > src/RestApiPlugin.java [root@yfw openfire-plugin-build]# cat src/RestApiPlugin.java public class RestApiPlugin implements org.jivesoftware.openfire.container.Plugin { static { System.out.println("[PLUGIN-DEBUG] 💡 静态块执行:RestApiPlugin 类已被 JVM 加载!"); System.out.println("[PLUGIN-DEBUG] 📦 类资源位置: " + RestApiPlugin.class.getResource("RestApiPlugin.class")); } public RestApiPlugin() { System.out.println("[PLUGIN-DEBUG] 🆕 构造函数执行:RestApiPlugin 实例已创建"); } @Override public void initializePlugin(org.jivesoftware.openfire.container.PluginManager manager, java.io.File pluginDirectory) { System.out.println("[PLUGIN-DEBUG] 🎉 插件初始化成功!插件目录: " + pluginDirectory.getAbsolutePath()); } @Override public void destroyPlugin() { System.out.println("[PLUGIN-DEBUG] 🔌 插件已销毁"); } } [root@yfw openfire-plugin-build]# # 编译 [root@yfw openfire-plugin-build]# /usr/lib/jvm/java-11-openjdk/bin/javac \ > -source 11 -target 11 \ > -cp "/opt/openfire/lib/xmppserver-4.9.2.jar" \ > -d classes \ > src/RestApiPlugin.java [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# # 打包 [root@yfw openfire-plugin-build]# jar cf restapi.jar -C classes . [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# # 清除旧插件和缓存 [root@yfw openfire-plugin-build]# rm -rf /opt/openfire/plugins/restapi [root@yfw openfire-plugin-build]# rm -rf /opt/openfire/work/plugins/restapi* [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# # 部署 [root@yfw openfire-plugin-build]# mkdir -p /opt/openfire/plugins/restapi [root@yfw openfire-plugin-build]# cp restapi.jar /opt/openfire/plugins/restapi/ [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# # 确保 plugin.xml 存在且正确 [root@yfw openfire-plugin-build]# cat > /opt/openfire/plugins/restapi/plugin.xml << 'EOF' > <?xml version="1.0" encoding="UTF-8"?> > <plugin> > <className>RestApiPlugin</className> > <name>REST API Plugin</name> > <description>Simple REST API Plugin with Debug Logs</description> > <author>Admin</author> > <version>1.0.0</version> > <date>2025-10-03</date> > <minServerVersion>4.0.0</minServerVersion> > </plugin> > EOF [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# # 重启 Openfire [root@yfw openfire-plugin-build]# systemctl restart openfire [root@yfw openfire-plugin-build]# [root@yfw openfire-plugin-build]# # 查看日志 [root@yfw openfire-plugin-build]# tail -f /opt/openfire/logs/openfire.log at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] 2025.10.03 04:49:02.536 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Shutting down plugins ... 2025.10.03 04:49:02.536 INFO [Thread-2]: org.jivesoftware.openfire.container.PluginManager - Shutting down. Unloading all loaded plugins... 2025.10.03 04:49:02.541 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Shutting down 54 modules ... 2025.10.03 04:49:02.982 INFO [shutdown-thread-0]: org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider - Flushing write cache to database 2025.10.03 04:49:03.022 INFO [shutdown-thread-0]: org.jivesoftware.openfire.OfflineMessageStore - Offline message cleaning - Stop old timer if started 2025.10.03 04:49:03.032 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Openfire stopped 2025.10.03 04:49:04.608 INFO [main]: org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode) 2025.10.03 04:49:05.196 INFO [main]: org.jivesoftware.util.cache.ConsistencyMonitor - Applying configuration for cache consistency check. Enabled: false 2025.10.03 04:49:05.213 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache 2025.10.03 04:49:05.214 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache 2025.10.03 04:49:05.215 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache 2025.10.03 04:49:05.215 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache 2025.10.03 04:49:05.215 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions 2025.10.03 04:49:05.220 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster 2025.10.03 04:49:05.222 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for RosterItems 2025.10.03 04:49:05.239 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Result Listeners 2025.10.03 04:49:05.242 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service 2025.10.03 04:49:05.245 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size 2025.10.03 04:49:05.248 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard 2025.10.03 04:49:05.353 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists 2025.10.03 04:49:05.354 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache 2025.10.03 04:49:05.431 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache 2025.10.03 04:49:05.431 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache 2025.10.03 04:49:05.435 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User 2025.10.03 04:49:05.435 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence 2025.10.03 04:49:05.453 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components Sessions 2025.10.03 04:49:05.453 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Connection Managers Sessions 2025.10.03 04:49:05.453 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Incoming Server Session Info Cache 2025.10.03 04:49:05.453 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Sessions by Hostname 2025.10.03 04:49:05.453 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Client Session Info Cache 2025.10.03 04:49:05.454 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Directed Presences 2025.10.03 04:49:05.459 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for PEPServiceManager 2025.10.03 04:49:05.462 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer 2025.10.03 04:49:05.465 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubPersistenceProviderManager - Loading PubSub persistence provider: class org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider. 2025.10.03 04:49:05.469 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Published Items 2025.10.03 04:49:05.469 INFO [main]: org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider - Loading PubSub persistence provider to delegate to: class org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider. 2025.10.03 04:49:05.474 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Default Node Configurations 2025.10.03 04:49:05.488 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Features 2025.10.03 04:49:05.494 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Items 2025.10.03 04:49:05.494 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components 2025.10.03 04:49:05.701 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities 2025.10.03 04:49:05.702 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities Users 2025.10.03 04:49:05.750 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group (Shared) Metadata Cache 2025.10.03 04:49:05.750 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group 2025.10.03 04:49:05.751 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group Metadata Cache 2025.10.03 04:49:05.770 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubModule - 发布–订阅域:pubsub.localhost 2025.10.03 04:49:05.778 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service Pings Sent 2025.10.03 04:49:05.780 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC History 2025.10.03 04:49:05.782 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Rooms 2025.10.03 04:49:05.782 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Room Statistics 2025.10.03 04:49:05.785 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Rooms 2025.10.03 04:49:05.785 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Room Statistics 2025.10.03 04:49:05.793 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.10.03 04:49:05.797 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:conference.localhost 2025.10.03 04:49:05.818 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.10.03 04:49:05.819 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:lobby.localhost 2025.10.03 04:49:05.841 INFO [main]: org.jivesoftware.openfire.XMPPServer - Openfire 4.9.2 [2025年10月3日 上午4:49:05] 2025.10.03 04:49:05.867 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. 2025.10.03 04:49:05.868 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] 2025.10.03 04:49:06.097 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for LDAP UserDN 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'ANONYMOUS' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'CRAM-MD5' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'DIGEST-MD5' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'EXTERNAL' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'GSSAPI' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'JIVE-SHAREDSECRET' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PLAIN' SASL mechanism. 2025.10.03 04:49:06.588 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'SCRAM-SHA-1' SASL mechanism. 2025.10.03 04:49:06.630 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Server Configurations 2025.10.03 04:49:25.887 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'restapi' was removed from the file system. 2025.10.03 04:49:25.888 ERROR [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - An unexpected exception occurred: java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.unloadPlugin(PluginManager.java:883) ~[xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask.run(PluginMonitor.java:305) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]
10-04
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# systemctl restart openfire [root@yfw openfire]# tail -f /opt/openfire/logs/openfire.log 2025.10.03 02:45:29.930 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Stopped. 2025.10.03 02:45:29.935 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.NettyConnectionAcceptor[connection_manager] - Closing channel [id: 0x243ebdba, L:/0:0:0:0:0:0:0:0:5262] 2025.10.03 02:45:29.966 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Stopped. 2025.10.03 02:45:29.968 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.NettyConnectionAcceptor[connection_manager_ssl] - Closing channel [id: 0xf6262486, L:/0:0:0:0:0:0:0:0:5263] 2025.10.03 02:45:29.979 INFO [shutdown-thread-0]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Stopped. 2025.10.03 02:45:29.979 INFO [shutdown-thread-0]: org.jivesoftware.openfire.http.HttpSessionManager - Stopping instance 2025.10.03 02:45:29.985 INFO [shutdown-thread-0]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service stopped 2025.10.03 02:45:29.991 INFO [shutdown-thread-0]: org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider - Flushing write cache to database 2025.10.03 02:45:29.996 INFO [shutdown-thread-0]: org.jivesoftware.openfire.OfflineMessageStore - Offline message cleaning - Stop old timer if started 2025.10.03 02:45:30.011 INFO [Thread-2]: org.jivesoftware.openfire.XMPPServer - Openfire stopped 2025.10.03 02:45:31.683 INFO [main]: org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode) 2025.10.03 02:45:32.162 INFO [main]: org.jivesoftware.util.cache.ConsistencyMonitor - Applying configuration for cache consistency check. Enabled: false 2025.10.03 02:45:32.180 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache 2025.10.03 02:45:32.181 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache 2025.10.03 02:45:32.181 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache 2025.10.03 02:45:32.181 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache 2025.10.03 02:45:32.181 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions 2025.10.03 02:45:32.186 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster 2025.10.03 02:45:32.188 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for RosterItems 2025.10.03 02:45:32.216 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Result Listeners 2025.10.03 02:45:32.222 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service 2025.10.03 02:45:32.229 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size 2025.10.03 02:45:32.233 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard 2025.10.03 02:45:32.359 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists 2025.10.03 02:45:32.360 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache 2025.10.03 02:45:32.436 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache 2025.10.03 02:45:32.437 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache 2025.10.03 02:45:32.452 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User 2025.10.03 02:45:32.452 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence 2025.10.03 02:45:32.493 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components Sessions 2025.10.03 02:45:32.493 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Connection Managers Sessions 2025.10.03 02:45:32.493 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Incoming Server Session Info Cache 2025.10.03 02:45:32.493 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Sessions by Hostname 2025.10.03 02:45:32.493 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Client Session Info Cache 2025.10.03 02:45:32.494 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Directed Presences 2025.10.03 02:45:32.513 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for PEPServiceManager 2025.10.03 02:45:32.514 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer 2025.10.03 02:45:32.520 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubPersistenceProviderManager - Loading PubSub persistence provider: class org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider. 2025.10.03 02:45:32.526 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Published Items 2025.10.03 02:45:32.526 INFO [main]: org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider - Loading PubSub persistence provider to delegate to: class org.jivesoftware.openfire.pubsub.DefaultPubSubPersistenceProvider. 2025.10.03 02:45:32.535 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Default Node Configurations 2025.10.03 02:45:32.563 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Features 2025.10.03 02:45:32.572 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Items 2025.10.03 02:45:32.572 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components 2025.10.03 02:45:32.807 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities 2025.10.03 02:45:32.807 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities Users 2025.10.03 02:45:32.844 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group (Shared) Metadata Cache 2025.10.03 02:45:32.845 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group 2025.10.03 02:45:32.845 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group Metadata Cache 2025.10.03 02:45:32.870 INFO [main]: org.jivesoftware.openfire.pubsub.PubSubModule - 发布–订阅域:pubsub.localhost 2025.10.03 02:45:32.880 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service Pings Sent 2025.10.03 02:45:32.882 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC History 2025.10.03 02:45:32.884 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Rooms 2025.10.03 02:45:32.885 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'conference' Room Statistics 2025.10.03 02:45:32.887 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Rooms 2025.10.03 02:45:32.887 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Room Statistics 2025.10.03 02:45:32.897 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.10.03 02:45:32.903 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:conference.localhost 2025.10.03 02:45:32.921 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.10.03 02:45:32.921 INFO [main]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:lobby.localhost 2025.10.03 02:45:32.954 INFO [main]: org.jivesoftware.openfire.XMPPServer - Openfire 4.9.2 [2025年10月3日 上午2:45:32] 2025.10.03 02:45:33.269 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for DNS Records 2025.10.03 02:45:33.382 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.10.03 02:45:33.405 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for LDAP UserDN 2025.10.03 02:45:34.183 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'ANONYMOUS' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'CRAM-MD5' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'DIGEST-MD5' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'EXTERNAL' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'GSSAPI' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'JIVE-SHAREDSECRET' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PLAIN' SASL mechanism. 2025.10.03 02:45:34.184 INFO [main]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'SCRAM-SHA-1' SASL mechanism. 2025.10.03 02:45:34.273 INFO [main]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Server Configurations 2025.10.03 02:45:34.375 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses 2025.10.03 02:45:34.376 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits 2025.10.03 02:45:34.414 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.AdminConsolePlugin - 管理控制台正在侦听: http://0.0.0.0:9090 https://0.0.0.0:9091 2025.10.03 02:45:34.418 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'admin'. 2025.10.03 02:45:34.480 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'clientcontrol-2.1.10'. 2025.10.03 02:45:34.523 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'justmarried-1.3.0'. 2025.10.03 02:45:34.548 INFO [PluginMonitorExec-3]: org.igniterealtime.openfire.plugin.mucextinfo.MucExtInfoPlugin - Replacing original IQ Disco Info handlers for all MUC services with proxies. 2025.10.03 02:45:34.558 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'mucextinfo-1.0.0'. 2025.10.03 02:45:34.680 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - start pade server localhost:7443 2025.10.03 02:45:34.681 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for URL Source Content 2025.10.03 02:45:34.691 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PADE' SASL mechanism. 2025.10.03 02:45:34.691 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Create recordings folder 2025.10.03 02:45:34.692 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Starting Openfire Meetings 2025.10.03 02:45:34.697 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Room Properties 2025.10.03 02:45:34.816 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - Successfully initialized Jitsi Videobridge. /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-4.el8_5.x86_64/bin/java -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dconfig.file=/opt/openfire/bin/../plugins/pade/classes/jvb/application.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/opt/openfire/bin/../plugins/pade/classes/jvb -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=config -Djava.util.logging.config.file=./logging.properties -Djdk.tls.ephemeralDHKeySize=2048 -cp ./jitsi-videobridge-2.1-SNAPSHOT.jar:./jitsi-videobridge-2.1-SNAPSHOT-jar-with-dependencies.jar org.jitsi.videobridge.MainKt --apis=rest 2025.10.03 02:45:34.833 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Initializing Jitsi Focus Component (jicofo)... 2025.10.03 02:45:34.890 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - allowed external component access 2025.10.03 02:45:34.963 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Successfully initialized Jitsi Focus Component (jicofo). /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-4.el8_5.x86_64/bin/java -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dconfig.file=/opt/openfire/bin/../plugins/pade/classes/jicofo/application.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/opt/openfire/bin/../plugins/pade/classes/jicofo -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=config -Djava.util.logging.config.file=./logging.properties -Djdk.tls.ephemeralDHKeySize=2048 -cp ./jicofo-1.1-SNAPSHOT.jar:./jicofo-1.1-SNAPSHOT-jar-with-dependencies.jar org.jitsi.jicofo.Main --host=localhost --port=5275 --domain=localhost --secret=ElaQPVPKh05Zy4pb3Rgrvmm5XFoXVadRneWHyRqr --user_domain=localhost --user_name=focus --user_password=yra84zlHMIbfpL8CQpJDYDz5ODmtQXPpoRVds1WN 2025.10.03 02:45:34.980 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - Initialized public web socket for /colibri-ws web socket 2025.10.03 02:45:36.908 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize IQ handler 2025.10.03 02:45:37.023 INFO [PluginMonitorExec-3]: org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 2025.10.03 02:45:37.027 INFO [PluginMonitorExec-3]: org.quartz.simpl.SimpleThreadPool - Job execution threads will use class loader of thread: PluginMonitorExec-3 2025.10.03 02:45:37.091 INFO [PluginMonitorExec-3]: org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2025.10.03 02:45:37.091 INFO [PluginMonitorExec-3]: org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created. 2025.10.03 02:45:37.092 INFO [PluginMonitorExec-3]: org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 2025.10.03 02:45:37.093 INFO [PluginMonitorExec-3]: org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 2025.10.03 02:45:37.093 INFO [PluginMonitorExec-3]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2025.10.03 02:45:37.093 INFO [PluginMonitorExec-3]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2 2025.10.03 02:45:37.094 INFO [PluginMonitorExec-3]: org.quartz.core.QuartzScheduler - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2025.10.03 02:45:37.096 INFO [PluginMonitorExec-3]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Creating webauthn RelyingParty 2025.10.03 02:45:37.137 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pade-1.8.4'. 2025.10.03 02:45:37.201 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'presence-1.7.4'. 2025.10.03 02:45:37.299 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.users 2025.10.03 02:45:37.299 INFO [PluginMonitorExec-3]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.messages 2025.10.03 02:45:37.354 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pushnotification-1.0.1'. 2025.10.03 02:45:37.366 ERROR [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'restapi-plugin': java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:582) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] 2025.10.03 02:45:37.449 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'search-1.7.5'. 2025.10.03 02:45:37.501 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'usercreation-1.4.1'. 2025.10.03 02:45:37.559 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userimportexport-2.8.0'. 2025.10.03 02:45:37.777 ERROR [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginServlet - An unexpected problem occurred while attempting to register servlets for plugin 'org.jivesoftware.openfire.plugin.UserServicePlugin@68e423e1'. java.lang.ExceptionInInitializerError: null at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:315) ~[?:?] at com.sun.proxy.$Proxy24.<clinit>(Unknown Source) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1022) ~[?:?] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1008) ~[?:?] at com.sun.jersey.server.impl.application.WebApplicationImpl$26.run(WebApplicationImpl.java:1626) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at com.sun.jersey.server.impl.application.WebApplicationImpl.createProxy(WebApplicationImpl.java:1623) ~[?:?] at com.sun.jersey.server.impl.application.WebApplicationImpl.<init>(WebApplicationImpl.java:335) ~[?:?] at com.sun.jersey.server.impl.container.WebApplicationProviderImpl.createWebApplication(WebApplicationProviderImpl.java:55) ~[?:?] at com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:66) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:412) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:327) ~[?:?] at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:603) ~[?:?] at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394) ~[?:?] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:577) ~[?:?] at javax.servlet.GenericServlet.init(GenericServlet.java:180) ~[jetty-servlet-api-4.0.6.jar:?] at org.jivesoftware.openfire.plugin.JerseyWrapper.init(JerseyWrapper.java:83) ~[?:?] at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:192) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:631) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122) ~[?:?] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91) ~[?:?] at javax.ws.rs.core.EntityTag.<clinit>(EntityTag.java:35) ~[?:?] ... 31 more Caused by: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:476) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:315) ~[?:?] at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62) ~[?:?] at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155) ~[?:?] at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105) ~[?:?] at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91) ~[?:?] at javax.ws.rs.core.EntityTag.<clinit>(EntityTag.java:35) ~[?:?] ... 31 more 2025.10.03 02:45:37.819 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userservice-2.1.3'. 2025.10.03 02:45:37.947 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userstatus-1.3.0'. 2025.10.03 02:45:37.990 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.10.03 02:45:37.998 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'jabberbrowsing-1.0.1'. 2025.10.03 02:45:38.528 INFO [PluginMonitorExec-5]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Extended Service Discovery 2025.10.03 02:45:38.824 INFO [PluginMonitorExec-5]: org.jivesoftware.openfire.fastpath.FastpathPlugin - start webchat 2025.10.03 02:45:38.875 INFO [PluginMonitorExec-5]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'fastpath-4.5.1'. 2025.10.03 02:45:38.943 INFO [PluginMonitorExec-4]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'contentfilter-1.9.0'. 2025.10.03 02:45:38.944 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.10.03 02:45:39.212 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started. 2025.10.03 02:45:39.228 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s-directTLS] - Started. 2025.10.03 02:45:39.260 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s] - Started. 2025.10.03 02:45:39.283 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s-directTLS] - Started. 2025.10.03 02:45:39.286 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component] - Started. 2025.10.03 02:45:39.378 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Started. 2025.10.03 02:45:39.441 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Started. 2025.10.03 02:45:39.508 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Started. 2025.10.03 02:45:39.513 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.10.03 02:45:39.599 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpSessionManager - Starting instance 2025.10.03 02:45:39.922 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service started 2025.10.03 02:45:42.465 INFO [socket_c2s-thread-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Locked Out Accounts 2025.10.03 02:45:42.710 INFO [socket_c2s-thread-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Sequences 2025.10.03 02:45:59.940 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'restapi-plugin': java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:582) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]
10-04
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# # 1. 找到你的 jar 文件 [root@yfw openfire]# find / -name "restapi.jar" -type f 2>/dev/null /opt/openfire/restapi.jar /root/openfire-plugin-build/restapi.jar [root@yfw openfire]# [root@yfw openfire]# # 2. 假设它在 /root/restapi.jar,复制过去 [root@yfw openfire]# cp /root/restapi.jar /opt/openfire/plugins/hello-plugin/lib/ cp: cannot stat '/root/restapi.jar': No such file or directory [root@yfw openfire]# [root@yfw openfire]# # 3. 改权限 [root@yfw openfire]# chown openfire:openfire /opt/openfire/plugins/hello-plugin/lib/restapi.jar chown: cannot access '/opt/openfire/plugins/hello-plugin/lib/restapi.jar': No such file or directory [root@yfw openfire]# [root@yfw openfire]# # 4. 验证 jar 结构 [root@yfw openfire]# jar tf /opt/openfire/plugins/hello-plugin/lib/restapi.jar | grep RestApiPlugin.class java.io.FileNotFoundException: /opt/openfire/plugins/hello-plugin/lib/restapi.jar (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:228) at java.util.zip.ZipFile.<init>(ZipFile.java:157) at java.util.zip.ZipFile.<init>(ZipFile.java:128) at sun.tools.jar.Main.list(Main.java:1115) at sun.tools.jar.Main.run(Main.java:293) at sun.tools.jar.Main.main(Main.java:1288) [root@yfw openfire]# [root@yfw openfire]# # 5. 清理数据库残留(注意真实路径) [root@yfw openfire]# find /opt/openfire -name "openfire.db" -type f [root@yfw openfire]# # 假设输出是 /var/lib/openfire/embedded-db/openfire.db [root@yfw openfire]# sudo -u openfire sqlite3 /var/lib/openfire/embedded-db/openfire.db "DELETE FROM ofProperty WHERE name LIKE '%hello-plugin%';" Error: unable to open database "/var/lib/openfire/embedded-db/openfire.db": unable to open database file [root@yfw openfire]# [root@yfw openfire]# # 6. 重启服务 [root@yfw openfire]# systemctl stop openfire [root@yfw openfire]# sleep 5 [root@yfw openfire]# systemctl start openfire [root@yfw openfire]# [root@yfw openfire]# # 7. 查看日志 [root@yfw openfire]# sleep 30 [root@yfw openfire]# grep -i "hello-plugin\|pluginmonitor\|restapi\|loaded plugin" /opt/openfire/logs/openfire.log | tail -100 2025.05.17 22:04:35.528 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 mucextinfo 的数据库架构。正在尝试安装… 2025.05.17 22:04:35.566 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 22:04:35.572 INFO [PluginMonitorExec-2]: org.igniterealtime.openfire.plugin.mucextinfo.MucExtInfoPlugin - Replacing original IQ Disco Info handlers for all MUC services with proxies. 2025.05.17 22:04:35.579 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'mucextinfo-1.0.0'. 2025.05.17 22:04:35.580 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:04:45.096 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'nodejs': at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] 2025.05.17 22:05:18.936 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.users 2025.05.17 22:05:18.936 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for pushnotification.messages 2025.05.17 22:05:18.938 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 pushnotification 的数据库架构。正在尝试安装… 2025.05.17 22:05:18.983 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 22:05:18.994 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pushnotification-1.0.1'. 2025.05.17 22:05:19.003 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:06:10.835 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userimportexport-2.7.1'. 2025.05.17 22:06:10.838 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:06:19.088 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'usercreation-1.4.1'. 2025.05.17 22:06:19.090 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:06:43.160 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'jabberbrowsing-1.0.1'. 2025.05.17 22:06:43.163 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:07:28.588 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'nodejs' was removed from the file system. 2025.05.17 22:07:28.601 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'NodeJs' 2025.05.17 22:07:28.602 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/nodejs/lib/nodejs-0.1.1.jar 2025.05.17 22:07:30.696 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'nodejs'. 2025.05.17 22:11:14.780 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'presence-1.7.3'. 2025.05.17 22:11:14.783 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:11:40.365 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - start pade server localhost:7443 2025.05.17 22:11:40.367 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for URL Source Content 2025.05.17 22:11:40.378 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.net.SASLAuthentication - Support added for the 'PADE' SASL mechanism. 2025.05.17 22:11:40.378 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Create recordings folder 2025.05.17 22:11:40.379 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Starting Openfire Meetings 2025.05.17 22:11:40.384 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Room Properties 2025.05.17 22:11:40.393 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - No pre-existing 'jvb' user detected. Generating one. 2025.05.17 22:11:40.495 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - Successfully initialized Jitsi Videobridge. 2025.05.17 22:11:40.510 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - No pre-existing 'focus' user detected. Generating one. 2025.05.17 22:11:40.566 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - Adding 'focus' user as a sysadmin to the 'conference' MUC service. 2025.05.17 22:11:40.572 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Initializing Jitsi Focus Component (jicofo)... 2025.05.17 22:11:40.673 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJicofoWrapper - Successfully initialized Jitsi Focus Component (jicofo). 2025.05.17 22:11:40.680 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - Initialized public web socket for /colibri-ws web socket 2025.05.17 22:11:44.017 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize IQ handler 2025.05.17 22:11:46.516 INFO [PluginMonitorExec-2]: org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor 2025.05.17 22:11:46.518 INFO [PluginMonitorExec-2]: org.quartz.simpl.SimpleThreadPool - Job execution threads will use class loader of thread: PluginMonitorExec-2 2025.05.17 22:11:46.531 INFO [PluginMonitorExec-2]: org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2025.05.17 22:11:46.531 INFO [PluginMonitorExec-2]: org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created. 2025.05.17 22:11:46.532 INFO [PluginMonitorExec-2]: org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2 2025.05.17 22:11:46.533 INFO [PluginMonitorExec-2]: org.quartz.core.QuartzScheduler - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2025.05.17 22:11:46.535 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.MultiUserChatManager - A database exception occurred while trying to load the ID for MUC service 'lobby' from the database. at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] 2025.05.17 22:11:46.535 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.MultiUserChatManager - Creating MUC service 'lobby' 2025.05.17 22:11:46.535 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Rooms 2025.05.17 22:11:46.564 INFO [PluginMonitorExec-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for MUC Service 'lobby' Room Statistics 2025.05.17 22:11:46.625 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Rescheduling user idle task, recurring every PT15M 2025.05.17 22:11:46.625 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - 多用户聊天域:lobby.localhost 2025.05.17 22:11:46.637 INFO [PluginMonitorExec-2]: uk.ifsoft.openfire.plugins.pade.PadePlugin - Creating webauthn RelyingParty 2025.05.17 22:11:46.697 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'pade-1.8.4'. 2025.05.17 22:11:46.701 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:30:01.079 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'clientcontrol-2.1.9'. 2025.05.17 22:30:01.081 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 23:29:36.241 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'contentfilter-1.8.2'. 2025.05.17 23:29:36.242 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 23:34:21.140 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 monitoring 的数据库架构。正在尝试安装… 2025.05.17 23:34:21.255 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 23:34:22.425 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[CONVERSATION] - Unable to find a Lucene index in MMapDirectory@/opt/openfire/monitoring/search lockFactory=org.apache.lucene.store.NativeFSLockFactory@1c5950cc. rebuilding. 2025.05.17 23:34:22.471 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[CONVERSATION] - Lucene index has never been modified. Removing and rebuilding. 2025.05.17 23:34:22.490 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MUCSEARCH] - Unable to find a Lucene index in MMapDirectory@/opt/openfire/monitoring/mucsearch lockFactory=org.apache.lucene.store.NativeFSLockFactory@1c5950cc. rebuilding. 2025.05.17 23:34:22.491 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MUCSEARCH] - Lucene index has never been modified. Removing and rebuilding. 2025.05.17 23:34:22.501 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MESSAGE] - Unable to find a Lucene index in MMapDirectory@/opt/openfire/monitoring/msgsearch lockFactory=org.apache.lucene.store.NativeFSLockFactory@1c5950cc. rebuilding. 2025.05.17 23:34:22.501 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.archive.ArchiveIndexer[MESSAGE] - Lucene index has never been modified. Removing and rebuilding. 2025.05.17 23:34:22.570 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'monitoring-2.6.1'. 2025.05.17 23:34:22.572 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.18 09:49:00.440 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'xmppweb' was removed from the file system. 2025.05.18 09:49:00.471 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'xmppweb' 2025.05.18 09:49:00.472 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/json-20231013.jar 2025.05.18 09:49:00.473 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/xmppweb-0.10.3.1.jar 2025.05.18 09:49:02.612 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'xmppweb'. 2025.05.18 09:49:25.325 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.05.18 09:49:25.327 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.18 20:26:42.223 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'candy-0.0.0'. 2025.05.18 20:26:42.228 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.18 20:39:20.427 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'xmppweb' was removed from the file system. 2025.05.18 20:39:20.480 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'xmppweb' 2025.05.18 20:39:20.480 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/json-20231013.jar 2025.05.18 20:39:20.481 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/xmppweb/lib/xmppweb-0.10.3.1.jar 2025.05.18 20:39:22.613 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'xmppweb'. 2025.05.18 20:39:27.493 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'candy' was removed from the file system. 2025.05.18 20:39:27.505 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'Candy' 2025.05.18 20:39:27.505 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/candy/lib/json-20231013.jar 2025.05.18 20:39:27.505 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginClassLoader - Unloading plugin JAR file /opt/openfire/bin/../plugins/candy/lib/candy-2.2.0-release-5.jar 2025.05.18 20:39:29.656 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully unloaded plugin 'candy'. 2025.05.18 20:41:12.712 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Plugin 'websocket' was removed from the file system. 2025.05.18 20:41:12.713 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Removing all System Properties for the plugin 'Openfire WebSocket' 2025.05.18 20:41:12.714 WARN [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - No plugin loader found for 'websocket'. 2025.05.18 20:41:47.652 WARN [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Ignoring plugin 'websocket': compatible with server versions up to but excluding 4.2.0. Current server version is 4.9.2. 2025.05.18 20:52:43.808 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.05.18 20:52:43.810 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. Binary file /opt/openfire/logs/openfire.log matches [root@yfw openfire]# [root@yfw openfire]# # 8. 浏览器访问 [root@yfw openfire]# echo "请访问:http://<your-ip>:9090/plugins/hello-plugin/index.html" 请访问:http://<your-ip>:9090/plugins/hello-plugin/index.html [root@yfw openfire]#
10-04
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值