tag:blogger.com,1999:blog-429571914585035568.post8949631643116497466..comments2023-10-15T11:19:18.998+02:00Comments on Babbler - an XMPP library for Java: Babbler 0.7.1 (Bugfix) ReleasedChristian Schudthttp://www.blogger.com/profile/05150185502293392614noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-429571914585035568.post-24907942697857840632016-08-30T22:26:50.404+02:002016-08-30T22:26:50.404+02:00Hi,
it's possible that you are missing xmpp-e...Hi,<br /><br />it's possible that you are missing xmpp-extensions.jar from the classpath, when running from terminal!?<br />Extensions are loaded and located by java.util.ServiceLoader. So it scans the classpath for possible modules and then builds up the JAXBContext. The module which contains SoftwareVersion is in xmpp-extensions.jar.<br />On the other hand I would have expected a ClassNotFoundException then, too, during runtime.Christian Schudthttps://www.blogger.com/profile/05150185502293392614noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-18589433026469940372016-08-30T20:49:28.819+02:002016-08-30T20:49:28.819+02:00upon further investigation i got this.
DISCONNECT...upon further investigation i got this.<br /><br />DISCONNECTED (old status: AUTHENTICATED)<br />Status change caused by:<br />javax.xml.bind.MarshalException<br /> - with linked exception:<br />[com.sun.istack.internal.SAXException2: class rocks.xmpp.extensions.version.model.SoftwareVersion nor any of its super class is known to this context.<br />javax.xml.bind.JAXBException: class rocks.xmpp.extensions.version.model.SoftwareVersion nor any of its super class is known to this context.]<br /><br />So I think my JAX Context isn't loading all of the possible known types.Anonymoushttps://www.blogger.com/profile/05494015458530051019noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-65203859040341657322016-08-30T20:29:55.115+02:002016-08-30T20:29:55.115+02:00Hi, first thanks for your effort. I'm using th...Hi, first thanks for your effort. I'm using the library with some success. However I'm experiencing a weird issue using BOSH.<br /><br />When running in JVM I can get BOSH to work, however when I build a JAR and run it in terminal or bash, i can succesfully login, however when i try to send an IQ, the library instead sends a "terminate" to the server. This happens everytime and I can't debug this issue because running inside a debugger it works just fine...any ideas?Anonymoushttps://www.blogger.com/profile/05494015458530051019noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-32066169583083509672016-08-29T21:05:54.993+02:002016-08-29T21:05:54.993+02:00Thanks. I got it working. Turns out that I had to ...Thanks. I got it working. Turns out that I had to upgrade Myeclipse version with jdk 8 support.Sushanthttps://www.blogger.com/profile/02020987188596811339noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-40360485661460348262016-08-29T20:59:52.099+02:002016-08-29T20:59:52.099+02:00The assembled babbler.jar has XmppClient as well. ...The assembled babbler.jar has XmppClient as well. In fact it has all classes. You don't need any other jars then.Christian Schudthttps://www.blogger.com/profile/05150185502293392614noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-81616139771621489652016-08-29T19:02:55.030+02:002016-08-29T19:02:55.030+02:00Thanks for your reply. I tried with the consolidat...Thanks for your reply. I tried with the consolidated jar after maven build babbler.jar. Won't it suffice? Will I still need to include xmpp-core, xmpp-core-client etc manually?Sushanthttps://www.blogger.com/profile/02020987188596811339noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-28011469859611480642016-08-29T18:44:03.878+02:002016-08-29T18:44:03.878+02:00Hi, it's in xmpp-core-client.jar:
rocks....Hi, it's in xmpp-core-client.jar:<br /><br /><br /> rocks.xmpp<br /> xmpp-core-client<br /> 0.7.1<br />Christian Schudthttps://www.blogger.com/profile/05150185502293392614noreply@blogger.comtag:blogger.com,1999:blog-429571914585035568.post-89195634809775213842016-08-29T16:30:54.397+02:002016-08-29T16:30:54.397+02:00Hi,
I am not able to import XmppClient class. I tr...Hi,<br />I am not able to import XmppClient class. I tried with version 0.7.1 as well as 0.8.0 Snapshot.Sushanthttps://www.blogger.com/profile/02020987188596811339noreply@blogger.com