Closed jhaar closed 6 years ago
@jhaar Which version of the plugin are you using?
The class seems to be included in the latest version of the plugin JAR:
$ unzip -l graylog-plugin-jabber-2.0.0.jar |grep XMPPTCPConnectionConfiguration.class
2225 02-28-2017 14:06 org/graylog/plugins/jabber/shaded/smack/tcp/XMPPTCPConnectionConfiguration.class
I have that version
unzip -l graylog-plugin-jabber-2.0.0.jar |grep XMPPTCPConnectionConfiguration.class
does show it exists - with the same timestamp
Good day,
Faced the same problem. After installing graylog-2.2.3-1.ova, I put graylog-plugin-jabber-2.0.0.jar in /opt/graylog/plugin/, Restarting the server and configure Jabber Alarm Callback, I press test and test ended with a error. After making a screen shot with an error, I wrote down the request and made a request through the Curl
curl -X POST -v -u admin:admin http://localhost:9000/api/alerts/callbacks/58f73c8343c69e034b72588a/test
Among the answers were an error org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class org.graylog.plugins.jabber.shaded.smack.tcp.XMPPTCPConnectionConfiguration
If you install the previous version of the plug-in graylog-plugin-jabber-1.2.1.jar then everything works fine
P.S. Client library XMPP Smack is already version 4.2.0 it may be time to update the version in the plug-in?
Wow - you're right. I just replaced 2.0.0 with 1.2.1 and restarted graylog-server and XMPP started working
Hi there
We have a working prosody server (ie clients like pidgin work fine). I've configured the XMPP account/password options, but when I push the "test" button, I get the following error, and tcpdump shows no evidence of any packets being sent from the graylog server to the XMPP server
Could not send test alert notification Sending test alert notification failed with message: cannot POST https://our.server/api/alerts/callbacks/58b8c1a69cdbc27c699c20b6/test (500)
Using tcpdump, I captured the POST and unpacked the returned error page below - FYI this does not show up in /var/log/graylog-server/server.log - this kind of error should?
It's obviously some kind of java error. I have java-1.8.0-openjdk-headless on CentOS-7. Any ideas how I can fix this?
Thanks
java.lang.NoClassDefFoundError: Could not initialize class org.graylog.plugins.jabber.shaded.smack.tcp.XMPPTCPConnectionConfiguration
Stacktrace