Strophe.js is best xmpp bosh library , but we found problem with JabberHttpBindingServlet connection ,i tried lot of hours for searching the solution from google , but no luck ,so myself dig the code after nearly one hour i got it . The problem is JHBServlet is expeting child node or empty child node form XMPP_RESTART body tag,but strophe is sending self-closed body tag
Solution : strophe.js
if (this._data[i] === "restart") {
body.attrs({
to: this.domain,
"xml:lang": "en",
"xmpp:restart": "true",
"xmlns:xmpp": Strophe.NS.BOSH
});
body.t(' '); //Solution
} else {
body.cnode(this._data[i]).up();
}
or download modified source Strophe.js
Java Developer Solutions
15 August 2012
27 June 2008
Blob problem (oracle)
Problem
code: st.setBinaryStream(1,streamData,data.length)
while inserting blob .it will throw
ORA-01460: unimplemented or unreasonable conversion requested Exception
Problem root
oracle driver problem (ojdbc14.jar) if you are using oracle 9 driver or minor version driver (ojdbc14.jar) .it will happen
Solution
please download corresponding latest driver from oracle website
code: st.setBinaryStream(1,streamData,data.length)
while inserting blob .it will throw
ORA-01460: unimplemented or unreasonable conversion requested Exception
Problem root
oracle driver problem (ojdbc14.jar) if you are using oracle 9 driver or minor version driver (ojdbc14.jar) .it will happen
Solution
please download corresponding latest driver from oracle website
Subscribe to:
Posts (Atom)