Catch warn for plugins when enable http-bind property

Upgrade OF-4.2.3 to OF-4.5.1 from downloaded deb-file and added some plugins from page with “Aviable Plugins”.
After enable “HTTP Bind Settings” property in warn.log found lines:

2020.03.24 07:04:40 WARN [Jetty-QTP-AdminConsole-53]: org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@30397be9{/httpfileupload,null,UNAVAILABLE}{/usr/
java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebInfConfiguration
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:577) ~[jetty-webapp-9.4.18.v20190429.jar:9.4.18.v20190429]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181]

2020.03.24 07:22:56 WARN [Jetty-QTP-AdminConsole-60]: org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@11dd8fe{/monitoring,null,UNAVAILABLE}{/usr/share
java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebInfConfiguration
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:577) ~[jetty-webapp-9.4.18.v20190429.jar:9.4.18.v20190429]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181]
at org.eclipse.jetty.util.Loader.loadClass(Loader.java:65) ~[jetty-util-9.4.18.v20190429.jar:9.4.18.v20190429]

Respectively file upload not work (503 Service Unavailable).

Use java:

openjdk version “1.8.0_181”
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

I wonder if there was a problem with the upgrade of Openfire that you did. Try doing this: install Openfire somewhere else. Compare the files that are in the lib folder with the files that are in the lib folder of your original installation. They should be the same.

checklist.chk (5.6 КБ)
Checked with md5sum, all files identical.

root@srv-corp:/tmp/opefire-lib-origin# md5sum -c /usr/share/openfire/lib-4.5.1/checklist.chk
activation-1.1.jar: OK
animal-sniffer-annotations-1.17.jar: OK
ant-1.10.5.jar: OK
ant-launcher-1.10.5.jar: OK
apache-el-8.5.40.jar: OK
apache-jsp-8.5.40.jar: OK
apache-jsp-9.4.18.v20190429.jar: OK
asm-7.0.jar: OK
asm-analysis-7.0.jar: OK
asm-commons-7.0.jar: OK
asm-tree-7.0.jar: OK
bcpg-jdk15on-1.64.jar: OK
bcpkix-jdk15on-1.64.jar: OK
bcprov-jdk15on-1.64.jar: OK
caffeine-2.7.0.jar: OK
checker-qual-2.5.2.jar: OK
commons-codec-1.12.jar: OK
commons-dbcp2-2.6.0.jar: OK
commons-fileupload-1.4.jar: OK
commons-io-2.6.jar: OK
commons-lang3-3.9.jar: OK
commons-logging-1.2.jar: OK
commons-pool2-2.6.2.jar: OK
commons-text-1.6.jar: OK
dom4j-2.1.1.jar: OK
dwr-3.0.2-RELEASE.jar: OK
ecj-3.17.0.jar: OK
error_prone_annotations-2.2.0.jar: OK
failureaccess-1.0.1.jar: OK
guava-27.1-jre.jar: OK
hsqldb-2.4.1.jar: OK
httpclient-4.5.8.jar: OK
httpcore-4.4.11.jar: OK
i18n-4.5.1.jar: OK
j2objc-annotations-1.1.jar: OK
javassist-3.24.1-GA.jar: OK
javax.activation-api-1.2.0.jar: OK
javax.annotation-api-1.3.jar: OK
javax.mail-1.6.2.jar: OK
javax.servlet-api-3.1.0.jar: OK
jaxb-api-2.3.1.jar: OK
jaxen-1.2.0.jar: OK
jcip-annotations-1.0.jar: OK
jcl-over-slf4j-1.7.26.jar: OK
jdom2-2.0.6.jar: OK
jetty-annotations-9.4.18.v20190429.jar: OK
jetty-client-9.4.18.v20190429.jar: OK
jetty-continuation-9.4.18.v20190429.jar: OK
jetty-http-9.4.18.v20190429.jar: OK
jetty-io-9.4.18.v20190429.jar: OK
jetty-jmx-9.4.18.v20190429.jar: OK
jetty-jndi-9.4.18.v20190429.jar: OK
jetty-plus-9.4.18.v20190429.jar: OK
jetty-schemas-3.1.2.jar: OK
jetty-security-9.4.18.v20190429.jar: OK
jetty-server-9.4.18.v20190429.jar: OK
jetty-servlet-9.4.18.v20190429.jar: OK
jetty-servlets-9.4.18.v20190429.jar: OK
jetty-util-9.4.18.v20190429.jar: OK
jetty-webapp-9.4.18.v20190429.jar: OK
jetty-xml-9.4.18.v20190429.jar: OK
jmdns-1.0.jar: OK
jsmpp-2.3.7.jar: OK
jsr305-3.0.2.jar: OK
jtds-1.3.1.jar: OK
jzlib-1.1.3.jar: OK
libidn-1.35.jar: OK
listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar: OK
log4j2.xml: OK
log4j-api-2.11.2.jar: OK
log4j-core-2.11.2.jar: OK
log4j-slf4j-impl-2.11.2.jar: OK
mina-core-2.1.3.jar: OK
mina-filter-compression-2.1.3.jar: OK
mina-integration-beans-2.1.3.jar: OK
mina-integration-jmx-2.1.3.jar: OK
mina-integration-ognl-2.1.3.jar: OK
mssql-jdbc-7.2.2.jre8.jar: OK
mysql-connector-java-8.0.17.jar: OK
ognl-3.2.10.jar: OK
postgresql-42.2.8.jar: OK
protobuf-java-3.6.1.jar: OK
rome-1.12.0.jar: OK
rome-utils-1.12.0.jar: OK
shaj-0.5.jar: OK
sitemesh-2.4.2.jar: OK
slf4j-api-1.7.26.jar: OK
startup.jar: OK
taglibs-standard-impl-1.2.5.jar: OK
taglibs-standard-spec-1.2.5.jar: OK
tinder-2.0.0.jar: OK
websocket-api-9.4.18.v20190429.jar: OK
websocket-client-9.4.18.v20190429.jar: OK
websocket-common-9.4.18.v20190429.jar: OK
websocket-server-9.4.18.v20190429.jar: OK
websocket-servlet-9.4.18.v20190429.jar: OK
xmppserver-4.5.1.jar: OK
xpp3-1.1.4c.jar: OK

I don’t know important this or not.
In file “Openfire-4.5.1\Openfire\plugins\pom.xml” (from sources) found this:

Note; the following jetty.version should be identical to the jetty.version in xmppserver/pom.xml
<jetty.version>9.4.18.v20190429</jetty.version>

But after install httpFileUplod plugin. Directory “httpFileUplod/lib” has files with different jetty version:

jetty-continuation-9.4.12.v20180830.jar
jetty-http-9.4.12.v20180830.jar
jetty-io-9.4.12.v20180830.jar
jetty-security-7.0.1.v20091125.jar
jetty-server-9.4.12.v20180830.jar
jetty-servlet-9.4.12.v20180830.jar
jetty-util-9.4.12.v20180830.jar
jetty-webapp-9.4.12.v20180830.jar

In your update Strophe is sending OPTIONS HTTP requests which means that it is negotiating cross domain communication.

Thanks all for attention. Problem solved.
Catched next bug. I wrote for OF plugin. Found next regularity, if remove my plugin from directory with plugins and restart OF httpfileupload-plugin working repfectly. I did not understand the plugin conflict problem. But solved this bug just add some edits in start script. After starting OF add sleep for 5 sec and after copy my plugin in directory with others plugins. In a few seconds OF catch new plugin and install&run.

Sorry for my English ))).

In your update Strophe is sending alternatives http demands which implies that it is arranging cross space correspondence!

Enabling the http-bind property may trigger a catch warning for plugins.