I have tried to migrate to Smack 4.1.0-alpha1 on OSGi, but unfortunately I receive a error that no SASL authentication methods are available... I have added the bundle "smack-sasl-javax" to my run configuration, but I was unable to get it working. There is one big problem caused by the fact that "smack-sasl-javax" is a stand-alone bundle. When "smack-core" resolves it is not guranteed that any SASL authentication method is available within Smack. It depends on an unpredictable activation order at startup which leads to the problem that "smack-sasl-javax" is activated later. If the core requires any SASL authentication there must be an explicit dependency otherwise things are not working. But even after getting Smack running, I got a "NoResponseException", so that I was forced to downgrade to 4.0.4.
↧