I've noticed that it's quite tricky to get JML to work on Android (some even say it cannot be done, i hope this is not the case).
So far i've noticed two vital issues one should have in mind in order to make a functioning messenger client:
1)There is no SSL implemented on Android
2)The class sun.security.action.GetPropertyAction is not available when developing for Dalvik, which usually results in a java.lang.NoClassDefFoundError: sun.security.action.GetPropertyAction kind of exception
In order to fix the afforementioned problems i'd like to ask you to two questions (to begin with at least)
1)How can i set the client to use TLS instead of SSL
2)Is it possible to avoid the usage of sun.security.action.GetPropertyAction in order to prevent the afforementioned exception?
If any has some piece of working code which he'd like to share it will be really appreciated
Thanks in advance!
Rafael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I've noticed that it's quite tricky to get JML to work on Android (some even say it cannot be done, i hope this is not the case).
So far i've noticed two vital issues one should have in mind in order to make a functioning messenger client:
1)There is no SSL implemented on Android
2)The class sun.security.action.GetPropertyAction is not available when developing for Dalvik, which usually results in a java.lang.NoClassDefFoundError: sun.security.action.GetPropertyAction kind of exception
In order to fix the afforementioned problems i'd like to ask you to two questions (to begin with at least)
1)How can i set the client to use TLS instead of SSL
2)Is it possible to avoid the usage of sun.security.action.GetPropertyAction in order to prevent the afforementioned exception?
If any has some piece of working code which he'd like to share it will be really appreciated
Thanks in advance!
Rafael
For future reference:
1. Go to net.sf.jml.protocol.soap -> ContactList.java, search for “SSLv3”, change to “TLS”.
2. Apply this patch: http://sourceforge.net/tracker/?func=detail&aid=2910514&group_id=118829&atid=682291
And you're set.
Oh, and you have to change SSLv3 to TLS at net.sf.protocol.soap.OIM.java line 797