openfire connection manager using

本文档详细介绍了OpenFire连接管理器的安装步骤及运行配置。包括将压缩包复制到服务器路径并解压,修改配置文件中的域名、端口等参数,设置环境变量以及执行启动脚本等内容。
----20120622----
openfire connection manager install:
1. cp tar.gz package to connection manager server path
2. tar -xvzf the package
3. modify the conf manager.xml
    <domain>imopenfire01.sam.com</domain>
    <port>5262</port>
     <password>admin</password>
     <verify>false</verify>
* domain必须使用openfire服务器同名(如果没有做DNS则在hosts里面写上)

openfire connection manager run:
1. cp jre from openfire to connection_manager directory
2. set the system env variables
[root@IMopenfire02 connection_manager]# export JAVA_HOME=/opt/connection_manager/jre/
[root@IMopenfire02 connection_manager]# export CMANAGER_HOME=/opt/connection_manager/
3. execute the script
[root@IMopenfire02 connection_manager]# ./bin/cmanager.sh

----20120622----
[root@yfw ~]# cd /etc/systemd/system [root@yfw system]# sudo cat > /opt/openfire/bin/start.sh << 'EOF' > #!/bin/bash > > export OPENFIRE_HOME="/opt/openfire" > export JAVA_HOME="/usr/lib/jvm/java-17-openjdk" > export JAVA="$JAVA_HOME/bin/java" > export LOG_FILE="$OPENFIRE_HOME/logs/nohup.out" > > # 构建 classpath > CP="" > for jar in "$OPENFIRE_HOME/lib"/*.jar; do > if [ -f "$jar" ]; then > CP="$CP:$jar" > fi > done > CP="${CP#:}" > > cd "$OPENFIRE_HOME" || { echo "Cannot access $OPENFIRE_HOME"; exit 1; } > > > "$LOG_FILE" > > echo "Using Java: $JAVA" > echo "Java Version:" > "$JAVA" -version 2>&1 | sed 's/^/ /' > > echo "Classpath: $CP" > echo "Starting OpenFire..." > > # 使用 sudo -u 并显式传递环境变量和命令 > sudo -u openfire env \ > OPENFIRE_HOME="$OPENFIRE_HOME" \ > JAVA_HOME="$JAVA_HOME" \ > PATH="$JAVA_HOME/bin:$PATH" \ > CLASSPATH="$CP" \ > bash -c ' > echo "DEBUG: User = $(whoami)" > echo "DEBUG: Current dir = $(pwd)" > echo "DEBUG: OPENFIRE_HOME = $OPENFIRE_HOME" > echo "DEBUG: Java executable = $(which java)" > java -version > > echo "DEBUG: Launching OpenFire..." > exec java \ > -server \ > -Xms64m \ > -Xmx512m \ > -DopenfireHome=$OPENFIRE_HOME \ > -Dopenfire.lib.dir=$OPENFIRE_HOME/lib \ > -Dlog4j.configurationFile=file://$OPENFIRE_HOME/lib/log4j2.xml \ > -classpath "$CLASSPATH" \ > org.jivesoftware.openfire.starter.ServerStarter > ' >> "$LOG_FILE" 2>&1 & > > echo $! > "$OPENFIRE_HOME/logs/openfire.pid" > echo "OpenFire started (PID $!)" > echo "Check logs: tail -f $LOG_FILE" > EOF [root@yfw system]# sudo chmod +x /opt/openfire/bin/start.sh [root@yfw system]# /opt/openfire/bin/start.sh Using Java: /usr/lib/jvm/java-17-openjdk/bin/java Java Version: openjdk version "17.0.1" 2021-10-19 LTS OpenJDK Runtime Environment 21.9 (build 17.0.1+12-LTS) OpenJDK 64-Bit Server VM 21.9 (build 17.0.1+12-LTS, mixed mode, sharing) Classpath: /opt/openfire/lib/activation-1.1.jar:/opt/openfire/lib/apache-el-9.0.107.jar:/opt/openfire/lib/apache-jsp-9.0.107.jar:/opt/openfire/lib/asm-9.8.jar:/opt/openfire/lib/asm-commons-9.8.jar:/opt/openfire/lib/asm-tree-9.8.jar:/opt/openfire/lib/bcpg-jdk18on-1.78.1.jar:/opt/openfire/lib/bcpkix-jdk18on-1.78.1.jar:/opt/openfire/lib/bcprov-jdk18on-1.78.1.jar:/opt/openfire/lib/bcutil-jdk18on-1.78.1.jar:/opt/openfire/lib/caffeine-3.2.0.jar:/opt/openfire/lib/checker-qual-3.33.0.jar:/opt/openfire/lib/common-image-3.9.4.jar:/opt/openfire/lib/common-io-3.9.4.jar:/opt/openfire/lib/common-lang-3.9.4.jar:/opt/openfire/lib/commons-codec-1.15.jar:/opt/openfire/lib/commons-dbcp2-2.9.0.jar:/opt/openfire/lib/commons-ip-math-1.32.jar:/opt/openfire/lib/commons-lang3-3.18.0.jar:/opt/openfire/lib/commons-logging-1.2.jar:/opt/openfire/lib/commons-pool2-2.9.0.jar:/opt/openfire/lib/commons-text-1.10.0.jar:/opt/openfire/lib/dom4j-2.1.4.jar:/opt/openfire/lib/dwr-3.0.2-RELEASE.jar:/opt/openfire/lib/ecj-3.33.0.jar:/opt/openfire/lib/error_prone_annotations-2.18.0.jar:/opt/openfire/lib/failureaccess-1.0.1.jar:/opt/openfire/lib/guava-32.0.1-jre.jar:/opt/openfire/lib/hsqldb-2.7.1.jar:/opt/openfire/lib/httpclient-4.5.13.jar:/opt/openfire/lib/httpcore-4.4.13.jar:/opt/openfire/lib/i18n-5.0.2.jar:/opt/openfire/lib/imageio-bmp-3.9.4.jar:/opt/openfire/lib/imageio-core-3.9.4.jar:/opt/openfire/lib/istack-commons-runtime-3.0.11.jar:/opt/openfire/lib/j2objc-annotations-2.8.jar:/opt/openfire/lib/jakarta.activation-1.2.2.jar:/opt/openfire/lib/jakarta.annotation-api-1.3.5.jar:/opt/openfire/lib/jakarta.transaction-api-1.3.3.jar:/opt/openfire/lib/jakarta.xml.bind-api-2.3.3.jar:/opt/openfire/lib/jansi-1.18.jar:/opt/openfire/lib/javax.activation-api-1.2.0.jar:/opt/openfire/lib/javax.mail-1.6.2.jar:/opt/openfire/lib/jaxb-api-2.3.1.jar:/opt/openfire/lib/jaxb-runtime-2.3.3.jar:/opt/openfire/lib/jaxen-1.2.0.jar:/opt/openfire/lib/jcip-annotations-1.0.jar:/opt/openfire/lib/jcl-over-slf4j-2.0.9.jar:/opt/openfire/lib/jetty-ee-12.0.24.jar:/opt/openfire/lib/jetty-ee8-annotations-12.0.24.jar:/opt/openfire/lib/jetty-ee8-apache-jsp-12.0.24.jar:/opt/openfire/lib/jetty-ee8-nested-12.0.24.jar:/opt/openfire/lib/jetty-ee8-plus-12.0.24.jar:/opt/openfire/lib/jetty-ee8-security-12.0.24.jar:/opt/openfire/lib/jetty-ee8-servlet-12.0.24.jar:/opt/openfire/lib/jetty-ee8-webapp-12.0.24.jar:/opt/openfire/lib/jetty-ee8-websocket-jetty-api-12.0.24.jar:/opt/openfire/lib/jetty-ee8-websocket-jetty-common-12.0.24.jar:/opt/openfire/lib/jetty-ee8-websocket-jetty-server-12.0.24.jar:/opt/openfire/lib/jetty-ee8-websocket-servlet-12.0.24.jar:/opt/openfire/lib/jetty-http-12.0.24.jar:/opt/openfire/lib/jetty-io-12.0.24.jar:/opt/openfire/lib/jetty-jmx-12.0.24.jar:/opt/openfire/lib/jetty-jndi-12.0.24.jar:/opt/openfire/lib/jetty-plus-12.0.24.jar:/opt/openfire/lib/jetty-security-12.0.24.jar:/opt/openfire/lib/jetty-server-12.0.24.jar:/opt/openfire/lib/jetty-servlet-api-4.0.6.jar:/opt/openfire/lib/jetty-session-12.0.24.jar:/opt/openfire/lib/jetty-util-12.0.24.jar:/opt/openfire/lib/jetty-websocket-core-common-12.0.24.jar:/opt/openfire/lib/jetty-websocket-core-server-12.0.24.jar:/opt/openfire/lib/jetty-xml-12.0.24.jar:/opt/openfire/lib/jmdns-1.0.jar:/opt/openfire/lib/jsmpp-2.3.10.jar:/opt/openfire/lib/json-20231013.jar:/opt/openfire/lib/jspecify-1.0.0.jar:/opt/openfire/lib/jsr305-3.0.2.jar:/opt/openfire/lib/jtds-1.3.1.jar:/opt/openfire/lib/jzlib-1.1.3.jar:/opt/openfire/lib/libidn-1.35.jar:/opt/openfire/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/opt/openfire/lib/log4j-api-2.20.0.jar:/opt/openfire/lib/log4j-core-2.20.0.jar:/opt/openfire/lib/log4j-slf4j2-impl-2.20.0.jar:/opt/openfire/lib/mssql-jdbc-9.4.1.jre11.jar:/opt/openfire/lib/mysql-connector-j-8.2.0.jar:/opt/openfire/lib/netty-all-4.1.118.Final.jar:/opt/openfire/lib/netty-buffer-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-dns-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-haproxy-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-http2-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-http-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-memcache-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-mqtt-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-redis-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-smtp-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-socks-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-stomp-4.1.118.Final.jar:/opt/openfire/lib/netty-codec-xml-4.1.118.Final.jar:/opt/openfire/lib/netty-common-4.1.118.Final.jar:/opt/openfire/lib/netty-handler-4.1.118.Final.jar:/opt/openfire/lib/netty-handler-proxy-4.1.118.Final.jar:/opt/openfire/lib/netty-handler-ssl-ocsp-4.1.118.Final.jar:/opt/openfire/lib/netty-resolver-4.1.118.Final.jar:/opt/openfire/lib/netty-resolver-dns-4.1.118.Final.jar:/opt/openfire/lib/netty-resolver-dns-classes-macos-4.1.118.Final.jar:/opt/openfire/lib/netty-resolver-dns-native-macos-4.1.118.Final-osx-aarch_64.jar:/opt/openfire/lib/netty-resolver-dns-native-macos-4.1.118.Final-osx-x86_64.jar:/opt/openfire/lib/netty-transport-4.1.118.Final.jar:/opt/openfire/lib/netty-transport-classes-epoll-4.1.118.Final.jar:/opt/openfire/lib/netty-transport-classes-kqueue-4.1.118.Final.jar:/opt/openfire/lib/netty-transport-native-epoll-4.1.118.Final-linux-aarch_64.jar:/opt/openfire/lib/netty-transport-native-epoll-4.1.118.Final-linux-riscv64.jar:/opt/openfire/lib/netty-transport-native-epoll-4.1.118.Final-linux-x86_64.jar:/opt/openfire/lib/netty-transport-native-kqueue-4.1.118.Final-osx-aarch_64.jar:/opt/openfire/lib/netty-transport-native-kqueue-4.1.118.Final-osx-x86_64.jar:/opt/openfire/lib/netty-transport-native-unix-common-4.1.118.Final.jar:/opt/openfire/lib/netty-transport-rxtx-4.1.118.Final.jar:/opt/openfire/lib/netty-transport-sctp-4.1.118.Final.jar:/opt/openfire/lib/netty-transport-udt-4.1.118.Final.jar:/opt/openfire/lib/ojdbc11-23.7.0.25.01.jar:/opt/openfire/lib/ons-23.7.0.25.01.jar:/opt/openfire/lib/oraclepki-23.7.0.25.01.jar:/opt/openfire/lib/orai18n-23.7.0.25.01.jar:/opt/openfire/lib/postgresql-42.7.7.jar:/opt/openfire/lib/rsi-23.7.0.25.01.jar:/opt/openfire/lib/shaj-0.5.jar:/opt/openfire/lib/simplefan-23.7.0.25.01.jar:/opt/openfire/lib/sitemesh-2.5.0.jar:/opt/openfire/lib/slf4j-api-2.0.9.jar:/opt/openfire/lib/startup.jar:/opt/openfire/lib/taglibs-standard-impl-1.2.5.jar:/opt/openfire/lib/taglibs-standard-spec-1.2.5.jar:/opt/openfire/lib/tinder-2.1.0.jar:/opt/openfire/lib/txw2-2.3.3.jar:/opt/openfire/lib/ucp-23.7.0.25.01.jar:/opt/openfire/lib/xdb-23.7.0.25.01.jar:/opt/openfire/lib/xmppserver-5.0.2.jar:/opt/openfire/lib/xpp3-1.1.4c.0.jar Starting OpenFire... OpenFire started (PID 1107808) Check logs: tail -f /opt/openfire/logs/nohup.out [root@yfw system]# tail -f /opt/openfire/logs/nohup.out at java.base/java.lang.Class.newInstance(Class.java:645) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:204) at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1010) ... 11 more Error starting the server. Please check the log files for more information. Halting server... Server halted Halting server... Server halted 12:16:11.233 [main] ERROR org.jivesoftware.util.JiveProperties - null java.lang.NullPointerException: null at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:375) ~[?:?] at org.jivesoftware.database.DefaultConnectionProvider.start(DefaultConnectionProvider.java:99) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:652) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.database.DbConnectionManager.ensureConnectionProvider(DbConnectionManager.java:109) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:162) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:472) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:108) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:84) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:547) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.util.cache.CacheFactory.<clinit>(CacheFactory.java:102) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:381) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:658) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:221) [xmppserver-5.0.2.jar:5.0.2] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) [?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [?:?] at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) [?:?] at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) [?:?] at java.lang.Class.newInstance(Class.java:645) [?:?] at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92) [startup.jar:5.0.2] at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) [startup.jar:5.0.2] Database setup or configuration error: Please verify your database settings and check the logs/openfire.log file for detailed error messages. 12:16:13.863 [main] ERROR org.jivesoftware.openfire.XMPPServer - Database could not be accessed java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:204) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1010) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:666) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:221) [xmppserver-5.0.2.jar:5.0.2] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) [?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [?:?] at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) [?:?] at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) [?:?] at java.lang.Class.newInstance(Class.java:645) [?:?] at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92) [startup.jar:5.0.2] at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) [startup.jar:5.0.2] java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1020) at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:666) at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:221) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) at java.base/java.lang.Class.newInstance(Class.java:645) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:204) at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1010) ... 11 more 12:16:13.873 [main] ERROR org.jivesoftware.openfire.XMPPServer - java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1020) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:666) [xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:221) [xmppserver-5.0.2.jar:5.0.2] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) [?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) [?:?] at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) [?:?] at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) [?:?] at java.lang.Class.newInstance(Class.java:645) [?:?] at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92) [startup.jar:5.0.2] at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) [startup.jar:5.0.2] Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:204) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1010) ~[xmppserver-5.0.2.jar:5.0.2] ... 11 more 启动服务器时出错。有关详细信息,请查看日志文件。
11-16
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# cat /opt/openfire/plugins/hello-plugin/classes/plugin.xml <?xml version="1.0" encoding="UTF-8"?> <plugin> <className>com.example.restapi.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> [root@yfw openfire]# grep -i "pluginmonitor\|hello-plugin\|found new plugin\|loading plugin" /opt/openfire/logs/openfire.log 2025.05.17 21:30:03.576 WARN [PluginMonitorTask-2]: org.jivesoftware.openfire.container.AdminConsolePlugin - Admin console: CertificateStoreManager has not been initialized yet. HTTPS will be unavailable. 2025.05.17 21:30:04.573 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses 2025.05.17 21:30:04.573 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits 2025.05.17 21:30:04.593 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.AdminConsolePlugin - Admin console listening at http://localhost:9090 2025.05.17 21:30:04.593 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'admin'. 2025.05.17 21:35:44.701 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'search-1.7.4'. 2025.05.17 21:35:44.704 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 21:35:44.827 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started. 2025.05.17 21:35:44.835 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s-directTLS] - Started. 2025.05.17 21:35:44.839 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s] - Started. 2025.05.17 21:35:44.842 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s-directTLS] - Started. 2025.05.17 21:35:44.846 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component] - Started. 2025.05.17 21:35:44.853 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Started. 2025.05.17 21:35:44.856 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Started. 2025.05.17 21:35:44.858 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Started. 2025.05.17 21:35:44.866 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.05.17 21:35:44.876 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpSessionManager - Starting instance 2025.05.17 21:35:44.918 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service started 2025.05.17 21:39:53.730 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for DNS Records 2025.05.17 21:39:53.759 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.05.17 21:39:54.818 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses 2025.05.17 21:39:54.819 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits 2025.05.17 21:39:54.868 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.AdminConsolePlugin - 管理控制台正在侦听: 2025.05.17 21:39:54.869 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'admin'. 2025.05.17 21:39:54.951 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'search-1.7.4'. 2025.05.17 21:39:54.951 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 21:39:55.051 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started. 2025.05.17 21:39:55.057 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s-directTLS] - Started. 2025.05.17 21:39:55.065 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s] - Started. 2025.05.17 21:39:55.070 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s-directTLS] - Started. 2025.05.17 21:39:55.074 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component] - Started. 2025.05.17 21:39:55.080 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Started. 2025.05.17 21:39:55.083 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Started. 2025.05.17 21:39:55.085 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Started. 2025.05.17 21:39:55.093 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.05.17 21:39:55.098 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpSessionManager - Starting instance 2025.05.17 21:39:55.142 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service started 2025.05.17 21:41:57.782 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for DNS Records 2025.05.17 21:41:57.846 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.05.17 21:41:58.954 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses 2025.05.17 21:41:58.955 INFO [PluginMonitorTask-2]: org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits 2025.05.17 21:41:59.001 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.AdminConsolePlugin - 管理控制台正在侦听: 2025.05.17 21:41:59.004 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'admin'. 2025.05.17 21:41:59.085 INFO [PluginMonitorExec-3]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'search-1.7.4'. 2025.05.17 21:41:59.088 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 21:41:59.185 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started. 2025.05.17 21:41:59.193 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s-directTLS] - Started. 2025.05.17 21:41:59.203 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s] - Started. 2025.05.17 21:41:59.208 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[socket_s2s-directTLS] - Started. 2025.05.17 21:41:59.213 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component] - Started. 2025.05.17 21:41:59.220 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[component-directTLS] - Started. 2025.05.17 21:41:59.223 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager] - Started. 2025.05.17 21:41:59.227 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.ConnectionListener[connection_manager-directTLS] - Started. 2025.05.17 21:41:59.236 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Creating new SslContextFactory instance 2025.05.17 21:41:59.244 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpSessionManager - Starting instance 2025.05.17 21:41:59.294 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service started 2025.05.17 21:52:35.377 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.17 21:59:48.896 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 user-status 的数据库架构。正在尝试安装… 2025.05.17 21:59:48.951 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 21:59:48.988 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userstatus-1.3.0'. 2025.05.17 21:59:48.991 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:00:24.822 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginServlet - An unexpected problem occurred while attempting to register servlets for plugin 'org.jivesoftware.openfire.plugin.UserServicePlugin@5e5a5b6'. 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:00:24.849 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'userservice-2.1.3'. 2025.05.17 22:00:24.853 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:00:37.517 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'xmppweb-0.10.3 Release 1'. 2025.05.17 22:00:37.518 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:03:49.505 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 缺少 fastpath 的数据库架构。正在尝试安装… 2025.05.17 22:03:49.937 INFO [PluginMonitorExec-2]: org.jivesoftware.database.SchemaManager - 数据库更新成功。 2025.05.17 22:03:50.050 WARN [PluginMonitorExec-2]: org.jivesoftware.database.SequenceManager - Autocreating jiveID row for type '24' 2025.05.17 22:03:50.244 WARN [PluginMonitorExec-2]: org.jivesoftware.database.SequenceManager - Autocreating jiveID row for type '21' 2025.05.17 22:03:50.852 WARN [PluginMonitorExec-2]: org.jivesoftware.database.SequenceManager - Autocreating jiveID row for type '20' 2025.05.17 22:03:50.882 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.fastpath.FastpathPlugin - start webchat 2025.05.17 22:03:50.904 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'fastpath-4.5.1'. 2025.05.17 22:03:50.906 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 2025.05.17 22:04:14.519 INFO [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'justmarried-1.3.0'. 2025.05.17 22:04:14.521 INFO [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 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/bin [root@yfw bin]# kill -9 1183108 [root@yfw bin]# lsof -i :9090 || echo "Port 9090 is now free" COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 1185283 openfire 151u IPv6 18970472 0t0 TCP *:websm (LISTEN) [root@yfw bin]# systemctl status openfireopenfire.service - OpenFire XMPP Server Loaded: loaded (/etc/systemd/system/openfire.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2025-11-15 15:23:53 CST; 1min 39s ago Process: 1158688 ExecStop=/opt/openfire/bin/stop.sh (code=exited, status=0/SUCCESS) Main PID: 1185283 (java) Tasks: 34 (limit: 23712) Memory: 180.5M CGroup: /system.slice/openfire.service └─1185283 /usr/lib/jvm/java-17-openjdk-17.0.1.0.12-2.el8_5.x86_64/bin/java -server -Xms64m -Xm> Nov 15 15:23:53 yfw.szrengjing.com systemd[1]: Started OpenFire XMPP Server. Nov 15 15:23:53 yfw.szrengjing.com start.sh[1185282]: Starting OpenFire server using Java: /usr/lib/jvm/j> Nov 15 15:23:53 yfw.szrengjing.com start.sh[1185282]: OpenFire started successfully (PID 1185283) Nov 15 15:23:53 yfw.szrengjing.com start.sh[1185282]: Log output: tail -f /opt/openfire/logs/nohup.out Nov 15 15:23:53 yfw.szrengjing.com start.sh[1185282]: Web Console: http://192.168.0.142 172.18.0.1 172.23> [root@yfw bin]# sudo systemctl stop openfire [root@yfw bin]# lsof -i :9090 || echo "Port 9090 is now free" Port 9090 is now free [root@yfw bin]# rm -f /opt/openfire/logs/openfire.pid [root@yfw bin]# > /opt/openfire/logs/nohup.out [root@yfw bin]# sudo systemctl start openfire [root@yfw bin]# systemctl status openfireopenfire.service - OpenFire XMPP Server Loaded: loaded (/etc/systemd/system/openfire.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2025-11-15 15:28:48 CST; 11s ago Process: 1186273 ExecStop=/opt/openfire/bin/stop.sh (code=exited, status=0/SUCCESS) Main PID: 1186448 (java) Tasks: 37 (limit: 23712) Memory: 163.4M CGroup: /system.slice/openfire.service └─1186448 /usr/lib/jvm/java-17-openjdk-17.0.1.0.12-2.el8_5.x86_64/bin/java -server -Xms64m -Xm> Nov 15 15:28:48 yfw.szrengjing.com systemd[1]: Started OpenFire XMPP Server. Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: Starting OpenFire server using Java: /usr/lib/jvm/j> Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: OpenFire started successfully (PID 1186448) Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: Log output: tail -f /opt/openfire/logs/nohup.out Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: Web Console: http://192.168.0.142 172.18.0.1 172.23> [root@yfw bin]# journalctl -u openfire.service -f -- Logs begin at Fri 2025-11-14 14:13:59 CST. -- Nov 15 15:28:06 yfw.szrengjing.com stop.sh[1186273]: Stopping OpenFire (PID 1185283)... Nov 15 15:28:06 yfw.szrengjing.com systemd[1]: openfire.service: Main process exited, code=exited, status=143/n/a Nov 15 15:28:07 yfw.szrengjing.com stop.sh[1186273]: Stopped. Nov 15 15:28:07 yfw.szrengjing.com systemd[1]: openfire.service: Failed with result 'exit-code'. Nov 15 15:28:07 yfw.szrengjing.com systemd[1]: Stopped OpenFire XMPP Server. Nov 15 15:28:48 yfw.szrengjing.com systemd[1]: Started OpenFire XMPP Server. Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: Starting OpenFire server using Java: /usr/lib/jvm/java-17-openjdk-17.0.1.0.12-2.el8_5.x86_64/bin/java Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: OpenFire started successfully (PID 1186448) Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: Log output: tail -f /opt/openfire/logs/nohup.out Nov 15 15:28:48 yfw.szrengjing.com start.sh[1186447]: Web Console: http://192.168.0.142 172.18.0.1 172.23.0.1 172.17.0.1 172.19.0.1 172.20.0.1:9090 ^C [root@yfw bin]# ls -l /opt/openfire/conf/security.xml ls: cannot access '/opt/openfire/conf/security.xml': No such file or directory [root@yfw bin]# sudo su - openfire -s /bin/bash -c ' > cat > /opt/openfire/conf/security.xml << EOF > <?xml version="1.0" encoding="UTF-8"?> > <!-- > security.xml - 默认安全配置文件 > 用于 OpenFire 首次启动时加载管理员控制台和 SASL 设置 > --> > <jive> > <adminConsole> > <!-- Web 管理控制台端口 --> > <port>9090</port> > <!-- HTTPS 安全端口(可选) --> > <securePort>9091</securePort> > <!-- 是否启用安全连接 --> > <secure>false</secure> > </adminConsole> > <sasl> > <!-- 启用 SASL 认证机制 --> > <active>true</active> > </sasl> > </jive> > EOF > ' ✅ Environment loaded for openfire PATH = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib/jvm/java-11-openjdk/bin:/opt/maven/bin:/usr/local/ffmpeg/bin:/opt/spark/bin JAVA_HOME = /usr/lib/jvm/java-11-openjdk [root@yfw bin]# chown -R openfire:openfire /opt/openfire/conf [root@yfw bin]# chmod 644 /opt/openfire/conf/security.xml [root@yfw bin]# ls -l /opt/openfire/conf/security.xml -rw-r--r-- 1 openfire openfire 544 Nov 15 15:33 /opt/openfire/conf/security.xml [root@yfw bin]# sudo systemctl restart openfire [root@yfw bin]# journalctl -u openfire.service -f --since "30 seconds ago" -- Logs begin at Fri 2025-11-14 14:13:59 CST. -- Nov 15 15:34:33 yfw.szrengjing.com systemd[1]: Stopping OpenFire XMPP Server... Nov 15 15:34:33 yfw.szrengjing.com stop.sh[1187749]: Stopping OpenFire (PID 1186448)... Nov 15 15:34:33 yfw.szrengjing.com systemd[1]: openfire.service: Main process exited, code=exited, status=143/n/a Nov 15 15:34:34 yfw.szrengjing.com stop.sh[1187749]: Stopped. Nov 15 15:34:34 yfw.szrengjing.com systemd[1]: openfire.service: Failed with result 'exit-code'. Nov 15 15:34:34 yfw.szrengjing.com systemd[1]: Stopped OpenFire XMPP Server. Nov 15 15:34:34 yfw.szrengjing.com systemd[1]: Started OpenFire XMPP Server. Nov 15 15:34:34 yfw.szrengjing.com start.sh[1187757]: Starting OpenFire server using Java: /usr/lib/jvm/java-17-openjdk-17.0.1.0.12-2.el8_5.x86_64/bin/java Nov 15 15:34:34 yfw.szrengjing.com start.sh[1187757]: OpenFire started successfully (PID 1187759) Nov 15 15:34:34 yfw.szrengjing.com start.sh[1187757]: Log output: tail -f /opt/openfire/logs/nohup.out Nov 15 15:34:34 yfw.szrengjing.com start.sh[1187757]: Web Console: http://192.168.0.142 172.18.0.1 172.23.0.1 172.17.0.1 172.19.0.1 172.20.0.1:9090 ^C [root@yfw bin]# sudo su - openfire -s /bin/bash -c ' > cat > /opt/openfire/conf/openfire.xml << EOF > <?xml version="1.0" encoding="UTF-8"?> > <jive> > <adminConsole> > <!-- 必须显式设置加密算法,防止 NullPointer --> > <encryption>none</encryption> > <port>9090</port> > <securePort>9091</securePort> > <secure>false</secure> > </adminConsole> > > <!-- 默认语言环境 --> > <locale>zh_CN</locale> > > <!-- 内嵌数据库(Derby)用于测试 --> > <database> > <defaultProvider> > <driver>org.apache.derby.jdbc.EmbeddedDriver</driver> > <serverURL>jdbc:derby:/opt/openfire/embedded-db;create=true</serverURL> > </defaultProvider> > </database> > </jive> > EOF > ' ✅ Environment loaded for openfire PATH = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib/jvm/java-11-openjdk/bin:/opt/maven/bin:/usr/local/ffmpeg/bin:/opt/spark/bin JAVA_HOME = /usr/lib/jvm/java-11-openjdk [root@yfw bin]# chown -R openfire:openfire /opt/openfire/conf [root@yfw bin]# chmod 644 /opt/openfire/conf/openfire.xml [root@yfw bin]# sudo systemctl restart openfire [root@yfw bin]# journalctl -u openfire.service -f --since "30 seconds ago" -- Logs begin at Fri 2025-11-14 14:13:59 CST. -- Nov 15 15:37:42 yfw.szrengjing.com systemd[1]: Stopping OpenFire XMPP Server... Nov 15 15:37:42 yfw.szrengjing.com stop.sh[1188689]: Stopping OpenFire (PID 1187759)... Nov 15 15:37:42 yfw.szrengjing.com systemd[1]: openfire.service: Main process exited, code=exited, status=143/n/a Nov 15 15:37:43 yfw.szrengjing.com stop.sh[1188689]: Stopped. Nov 15 15:37:43 yfw.szrengjing.com systemd[1]: openfire.service: Failed with result 'exit-code'. Nov 15 15:37:43 yfw.szrengjing.com systemd[1]: Stopped OpenFire XMPP Server. Nov 15 15:37:43 yfw.szrengjing.com systemd[1]: Started OpenFire XMPP Server. Nov 15 15:37:43 yfw.szrengjing.com start.sh[1188697]: Starting OpenFire server using Java: /usr/lib/jvm/java-17-openjdk-17.0.1.0.12-2.el8_5.x86_64/bin/java Nov 15 15:37:43 yfw.szrengjing.com start.sh[1188697]: OpenFire started successfully (PID 1188698) Nov 15 15:37:43 yfw.szrengjing.com start.sh[1188697]: Log output: tail -f /opt/openfire/logs/nohup.out Nov 15 15:37:43 yfw.szrengjing.com start.sh[1188697]: Web Console: http://192.168.0.142 172.18.0.1 172.23.0.1 172.17.0.1 172.19.0.1 172.20.0.1:9090 ^C [root@yfw bin]# tail -f /opt/openfire/logs/nohup.out Openfire 5.0.2 [2025年11月15日 下午3:37:44] 管理控制台正在侦听 http://ecs-124-71-230-244.compute.hwclouds-dns.com:9090 ^C [root@yfw bin]# sudo su - openfire -s /bin/bash -c ' > cat > /opt/openfire/conf/openfire.xml << EOF > <?xml version="1.0" encoding="UTF-8"?> > <!-- > OpenFire 配置文件 - 必须符合规范格式 > --> > <jive> > <adminConsole> > <!-- 显式声明加密方式,防止 NullPointer --> > <encryption>none</encryption> > <port>9090</port> > <securePort>9091</securePort> > <secure>false</secure> > </adminConsole> > > <!-- 设置语言环境 --> > <locale>en_US</locale> > > <!-- 使用嵌入式 Derby 数据库 --> > <database> > <defaultProvider> > <driver>org.apache.derby.jdbc.EmbeddedDriver</driver> > <serverURL>jdbc:derby:/opt/openfire/embedded-db;create=true</serverURL> > <username></username> > <password></password> > </defaultProvider> > </database> > > <!-- 强制初始化加密算法属性 --> > <setup>true</setup> > </jive> > EOF > ' ✅ Environment loaded for openfire PATH = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib/jvm/java-11-openjdk/bin:/opt/maven/bin:/usr/local/ffmpeg/bin:/opt/spark/bin JAVA_HOME = /usr/lib/jvm/java-11-openjdk [root@yfw bin]# # 创建数据库目录 [root@yfw bin]# sudo mkdir -p /opt/openfire/embedded-db [root@yfw bin]# [root@yfw bin]# # 确保 openfire 用户可写 [root@yfw bin]# sudo chown -R openfire:openfire /opt/openfire/conf /opt/openfire/embedded-db /opt/openfire/logs [root@yfw bin]# sudo chmod -R 755 /opt/openfire/conf [root@yfw bin]# sudo chmod 644 /opt/openfire/conf/*.xml [root@yfw bin]# # 清理旧状态 [root@yfw bin]# sudo systemctl stop openfire [root@yfw bin]# sleep 3 [root@yfw bin]# rm -f /opt/openfire/logs/openfire.pid [root@yfw bin]# > /opt/openfire/logs/nohup.out [root@yfw bin]# [root@yfw bin]# # 重新启动 [root@yfw bin]# sudo systemctl start openfire [root@yfw bin]# tail -f /opt/openfire/logs/nohup.out at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) [?:?] at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) [?:?] at java.lang.Class.newInstance(Class.java:645) [?:?] at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:92) [startup.jar:5.0.2] at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56) [startup.jar:5.0.2] Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 attempts. The exception from the last attempt is as follows: java.sql.SQLException: Check JDBC properties; data source was not be initialised at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:204) ~[xmppserver-5.0.2.jar:5.0.2] at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:1010) ~[xmppserver-5.0.2.jar:5.0.2] ... 11 more 启动服务器时出错。有关详细信息,请查看日志文件。
最新发布
11-16
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值